Combinatorics 13
Combinatorics 13
Lecture 12
Department of Mathematics
Indian Institute of Technology Delhi
Combinations
The number of subsets of size k of a set of size n (also called an n-set) is
!
P(n, k) n! n
C (n, k) = = = .
n! (n − k)!n! k
n
The notation C (n, k) is rarely used; instead we use k , pronounced “n
choose k”.
n n
We define 0! = 1 and −1 = n+1 = 0.
n n
Note that, 0 = n = 1.
Proof:
Consider an n-set A = {a1 , . . . , an }.
We consider two types of subsets: those that contain an and those
that do not.
If a k-subset of A does not contain an , then it is a k-subset of
{a1 , . . . , an−1 }, and there are n−1
k of these.
If it does contain an , then it consists of an and k − 1 elements of
{a1 , . . . , an−1 }.
n−1 n−1
Since there are k−1 of these, there are k−1 subsets of this type.
is n−1 n−1
Thus the total number of k-subsets of A k + k−1 .
Proof:
Let A = {a1 , a2 , a3 , . . . , am } and B = {b1 , b2 , b3 , . . . , bn }.
Since the map is one-to-one f (ai ) ̸= f (aj ) for 1 ≤ i ̸= j ≤ m.
Thus, (f (a1 ), f (a2 ), . . . , f (am )) is an m-tuple of distinct elements,
where f (ai ) ∈ B = {b1 , b2 , b3 , . . . , bn }, where m ≤ n.
Thus, the total number of distinct one-to-one functions f : A → B is
n!
P(n, m) = n(n − 1)(n − 2) · · · (n − m + 1) = (n−m)! .
Proof:
We have drawn 20 balls.
Since 9 balls are red, the remaining 11 balls are green.
30
The number of ways of getting 9 red balls from 30 red ball is 9 .
The number of ways of getting 11 green balls from 70 green ball is
70
11 .
Thus, the number of ways of getting exactly 9 red balls in a sample of
size 20 is 30
70
9 11 .
Examples
For convenience we let B0 = 1.
It is quite easy to see that B1 = 1 and B2 = 2.
The partitions of the set {a, b, c} are {{a}, {b}, {c}},
{{a, b}, {c}}, {{a, c}, {b}}, {{b, c}, {a}}, and {{a, b, c}}. Thus,
B3 = 5.
Proof:
Consider a partition of S = {1, 2, . . . , n + 1}, A1 , . . . , Am .
Without loss of generality, assume that n + 1 ∈ A1 , and that
|A1 | = k + 1, for some 0 ≤ k ≤ n.
Then A2 , . . . , Am , form a partition of the remaining n − k elements of
S, that is, of S \ A1 .
There are Bn−k partitions of the set S \ A1 , i.e., there are Bn−k
partitions of S in whose one part is the set A1 .
Proof:
We shall prove by Mathematical Induction.
0
When n = 0, both sides equal 1, since x 0 = 1 and 0 = 1.
Now suppose that the equality holds for a given n, i.e.,
n n n n−1 1 n n−2 2 n 1 n−1
n + nn y n =
(x +y ) = 0 x + 1 x y + 2 x y +· · ·+ n−1 x y
Pn n n−k k
k=0 k x y .
We shall prove it for n + 1.
(x + y )n+1 = x (x + y )n + y (x + y )n shows that (x + y )n+1 is also a
polynomial in x and y .
n+1
By the induction hypothesis, (x
! + y) = x (x + y )n + y (x + y )n =
n n
!
X n X n
x x n−k y k + y x n−k y k .
k=0
k k=0
k