Lesson 3 of 8 · 20 min

Expanding with the binomial theorem

Expand powers of a binomial such as (2x−1)3(2x - 1)^3 with the binomial theorem, and find a single term or coefficient without writing out the whole expansion.

What you will be able to do

  • Expand (x+y)n(x + y)^n using Pascal's triangle or (nr)\binom{n}{r} for the coefficients.
  • Expand binomials with coefficients and negative terms, such as (2x−1)3(2x - 1)^3.
  • Use the general term (nr)xn−ryr\binom{n}{r} x^{n-r} y^r to find a particular term, a coefficient or the constant term.

You already know (x+y)2=x2+2xy+y2(x + y)^2 = x^2 + 2xy + y^2. Multiply by (x+y)(x + y) once more and collect like terms:

(x+y)3=(x+y)(x2+2xy+y2)=x3+3x2y+3xy2+y3(x + y)^3 = (x + y)(x^2 + 2xy + y^2) = x^3 + 3x^2y + 3xy^2 + y^3

The coefficients are 1,2,11, 2, 1 and then 1,3,3,11, 3, 3, 1: rows 2 and 3 of Pascal's triangle. That is not a coincidence.

Write (x+y)3=(x+y)(x+y)(x+y)(x + y)^3 = (x + y)(x + y)(x + y). Each term of the expansion comes from picking either xx or yy from each of the three brackets and multiplying. To get x2yx^2y you pick yy from exactly one bracket, and there are (31)=3\binom{3}{1} = 3 ways to choose which one. In general, the number of ways to get xn−ryrx^{n-r}y^r from (x+y)n(x + y)^n is the number of ways to choose the rr brackets that give a yy: (nr)\binom{n}{r}.

Interactive

From the triangle to the expansion

Row 4 of the triangle gives the coefficients of (x+y)4=x4+4x3y+6x2y2+4xy3+y4(x + y)^4 = x^4 + 4x^3y + 6x^2y^2 + 4xy^3 + y^4.

Key idea

The binomial theorem

For any positive whole number nn,

(x+y)n=xn+(n1)xn−1y+⋯+(nr)xn−ryr+⋯+yn(x + y)^n = x^n + \binom{n}{1} x^{n-1} y + \cdots + \binom{n}{r} x^{n-r} y^r + \cdots + y^n
  • There are n+1n + 1 terms.
  • The powers of xx fall from nn to 00 while the powers of yy rise from 00 to nn; in every term they add to nn.
  • The coefficients are row nn of Pascal's triangle.

This is in the formula book.

Worked example

Expand (2x−1)3(2x - 1)^3

  • Simple familiar
  • Technology free

Use the binomial theorem to expand (2x−1)3(2x - 1)^3.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Identify the two terms, with their signs, and nn.

  2. Take the coefficients from row nn of Pascal's triangle.

  3. Write every term with brackets, then simplify.

  4. Check by substituting x=1x = 1.

Watch out for

  • Writing 2x32x^3 instead of (2x)3=8x3(2x)^3 = 8x^3.

  • Dropping the negative: the terms with odd powers of −1-1 are negative.

Interactive

Expanding (2x−1)3(2x - 1)^3

Each term is (3r)(2x)3−r(−1)r\binom{3}{r}(2x)^{3-r}(-1)^r. The coefficient of each term mixes the triangle entry with powers of 2 and of −1-1.

Common mistake

Brackets around every term

(2x)3=8x3(2x)^3 = 8x^3, not 2x32x^3, and (−1)3=−1(-1)^3 = -1 but (−1)2=1(-1)^2 = 1. Write each term with its brackets before you simplify, for example (32)(2x)1(−1)2\binom{3}{2}(2x)^1(-1)^2, and the powers take care of themselves.

And (x+2)3(x + 2)^3 is not x3+8x^3 + 8: that leaves out the two middle terms, 6x26x^2 and 12x12x.

Expand (x+2)3(x + 2)^3.

Reads asYour answer shows here as maths.

When the second term is negative, think of (x−y)n(x - y)^n as (x+(−y))n(x + (-y))^n. Odd powers of −y-y are negative and even powers are positive, so the signs alternate: (x−y)3=x3−3x2y+3xy2−y3(x - y)^3 = x^3 - 3x^2y + 3xy^2 - y^3.

You can check any expansion by substituting x=1x = 1: both sides must give the same number.

Expand and simplify (1−2x)4(1 - 2x)^4.

Reads asYour answer shows here as maths.

Expanding (2x−3)10(2x - 3)^{10} in full means 11 terms. If a question only wants one of them, go straight to it with the general term.

The general term of (x+y)n(x + y)^n: the term containing yry^r, which is the (r+1)(r + 1)th term
Tr+1=(nr)xn−ryrT_{r+1} = \binom{n}{r} x^{n-r} y^r

Worked example

Find the coefficient of x3x^3 in (2x−3)5(2x - 3)^5

  • Complex familiar
  • Technology free

Find the coefficient of x3x^3 in the expansion of (2x−3)5(2x - 3)^5.

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Write the general term with brackets around both terms.

  2. Set the power of xx equal to the one you want and solve for rr.

  3. Substitute rr and evaluate. The coefficient is the number only.

Watch out for

  • Using r=3r = 3 because the question mentions x3x^3. Here rr is the power of the second term, −3-3.

  • Forgetting the 232^3: the coefficient is 10×8×910 \times 8 \times 9, not 10×910 \times 9.

Common mistake

Term number, r, and coefficient

The first term has r=0r = 0, so the term containing yry^r is term number r+1r + 1. The 4th term of (x+y)7(x + y)^7 has r=3r = 3: it is (73)x4y3=35x4y3\binom{7}{3}x^4y^3 = 35x^4y^3.

A coefficient is just the number. If the term is 720x3720x^3, the coefficient of x3x^3 is 720720.

Find the coefficient of x2x^2 in the expansion of (x+3)6(x + 3)^6.

Worked example

Find the term independent of xx in (x2+2x)6\left(x^2 + \frac{2}{x}\right)^6

  • Complex familiar
  • Technology free

Find the term independent of xx in the expansion of (x2+2x)6\left(x^2 + \frac{2}{x}\right)^6.

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Write the general term and simplify the power of xx with index laws.

  2. Set the power equal to 0 (or to the power you want) and solve for rr.

  3. Check that rr is a whole number from 0 to nn, then evaluate.

Watch out for

  • Writing (x2)6−r(x^2)^{6-r} as x8−rx^{8-r}. Multiply the indices: 2(6−r)=12−2r2(6 - r) = 12 - 2r.

  • Forgetting the 2r2^r that comes from (2x)r\left(\frac{2}{x}\right)^r.

Exam tip

Show the general term

For a "find the coefficient" question, write the general term with brackets, state the value of rr you need, then evaluate. For example: general term (5r)(2x)5−r(−3)r\binom{5}{r}(2x)^{5-r}(-3)^r; x3x^3 needs r=2r = 2; coefficient (52)(2)3(−3)2=720\binom{5}{2}(2)^3(-3)^2 = 720. Each line can earn a mark, even if a later calculation slips.

Summary

  • (x+y)n=xn+(n1)xn−1y+⋯+(nr)xn−ryr+⋯+yn(x + y)^n = x^n + \binom{n}{1} x^{n-1} y + \cdots + \binom{n}{r} x^{n-r} y^r + \cdots + y^n: n+1n + 1 terms, with the coefficients from row nn of Pascal's triangle.

  • Bracket each term before raising it to a power: (2x)3=8x3(2x)^3 = 8x^3 and (−1)3=−1(-1)^3 = -1.

  • A negative second term makes the signs alternate. Check an expansion by substituting x=1x = 1.

  • The general term (nr)xn−ryr\binom{n}{r} x^{n-r} y^r is the (r+1)(r + 1)th term. Set the power you want, solve for rr, then evaluate.

  • The coefficient is the number in front of the power, not the whole term.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 3 of 80% read

Save your progress with a free account