Expanding (a + b)n with Pascal's triangle and binomial coefficients. Try each “Your turn” before you look at the answers.Covers SL 1.9
Concept 1
Choosing from every bracket
Each term of an expansion takes one part from every bracket: its powers add up to the number of brackets, and the number in front counts the ways to choose.
Expanding (x + 5)(x + 3) = x2 + 3x + 5x + 15 takes one part from each bracket and multiplies them, in all 4 possible ways. (x + 2)3 is (x + 2)(x + 2)(x + 2), so each of its terms takes x or 2 from each of the 3 brackets, and there are 2 × 2 × 2 = 8 ways to do that.
Many of the 8 ways make the same kind of term, so sort them by the number of brackets that give 2. Counting the ways for more brackets builds Pascal's triangle. Look at the 8 ways, then at the triangle:
(x + 2)(x + 2)(x + 2)
no 2s
xxx
1 way
1 × x3
= x3
one 2
xx2
x2x
2xx
3 ways
3 × x2 × 2
= 6x2
two 2s
x22
2x2
22x
3 ways
3 × x × 22
= 12x
three 2s
222
1 way
1 × 23
= 8
The one 2 can come from any of the 3 brackets, so the term with one 2 comes up 3 ways, each x2 × 2: together they make 6x2. In every term the powers add up to 3, one for each bracket, and (x + 2)3 = x3 + 6x2 + 12x + 8.Each row counts the ways for one more bracket, and each number is the sum of the two above it. To take 2 from two of 4 brackets, either the 4th bracket gives 2 and so does one of the first three (3 ways), or the 4th gives x and two of the first three give 2 (3 ways). So 3 + 3 = 6.
Key idea
The number in front of a term counts the ways to choose which brackets give each part, and the term's powers add up to the number of brackets.
When a part has a number in it, the count is not the whole coefficient. In (x + 2)3 the term with one 2 comes up 3 ways, and each way is x2 × 2, so the term is 3 × 2x2 = 6x2, not 3x2.
More examples
The term in x2y2 of (x + y)4
Choose which 2 of the 4 brackets give y; the other 2 give x. The choice can be the 1st and 2nd, the 1st and 3rd, the 1st and 4th, the 2nd and 3rd, the 2nd and 4th, or the 3rd and 4th: 6 ways, the middle number in the row for 4 brackets.
The term is 6x2y2
The term in x of (x + 4)3
Choose the one bracket that gives x: 3 ways. The other two brackets each give 4, and 4 × 4 = 16.
The term is 3 × 16x = 48x
(x − 1)3
Here the second part is −1. The counts are 1, 3, 3 and 1, as for (x + 2)3, and each −1 changes the sign, so the signs take turns.
(x − 1)3 = x3 − 3x2 + 3x − 1
Where the formula comes from
Key result
(a + b)n is n brackets multiplied together. A term that takes b from r of them takes a from the other n − r, just as the term with one 2 in (x + 2)3 takes x from the other two brackets, x2:
an−rbr
Write nCr for the number of ways to choose the r brackets that give b, so 3C1 = 3. Each way makes the same an−rbr, so together they make one term, the general term:
nCran−rbr
r goes from 0, where every bracket gives a, up to n, where every bracket gives b. Add up the terms:
nCr, read "n choose r", is the number r places along the row of Pascal's triangle for n brackets, counting the first 1 as place 0. Technology gives it too, and so does nCr = n!r!(n − r)!, where n! = n × (n − 1) × … × 2 × 1 and 0! = 1. For example 9C2 = 9!2! × 7! = 9 × 82 = 36.
Choosing the r brackets that give b leaves the other n − r to give a, so nCr = nCn−r, and every row reads the same from either end. r goes from 0 to n, so there are n + 1 terms: the 1st term has r = 0, the 2nd has r = 1, and so on.
True or false?
The coefficient of x2 in (x + 5)4 is 6.
(x + 3)6 has 6 terms.
In the expansion of (a + b)7, the terms in a2b5 and a5b2 have the same coefficient.
Skill 1.1
Expand (a + b)n with Pascal's triangle or nCr
Method
Take the coefficients from the row of Pascal's triangle for the power, or work out nC0,nC1, …, nCn.
Give each coefficient the first part to a power counting down from n, and the second part to a power counting up from 0. Keep each part in brackets, with its number and its sign: (3x)2,(−2)3.
Work out each term.
Worked example 1
Expand (3x − 2)4.
the coefficients come from the row for 4 brackets; the powers of 3x count down from 4 and the powers of −2 count up from 0
Find a given term or coefficient (including the constant term)
How we get there
Read first
QuestionIn the expansion of (x + 3x)4, which term has no x in it?
Each term takes 3x from some of the 4 brackets and x from the rest. Say r brackets give 3x. The other 4 − r give x, so the term is 4Crx4−r(3x)r.
Each 3x divides by x, so it cancels one of the 4 − r factors of x on top. That leaves (4 − r) − r factors of x: the power of x is 4 − 2r.
No x means the power is 0: 4 − 2r = 0, so r = 2. Two brackets give x and two give 3x, and the term is 4C2 × x2 × 9x2 = 6 × 9 = 54.
SoWhen x is in both parts, write the power of x in the general term in terms of r. Set it equal to the power you want (0 for the term with no x) and solve for r.
Method
Write the general term nCran−rbr, with each part in brackets and its number and sign included: (−x)r,(3x)r.
Find r from the power of x you want. If x is in both parts, first simplify the power of x in terms of r, then set it equal to that power.
Put r in. The coefficient is the number in front; the term includes its power of x.
Worked example 1
Find the coefficient of x5 in the expansion of (3 − x)7.
x5 takes −x from 5 brackets, so r = 5, and 3 comes from the other 2
7C5 × 32 × (−x)5 = 21 × 9 × (−x5)
coefficient = −189
Worked example 2
Find the term independent of x in the expansion of (3x − 1x2)6.
general term: 6Cr(3x)6−r(−1x2)r
each −1x2 divides by x2, so the power of x is (6 − r) − 2r = 6 − 3r
6 − 3r = 0, so r = 2
6C2 × 34 × (−1)2 = 15 × 81 = 1215
Your turn
Find the coefficient of x2 in the expansion of (1 + x)11.
Find the coefficient of x4 in the expansion of (x + 5)6.
Find the coefficient of x4 in the expansion of (2x + 1)7.
Find the coefficient of x2 in the expansion of (1 − 3x)8.
Find the term in x4 in the expansion of (3x + 2)5.
Find the 4th term, in ascending powers of x, of the expansion of (1 + 2x)10.
Find the middle term in the expansion of (x − 3)8.
Find the constant term in the expansion of (x + 2x)8.
Find the term independent of x in the expansion of (x2 − 1x)6.
Find the coefficient of x2 in the expansion of (x + 3x)6.
Find the coefficient of 1x2 in the expansion of (x − 2x)6.
Show that the expansion of (x2 + 1x)5 has no constant term.
Show answers
Mark each one ✓ or ✕.
11C2 = 11 × 102 = 55
x4 leaves 5 from 2 brackets: 6C2 × 52
= 15 × 25 = 375
7C4 × (2x)4 × 13
= 35 × 16 = 560
8C2 × (−3x)2
= 28 × 9 = 252
x4 leaves 2 from 1 bracket: 5C1 × (3x)4 × 2
= 5 × 81x4 × 2 = 810x4
the 1st term has r = 0, so the 4th has r = 3
10C3 × (2x)3 = 120 × 8x3 = 960x3
there are 9 terms, so the middle one is the 5th, with r = 4
8C4 × x4 × (−3)4 = 70 × 81x4 = 5670x4
power of x:(8 − r) − r = 8 − 2r = 0, so r = 4
8C4 × 24 = 70 × 16 = 1120
power of x:2(6 − r) − r = 12 − 3r = 0, so r = 4
6C4 × (−1)4 = 15
power of x:6 − 2r = 2, so r = 2
6C2 × 32 = 15 × 9 = 135
1x2 = x−2, so 6 − 2r = −2 and r = 4
6C4 × (−2)4 = 15 × 16 = 240
power of x:2(5 − r) − r = 10 − 3r
10 − 3r = 0 gives r = 103, which is not a whole number, so there is no constant term
Skill 1.3
Find an unknown from a given coefficient
Method
Write the coefficient with the unknown in it: nCr times each part's number to its power. An unknown inside a part takes the power too: (kx)2 gives k2.
Set it equal to the given value and solve. An even power of the unknown gives two values, such as k = 3 or k = −3, unless the question rules one out.
When n is the unknown, use nC1 = n and nC2 = n(n − 1)2, and keep only a positive whole number.
Worked example 1
In the expansion of (1 + kx)5, the coefficient of x2 is 90. Find the possible values of k.
the x2 term takes kx from 2 brackets: 5C2(kx)2 = 10k2x2
10k2 = 90, so k2 = 9
k = 3 or k = −3
Worked example 2
In the expansion of (1 + x)n, the coefficient of x2 is 28. Find n.
(n − 8)(n + 7) = 0, and n is a positive whole number, so n = 8
Your turn
In the expansion of (1 + ax)4, the coefficient of x is 20. Find a.
In the expansion of (2 + px)5, the coefficient of x is 240. Find p.
In the expansion of (1 + kx)6, the coefficient of x2 is 240. Find the possible values of k.
In the expansion of (x + k)7, the coefficient of x5 is 84. Find the possible values of k.
In the expansion of (1 + ax)5, the coefficient of x3 is −80. Find a.
In the expansion of (1 + 2x)n, the coefficient of x is 26. Find n.
In the expansion of (1 + x)n, the coefficient of x2 is 66. Find n.
In the expansion of (1 + x)n, the coefficient of x2 is 105. Find n.
In the expansion of (1 + 3x)n, the coefficient of x2 is 135. Find n.
The constant term in the expansion of (x + kx)4 is 150. Find the possible values of k.
In the expansion of (1 + ax)n, the coefficient of x is 8 and the coefficient of x2 is 24. Find n and a.
In the expansion of (1 + kx)6, where k ≠ 0, the coefficient of x3 is 4 times the coefficient of x2. Find k.
Show answers
Mark each one ✓ or ✕.
4C1a = 4a = 20
a = 5
5C1 × 24 × p = 80p = 240
p = 3
6C2k2 = 15k2 = 240, so k2 = 16
k = 4 or k = −4
x5 leaves k from 2 brackets: 7C2k2 = 21k2 = 84
k2 = 4, so k = 2 or k = −2
5C3a3 = 10a3 = −80, so a3 = −8
a = −2 (an odd power gives one value)
nC1 × 2 = 2n = 26
n = 13
n(n − 1)2 = 66, so n2 − n − 132 = 0
(n − 12)(n + 11) = 0, so n = 12
n(n − 1)2 = 105, so n2 − n − 210 = 0
(n − 15)(n + 14) = 0, so n = 15
nC2 × 32 = 9n(n − 1)2 = 135, so n(n − 1) = 30
n2 − n − 30 = 0, so (n − 6)(n + 5) = 0 and n = 6
the constant term takes kx from 2 brackets: 4C2 × x2 × k2x2 = 6k2
6k2 = 150, so k2 = 25 and k = 5 or k = −5
na = 8 and n(n − 1)2a2 = 24
a = 8n, so n(n − 1)2 × 64n2 = 24, which simplifies to 32(n − 1)n = 24
32n − 32 = 24n, so n = 4 and a = 2
6C3k3 = 4 × 6C2k2, so 20k3 = 60k2
k ≠ 0, so divide by 20k2:k = 3
Skill 1.4
Find a coefficient in the product of a bracket and an expansion
Method
Write the terms of the expansion up to the power you want.
Each term of the product takes one term from the bracket and one from the expansion. Find the pairs whose powers of x add up to the power you want: for x2 in (2 − x)(…),2 × (the x2 term) and −x × (the x term).
Multiply each pair, and add the coefficients.
Worked example 1
Find the coefficient of x2 in the expansion of (2 − x)(1 + 3x)5.