The Binomial Theorem
Learning goals
- Expand by choosing an or from each factor
- Read as a count of those choices
- State the theorem as a sum of terms
- Build Pascal's triangle from the addition rule
- Alternate the signs for
- Pick one term by solving for from the exponent
Multiplying out is really choosing
A power like is not a new kind of object. It is shorthand for a product of seven identical factors:
So expanding it is just multiplying out a product of sums, and the distributive law has told you how to do that since the beginning. Take one term from each factor, multiply your picks together, and add up the result over every possible way of picking. Nothing else appears in the product, and nothing is left out. You read a product exactly this way when you built Vieta’s formulas, where each factor offered you an or a .
Here every factor is the same, and each one offers exactly two things: an or a . How many ways are there to pick? Build the list of picks one factor at a time. Each way of picking from the first factors turns into exactly two ways once an -th factor arrives, one taking its and one taking its . No other way is possible, so every new factor doubles the list. Beginning from the single empty pick, doublings give ways in all. The expansion of is therefore a sum of products before a single like term is collected.
What does one of those products look like? Suppose your picks took the from exactly of the factors. Then they took the from the other , and since multiplication does not care about order, the product is
That is the whole shape of the answer. Every one of the products is for some whole number between and . The exponents always add up to , and no other kind of term can possibly appear. What is left to find is how many products land on each pile.
Watch it happen for . The four picks are , , , and , so
That is not decoration. It counts the two picks that took a single , one from the first factor and one from the second. Now do , where there are picks:
Collecting the eight products by pile gives
and the in front of is not a mystery number. It is the count of ways to pick which one of the three factors donated its , and there are three factors to pick from.
That observation deserves a name, because it is the entire lesson.
Definition. For whole numbers and with , write , read ” choose ”, for the number of ways to choose which of the factors donate their .
Notice what this definition is and is not. It is not a formula you have to trust. It is a description of something you can count, and you have already counted four of them by hand:
A single pick is completely described by the set of factors that gave a . So counting the picks with exactly of the ‘s and counting the sets of factors are the same job. That is why one number answers both questions.
The Binomial Theorem
Everything from the last section now assembles into one statement.
The expansion of #
Expanding by the distributive law produces one product for every way of choosing an or a from each of the factors. The expansion produces each such product exactly once. So the expansion is the sum of those products, and the only work left is to collect the ones that are equal.
Fix a whole number with . If a particular choice takes the from exactly of the factors, it must take the from the remaining , so its product is . The converse holds too: a choice that takes the from factors produces , and since and are independent variables, forces . So the products equal to are precisely the choices that take a from exactly factors, no more and no fewer.
By definition there are such choices, so collecting them contributes exactly to the expansion.
Finally, every choice takes a from some whole number of factors between and . So letting run from to sweeps up every one of the products once and none of them twice. Adding the collected piles gives the stated identity.
Written out term by term, the theorem says
which is terms, one for each value of from to .
Three consequences come free, and each one is worth having.
The coefficients read the same backwards. Choosing which factors donate a is the same act as choosing which factors donate an : fix one selection and the other is decided. Two descriptions of the same act must have the same count, so
The coefficients add up to . The theorem is an identity, true for every and , so you may substitute whatever you like. Put :
That is a second proof of something you already knew, since sorting all picks into piles by their number of ‘s must account for all of them.
Substitution is a free sanity check. Setting every variable to turns an expansion into the sum of its coefficients, while the unexpanded side stays easy to evaluate. For that sum has to be . If your expanded coefficients do not add up to , you made an arithmetic slip.
Pascal’s triangle, built from addition alone
The theorem is only as useful as your ability to compute , and so far the only method on offer is to list every selection by hand. For that means writing out strings, which is not a method, it is a punishment. One short argument replaces the listing with addition.
Start with the two easy counts. There is exactly one way for no factor to donate a (every factor donates its ), and exactly one way for all of them to donate a . So for every ,
Everything in between follows from a single rule.
Pascal's rule: #
Take any and any interior index with . Number the factors through and stare at the last one, factor . Any selection of factors to donate a either uses factor or it does not, and it cannot do both. Those two cases therefore split every selection into two groups that overlap nowhere and leave nothing out.
Suppose the selection does use factor . Then factor supplies one of the y’s, and the other have to come from among the first factors. Each such selection is built from a choice of factors out of those , and different choices give different selections. Every choice of from the first extends to exactly one selection in this group. So the group has members.
Suppose instead the selection does not use factor . Then all of its y’s come from the first factors. So this group corresponds exactly to the ways of choosing factors out of , and the group has members.
The two groups are disjoint and together they are every selection counted by , so the total is the sum of the two counts, which is the rule as stated. Both symbols on the right stay legal: makes , and keeps inside its own range .
Pascal’s rule is a recurrence, and you know from the sequences lesson that a recurrence plus its starting values pins down every term. Here the starting values are the ‘s at both ends of every row. Stack the counts as row of a triangle, and the rule says each interior entry is the sum of the two entries directly above it.
Row of the triangle is the complete list of coefficients for , and row is , exactly what the hand count produced. The rows you will reach for most often are
Two habits keep you on the right row. Row always has entries, and its second entry is always , since counts the single factors that could have donated the lone .
Check your understanding
Use Pascal's triangle. What is the coefficient of in the expansion of ?
The term takes a from of the factors, so and the coefficient is .
Row of the triangle reads , and its entries are through . Counting from , the entry at is the second .
The symmetry gives the same answer from the other side.
Expanding a power
To expand , write down row of the triangle and march from to , giving the exponent and the exponent . The one thing to guard is that and are whole terms, coefficients included: if , then is , not .
Worked example 1 Expand
Here , , and , so the coefficients come from row , which is . Write the five terms with losing a power and gaining one:
Now evaluate each piece, keeping the whole of inside its power:
So the expansion is
Check it by setting . The left side is , and the right side is . The two agree, so no coefficient went missing.
Powers of a difference
Nothing new is needed for , because a difference is a sum in disguise. Write as and let the theorem do the work:
The only thing to simplify is , which drags one minus sign along for each factor that donated a . So
and since is a count it is never zero or negative. The sign of the coefficient of is therefore the sign of alone: the coefficient is negative exactly when is odd, and positive exactly when is even. The signs alternate , starting from on the pure term.
Worked example 2 Expand
Take and , so that the theorem applies to the sum . Row is , and the powers of climb from to :
Evaluate the powers of , which alternate in sign: , , , and . That gives
The signs alternate because the odd powers of are negative and the even ones are positive, which is the from the derivation showing up in the arithmetic.
Check with . The left side is , and the right side is . They agree, so the signs are where they belong.
Check your understanding
What is the coefficient of in the expansion of ?
Write as . The term holding has raised to , so .
That term is , and row of the triangle gives . Since is even, and the sign stays positive.
The coefficient is . Reaching for means attaching a minus sign just because the binomial has one. The sign is , and it is negative only when is odd, which is not.
A closed form for the coefficients
Pascal’s triangle gives every coefficient you could want, but it makes you build all the rows below the one you need. If a problem asks for a coefficient in , you do not want to write twenty rows. There is a formula, and you can prove it with the tools already in hand.
First, notation. For a positive whole number , the factorial is the product of every whole number from down to :
The empty case is defined to be . That is a convention, chosen because it is the value that makes the formula below come out right at the edges. You will see that convention earn its keep in a moment.
The counting number equals #
Write for . We never assume counts anything. We show that obeys the same two rules that build the triangle, and that those rules leave no freedom at all.
The edges match. Using ,
which are exactly the values of and .
Pascal’s rule holds for . Take an interior index, , so that every factorial below is defined. Add the two entries from the row above and put them over the common denominator , multiplying the first fraction above and below by and the second by :
The two numerators now combine, and collapses them:
The two rules determine everything. Row has the single entry , and as well, so the two agree there. Now suppose they agree on row . In row the two end entries are for both, and every interior entry of both is the sum of the same two entries from row . So the two agree on row as well. Working down one row at a time, they agree on every row, and therefore
for all . The counting definition and the formula are the same number.
In practice you never expand the factorials in full. Cancel against the tail of first, which leaves factors on top and factors on the bottom.
Worked example 3 Find the coefficient of in
Take and . Since for every , the term holding is simply , and the coefficient is .
Twenty rows of Pascal’s triangle would settle it, and so would the formula, in one line. Write out the factorials and cancel against the tail of :
Cancel before multiplying: , so the product is .
The coefficient of is . Notice the shape of the shortcut: three factors on top counting down from , and underneath. That pattern is what the cancellation always produces.
The same formula also explains the symmetry you spotted earlier, since swapping and swaps the two factorials in the denominator and leaves the value alone. Later, in the counting chapter, you will meet again under the name combinations, where this formula is proved a second time straight from counting principles. Nothing there is needed here: everything above came out of the multiplication itself.
Picking out a single term
Expanding a whole power is rarely the point. The question that actually gets asked is “what is the coefficient of ”, and expanding twenty terms to read off one of them is wasted work. The theorem lets you go straight to it, because it hands you the general term:
The method is always the same three steps. Write the general term for your and . Collect all the powers of the variable into a single exponent. Set that exponent equal to the one you want, solve for , and only then evaluate.
Be careful with the counting. The term is the st term of the expansion, not the th, because the list starts at . The fifth term of has .
Worked example 4 Find the coefficient of in
Here and , with . The general term is
You want , so . That also fixes the power of at , which matches the asked for, so such a term does exist. Now evaluate the three pieces. Row gives , the power of is , and because is odd:
The coefficient is . Two traps sat in that problem: the inside had to be cubed along with the , and the odd made the sign negative.
Worked example 5 Find the constant term of
A constant term is the term whose power of is . You do not know in advance which produces it, so let the exponent tell you. With and and , the general term is
Combine the two powers of by adding exponents, which is the whole reason for writing as :
The term is constant when its exponent is zero:
Only works, so there is exactly one constant term. Evaluate it with from row and :
The constant term is . Nothing was expanded: one equation in replaced all seven terms.
Check your understanding
What is the coefficient of in the expansion of ?
Take and , so the general term is .
The power of is , so needs . Row gives , and the inside is cubed along with the :
Answering means forgetting to cube the .