impera Open Impera

IB Diploma Mathematics AA · Number and algebra

The binomial theorem

1Expanding brackets and Pascal's triangle

A binomial is an expression with two terms, such as $a + b$. The binomial theorem gives a quick way to expand $(a+b)^n$ without multiplying the brackets out one at a time.

The coefficients come from Pascal's triangle. Each number is the sum of the two above it.

Pascal's triangle up to row 5

Row $n$ gives the coefficients of $(a+b)^n$.

$$(a+b)^3 = a^3 + 3a^2b + 3ab^2 + b^3$$

In every expansion:

  • the powers of $a$ go down from $n$ to 0;
  • the powers of $b$ go up from 0 to $n$;
  • the powers in each term add up to $n$;
  • there are $n + 1$ terms.
Check yourself

How many terms are in the expansion of (a + b)⁵?

  • 6

  • 5

  • 4

  • 10

Show the answer

6

There are n + 1 terms.

2Binomial coefficients

For large $n$, Pascal's triangle is slow. The coefficients can be calculated directly.

$${}^nC_r = \binom{n}{r} = \frac{n!}{r!\,(n-r)!}$$

  • $n!$ is $n$ factorial: $n \times (n-1) \times \dots \times 2 \times 1$. By definition $0! = 1$.
  • ${}^nC_r$ is also the number of ways of choosing $r$ objects from $n$.
Worked example

A coefficient

  1. ${}^5C_2 = \dfrac{5!}{2!\,3!} = \dfrac{120}{2 \times 6} = 10$.
  2. Check with Pascal's triangle: row 5 is 1, 5, 10, 10, 5, 1. The third number is 10.

Your calculator has an nCr key. Learn to use it.

Check yourself

What is 4 factorial?

  • 4

  • 24

  • 16

  • 10

Show the answer

24

4 × 3 × 2 × 1.

3The binomial theorem

$$(a+b)^n = a^n + \binom{n}{1}a^{n-1}b + \binom{n}{2}a^{n-2}b^2 + \dots + b^n$$

The general term is:

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

Worked example

A full expansion

  1. Expand $(2x + 3)^3$. Here $a = 2x$, $b = 3$ and $n = 3$. The coefficients are 1, 3, 3, 1.
  2. $(2x)^3 + 3(2x)^2(3) + 3(2x)(3)^2 + 3^3$.
  3. $= 8x^3 + 36x^2 + 54x + 27$.
Worked example

Finding one term

  1. Find the term in $x^3$ in $(1 + 2x)^5$.
  2. Use the general term with $r = 3$: $\binom{5}{3}(1)^2(2x)^3$.
  3. $= 10 \times 8x^3 = 80x^3$.

For top marks: put the whole of each term in brackets before raising it to a power. $(2x)^3$ is $8x^3$, not $2x^3$. Take extra care with negative terms.

Check yourself

What is the coefficient of x² in the expansion of (1 + x)⁴?

  • 4

  • 6

  • 1

  • 2

Show the answer

6

Row 4 of Pascal's triangle is 1, 4, 6, 4, 1.

4Fractional and negative powers (HL)

This section is for Higher Level.

The theorem can be extended to powers that are not positive whole numbers. The expansion then has infinitely many terms.

$$(1+x)^n = 1 + nx + \frac{n(n-1)}{2!}x^2 + \frac{n(n-1)(n-2)}{3!}x^3 + \dots$$

It is only valid when $|x| < 1$.

For $(a + bx)^n$, first take out a factor: $(a+bx)^n = a^n\left(1 + \frac{b}{a}x\right)^n$.

Worked example

A square root as a series

  1. Expand $\sqrt{1+x} = (1+x)^{\frac{1}{2}}$ up to $x^2$.
  2. $1 + \frac{1}{2}x + \dfrac{\frac{1}{2}\left(-\frac{1}{2}\right)}{2}x^2 = 1 + \frac{1}{2}x - \frac{1}{8}x^2$.
  3. Use it to estimate $\sqrt{1.1}$, with $x = 0.1$: $1 + 0.05 - 0.00125 = 1.04875$. The true value is 1.04881.
Check yourself

For which values of x is the expansion of (1 + x)ⁿ valid when n is a fraction?

  • Only when x is a whole number

  • When x is between −1 and 1

  • For all values of x

  • Only when x is positive

Show the answer

When x is between −1 and 1

The infinite series only converges for |x| < 1.

5Finding a specific term

The general term of $(a + b)^n$ is $\binom{n}{r}a^{n-r}b^r$.

Worked example

The coefficient of $x^3$ in $(2 + x)^7$

  1. General term: $\binom{7}{r}2^{7-r}x^r$.
  2. For $x^3$, $r = 3$: $\binom{7}{3}2^4 = 35 \times 16 = 560$.
Worked example

The term independent of $x$ in $\left(x + \frac{2}{x}\right)^6$

  1. General term: $\binom{6}{r}x^{6-r}\left(\frac{2}{x}\right)^r = \binom{6}{r}2^r x^{6-2r}$.
  2. Independent of $x$: $6 - 2r = 0$, so $r = 3$.
  3. Term: $\binom{6}{3}2^3 = 20 \times 8 = 160$.
Check yourself

What is $\binom{5}{2}$?

  • 10

  • 20

  • 25

  • 5

Show the answer

10

$\frac{5 \times 4}{2}$.

6Binomial approximations

For small $x$, the first few terms approximate the expansion.

Worked example

Estimate $1.02^{10}$

  1. $(1 + 0.02)^{10} \approx 1 + 10(0.02) + \binom{10}{2}(0.02)^2 = 1 + 0.2 + 45(0.0004)$.
  2. $= 1 + 0.2 + 0.018 = 1.218$.
  3. Calculator value: $1.21899$.
Check yourself

What are the first two terms of $(1 + x)^8$?

  • $1 + 8x$

  • $1 + x$

  • $8 + x$

  • $1 + 8x^8$

Show the answer

$1 + 8x$

$\binom{8}{1} = 8$.

7Going deeper: specific-term problems, unknown powers and approximations

The general term of $(a + b)^n$ is $\binom{n}{r}a^{n-r}b^r$. Nearly every exam question is answered by writing this term and choosing $r$.

Worked example (term independent of $x$): find the constant term in $\left(2x^2 - \frac{1}{x}\right)^6$.

  1. General term: $\binom{6}{r}(2x^2)^{6-r}\left(-\frac{1}{x}\right)^r$.
  2. Power of $x$: $2(6 - r) - r = 12 - 3r$.
  3. Set $12 - 3r = 0$: $r = 4$.
  4. Term: $\binom{6}{4}(2)^2(-1)^4 = 15 \times 4 \times 1 = 60$.

Worked example (a product): find the coefficient of $x^3$ in $(1 + 2x)(1 - x)^5$.

  1. $(1 - x)^5 = 1 - 5x + 10x^2 - 10x^3 + \dots$
  2. $x^3$ arises in two ways: $1 \times (-10x^3)$ and $2x \times 10x^2$.
  3. Coefficient: $-10 + 20 = 10$.

Worked example (unknown power): the coefficient of $x^2$ in $(1 + 3x)^n$ is 135. Find $n$.

  1. Term: $\binom{n}{2}(3x)^2 = 9\binom{n}{2}x^2$.
  2. $9 \times \frac{n(n-1)}{2} = 135$, so $n(n - 1) = 30$.
  3. $n = 6$ (reject $n = -5$).

Worked example (HL, a fractional power): expand $(1 + x)^{1/2}$ to the term in $x^2$ and estimate $\sqrt{1.04}$.

  1. $(1 + x)^n = 1 + nx + \frac{n(n-1)}{2!}x^2 + \dots$
  2. With $n = \frac{1}{2}$: $1 + \frac{1}{2}x - \frac{1}{8}x^2 + \dots$
  3. Valid only for $|x| < 1$, and the series does not stop.
  4. Put $x = 0.04$: $1 + 0.02 - 0.0002 = 1.0198$. The true value is 1.019804.
  5. For $(4 + x)^{1/2}$, take out the 4 first: $2\left(1 + \frac{x}{4}\right)^{1/2}$, valid for $|x| < 4$.

Facts about coefficients

  • $\binom{n}{r} = \frac{n!}{r!(n-r)!}$ and $\binom{n}{r} = \binom{n}{n-r}$.
  • The coefficients in row $n$ of Pascal's triangle add to $2^n$ (put $a = b = 1$).
  • There are $n + 1$ terms in the expansion of $(a + b)^n$ for a positive integer $n$.

Common mistakes

  • Forgetting to raise the coefficient to the power: $(2x)^3 = 8x^3$.
  • Losing a negative sign: $(-x)^3 = -x^3$.
  • Counting terms from 1 when the formula counts $r$ from 0: the fourth term has $r = 3$.
Check yourself

What is the coefficient of x² in the expansion of (2 + x)⁵?

  • 10

  • 80

  • 32

  • 40

Show the answer

80

The term is C(5, 2) × 2³ × x² = 10 × 8 × x².

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera