Number and Algebra · Topic 1H

Binomial Expansion

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)

  1. no 2s

    • xxx

    1 way

    1 × x3

    = x3

  2. one 2

    • xx2
    • x2x
    • 2xx

    3 ways

    3 × x2 × 2

    = 6x2

  3. two 2s

    • x22
    • 2x2
    • 22x

    3 ways

    3 × x × 22

    = 12x

  4. 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.
+1 bracket112 brackets1213 brackets13314 brackets146415 brackets15101051+1 bracket112 brackets1213 brackets13314 brackets146415 brackets15101051
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
  1. (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

  2. 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

  3. r goes from 0, where every bracket gives a, up to n, where every bracket gives b. Add up the terms:

So(a + b)n = an + nC1an−1b+ nC2an−2b2 + …+ nCran−rbr + … + bn

In general

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

  1. Take the coefficients from the row of Pascal's triangle for the power, or work out nC0, nC1, …, nCn.
  2. 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.
  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

(3x)4 + 4(3x)3(−2) + 6(3x)2(−2)2 + 4(3x)(−2)3 + (−2)4

= 81x4 − 216x3 + 216x2 − 96x + 16

Worked example 2

Find the first three terms, in ascending powers of x, of the expansion of (2 + x)7.

ascending powers of x start with x from no bracket, then from one, then from two: r = 0, 1 and 2

7C0 × 27 + 7C1 × 26x + 7C2 × 25x2

= 128 + 448x + 672x2

Your turn

  1. Write down the row of Pascal's triangle for 5 brackets, and hence expand (a + b)5.
  2. Find the value of 8C4.
  3. Expand (x − 4)3.
  4. Expand (3x + 1)3.
  5. Expand (2x − 5)3.
  6. Expand (x − 3y)3.
  7. Expand (x2 − 1)4.
  8. Expand (x − 2x)3.
  9. Find the first three terms, in ascending powers of x, of the expansion of (1 + 4x)6.
  10. Find the first three terms, in ascending powers of x, of the expansion of (2 − x)8.
  11. Use the first three terms of the expansion of (1 + x)8 to estimate 1.018.
  12. Expand (3 + 1)3, giving your answer in the form a + b3.
Show answers

Mark each one ✓ or ✕.

  1. 1, 5, 10, 10, 5, 1

    a5 + 5a4b + 10a3b2 + 10a2b3 + 5ab4 + b5

  2. 8!4! × 4! = 8 × 7 × 6 × 54 × 3 × 2 × 1

    = 70

  3. x3 + 3x2(−4) + 3x(−4)2 + (−4)3

    = x3 − 12x2 + 48x − 64

  4. (3x)3 + 3(3x)2 + 3(3x) + 1

    = 27x3 + 27x2 + 9x + 1

  5. (2x)3 + 3(2x)2(−5) + 3(2x)(−5)2 + (−5)3

    = 8x3 − 60x2 + 150x − 125

  6. x3 + 3x2(−3y) + 3x(−3y)2 + (−3y)3

    = x3 − 9x2y + 27xy2 − 27y3

  7. (x2)4 + 4(x2)3(−1) + 6(x2)2(−1)2 + 4x2(−1)3 + (−1)4

    = x8 − 4x6 + 6x4 − 4x2 + 1

  8. x3 + 3x2(−2x) + 3x(−2x)2 + (−2x)3

    = x3 − 6x + 12x − 8x3

  9. 1 + 6C1(4x) + 6C2(4x)2

    = 1 + 24x + 240x2

  10. 28 + 8C1 × 27(−x) + 8C2 × 26(−x)2

    = 256 − 1024x + 1792x2

  11. (1 + x)8 = 1 + 8x + 28x2 + …

    with x = 0.01: 1 + 0.08 + 0.0028 = 1.0828

  12. (3)3 + 3(3)2 + 33 + 1

    = 33 + 9 + 33 + 1 = 10 + 63

Skill 1.2

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?

  1. 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.
  2. 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.
  3. 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

  1. Write the general term nCran−rbr, with each part in brackets and its number and sign included: (−x)r, (3x)r.
  2. 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.
  3. 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

  1. Find the coefficient of x2 in the expansion of (1 + x)11.
  2. Find the coefficient of x4 in the expansion of (x + 5)6.
  3. Find the coefficient of x4 in the expansion of (2x + 1)7.
  4. Find the coefficient of x2 in the expansion of (1 − 3x)8.
  5. Find the term in x4 in the expansion of (3x + 2)5.
  6. Find the 4th term, in ascending powers of x, of the expansion of (1 + 2x)10.
  7. Find the middle term in the expansion of (x − 3)8.
  8. Find the constant term in the expansion of (x + 2x)8.
  9. Find the term independent of x in the expansion of (x2 − 1x)6.
  10. Find the coefficient of x2 in the expansion of (x + 3x)6.
  11. Find the coefficient of 1x2 in the expansion of (x − 2x)6.
  12. Show that the expansion of (x2 + 1x)5 has no constant term.
Show answers

Mark each one ✓ or ✕.

  1. 11C2 = 11 × 102 = 55

  2. x4 leaves 5 from 2 brackets: 6C2 × 52

    = 15 × 25 = 375

  3. 7C4 × (2x)4 × 13

    = 35 × 16 = 560

  4. 8C2 × (−3x)2

    = 28 × 9 = 252

  5. x4 leaves 2 from 1 bracket: 5C1 × (3x)4 × 2

    = 5 × 81x4 × 2 = 810x4

  6. the 1st term has r = 0, so the 4th has r = 3

    10C3 × (2x)3 = 120 × 8x3 = 960x3

  7. there are 9 terms, so the middle one is the 5th, with r = 4

    8C4 × x4 × (−3)4 = 70 × 81x4 = 5670x4

  8. power of x: (8 − r) − r = 8 − 2r = 0, so r = 4

    8C4 × 24 = 70 × 16 = 1120

  9. power of x: 2(6 − r) − r = 12 − 3r = 0, so r = 4

    6C4 × (−1)4 = 15

  10. power of x: 6 − 2r = 2, so r = 2

    6C2 × 32 = 15 × 9 = 135

  11. 1x2 = x−2, so 6 − 2r = −2 and r = 4

    6C4 × (−2)4 = 15 × 16 = 240

  12. 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

  1. 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.
  2. 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.
  3. 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.

nC2 = n!2!(n − 2)! = n(n − 1)2, as n! = n(n − 1) × (n − 2)!

n(n − 1)2 = 28, so n2 − n − 56 = 0

(n − 8)(n + 7) = 0, and n is a positive whole number, so n = 8

Your turn

  1. In the expansion of (1 + ax)4, the coefficient of x is 20. Find a.
  2. In the expansion of (2 + px)5, the coefficient of x is 240. Find p.
  3. In the expansion of (1 + kx)6, the coefficient of x2 is 240. Find the possible values of k.
  4. In the expansion of (x + k)7, the coefficient of x5 is 84. Find the possible values of k.
  5. In the expansion of (1 + ax)5, the coefficient of x3 is −80. Find a.
  6. In the expansion of (1 + 2x)n, the coefficient of x is 26. Find n.
  7. In the expansion of (1 + x)n, the coefficient of x2 is 66. Find n.
  8. In the expansion of (1 + x)n, the coefficient of x2 is 105. Find n.
  9. In the expansion of (1 + 3x)n, the coefficient of x2 is 135. Find n.
  10. The constant term in the expansion of (x + kx)4 is 150. Find the possible values of k.
  11. In the expansion of (1 + ax)n, the coefficient of x is 8 and the coefficient of x2 is 24. Find n and a.
  12. 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 ✕.

  1. 4C1a = 4a = 20

    a = 5

  2. 5C1 × 24 × p = 80p = 240

    p = 3

  3. 6C2k2 = 15k2 = 240, so k2 = 16

    k = 4 or k = −4

  4. x5 leaves k from 2 brackets: 7C2k2 = 21k2 = 84

    k2 = 4, so k = 2 or k = −2

  5. 5C3a3 = 10a3 = −80, so a3 = −8

    a = −2 (an odd power gives one value)

  6. nC1 × 2 = 2n = 26

    n = 13

  7. n(n − 1)2 = 66, so n2 − n − 132 = 0

    (n − 12)(n + 11) = 0, so n = 12

  8. n(n − 1)2 = 105, so n2 − n − 210 = 0

    (n − 15)(n + 14) = 0, so n = 15

  9. 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

  10. the constant term takes kx from 2 brackets: 4C2 × x2 × k2x2 = 6k2

    6k2 = 150, so k2 = 25 and k = 5 or k = −5

  11. 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

  12. 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

  1. Write the terms of the expansion up to the power you want.
  2. 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).
  3. Multiply each pair, and add the coefficients.

Worked example 1

Find the coefficient of x2 in the expansion of (2 − x)(1 + 3x)5.

(1 + 3x)5 = 1 + 5C1(3x) + 5C2(3x)2 + … = 1 + 15x + 90x2 + …

x2 comes from 2 × 90x2 and −x × 15x

coefficient = 180 − 15 = 165

Worked example 2

Find the coefficient of x3 in the expansion of (1 + x2)(3 − x)5.

x3 comes from 1 × (the x3 term of (3 − x)5) and x2 × (its x term)

the x3 term is 5C3 × 32 × (−x)3 = −90x3, and the x term is 5C1 × 34 × (−x) = −405x

coefficient = −90 − 405 = −495

Your turn

  1. Find the coefficient of x2 in the expansion of (1 + 2x)(1 + x)5.
  2. Find the coefficient of x in the expansion of (3 + x)(1 − x)6.
  3. Find the coefficient of x2 in the expansion of (2 − x)(1 + x)8.
  4. Find the coefficient of x3 in the expansion of (1 − 2x)(1 + x)7.
  5. Find the coefficient of x2 in the expansion of (x + 3)(2x − 1)4.
  6. Find the coefficient of x3 in the expansion of (1 + x2)(1 + 2x)6.
  7. Find the coefficient of x4 in the expansion of (x2 − 2)(1 + x)6.
  8. Find the coefficient of x3 in the expansion of (2 + x)(x − 1)5.
  9. The coefficient of x in the expansion of (1 + kx)(1 − 2x)5 is 3. Find k.
  10. Find the coefficient of x2 in the expansion of (1 + x)2(1 − x)5.
  11. Find the coefficient of x2 in the expansion of (1 + x)3(1 − x)4.
  12. Find the constant term in the expansion of (2 − x)(x + 3x)5.
Show answers

Mark each one ✓ or ✕.

  1. (1 + x)5 = 1 + 5x + 10x2 + …

    1 × 10x2 + 2x × 5x, so the coefficient is 10 + 10 = 20

  2. (1 − x)6 = 1 − 6x + …

    3 × (−6x) + x × 1, so the coefficient is −18 + 1 = −17

  3. (1 + x)8 = 1 + 8x + 28x2 + …

    2 × 28x2 − x × 8x, so the coefficient is 56 − 8 = 48

  4. the x2 and x3 terms of (1 + x)7 are 21x2 and 35x3

    1 × 35x3 − 2x × 21x2, so the coefficient is 35 − 42 = −7

  5. in ascending powers, (2x − 1)4 = 1 − 8x + 24x2 + …

    x × (−8x) + 3 × 24x2, so the coefficient is −8 + 72 = 64

  6. the x and x3 terms of (1 + 2x)6 are 12x and 160x3

    1 × 160x3 + x2 × 12x, so the coefficient is 160 + 12 = 172

  7. the x2 and x4 terms of (1 + x)6 are 15x2 and 15x4

    x2 × 15x2 − 2 × 15x4, so the coefficient is 15 − 30 = −15

  8. the x2 and x3 terms of (x − 1)5 are −10x2 and 10x3

    2 × 10x3 + x × (−10x2), so the coefficient is 20 − 10 = 10

  9. (1 − 2x)5 = 1 − 10x + …

    the coefficient of x is k − 10 = 3, so k = 13

  10. (1 + x)2 = 1 + 2x + x2 and (1 − x)5 = 1 − 5x + 10x2 − …

    1 × 10x2 + 2x × (−5x) + x2 × 1, so the coefficient is 10 − 10 + 1 = 1

  11. (1 + x)3 = 1 + 3x + 3x2 + x3 and (1 − x)4 = 1 − 4x + 6x2 − …

    1 × 6x2 + 3x × (−4x) + 3x2 × 1, so the coefficient is 6 − 12 + 3 = −3

  12. the general term of (x + 3x)5 is 5Cr3rx5−2r; 5 − 2r = 0 has no whole-number answer, so it has no constant term

    the constant term comes from −x × (its x−1 term): 5 − 2r = −1 gives r = 3, and 5C3 × 33 = 270

    constant term = −x × 270x−1 = −270

Happy with this concept and its skills?

Ready to practise?

Put every skill to work, from Foundation to Mastery.

Practise 1H questions