Educerie · IB Diploma · Mathematics: analysis and approaches
IB Mathematics AA 1.9 · SL and HL
The binomial theorem
How do you multiply out (a+b)n, or pull out just one of its terms, without writing n brackets side by side?
What you will learn
Understand why the coefficients of (a + b)^n are the entries of Pascal's triangle and count choices.
Know the formula for nCr and how to find it by hand and with technology.
Know the general term of a binomial expansion and how to use it to reach any single term.
You must be able to
Find the coefficient of a given power of x, or the constant term, in a binomial expansion.
Expand (a + b)^n fully for a small whole number n, simplifying every term.
Solve for an unknown n, k, a or b from given terms or coefficients of an expansion.
Calculate a coefficient in a product such as (1 - x)(2 + x)6 by adding every pairing.
Calculate nCr by hand, and use technology to find r or n from a given value.
Show that an expansion has no constant term by testing whether r is a whole number.
In the exam. on both papers, in most sessions, usually as a "find" question worth 4 to 6 marks. Paper 1 (no calculator): expand a bracket to a small power, find one coefficient or a constant term, or find an unknown (n, k, a or b) from facts given about the expansion. Paper 2 (GDC allowed): the same questions, plus nCr found with technology, and an unknown that sits in an exponent, which only a table or graph can solve. A binomial expansion is also often one step inside a longer question. It returns in Topic 4 as the binomial distribution.
1The pattern, found by hand
Multiply out the first few powers and look at what appears.
Figure 1 shows why (a+b)2 has a 2 in the middle. A square of side a+b splits into a square a2, a square b2 and two matching rectangles of area ab. Two identical pieces give 2ab.
Figure 1 · (a + b)² drawn as an area
Three facts are true of every row, and they hold the whole theorem together.
A row has n+1 terms.(a+b)4 has five.
The powers of a fall and the powers of b rise, by one each step: a4, a3b, a2b2, ab3, b4.
In each term the two powers sum to n. In 6a2b2, 2+2=4.
Only the numbers in front change from row to row. The rows are 1 1, then 1 2 1, then 1 3 3 1, then 1 4 6 4 1. The next section finds them with no multiplying at all.
2Pascal's triangle
Stack those coefficient lists as rows and a rule shows up. Figure 2 shows rows 0 to 7.
Figure 2 · Pascal's triangle, rows 0 to 7
Each row begins and ends with 1. Every entry in between is the sum of the two entries diagonally above it.
Example: from row 5 (1 5 10 10 5 1) you get row 6 by writing 1, then 1+5, 5+10, 10+10, 10+5, 5+1, then 1. That is 1 6 15 20 15 6 1.
Row n holds the coefficients of (a+b)n. The single 1 at the top is row 0.
The reason is that (a+b)6=(a+b)5(a+b). A term such as a2b4 can only be produced in one of two ways:
b from the new bracket. Take a2b3 from the old expansion.
a from the new bracket. Take ab4 from the old expansion.
Its coefficient is therefore the sum of two neighbours in row 5. In section 3's notation, this is Pascal's rule:
nCr−1+nCr=n+1Cr
A quick number check: 5C3+5C4=10+5=15=6C4.
For n up to about 8 the triangle is the fastest method on Paper 1. Be able to write the first eight rows in a minute.
For a bigger n, or an unknown n, building rows is slow and error-prone. Use the formula of section 4.
The triangle's name
It carries the name of Blaise Pascal, the seventeenth-century French mathematician. He did not discover it. Indian and Persian mathematicians used it in the tenth century, and the Chinese mathematician Yang Hui in the thirteenth.
A good TOK question: a result is named for the person who made it famous in Europe. How much does the name tell us about mathematics? How much does it tell us about who wrote the history?
3Where the numbers come from: choosing
The triangle tells you the coefficients. Counting tells you why, and gives a formula that reaches any row directly.
Think of (a+b)3 as (a+b)(a+b)(a+b). To multiply out, you pick a or b from each of the three brackets and multiply what you picked.
That is 2×2×2=8 selections in all. Figure 3 lists them, grouped by how many times b was picked.
Figure 3 · Where the coefficients of (a + b)³ come from
Only one selection gives a3: a from every bracket.
Three give a2b. The single b may come from the first, second or third bracket.
Three give ab2.
One gives b3.
The coefficient of a2b is 3. There are 3 ways to decide which one bracket supplies the b.
The argument does not depend on 3. In (a+b)n, the term an−rbr is made by picking b from r of the n brackets. So its coefficient is the number of ways to choose r objects from n.
This number is written nCr (also as n over r inside one tall bracket). It is read "n choose r".
To compute it you need factorials.
n! ("n factorial") = n×(n−1)×…×2×1. So 5!=120.
n!=n×(n−1)! must also work for n=1. So we define 0!=1. The formula booklet gives
nCr=r!(n−r)!n!
Worked example 1. Paper 1. Find 9C4 without a calculator.
9C4=4!×5!9!=4!×5!9×8×7×6×5!=4×3×2×19×8×7×6=9×7×2=126the 5! cancels8×6=48 cancels with 24 to leave 2
The shortcut is in the second line. nCr is r numbers counting down from n, divided by r!.
Example: 12C2=212×11=66. It needs no factorials at all.
Cancelling also works with a letter in place of n. (n−2)!n!=n(n−1), which gives nC2=2n(n−1) and nC3=6n(n−1)(n−2).
Cancel before you multiply. Quote the answer as a number (66), not as 10!2!12!.
Two facts save work.
nC0=nCn=1 and nC1=nCn−1=n. These are the ends of every row.
nCr=nCn−r. Choosing which r brackets give b is the same job as choosing which n−r give a. This is why each row of the triangle reads the same from either end.
With technology
The GDC has an nCr function. On Paper 2 the guide expects you to use it, including in reverse.
Tabulate nCx and read off which x gives the value you want.
Worked example 2. Paper 2. Find the values of r for which 8Cr=56.
Enter y=8nCrx in the function table and read the values for x=0,1,…,8, as in Figure 4. The value 56 appears at r=3 and r=5.
Figure 4 · Values of ⁸Cᵣ, as a GDC table gives them
There are two answers because 8C3=8C5. "Find the values" asks for both.
When n is the unknown, write out the formula instead.
Example: if nC2=136, then 2n(n−1)=136. So n2−n−272=0 and (n−17)(n+16)=0. n is a positive whole number, so n=17. The root −16 is rejected.
4The binomial theorem
The formula booklet gives, for n∈N:
(a+b)n=an+nC1an−1b+nC2an−2b2+…+nCran−rbr+…+bn
The term containing br is the general term:
General term: nCran−rbr. It is term number r+1, because the first term is the one with r=0.
Figure 5 labels the pieces.
Figure 5 · The general term of (a + b)ⁿ, piece by piece
a and b can be anything: numbers, 2x, −3, x2, x1. The one rule is that a and b are the whole of each term, including sign and coefficient.
Example: in (3x−1)5, a=3x and b=−1.
Put each in brackets when you substitute. Then the sign and the coefficient are raised to the power as well.
Two quick consequences of special values of a and b:
a=b=1 gives 2n=nC0+nC1+…+nCn, so every row sums to a power of 2 (row 5: 1+5+10+10+5+1=32).
a=1,b=−1 gives 0=nC0−nC1+nC2−…, so the alternating sum of a row is zero (row 4: 1−4+6−4+1=0).
Worked example 3. Paper 1. Expand (3x−1)5, simplifying each term.
Row 5 of the triangle is 1 5 10 10 5 1. Here a=3x and b=−1.
The powers of x fall by 2 each term. The middle term, 6x0, is the constant term of this expansion.
5Finding one term
Most questions ask for a single term. Writing the whole expansion wastes time.
The routine never changes: write the general term, simplify the powers of x, choose r.
Sometimes the question names the position rather than the power. The general term is term number r+1, so "the fourth term" has r=3.
Worked example 5. Paper 1. (a) Find the coefficient of x2 in the expansion of (4+3x)5. (b) Find the fifth term of (x+3)8.
(a) General term: 5Cr(4)5−r(3x)r=5Cr45−r3rxrx2 needs r=25C2×43×32=10×64×9=5760(b) Fifth term: r=4,8C4x434=70×81x4=5670x4
The coefficient in (a) is 5760.
The usual slip is to forget the 32 and answer 10×64=640. The number multiplying x inside the bracket is raised to the power too.
The two parts differ. (a) asks for a coefficient, so the answer is just a number. (b) asks for a term, so x4 stays.
Constant terms
"The term independent of x" is the term with x0. Collect every power of x in the general term into one, then set that power to zero.
Worked example 6. Paper 1. Find the term independent of x in the expansion of (x2−x2)6.
General term: 6Cr(x2)6−r(−x2)r=6Cr(−2)rx12−2rx−r=6Cr(−2)rx12−3r(−x2)r is (−2)r times x−rConstant term: 12−3r=0,so r=46C4(−2)4=15×16=240
Figure 6 lists the power of x in all seven terms. It drops by 3 each time and reaches 0 at r=4.
Figure 6 · The power of x in each term of (x² − 2 ÷ x)⁶
Worked example 7. Paper 1. (a) Find the constant term of (2x3−x1)8. (b) Show that (x2+x3)7 has no constant term.
(a) 8Cr(2x3)8−r(−x1)r=8Cr28−r(−1)rx24−3r−r=8Cr28−r(−1)rx24−4r24−4r=0,r=6:8C6×22×1=28×4=112(b) power of x:2(7−r)−r=14−3r14−3r=0 gives r=314
In (a) the constant term is 112.
In (b), r would have to be 314. That is not a whole number, so no term has x0. There is no constant term.
Always test that r is a whole number between 0 and n before you evaluate anything.
One unknown constant
Worked example 8. Paper 1. The coefficient of x2 in the expansion of (2+kx)5 is 180. Find the possible values of k.
x2 term: 5C2(2)3(kx)2=10×8×k2x2=80k2x280k2=180k2=49k=23 or k=−23
Both values work, because squaring hides the sign.
Had the question given the coefficient of x3 instead, the equation would be in k3. That has just one real cube root, so there would be a single answer.
Products of brackets
When a binomial power is multiplied by another bracket, expand only as far as you need. List each way of making the target power with one term from each factor, then add.
Worked example 9. Paper 1. Find the coefficient of x3 in the expansion of (1−x)(2+x)6.
The factor (1−x) can lift the power of x by at most 1. So (2+x)6 is needed up to x3 only.
(2+x)6=64+6(32)x+15(16)x2+20(8)x3+…=64+192x+240x2+160x3+…x3 terms: 1×160x3 and (−x)×240x2160−240=−80
The coefficient is −80. Both pairings count; missing one is the standard way to lose this question.
6Finding unknowns
Each fact a question gives you is one equation. Write the term the fact describes. Set it equal to the value given, then solve the equations together.
A coefficient k inside the bracket is squared in an x2 term. Most arithmetic slips happen there.
Worked example 10. Paper 1. The expansion of (1+kx)n, where n is a positive integer and k is a positive integer, begins 1+16x+96x2+…. Find n and k.
x term: nC1kx=nkx,so nk=16x2 term: nC2(kx)2=2n(n−1)k2x2,so 2n(n−1)k2=96k=n16, so 2n(n−1)×n2256=96substitute k from the first equation128(n−1)=96n32n=128,n=4,k=4
Check: (1+4x)4 has x2 coefficient 6×16=96. ✓
Worked example 11. Paper 1. In the expansion of (1+3x)n, where n≥3, the coefficient of x3 is three times the coefficient of x2. Find n.
x2: nC2×32=9nC2x3: nC3×33=27nC327nC3=3×9nC2⇒nC3=nC26n(n−1)(n−2)=2n(n−1)6n−2=21divide by n(n−1), which is not zero because n≥3n=5
Check: the coefficients are 10×9=90 and 10×27=270, and 270=3×90. ✓
Worked example 12. Paper 2. The coefficient of x2 in the expansion of (4+x)n, where n∈Z+, is 21504. Find n.
General term: nCr4n−rxrx2 needs r=2: nC24n−2=2n(n−1)×4n−2=21504
n sits in an exponent and in a coefficient at once. Algebra cannot isolate it.
Enter y=2x(x−1)×4x−2 in a table, or graph it against y=21504. The table gives 3840 at x=6 and 21504 at x=7. So n=7.
The values grow with x, so no other whole number works.
7A use for the first few terms
For small x, the terms of (1+x)n=1+nx+nC2x2+… shrink quickly. The first three give a good estimate.
Example: 1.038=(1+0.03)8≈1+8(0.03)+28(0.03)2=1+0.24+0.0252=1.2652. The true value is 1.26677….
Any number can be split to suit. Example: 3.984=(4−0.02)4≈256−4(64)(0.02)+6(16)(0.02)2=256−5.12+0.0384=250.9184. The true value is 250.91827….
At HL, 1.10 extends the theorem to fractional and negative powers. Those expansions never end. This kind of estimate is then their main purpose.
Practice questions
33 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.