COMBINATORICS
By: JAGNYASWINI KATUAL
INSTITUTE OF MATHEMATICS
AND APPLICATION
1
Combinatorics
e.g. If a password is 6-8 letters and/or digits, how many passwords can there be?
2
Sum Rule
3
Product Rule
4
Inclusion-Exclusion Principle�(relates to the “sum rule”)
5
Pigeonhole Principle
If f:A→B and |A|≥|B|+1, then some element of B has ≥2 pre-images under f.
i.e., f is not one-to-one.
6
Generalized Pigeonhole Principle
7
Proof of G.P.P.
8
G.P.P. Example
9
⎡280/12⎤ = ⎡23.3⎤ = 24
Permutations
e.g., 1 2 3, 2 1 3, 3 1 2
P(n,r) = n(n−1)…(n−r+1) = n!/(n−r)!
10
Combinations
S={1,2,3}
e.g., 1 2 , 1 3, 2 3
11
Combinations vs Permutations
12
13
THANK YOU