๐Ÿ”บ The Binomial Expansion

A Level Maths Year 1 ยท Algebra and Functions

Level 3 · Ages 16–17

← Back to topic overview
1 Expanding $(a+b)^n$ and Pascal's Triangle
A binomial is an expression with two terms, such as $a + b$ or $2 - 3x$. Expanding $(a+b)^n$ by multiplying out $n$ brackets is slow. The binomial expansion writes the answer down directly for any positive integer $n$.

Look at the first few powers:

$n$$(a+b)^n$Coefficients
$0$$1$$1$
$1$$a + b$$1 \quad 1$
$2$$a^2 + 2ab + b^2$$1 \quad 2 \quad 1$
$3$$a^3 + 3a^2b + 3ab^2 + b^3$$1 \quad 3 \quad 3 \quad 1$
$4$$a^4 + 4a^3b + 6a^2b^2 + 4ab^3 + b^4$$1 \quad 4 \quad 6 \quad 4 \quad 1$
$5$$\ldots$$1 \quad 5 \quad 10 \quad 10 \quad 5 \quad 1$
$6$$\ldots$$1 \quad 6 \quad 15 \quad 20 \quad 15 \quad 6 \quad 1$
Pascal's triangle
Each row starts and ends with $1$; every other number is the sum of the two numbers above it
Three patterns in every expansion of $(a+b)^n$: there are $n + 1$ terms; the power of $a$ falls from $n$ to $0$ while the power of $b$ rises from $0$ to $n$; and in every term the two powers add up to $n$.
Worked Example 1 โ€” Using Pascal's triangle

Expand $(1 + x)^4$.

โ‘ Row $4$ of Pascal's triangle: $1, 4, 6, 4, 1$.
โ‘กWith $a = 1$, every power of $a$ is $1$, so only the powers of $x$ show.
โ‘ข$(1 + x)^4 = 1 + 4x + 6x^2 + 4x^3 + x^4$
2 Factorials and $^n\mathrm{C}_r$

For larger $n$, writing out Pascal's triangle is impractical. Instead each coefficient can be calculated directly.

Factorial
$n! = n \times (n-1) \times (n-2) \times \cdots \times 2 \times 1$,   with $0! = 1$
The binomial coefficient
$^n\mathrm{C}_r = \dbinom{n}{r} = \dfrac{n!}{r!\,(n-r)!}$
$\dbinom{n}{r}$ is the number in row $n$, position $r$ of Pascal's triangle โ€” counting from $r = 0$. It also counts the number of ways of choosing $r$ objects from $n$, which is why it appears again in the binomial distribution in Statistics.
Worked Example 2 โ€” Calculating coefficients by hand

Evaluate $5!$ and $\dbinom{7}{3}$.

โ‘ $5! = 5 \times 4 \times 3 \times 2 \times 1 = 120$
โ‘ก$\dbinom{7}{3} = \dfrac{7!}{3!\,4!}$. Cancel the $4!$: $\dfrac{7 \times 6 \times 5}{3 \times 2 \times 1}$.
โ‘ข$= \dfrac{210}{6} = 35$
Shortcut: $\dbinom{n}{r}$ is $r$ factors counting down from $n$, divided by $r!$. So $\dbinom{10}{2} = \dfrac{10 \times 9}{2} = 45$. Your calculator's $^n\mathrm{C}_r$ button gives the same answers.
Useful factExample
$\dbinom{n}{0} = \dbinom{n}{n} = 1$Every row starts and ends with $1$
$\dbinom{n}{1} = n$$\dbinom{8}{1} = 8$
$\dbinom{n}{2} = \dfrac{n(n-1)}{2}$$\dbinom{6}{2} = 15$
$\dbinom{n}{r} = \dbinom{n}{n-r}$$\dbinom{9}{2} = \dbinom{9}{7} = 36$ โ€” the rows are symmetrical
3 The Binomial Expansion
For a positive integer $n$
$(a + b)^n = a^n + \dbinom{n}{1}a^{n-1}b + \dbinom{n}{2}a^{n-2}b^2 + \cdots + \dbinom{n}{r}a^{n-r}b^r + \cdots + b^n$
The special case $a = 1$
$(1 + x)^n = 1 + nx + \dfrac{n(n-1)}{2!}x^2 + \dfrac{n(n-1)(n-2)}{3!}x^3 + \cdots + x^n$
Brackets round the whole term. In $(2 - 3x)^5$ the "$b$" is $-3x$, so $b^2 = (-3x)^2 = 9x^2$, not $-3x^2$. Losing the bracket โ€” or the minus sign โ€” is the single most common error in this topic.
Worked Example 3 โ€” A full expansion

Expand $(2 - 3x)^5$ fully.

โ‘ Coefficients from row 5: $1, 5, 10, 10, 5, 1$. Here $a = 2$ and $b = -3x$.
โ‘ก$2^5 + 5(2^4)(-3x) + 10(2^3)(-3x)^2 + 10(2^2)(-3x)^3 + 5(2)(-3x)^4 + (-3x)^5$
โ‘ข$= 32 + 5(16)(-3x) + 10(8)(9x^2) + 10(4)(-27x^3) + 5(2)(81x^4) - 243x^5$
โ‘ฃ$= 32 - 240x + 720x^2 - 1080x^3 + 810x^4 - 243x^5$
Check: put $x = 1$. The left side is $(-1)^5 = -1$; the right side is $32 - 240 + 720 - 1080 + 810 - 243 = -1$ โœ“. The signs alternate because $b$ is negative.
4 Finding a Particular Term or Coefficient
The general term of $(a + b)^n$
$\dbinom{n}{r}a^{n-r}b^r$  โ€” the term containing $b^r$
Worked Example 4 โ€” One coefficient

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

โ‘ $x^3$ comes from $b^3 = (2x)^3$, so $r = 3$.
โ‘กTerm: $\dbinom{7}{3}(3)^4(2x)^3 = 35 \times 81 \times 8x^3$.
โ‘ขCoefficient $= 22\,680$.
The coefficient is the number only โ€” write $22\,680$, not $22\,680x^3$, if that is what is asked.
Worked Example 5 โ€” An unknown in the bracket

The coefficient of $x^2$ in the expansion of $(1 + kx)^8$ is $112$. Find the possible values of $k$.

โ‘ The $x^2$ term is $\dbinom{8}{2}(kx)^2 = 28k^2x^2$.
โ‘ก$28k^2 = 112$, so $k^2 = 4$.
โ‘ข$k = 2$ or $k = -2$.
Both signs give the same $x^2$ coefficient because $k$ is squared. If the question says $k > 0$, reject $-2$ โ€” and say so.
Worked Example 6 โ€” The term independent of $x$

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

โ‘ General term: $\dbinom{6}{r}x^{6-r}\left(\dfrac{2}{x}\right)^r = \dbinom{6}{r}2^r x^{6-2r}$.
โ‘ก"Independent of $x$" means the power of $x$ is $0$: $6 - 2r = 0$, so $r = 3$.
โ‘ข$\dbinom{6}{3}2^3 = 20 \times 8 = 160$
Worked Example 7 โ€” A product with another bracket

Find the coefficient of $x^2$ in the expansion of $(1 + 2x)(1 - x)^6$.

โ‘ You only need $(1 - x)^6$ up to $x^2$: $1 - 6x + 15x^2 + \cdots$
โ‘ก$x^2$ terms come from $1 \times 15x^2$ and $2x \times (-6x)$.
โ‘ขCoefficient $= 15 - 12 = 3$.
5 Using the Expansion for Approximations
If $x$ is small, then $x^2$, $x^3, \ldots$ are much smaller still. So the first few terms of $(1 + x)^n$ already give an excellent approximation, and the rest can be ignored. The smaller $x$ is, the better the approximation.
Worked Example 8 โ€” Estimating a power

(a) Find the first four terms, in ascending powers of $x$, of $\left(1 - \dfrac{x}{2}\right)^{10}$.   (b) Use a suitable value of $x$ to estimate $0.99^{10}$.

โ‘ $1 + 10\left(-\tfrac{x}{2}\right) + 45\left(-\tfrac{x}{2}\right)^2 + 120\left(-\tfrac{x}{2}\right)^3$
โ‘ก$= 1 - 5x + \tfrac{45}{4}x^2 - 15x^3$
โ‘ขWe need $1 - \tfrac{x}{2} = 0.99$, so $x = 0.02$.
โ‘ฃ$1 - 0.1 + 0.0045 - 0.00012 = 0.90438$
The true value is $0.904382\ldots$ โ€” the approximation is correct to five decimal places. Always state the value of $x$ you substituted; it is usually worth a mark.
Looking ahead. In Year 2 the expansion is extended to any rational $n$, such as $(1+x)^{-1}$ or $\sqrt{1 + x}$. Those series never stop, and are only valid when $|x| < 1$. See The General Binomial Expansion (Year 2).
6 Quick Reference

Pascal's triangle

Each entry is the sum of the two above it.

Factorial

$n! = n(n-1)\cdots 1$;  $0! = 1$.

$^n\mathrm{C}_r$

$\dfrac{n!}{r!(n-r)!}$; row $n$, position $r$ (from $0$).

Number of terms

$(a+b)^n$ has $n+1$ terms.

Powers

In every term the powers of $a$ and $b$ add to $n$.

General term

$\dbinom{n}{r}a^{n-r}b^r$

$(1+x)^n$

$1 + nx + \dfrac{n(n-1)}{2}x^2 + \cdots$

Brackets

Raise the whole of $(-3x)$ to the power, sign included.

Approximating

Choose $x$ small; a few terms suffice.

Check

Substitute $x = 1$ into both sides.

7 Practice Questions
Question 1

Use Pascal's triangle to expand $(1 + x)^5$.

โ–ถ Show solution

Row 5: $1, 5, 10, 10, 5, 1$.

$(1 + x)^5 = 1 + 5x + 10x^2 + 10x^3 + 5x^4 + x^5$

Question 2

Without a calculator, evaluate (a) $\dbinom{8}{3}$   (b) $\dbinom{10}{8}$.

โ–ถ Show solution

(a) $\dfrac{8 \times 7 \times 6}{3 \times 2 \times 1} = \dfrac{336}{6} = 56$

(b) By symmetry $\dbinom{10}{8} = \dbinom{10}{2} = \dfrac{10 \times 9}{2} = 45$.

Question 3

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

โ–ถ Show solution

Row 4: $1, 4, 6, 4, 1$.

$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$

Question 4

Find the first three terms, in ascending powers of $x$, of $(1 - 3x)^9$.

โ–ถ Show solution

$1 + 9(-3x) + \dbinom{9}{2}(-3x)^2$

$= 1 - 27x + 36(9x^2)$

$= 1 - 27x + 324x^2$

Question 5

Find the coefficient of $x^4$ in the expansion of $(2x - 1)^7$.

โ–ถ Show solution

Take $a = 2x$, $b = -1$. The $x^4$ term needs $a^4$, so the power of $b$ is $3$.

$\dbinom{7}{3}(2x)^4(-1)^3 = 35 \times 16x^4 \times (-1)$

Coefficient $= -560$.

Question 6

The first three terms of $(1 + ax)^n$, in ascending powers of $x$, are $1 + 20x + 180x^2$. Find $a$ and $n$.

โ–ถ Show solution

Compare with $1 + n(ax) + \dfrac{n(n-1)}{2}(ax)^2$:

$na = 20$  and  $\dfrac{n(n-1)a^2}{2} = 180$.

Write the second as $\dfrac{na \times (n-1)a}{2} = 180$, so $\dfrac{20(n-1)a}{2} = 180$ and $(n-1)a = 18$.

That is $na - a = 18$, so $20 - a = 18$ and $a = 2$. Then $n = 10$.

Check: $\dbinom{10}{2}(2)^2 = 45 \times 4 = 180$ โœ“

Question 7

(a) Find the first three terms, in ascending powers of $x$, of $\left(1 + \dfrac{x}{4}\right)^8$.   (b) Hence estimate $1.0025^8$, stating the value of $x$ you use.

โ–ถ Show solution

(a) $1 + 8\left(\tfrac{x}{4}\right) + 28\left(\tfrac{x}{4}\right)^2 = 1 + 2x + \tfrac{7}{4}x^2$

(b) $1 + \tfrac{x}{4} = 1.0025$ gives $x = 0.01$.

$1 + 0.02 + \tfrac{7}{4}(0.0001) = 1.020175$

(The true value is $1.0201759\ldots$, so the estimate is accurate to six decimal places.)

Question 8

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

โ–ถ Show solution

General term: $\dbinom{6}{r}\left(x^2\right)^{6-r}\left(\dfrac{2}{x}\right)^r = \dbinom{6}{r}2^r x^{12 - 2r - r} = \dbinom{6}{r}2^r x^{12 - 3r}$.

Independent of $x$: $12 - 3r = 0$, so $r = 4$.

$\dbinom{6}{4}2^4 = 15 \times 16 = 240$

Question 9

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

โ–ถ Show solution

$(1 + 3x)^5 = 1 + 5(3x) + 10(3x)^2 + \cdots = 1 + 15x + 90x^2 + \cdots$

$x^2$ terms: $2 \times 90x^2$ and $(-x) \times 15x$.

Coefficient $= 180 - 15 = 165$.

Question 10

(a) Expand $(2 + x)^5$ fully, in ascending powers of $x$.

(b) Hence show that $(2 + x)^5 - (2 - x)^5 = 160x + 80x^3 + 2x^5$.

(c) Hence find the exact value of $\left(2 + \sqrt{3}\right)^5 - \left(2 - \sqrt{3}\right)^5$.

(d) Use the first three terms of your expansion in (a) to estimate $2.01^5$.

โ–ถ Show solution

(a) Row 5: $1, 5, 10, 10, 5, 1$.

$32 + 5(16)x + 10(8)x^2 + 10(4)x^3 + 5(2)x^4 + x^5 = 32 + 80x + 80x^2 + 40x^3 + 10x^4 + x^5$

(b) Replacing $x$ by $-x$ changes the sign of the odd powers only:

$(2 - x)^5 = 32 - 80x + 80x^2 - 40x^3 + 10x^4 - x^5$

Subtracting, the even powers cancel and the odd powers double: $160x + 80x^3 + 2x^5$ โœ“

(c) Put $x = \sqrt{3}$: $\left(\sqrt{3}\right)^3 = 3\sqrt{3}$ and $\left(\sqrt{3}\right)^5 = 9\sqrt{3}$.

$160\sqrt{3} + 80(3\sqrt{3}) + 2(9\sqrt{3}) = 160\sqrt{3} + 240\sqrt{3} + 18\sqrt{3} = 418\sqrt{3}$

(d) $x = 0.01$: $32 + 80(0.01) + 80(0.0001) = 32 + 0.8 + 0.008 = 32.808$

(The true value is $32.808040\ldots$)

The Binomial Expansion · A Level Maths Year 1 · Created with MathJax