Skip to main content
Logo image

Section 23.1 Binomial coefficients

binomial
an expression of the form (x+y)n, where nN and x,y are real numbers (or elements of any commutative ring with identity)

Example 23.1.1. Expanding binomials.

Expanding binomials gets more complicated as n increases.
(x+y)2=x2+2xy+y2(x+y)3=(x+y)(x2+2xy+y2)=x3+3x2y+3xy2+y3(x+y)4=(x+y)(x3+3x2y+3xy2+y3)=x4+4x3y+6x2y2+4xy3+y4(x+y)5=(x+y)(x4+4x3y+6x2y2+4xy3+y4)=x5+5x4y+10x3y2+10x2y3+5xy4+y5
The symmetry in each of these expansions should be expected: we would get the same expression in the summation opposite order if we swapped x and y, since (x+y)n=(y+x)n.
binomial coefficient
a number appearing as a coefficient in the expansion of (x+y)n
(nk)
the kth coefficient in the expansion of (x+y)n (0kn)
To better understand the complexity of binomial expansions, we should look for and exploit patterns. We have already expanded some binomial expressions for small exponents in Example 23.1.1 — let’s extract the binomial coefficients from those expressions.
(00)(10)(11)(20)(21)(22)(30)(31)(32)(33)(40)(41)(42)(43)(44)(50)(51)(52)(53)(54)(55)(60)(61)(62)(63)(64)(65)(66)
111121133114641151010511615201561
Figure 23.1.2. Pascal’s triangle.
Write (x+y)n=(x+y)(x+y)(x+y), with n factors. To expand this out, we generalize the FOIL method: from each factor, choose either x or y, then multiply all your choices together. Then add the results of all possible such products. For example,
(x+y)2=xx+xy+yx+yy=x2+2xy+y2,(x+y)3=xxx+xxy+xyx+xyy+yxx+yxy+yyx+yyy=x3+3x2y+3xy2+y3.
When forming a specific product, if you chose y for k out of n choices, you must have chosen x for the remaining nk of the n choices. The result will be xnkyk. So to figure out the coefficient on xnkyk, just count how many ways there are to choose y for k of the n choices. This is just Ckn, where we choose k factors of (x+y) to give us a y, and the rest to give us an x.

Base case.

The cases of n=0,1 are trivially true.

Induction step.

Use the binomial formula for (x+y)n1 to obtain the binomial formula for (x+y)n, by manipulating
(x+y)n=(x+y)(x+y)n1=(x+y)(C0n1xn1+C1n1xn2y++Cn1n1yn1).

Worked Example 23.1.5. Expanding a binomial.

Expand (x2)5.
Solution.
We saw that the n=5 row of Pascal’s triangle is 1,5,10,10,5,1.
(x2)5(x+(2))5=(50)x5+(51)x4(2)+(52)x3(2)2+(53)x2(2)3+(54)x(2)4+(55)(2)5=x510x4+40x380x2+80x32.

Worked Example 23.1.6. Determining a specific coefficient in a binomial expansion.

What is the coefficient on the x4y9 term in the expansion of (3x+y)13?
Solution.
Considering
(3x+y)13=((3x)+y)13,
the x4y9 term is
(139)(3x)4y9=13!9!4!34x4y9=13121110273432x4y9=(13311527)x4y9.
So the desired coefficient is 57,915.