Skip to main content
Examonaut

Topic 4 · Lesson 1 of 5

Binomial expansion for positive integers

The binomial expansion: where the coefficients come from

Multiply out (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2 and (a+b)3=a3+3a2b+3ab2+b3(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3. The numbers in front, 1 2 1 and 1 3 3 1, are rows of Pascal's triangle, shown below, in which each number is the sum of the two above it.

n = 01n = 111n = 2121n = 31331n = 414641n = 515101051each number is the sum of the two above it: 4 + 6 = 10

Why does this happen? (a+b)4(a + b)^4 means (a+b)(a+b)(a+b)(a+b)(a + b)(a + b)(a + b)(a + b). To multiply out, you pick either aa or bb from each of the four brackets and multiply your choices. To get a term a2b2a^2b^2, you must pick bb from exactly 2 of the 4 brackets. The number of ways to choose which 2 brackets give bb is the coefficient of a2b2a^2b^2: here 6.

That counting number has a name and a formula. The number of ways of choosing rr objects from nn is

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

where n!n! ("nn factorial") is n×(n−1)×⋯×2×1n \times (n - 1) \times \cdots \times 2 \times 1, and 0!=10! = 1. For example, (42)=242×2=6\binom{4}{2} = \frac{24}{2 \times 2} = 6. Your calculator has an nCr{}^nC_r key. This gives the binomial expansion for a positive whole number 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

In each term the powers of aa and bb add up to nn, and the power of bb matches the bottom number of the coefficient. The same counting is behind binomial probabilities in statistics: the probability of exactly rr successes in nn trials is (nr)pr(1−p)n−r\binom{n}{r}p^r(1 - p)^{n-r}, a term of (p+(1−p))n(p + (1 - p))^n.

How to expand (a+bx)n(a + bx)^n

  1. Step 1: Write the general term (nr)an−r(bx)r\binom{n}{r}a^{n-r}(bx)^r and put r=0,1,2,…r = 0, 1, 2, \ldots in turn.
  2. Step 2: Keep bxbx in a bracket, so that its sign and number are both raised to the power. This is where most errors happen.
  3. Step 3: Simplify each term, then check: the first term is ana^n.

Worked example

Expanding and approximating

a) Find the first four terms, in ascending powers of xx, of (2−3x)5(2 - 3x)^5. b) Use your answer to estimate 1.9751.97^5.

Show solution
  1. r=0r = 0: 25=322^5 = 32.
  2. r=1r = 1: (51)24(−3x)=5×16×(−3x)=−240x\binom{5}{1}2^4(-3x) = 5 \times 16 \times (-3x) = -240x.
  3. r=2r = 2: (52)23(−3x)2=10×8×9x2=720x2\binom{5}{2}2^3(-3x)^2 = 10 \times 8 \times 9x^2 = 720x^2. The bracket squared makes the term positive.
  4. r=3r = 3: (53)22(−3x)3=10×4×(−27x3)=−1080x3\binom{5}{3}2^2(-3x)^3 = 10 \times 4 \times (-27x^3) = -1080x^3.
  5. So (2−3x)5=32−240x+720x2−1080x3+…(2 - 3x)^5 = 32 - 240x + 720x^2 - 1080x^3 + \ldots
  6. b) 2−3x=1.972 - 3x = 1.97 when x=0.01x = 0.01. Substituting: 32−2.4+0.072−0.00108=29.67132 - 2.4 + 0.072 - 0.00108 = 29.671 (3 d.p.). Because xx is small, the later terms are tiny, so a few terms give an excellent estimate.

Worked example

Unknowns in a binomial expansiontop grade

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

Show solution
  1. The xx term is (n1)(ax)=nax\binom{n}{1}(ax) = nax, so na=12na = 12.
  2. The x2x^2 term is (n2)(ax)2=n(n−1)2a2x2\binom{n}{2}(ax)^2 = \frac{n(n - 1)}{2}a^2x^2, so n(n−1)a22=60\frac{n(n - 1)a^2}{2} = 60.
  3. Spot that the second equation contains nana: write it as (na)(n−1)a2=60\frac{(na)(n - 1)a}{2} = 60, so 12(n−1)a2=60\frac{12(n - 1)a}{2} = 60, giving (n−1)a=10(n - 1)a = 10.
  4. Expand: na−a=10na - a = 10, so 12−a=1012 - a = 10 and a=2a = 2. Then n=122=6n = \frac{12}{2} = 6.

Practise this topic

Both are part of Premium.