Binomial expansion

AS · P1 · 10 min

Multiplying out (2+x)4(2 + x)^4 by hand takes four rounds of brackets; (2+x)10(2 + x)^{10} would take all afternoon. The binomial expansion writes down every term of (a+b)n(a + b)^n directly, using the numbers (nr)\binom{n}{r}, and lets you pick out a single term, such as the coefficient of x3x^3 or the term independent of xx, without expanding everything. In Paper 1 the power nn is always a positive integer, so the expansion has exactly n+1n + 1 terms. A binomial question worth 3 to 5 marks appears on nearly every paper.

Where the coefficients come from

Expand (a+b)n(a + b)^n for small nn and look at the coefficients:

(a+b)1=a+b(a+b)2=a2+2ab+b2(a+b)3=a3+3a2b+3ab2+b3(a+b)4=a4+4a3b+6a2b2+4ab3+b4\begin{aligned} (a + b)^1 &= a + b \\ (a + b)^2 &= a^2 + 2ab + b^2 \\ (a + b)^3 &= a^3 + 3a^2b + 3ab^2 + b^3 \\ (a + b)^4 &= a^4 + 4a^3b + 6a^2b^2 + 4ab^3 + b^4 \end{aligned}

Two patterns stand out. In each term the powers of aa and bb add up to nn, with the power of aa going down from nn to 00 and the power of bb going up from 00 to nn. And the coefficients form Pascal's triangle, where each number is the sum of the two above it:

nnCoefficients
0011
11111 \quad 1
221211 \quad 2 \quad 1
3313311 \quad 3 \quad 3 \quad 1
44146411 \quad 4 \quad 6 \quad 4 \quad 1
55151010511 \quad 5 \quad 10 \quad 10 \quad 5 \quad 1
6616152015611 \quad 6 \quad 15 \quad 20 \quad 15 \quad 6 \quad 1

Why: counting choices

(a+b)n(a + b)^n is nn brackets multiplied together. Each term of the expansion comes from choosing either aa or bb from every bracket. The term an−rbra^{n-r}b^r arises once for every way of choosing which rr brackets supply a bb. So its coefficient is the number of ways of choosing rr objects from nn, written (nr)\binom{n}{r}.

Factorials and (nr)\binom{n}{r}

Definition

For a positive integer nn, nn factorial is n!=n×(n−1)×⋯×2×1n! = n \times (n - 1) \times \cdots \times 2 \times 1, and 0!=10! = 1.

The binomial coefficient is

(nr)=nCr=n!r! (n−r)!(0≤r≤n)\binom{n}{r} = {}^nC_r = \frac{n!}{r!\,(n - r)!} \qquad (0 \le r \le n)

For calculation, cancel the larger factorial:

(nr)=n(n−1)(n−2)⋯(n−r+1)r!for example(83)=8×7×63×2×1=56\binom{n}{r} = \frac{n(n - 1)(n - 2)\cdots(n - r + 1)}{r!} \qquad\text{for example}\quad \binom{8}{3} = \frac{8 \times 7 \times 6}{3 \times 2 \times 1} = 56

Useful facts: (n0)=(nn)=1\binom{n}{0} = \binom{n}{n} = 1, (n1)=n\binom{n}{1} = n, (n2)=n(n−1)2\binom{n}{2} = \dfrac{n(n - 1)}{2}, and the symmetry (nr)=(nn−r)\binom{n}{r} = \binom{n}{n - r} (choosing which rr to take is the same as choosing which n−rn - r to leave). Your calculator's nCr{}^nC_r key gives these directly.

The binomial theorem

Key result

For a positive integer nn,

(a+b)n=an+(n1)an−1b+(n2)an−2b2+⋯+(nr)an−rbr+⋯+bn(a + b)^n = a^n + \binom{n}{1}a^{n-1}b + \binom{n}{2}a^{n-2}b^2 + \cdots + \binom{n}{r}a^{n-r}b^r + \cdots + b^n

The general term, the (r+1)(r + 1)th term, is

(nr)an−rbr\binom{n}{r}a^{n-r}b^r

In particular

(1+x)n=1+nx+n(n−1)2!x2+n(n−1)(n−2)3!x3+⋯+xn(1 + x)^n = 1 + nx + \frac{n(n - 1)}{2!}x^2 + \frac{n(n - 1)(n - 2)}{3!}x^3 + \cdots + x^n

Both forms are in the list of formulae (MF19).

The term containing brb^r is the (r+1)(r + 1)th term, not the rrth, because the first term has b0b^0.

Expanding (a + b) to the power n
  1. Identify aa and bb, including signs and coefficients. For (3−x2)6\left(3 - \tfrac{x}{2}\right)^6, a=3a = 3 and b=−x2b = -\tfrac{x}{2}.
  2. Write each term as (nr)(a)n−r(b)r\binom{n}{r}(a)^{n-r}(b)^r, with aa and bb in brackets.
  3. Evaluate each part separately, then multiply.
  4. Simplify each coefficient fully and write the terms in the order asked ("ascending powers of xx" means starting from the constant).
Finding one particular term
  1. Write the general term (nr)(a)n−r(b)r\binom{n}{r}(a)^{n-r}(b)^r, with aa and bb as expressions in xx.
  2. Collect the power of xx in terms of rr.
  3. Set that power equal to the one you want (for example 00 for the term independent of xx) and solve for rr. It must be a whole number from 00 to nn.
  4. Substitute rr back to find the term or its coefficient.

Products of two brackets

To find a coefficient in something like (1+3x)(2−x)5(1 + 3x)(2 - x)^5, expand the binomial only as far as you need, then collect every pair of terms whose powers of xx add up to the one you want.

Worked examples

A full expansion

Expand (2+x)4(2 + x)^4 fully.

Solution

Coefficients 1,4,6,4,11, 4, 6, 4, 1, with a=2a = 2, b=xb = x:

(2+x)4=24+4(23)x+6(22)x2+4(2)x3+x4=16+32x+24x2+8x3+x4\begin{aligned} (2 + x)^4 &= 2^4 + 4(2^3)x + 6(2^2)x^2 + 4(2)x^3 + x^4 \\ &= 16 + 32x + 24x^2 + 8x^3 + x^4 \end{aligned}
Negative and fractional terms

Find the first three terms, in ascending powers of xx, of (3−x2)6\left(3 - \dfrac{x}{2}\right)^6.

Solution

a=3a = 3 and b=−x2b = -\dfrac{x}{2}. Keep the sign inside the bracket.

36+(61)35(−x2)+(62)34(−x2)2=729+6(243)(−x2)+15(81)(x24)=729−729x+12154x2\begin{aligned} &3^6 + \binom{6}{1}3^5\left(-\frac{x}{2}\right) + \binom{6}{2}3^4\left(-\frac{x}{2}\right)^2 \\ &= 729 + 6(243)\left(-\frac{x}{2}\right) + 15(81)\left(\frac{x^2}{4}\right) \\ &= 729 - 729x + \frac{1215}{4}x^2 \end{aligned}
The coefficient of one term

Find the coefficient of x3x^3 in the expansion of (1+2x)7(1 + 2x)^7.

Solution

The x3x^3 term has r=3r = 3:

(73)(1)4(2x)3=35×8x3=280x3\binom{7}{3}(1)^4(2x)^3 = 35 \times 8x^3 = 280x^3

The coefficient is 280280.

The term independent of x

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

Solution

General term:

(6r)(x2)6−r(2x)r=(6r)2rx12−2rx−r=(6r)2rx12−3r\binom{6}{r}\left(x^2\right)^{6-r}\left(\frac{2}{x}\right)^r = \binom{6}{r}2^r x^{12 - 2r}x^{-r} = \binom{6}{r}2^r x^{12 - 3r}

Independent of xx means the power is 00: 12−3r=012 - 3r = 0, so r=4r = 4.

(64)24=15×16=240\binom{6}{4}2^4 = 15 \times 16 = 240
A coefficient in a product

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

Solution

Expand (2−x)5(2 - x)^5 as far as x2x^2:

(2−x)5=32+5(16)(−x)+10(8)(−x)2+⋯=32−80x+80x2+⋯(2 - x)^5 = 32 + 5(16)(-x) + 10(8)(-x)^2 + \cdots = 32 - 80x + 80x^2 + \cdots

The x2x^2 terms in the product come from 1×80x21 \times 80x^2 and 3x×(−80x)3x \times (-80x):

80−240=−16080 - 240 = -160
Two unknowns from two coefficients

In the expansion of (1+ax)n(1 + ax)^n, where nn is a positive integer, the coefficient of xx is 1212 and the coefficient of x2x^2 is 6060. Find aa and nn.

Solution(1+ax)n=1+n(ax)+n(n−1)2(ax)2+⋯(1 + ax)^n = 1 + n(ax) + \frac{n(n - 1)}{2}(ax)^2 + \cdots

So na=12na = 12 and n(n−1)2a2=60\dfrac{n(n - 1)}{2}a^2 = 60.

Write the second as 12(na)(n−1)a=60\tfrac{1}{2}(na)(n - 1)a = 60 and substitute na=12na = 12:

6(n−1)a=60⇒(n−1)a=10⇒na−a=10⇒12−a=106(n - 1)a = 60 \quad\Rightarrow\quad (n - 1)a = 10 \quad\Rightarrow\quad na - a = 10 \quad\Rightarrow\quad 12 - a = 10

So a=2a = 2 and n=6n = 6. Check: (1+2x)6=1+12x+60x2+⋯(1 + 2x)^6 = 1 + 12x + 60x^2 + \cdots.

An approximation

(a) Find the first three terms in the expansion of (2−x)6(2 - x)^6 in ascending powers of xx.

(b) Use your answer to estimate 1.9961.99^6, giving your answer to 3 decimal places.

Solution

(a)

(2−x)6=64+6(32)(−x)+15(16)x2+⋯=64−192x+240x2+⋯(2 - x)^6 = 64 + 6(32)(-x) + 15(16)x^2 + \cdots = 64 - 192x + 240x^2 + \cdots

(b) 1.99=2−0.011.99 = 2 - 0.01, so put x=0.01x = 0.01:

64−192(0.01)+240(0.0001)=64−1.92+0.024=62.10464 - 192(0.01) + 240(0.0001) = 64 - 1.92 + 0.024 = 62.104

The next term, −160x3=−0.00016-160x^3 = -0.00016, is too small to affect the third decimal place, so 1.996≈62.1041.99^6 \approx 62.104.

y = (2 - x)^6 y = 64 - 192x + 240x^2

The first three terms (the parabola) follow y=(2−x)6y = (2 - x)^6 closely when xx is small, which is why the approximation works for x=0.01x = 0.01. Further from 00 the dropped terms matter and the curves separate.

Two terms needed from one expansion

(a) Find the term independent of xx and the coefficient of x2x^2 in the expansion of (x−2x)6\left(x - \dfrac{2}{x}\right)^6.

(b) Hence find the coefficient of x2x^2 in the expansion of (1+x2)(x−2x)6\left(1 + x^2\right)\left(x - \dfrac{2}{x}\right)^6.

Solution

(a) General term: (6r)x6−r(−2x)r=(6r)(−2)rx6−2r\binom{6}{r}x^{6-r}\left(-\dfrac{2}{x}\right)^r = \binom{6}{r}(-2)^r x^{6 - 2r}.

Independent of xx: 6−2r=06 - 2r = 0, r=3r = 3: (63)(−2)3=20×(−8)=−160\binom{6}{3}(-2)^3 = 20 \times (-8) = -160.

x2x^2: 6−2r=26 - 2r = 2, r=2r = 2: (62)(−2)2=15×4=60\binom{6}{2}(-2)^2 = 15 \times 4 = 60.

(b) The x2x^2 term of the product comes from 1×(the x2 term)1 \times (\text{the } x^2 \text{ term}) and x2×(the constant term)x^2 \times (\text{the constant term}):

60+(−160)=−10060 + (-160) = -100
Watch out

Missing brackets. (2x)3=8x3(2x)^3 = 8x^3, not 2x32x^3, and (−x2)2=x24\left(-\tfrac{x}{2}\right)^2 = \tfrac{x^2}{4}, not −x22-\tfrac{x^2}{2}. Always bracket aa and bb before raising to a power.

Losing the sign of bb. In (2−x)5(2 - x)^5, b=−xb = -x, so odd powers of bb are negative.

Off by one. The x3x^3 term uses (n3)\binom{n}{3} and is the fourth term. "The third term" uses (n2)\binom{n}{2}.

Forgetting the power of aa. In (3+2x)5(3 + 2x)^5, the x2x^2 term is (52)33(2x)2\binom{5}{2}3^3(2x)^2, not (52)(2x)2\binom{5}{2}(2x)^2.

Coefficient versus term. "The coefficient of x3x^3" is a number, such as 280280. "The term in x3x^3" is 280x3280x^3.

Exam tip
  • Command words. "In ascending powers of xx" means start with the constant. "Up to and including the term in x3x^3" means four terms. "Term independent of xx" means the constant term.
  • Show the structure. Write (62)34(−x2)2\binom{6}{2}3^4\left(-\tfrac{x}{2}\right)^2 before simplifying. If the arithmetic slips, the method mark is still earned.
  • Simplify fully. The accuracy mark needs each coefficient as an integer or a fraction in lowest terms.
  • Products. State which pairs of terms you are combining. A common 4-mark question: two marks for the binomial terms, one for combining, one for the answer.
  • Not required. The greatest term and properties of the coefficients are not on the syllabus. Expansions with negative or fractional nn belong to Paper 3.
Summary
  • (a+b)n=∑(nr)an−rbr(a + b)^n = \sum \binom{n}{r}a^{n-r}b^r for a positive integer nn, with n+1n + 1 terms.
  • (nr)=n!r!(n−r)!\binom{n}{r} = \dfrac{n!}{r!(n - r)!}: the number of ways of choosing rr from nn; the entries of Pascal's triangle.
  • (nr)=(nn−r)\binom{n}{r} = \binom{n}{n - r}, (n1)=n\binom{n}{1} = n, (n2)=12n(n−1)\binom{n}{2} = \tfrac{1}{2}n(n - 1).
  • General term (nr)an−rbr\binom{n}{r}a^{n-r}b^r is the (r+1)(r + 1)th term; use it to find one term without expanding everything.
  • Bracket aa and bb, including signs and coefficients.
  • For a product, expand as far as needed and add the products of terms whose powers sum to the target.

Practice questions

Question
  1. Expand (1−2x)5(1 - 2x)^5 fully.
  2. Find the first four terms of (2+3x)8(2 + 3x)^8 in ascending powers of xx.
  3. Evaluate (73)\binom{7}{3}, and show that (104)=(106)\binom{10}{4} = \binom{10}{6}.
  4. Find the coefficient of x4x^4 in the expansion of (1+x)(1−x)6(1 + x)(1 - x)^6.
  5. The coefficient of x3x^3 in the expansion of (1+kx)6(1 + kx)^6 is −160-160. Find kk.
  6. Find the term independent of xx in the expansion of (2x−1x2)9\left(2x - \dfrac{1}{x^2}\right)^9.
  7. (a) Find the first three terms of (2−x)6(2 - x)^6 in ascending powers of xx. (b) Hence find the coefficient of x2x^2 in (3+2x)(2−x)6(3 + 2x)(2 - x)^6.
  8. In the expansion of (1+ax)5(1−2x)4(1 + ax)^5(1 - 2x)^4, the coefficient of xx is zero. Find aa, and hence find the coefficient of x2x^2.
  9. The term independent of xx in the expansion of (x+kx)8\left(x + \dfrac{k}{x}\right)^8, where kk is a positive constant, is 11201120. Find kk, and the coefficient of x2x^2 in the expansion.
Answers
  1. a=1a = 1, b=−2xb = -2x, coefficients 1,5,10,10,5,11, 5, 10, 10, 5, 1: 1−10x+40x2−80x3+80x4−32x51 - 10x + 40x^2 - 80x^3 + 80x^4 - 32x^5.

  2. 28+8(27)(3x)+28(26)(3x)2+56(25)(3x)3=256+3072x+16 128x2+48 384x32^8 + 8(2^7)(3x) + 28(2^6)(3x)^2 + 56(2^5)(3x)^3 = 256 + 3072x + 16\,128x^2 + 48\,384x^3.

  3. (73)=7×6×53×2×1=35\binom{7}{3} = \dfrac{7 \times 6 \times 5}{3 \times 2 \times 1} = 35. (104)=10!4! 6!\binom{10}{4} = \dfrac{10!}{4!\,6!} and (106)=10!6! 4!\binom{10}{6} = \dfrac{10!}{6!\,4!}, which are the same expression; both equal 210210.

  4. In (1−x)6(1 - x)^6, the x4x^4 coefficient is (64)=15\binom{6}{4} = 15 and the x3x^3 coefficient is −(63)=−20-\binom{6}{3} = -20. In the product: 1×15+1×(−20)=−51 \times 15 + 1 \times (-20) = -5.

  5. (63)k3=20k3=−160\binom{6}{3}k^3 = 20k^3 = -160, so k3=−8k^3 = -8 and k=−2k = -2.

  6. General term (9r)(2x)9−r(−x−2)r=(9r)29−r(−1)rx9−3r\binom{9}{r}(2x)^{9-r}\left(-x^{-2}\right)^r = \binom{9}{r}2^{9-r}(-1)^r x^{9 - 3r}. 9−3r=09 - 3r = 0 gives r=3r = 3: 84×26×(−1)=−537684 \times 2^6 \times (-1) = -5376.

  7. (a) 64−192x+240x264 - 192x + 240x^2. (b) 3×240+2×(−192)=720−384=3363 \times 240 + 2 \times (-192) = 720 - 384 = 336.

  8. (1+ax)5=1+5ax+10a2x2+⋯(1 + ax)^5 = 1 + 5ax + 10a^2x^2 + \cdots and (1−2x)4=1−8x+24x2+⋯(1 - 2x)^4 = 1 - 8x + 24x^2 + \cdots. Coefficient of xx: 5a−8=05a - 8 = 0, so a=85a = \tfrac{8}{5}. Coefficient of x2x^2: 24+5a(−8)+10a2=24−64+25.6=−14.4=−72524 + 5a(-8) + 10a^2 = 24 - 64 + 25.6 = -14.4 = -\tfrac{72}{5}.

  9. General term (8r)x8−rkrx−r=(8r)krx8−2r\binom{8}{r}x^{8-r}k^r x^{-r} = \binom{8}{r}k^r x^{8 - 2r}. Independent: r=4r = 4, 70k4=112070k^4 = 1120, so k4=16k^4 = 16 and k=2k = 2. Coefficient of x2x^2: 8−2r=28 - 2r = 2, r=3r = 3: (83)23=56×8=448\binom{8}{3}2^3 = 56 \times 8 = 448.

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action