2 Permutations, Combinations, and The Binomial Theorem
2 Permutations, Combinations, and The Binomial Theorem
2.1
Introduction
A permutation is an ordering, or arrangement, of the elements in a finite set. Of greater interest are the r-permutations and r-combinations, which are ordered and unordered selections,
respectively, of r elements from a given finite set. The Binomial Theorem gives us a formula
for (x + y)n , where n N. If you would like extra reading, please refer to Sections 5.3 and 5.4
in Rosen.
Upon completion of this chapter, you will be able to do the following:
Compute the number of r-permutations and r-combinations of an n-set.
Use the Binomial Theorem to find the expansion of (a + b)n for specified a, b and n.
Use the Binomial Theorem directly to prove certain types of identities.
Provide a combinatorial proof to a well-chosen combinatorial identity.
2.2
the cardinality of the same set. It is a powerful proof technique, and is the last one that you
will learn in MA1025.
2.3
1,
if n = 0;
n(n 1)!, if n > 0.
Now for r-combinations: In how many ways can we choose an r-subset (no repetition) of
an n-set? Such a subset is called an r-combination. Let C(n, r) denote the number of these.
Note that we are partitioning the n-set into sets: one r-set and one n r-set. So there are
C(n, r) ways to choose an r-set (producing one nr-set each time time an r-set is chosen). For
3!
example there are C(3, 2) = 2!1!
= 3 possible ways of choosing a 2-set from a set A = {a, b, c},
namely {a, b}, {b, c} and {a, c}.
Now, we could construct an r-permutation of an set with n elements (an n-set) in two
steps: first take an r-combination, then take a permutation of the r-combination. It follows
by the Product Rule that P (n, r) = r!C(n, r), but then
C(n, r) =
n!
1
P (n, r) =
.
r!
r!(n r)!
n!
n(n 1) (n r + 1)(n r)!
n(n 1) (n r + 1)
=
=
;
r!(n r)!
r!(n r)!
r!
(1)
note that there are exactly r factors in numerator and denominator of the last fraction.
Here is another useful result when it comes to hand computation. We can rearrange the
formula for C(n, r) as follows:
C(n, r) =
n!
n!
n!
=
=
= C(n, n r).
r!(n r)!
(n r)!r!
(n r)!(n (n r))!
(2)
This makes some potentially nasty computations pretty easy to carry out. For example,
100!
, which is beyond the range of many
what is C(100, 98)? By definition, C(100, 98) =
98!2!
calculators. And if we use formula (1) for hand computation of r-combinations, well have 98
factors in both numerator and denominator. But by (2) and (1) together, we have
C(100, 98) = C(100, 2) =
(100)(99)
= 50 99 = 4, 950.
2!
Solution:
(a) If the chairman is ineligible, four committee members must be selected from the remaining
eighteen faculty members. This can be done in C(18, 4) = 3060 ways. (Note that the
order we pick the 4 committee members doesnt matter, so we use C(18, 4))
(b) If exactly one member must be a woman, there are C(3, 1)C(16, 3) = 3 560 = 1680 ways
to form the committee.
(c) All of the committees formed in (b) qualify except those in which Smith and Jones are
both members. There are C(3, 1)C(14, 1) = 42 committees that both Smith and Jones
can serve on, so C(3, 1)C(16, 3) C(3, 1)C(14, 1) = 1680 42 = 1638 committees can
be formed containing exactly one woman and at most one of the grumps.
2.4
Combinatorial Proof
The algebraic proof of the identity C(n, r) = C(n, n r) has been presented before (see
equation (2)). But there is another way, equally simple. This is called combinatorial proof. For
our purposes, combinatorial proof is a technique by which we can prove an algebraic identity
without using algebra, by finding a set whose cardinality is described by both sides of the
equation. Here is a combinatorial proof that C(n, r) = C(n, n r).
Proof: We can partition an n-set into two subsets, with respective cardinalities r and n r,
in two ways: we can first select an r-combination, leaving behind its complement, which has
cardinality n r and this can be done in C(n, r) ways (the left hand side of the equation).
Or we can first take an (n r)-combination, then leaving behind its complement, which has
cardinality r and this can be done in C(n, nr) ways (the right hand side of the equation). The
number of possible outcomes is the same either way. It follows that C(n, r) = C(n, n r). 2
Its a remarkable method. It doesnt apply in every instance, but it does add an arrow
to your quiver. There are times when it is far easier to devise a combinatorial proof than an
algebraic proof, as well see shortly. Look for more examples of combinatorial proof in the next
section.
2.5
Its time to begin using the alternate notation for C(n, r), which is nr . This is called a
binomial coefficient, and is pronounced n choose r. Perhaps you recall from the beginning
of the module that if x and y are variables and n N, then
n
X
n nk k
(x + y) =
x y .
k
k=0
n
There are also some surprising ways to use the theorem. For example, let n Z+ , and let
0 m n. For any positive integer k, nk can be expressed as a sum of powers of m and
n m. To see this, simply note that, by the Binomial Theorem,
k
X
k
n =
mk (n m)kj .
j
j=0
k
For an example, 5 =
n
X
n
3k 2nk .
k
Here are some additional examples of combinatorial proof.
k=0
Proof: The left hand side has two factors: the first binomial coefficient is the number of ways
to choose an r-subset of an n-set; the second is the number of ways to choose a k-subset from
the r-set just chosen (which leaves the remaining r k elements). The result? Its a partition
of the original n-set into subsets of cardinalities n r, r k, and k. We could just as well
construct such a partition by first choosing the k-subset, then choosing the (r k)-subset from
the (n k)-subset left behind.
2
Example 7: You might have seen a triangular array of binomial coefficients called Pascals
Triangle. The practical value of the triangle is questionable, but the value of the identity
that generates the coefficients therein, called Pascals Identity, is very useful. Pascals Identity
states that, for all n, k Z+ ,
n
n1
n1
=
+
.
k
k1
k
The identity can be easily proved using a combinatorial proof:
Proof: The left side of the identity is the number of k-subsets of an n-set. So suppose A is
an n-set, and let a A. A given k-subset of A either contains a, or not. There are n1
k1
k-subsets of A that contain a, and n1
k-subsets of A that do not. Together, they give all
k
the k-subsets of an n-set, regardless if the k-subset contains a or not.
2
Before we look at the induction proof, here is one more thing we need to learn:
k1
k
X
k j X
k
x =
xj1 .
j
j
1
j=0
j=1
j
P
k
To see this, try substituting j 1 in for j in the expression k1
j=0 j x .
Here is the inductive proof of the Binomial Theorem. The last step in the sequence uses
Pascals identity. The other steps involve simple manipulations of the summation indices, laws
of exponents, the distributive law, etc.
P
Recall the statement of the theorem: for all n 0, (x + y)n = nj=0 nj xnj y j .
0
X
0 0j j
0! 0 0
0
x y .
Proof: First note that (x + y) = 1 = 0!0! x y =
j
j=0
k
X
k nj j
k
For the inductive step, let k 0, and assume that (x + y) =
x y . Then
j
j=1
(x + y)k+1 = (x + y)(x + y)k
= x(x + y)k + y(x + y)k
k
k
X
X
k kj j
k kj j
= x
x y +y
x y
j
j
j=0
j=0
7
k
X
k
j=0
=
=
k+1j j
y +
k
X
k
j=0
xkj y j+1
k
k1
X
k k+1j j X k kj j+1
k+1
x
y +
x y
+ y k+1
x
+
j
j
j=1
j=0
k
k
X k
X
k
k+1
k+1j j
x
+
x
y +
xk+1j y j + y k+1
j
j
1
j=1
j=1
n
X k
k
xk+1 +
+
xk+1j y j + y k+1
j
j
1
j=1
k+1
X
k + 1 (k+1)j j
x
y ,
j
j=1
2.6
Exercises
3n
2
2n
2
n
2
+ 2n2 .
k=0
8. Use the Binomial Theorem to show that, for any n N, 3n can be expressed as a linear
combination of powers of 2, with the largest exponent being n.
n
n
X
n k nk X n k
Proof: 3 = (2 + 1) =
2 1
=
2 .
k
k
k=0
k=0
n
n
X
n
k=0
= 2n .
n
n
X
n k nk X n
1 1
=
.
Proof: 2 = (1 + 1) =
k
k
k=0
k=0
n
3n
2
2n
2
n
2
+ 2n2 .
Proof: The number on the left is the number of 2-subsets of a 3n-set. Let A bea 3nset containing, say,
n blue elements. There are 2n
red 2-subsets, n2 blue
2
2n
red and
2n n
2-subsets, and 1 1 = 2n2 mixed subsets. The result follows.
2
************************************************************************************
Exercises in Rosen in section 5.3 : 9, 11, 13, 17, 19, 21, 23, and 37, and in section 5.4 exercises
5, 9, 21, 22a, 28, and 29.
************************************************************************************
Self-Quiz on Permutations, Combinations, and the Binomial Theorem
1. In how many ways can we construct a license number consisting of one decimal digit
followed by three uppercase alphabetical characters followed by three decimal digits?
2. In how many ways can five men and five women be arranged in a line for a photograph
so that men and women alternate?
3. What is the coefficient on x2 y 5 in (x + y)7 ? In (x 2y)7 ?
4. Give a combinatorial proof that
3
n
n
3n
n
=3
+ 6n
+
.
3
3
2
1
************************************************************************************
Solution to Self-Quiz on Permutations, Combinations, and the Binomial Theorem
10
1. In how many ways can we construct a license number consisting of one decimal digit
followed by three uppercase alphabetical characters followed by three decimal digits, if
no characters or digits can be repeated?
26! 9!
Solution: The number of ways to do this is 10P (26, 3)P (9, 3) = 10 23!
= 10(26 25
6!
24)(9 8 7) = 78624000.
2. In how many ways can five men and five women be arranged in a line for a photograph
so that men and women alternate?
Solution: There are 5! = 120 ways to arrange the men, and 5! = 120 ways to arrange the women. There are then two ways to interlace the two: mwmwmwmwmw and
wmwmwmwmwm. The total, then, is 1202 2 = 28, 800.
3. What is the coefficient on x2 y 5 in (x + y)7 ? In (x 2y)7 ?
7
2 5
7
Solution: The
coefficient
on
x
y
in
(x
+
y)
is
= 21. The coefficient on x2 y 5 in
2
7
(x 2y)7 is 2 (2)5 = 672.
3
3n
n
n
4. Give a combinatorial proof that
= 3n + 6n
+
.
3
2
3
3n
Proof: Suppose that we have a 3n-set, call it A. Then
is the number of 3subsets
3
of A. There many ways to proceed. Suppose that
A contains n elements each of three
n
colors, say red, blue, and green.
There
are
3
ways to choose three elements of the
3
n
n
n
same color. There are 3 2 2 1 = 6n 2 ways to choose two elements of one color and
3
one element of a second color. Finally, there are n1 ways to choose one element of each
color. The result follows.
2
Note: the assumption that A contains n elements each of three colors is only one way
of forcing A to be the disjoint union of three n-sets, which in turn was dictated by
the right-hand
side
of the
identity to be proven. Had the identity been, say, 3n
=
3
2n
n
2n
n
+ 3 + n 2 + 2n 2 , we would have partitioned A as the union of a 2n-subset and
3
an n-subset. (Try it!)
11