11.8 KB · commit a9602da
As we remarked in Section 6.3, the number of r-combinations from a set with n elements is often denoted by (rn). This number is also called a binomial coefficient because these numbers occur as coefficients in the expansion of powers of binomial expressions such as (a+b)n. We will discuss the binomial theorem, which gives a power of a binomial expression as a sum of terms involving binomial coefficients. We will prove this theorem using a combinatorial proof. We will also show how combinatorial proofs can be used to establish some of the many different identities that express relationships among binomial coefficients.
The binomial theorem gives the coefficients of the expansion of powers of binomial expressions. A binomial expression is simply the sum of two terms, such as x+y. (The terms can be products of constants and variables, but that does not concern us here.)
Example 1 illustrates how the coefficients in a typical expansion can be found and prepares us for the statement of the binomial theorem.
The expansion of (x+y)3 can be found using combinatorial reasoning instead of multiplying the three terms out. When (x+y)3=(x+y)(x+y)(x+y) is expanded, all products of a term in the first sum, a term in the second sum, and a term in the third sum are added. Terms of the form x3,x2y,xy2, and y3 arise. To obtain a term of the form x3, an x must be chosen in each of the sums, and this can be done in only one way. Thus, the x3 term in the product has a coefficient of 1. To obtain a term of the form x2y, an x must be chosen in two of the three sums (and consequently a y in the other sum). Hence, the number of such terms is the number of 2-combinations of three objects, namely, (23). Similarly, the number of terms of the form xy2 is the number of ways to pick one of the three sums to obtain an x (and consequently take a y
from each of the other two sums). This can be done in (13) ways. Finally, the only way to obtain a y3 term is to choose the y for each of the three sums in the product, and this can be done in exactly one way. Consequently, it follows that
(x+y)3=(x+y)(x+y)(x+y)=(xx+xy+yx+yy)(x+y)=xxx+xxy+xyx+xyy+yxx+yxy+yyx+yyy=x3+3x2y+3xy2+y3.◀
We now state the binomial theorem.
Proof: We use a combinatorial proof. The terms in the product when it is expanded are of the form xn−jyj for j=0,1,2,…,n. To count the number of terms of the form xn−jyj, note that to obtain such a term it is necessary to choose n−j xs from the n sums (so that the other j terms in the product are ys). Therefore, the coefficient of xn−jyj is (n−jn), which is equal to (jn). This proves the theorem. ■
Some computational uses of the binomial theorem are illustrated in Examples 2–4.
What is the expansion of (x+y)4?
Solution: From the binomial theorem it follows that
(x+y)4=j=0∑4(j4)x4−jyj=(04)x4+(14)x3y+(24)x2y2+(34)xy3+(44)y4=x4+4x3y+6x2y2+4xy3+y4.◀
What is the coefficient of x12y13 in the expansion of (x+y)25?
Solution: From the binomial theorem it follows that this coefficient is (1325)=13!12!25!=5,200,300. ◀
What is the coefficient of x12y13 in the expansion of (2x−3y)25?
Solution: First, note that this expression equals (2x+(−3y))25. By the binomial theorem, we have (2x+(−3y))25=j=0∑25(j25)(2x)25−j(−3y)j.
Consequently, the coefficient of x12y13 in the expansion is obtained when j=13, namely, (1325)212(−3)13=−13!12!25!212313. ◀
We can prove some useful identities using the binomial theorem, as Corollaries 1, 2, and 3 demonstrate.
Proof: Using the binomial theorem with x=1 and y=1, we see that 2n=(1+1)n=k=0∑n(kn)1k1n−k=k=0∑n(kn). This is the desired result. ■
There is also a nice combinatorial proof of Corollary 1, which we now present.
Combinatorial Proof of Corollary 1: A set with n elements has a total of 2n different subsets. Each subset has zero elements, one element, two elements, …, or n elements in it. There are (0n) subsets with zero elements, (1n) subsets with one element, (2n) subsets with two elements, …, and (nn) subsets with n elements. Therefore, k=0∑n(kn) counts the total number of subsets of a set with n elements. By equating the two formulas we have for the number of subsets of a set with n elements, we see that k=0∑n(kn)=2n. ■
Proof: When we use the binomial theorem with x=−1 and y=1, we see that 0=0n=((−1)+1)n=k=0∑n(kn)(−1)k1n−k=k=0∑n(−1)k(kn). This proves the corollary. ■
Proof: We recognize that the left-hand side of this formula is the expansion of (1+2)n provided by the binomial theorem. Therefore, by the binomial theorem, we see that (1+2)n=k=0∑n(kn)1n−k2k=k=0∑n2k(kn). Hence k=0∑n2k(kn)=3n. ■
The binomial coefficients satisfy many different identities. We introduce one of the most important of these now.
Proof: We will use a combinatorial proof. Suppose that T is a set containing n+1 elements. Let a be an element in T, and let S=T−{a}. Note that there are (kn+1) subsets of T containing k elements. However, a subset of T with k elements either contains a together with k−1 elements of S, or contains k elements of S and does not contain a. Because there are (k−1n) subsets of k−1 elements of S, there are (k−1n) subsets of k elements of T that contain a. And there are (kn) subsets of k elements of T that do not contain a, because there are (kn) subsets of k elements of S. Consequently, (kn+1)=(k−1n)+(kn). ■
Figure 1 — Pascal’s Triangle.
Pascal’s identity is the basis for a geometric arrangement of the binomial coefficients in a triangle, as shown in Figure 1.
The nth row in the triangle consists of the binomial coefficients (kn),k=0,1,…,n. This triangle is known as Pascal’s triangle. Pascal’s identity shows that when two adjacent binomial coefficients in this triangle are added, the binomial coefficient in the next row between these two coefficients is produced.
We conclude this section with combinatorial proofs of two of the many identities enjoyed by the binomial coefficients.
Proof: Suppose that there are m items in one set and n items in a second set. Then the total number of ways to pick r elements from the union of these sets is (rm+n).
Another way to pick r elements from the union is to pick k elements from the second set and then r−k elements from the first set, where k is an integer with 0≤k≤r. Because there are (kn) ways to choose k elements from the second set and (r−km) ways to choose r−k elements from the first set, the product rule tells us that this can be done in (r−km)(kn) ways. Hence, the total number of ways to pick r elements from the union also equals k=0∑r(r−km)(kn).
We have found two expressions for the number of ways to pick r elements from the union of a set with m items and a set with n items. Equating them gives us Vandermonde’s identity. ■
Corollary 4 follows from Vandermonde’s identity.
Proof: We use Vandermonde’s identity with m=r=n to obtain (n2n)=k=0∑n(n−kn)(kn)=k=0∑n(kn)2. The last equality was obtained using the identity (kn)=(n−kn). ■
We can prove combinatorial identities by counting bit strings with different properties, as the proof of Theorem 4 will demonstrate.
Proof: We use a combinatorial proof. By Example 14 in Section 6.3, the left-hand side, (r+1n+1), counts the bit strings of length n+1 containing r+1 ones.
We show that the right-hand side counts the same objects by considering the cases corresponding to the possible locations of the final 1 in a string with r+1 ones. This final one must occur at position r+1,r+2,…, or n+1. Furthermore, if the last one is the kth bit there must be r ones among the first k−1 positions. Consequently, by Example 14 in Section 6.3, there are (rk−1) such bit strings. Summing over k with r+1≤k≤n+1, we find that there are k=r+1∑n+1(rk−1)=j=r∑n(rj) bit strings of length n+1 containing exactly r+1 ones. (Note that the last step follows from the change of variables j=k−1.) Because the left-hand side and the right-hand side count the same objects, they are equal. This completes the proof. ■