Skip to content
Family Table Math
Auto

Binomial Expansion

Expanding (x+y)5(x + y)^5 by multiplying five brackets is slow. Binomial expansion does it in one line, using a row of Pascal’s triangle for the coefficients. It’s the reason the triangle is so useful in algebra.

Look at the first few powers of a+ba + b:

(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}

For (a+b)n(a + b)^n:

  • The coefficients are row nn of Pascal’s triangle.
  • The powers of aa go down from nn to 00, while the powers of bb go up from 00 to nn.
  • In every term, the exponents add up to nn.
  • There are n+1n + 1 terms.

When the terms have coefficients or negatives

Section titled “When the terms have coefficients or negatives”

Treat each part of the binomial as a whole, in brackets. For (2x−3)4(2x - 3)^4, use a=2xa = 2x and b=−3b = -3. Then (2x)3=8x3(2x)^3 = 8x^3, and the powers of −3-3 alternate in sign.

Term number r+1r + 1 (counting from the left, starting at 11) uses position rr of the row, with an−rbra^{n - r}b^r. For example, the third term of (a+b)6(a + b)^6 uses position 22: 15a4b215a^4b^2.

Expand (x+y)4(x + y)^4.

Solution. Row 4 is 1,4,6,4,11, 4, 6, 4, 1:

(x+y)4=x4+4x3y+6x2y2+4xy3+y4(x + y)^4 = x^4 + 4x^3y + 6x^2y^2 + 4xy^3 + y^4

Expand (x−2)5(x - 2)^5.

Solution. Row 5 is 1,5,10,10,5,11, 5, 10, 10, 5, 1. Use a=xa = x and b=−2b = -2:

(x−2)5=x5+5x4(−2)+10x3(−2)2+10x2(−2)3+5x(−2)4+(−2)5=x5−10x4+40x3−80x2+80x−32\begin{aligned} (x - 2)^5 &= x^5 + 5x^4(-2) + 10x^3(-2)^2 + 10x^2(-2)^3 + 5x(-2)^4 + (-2)^5 \\ &= x^5 - 10x^4 + 40x^3 - 80x^2 + 80x - 32 \end{aligned}

The signs alternate because the odd powers of −2-2 are negative.

Example 3: Coefficients inside the brackets

Section titled “Example 3: Coefficients inside the brackets”

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

Solution. Row 4 is 1,4,6,4,11, 4, 6, 4, 1. Use a=2xa = 2x and b=3b = 3:

(2x+3)4=(2x)4+4(2x)3(3)+6(2x)2(3)2+4(2x)(3)3+34=16x4+4(8x3)(3)+6(4x2)(9)+4(2x)(27)+81=16x4+96x3+216x2+216x+81\begin{aligned} (2x + 3)^4 &= (2x)^4 + 4(2x)^3(3) + 6(2x)^2(3)^2 + 4(2x)(3)^3 + 3^4 \\ &= 16x^4 + 4(8x^3)(3) + 6(4x^2)(9) + 4(2x)(27) + 81 \\ &= 16x^4 + 96x^3 + 216x^2 + 216x + 81 \end{aligned}

Find the term containing x3x^3 in the expansion of (x+2)6(x + 2)^6.

Solution. In (x+2)6(x + 2)^6, the power of xx is 6−r6 - r, so x3x^3 needs r=3r = 3. Position 33 of row 6 is 2020:

20 x3(2)3=20(8)x3=160x320\,x^3(2)^3 = 20(8)x^3 = 160x^3

Thinking (a+b)n=an+bn(a + b)^n = a^n + b^n. (x+2)2=x2+4x+4(x + 2)^2 = x^2 + 4x + 4, not x2+4x^2 + 4. All the middle terms matter.

Not raising the coefficient. (2x)3=8x3(2x)^3 = 8x^3, not 2x32x^3. Keep each part of the binomial in brackets.

Losing the negative signs. In (x−2)5(x - 2)^5, b=−2b = -2, so its odd powers are negative and the signs alternate.

Using the wrong row. (a+b)5(a + b)^5 uses row 5, 1,5,10,10,5,11, 5, 10, 10, 5, 1. Remember the triangle starts at row 0.

Skipping a term. (a+b)n(a + b)^n always has n+1n + 1 terms. Count them.

1. (Warm-up) Expand (a+b)3(a + b)^3.

Solutiona3+3a2b+3ab2+b3a^3 + 3a^2b + 3ab^2 + b^3

2. (Warm-up) How many terms are in the expansion of (x+y)9(x + y)^9?

Solution

9+1=109 + 1 = 10 terms.

3. (Warm-up) Expand (x+1)4(x + 1)^4.

Solutionx4+4x3+6x2+4x+1x^4 + 4x^3 + 6x^2 + 4x + 1

4. (Core) Expand (y−3)4(y - 3)^4.

Solutiony4+4y3(−3)+6y2(−3)2+4y(−3)3+(−3)4=y4−12y3+54y2−108y+81\begin{aligned} &y^4 + 4y^3(-3) + 6y^2(-3)^2 + 4y(-3)^3 + (-3)^4 \\ &= y^4 - 12y^3 + 54y^2 - 108y + 81 \end{aligned}

5. (Core) Expand (3x+1)3(3x + 1)^3.

Solution(3x)3+3(3x)2(1)+3(3x)(1)2+1=27x3+27x2+9x+1(3x)^3 + 3(3x)^2(1) + 3(3x)(1)^2 + 1 = 27x^3 + 27x^2 + 9x + 1

6. (Core) Expand (2x−y)4(2x - y)^4.

Solution(2x)4+4(2x)3(−y)+6(2x)2(−y)2+4(2x)(−y)3+(−y)4=16x4−32x3y+24x2y2−8xy3+y4\begin{aligned} &(2x)^4 + 4(2x)^3(-y) + 6(2x)^2(-y)^2 + 4(2x)(-y)^3 + (-y)^4 \\ &= 16x^4 - 32x^3y + 24x^2y^2 - 8xy^3 + y^4 \end{aligned}

7. (Core) Find the third term in the expansion of (x+2)7(x + 2)^7.

Solution

Row 7 begins 1,7,21,…1, 7, 21, \dots The third term uses position 22:

21 x5(2)2=84x521\,x^5(2)^2 = 84x^5

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

Solution

Use a=1a = 1 and b=−2xb = -2x. The x2x^2 term needs b2b^2, so position 22 of row 5, which is 1010:

10(1)3(−2x)2=10(4x2)=40x210(1)^3(-2x)^2 = 10(4x^2) = 40x^2

The coefficient is 4040.

9. (Challenge) Use the expansion of (1+0.1)4(1 + 0.1)^4 to find 1.141.1^4 without a calculator.

Solution(1+0.1)4=1+4(0.1)+6(0.1)2+4(0.1)3+(0.1)4=1+0.4+0.06+0.004+0.0001=1.4641\begin{aligned} (1 + 0.1)^4 &= 1 + 4(0.1) + 6(0.1)^2 + 4(0.1)^3 + (0.1)^4 \\ &= 1 + 0.4 + 0.06 + 0.004 + 0.0001 \\ &= 1.4641 \end{aligned}

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.

H1. Use Pascal’s triangle to expand (p+q)5(p+q)^5. State the number of terms and explain the pattern in the exponents.

H2. Expand (x−1)4(x-1)^4. Explain the alternating signs.

H3. Expand (3x+2)3(3x+2)^3 and check your result at x=1x=1.

H4. Expand (x−3y)4(x-3y)^4. Keep the coefficients and signs inside brackets while setting up the terms.

H5. Find only the fourth term in (2x+1)6(2x+1)^6, counting from the term with the highest power of xx. Explain which entry of Pascal’s triangle you used.

H6. Find the coefficient of x3x^3 in (1−3x)7(1-3x)^7, without expanding everything.

H7. Use binomial expansion to evaluate 0.9840.98^4 exactly, without a calculator. Then compare your result with the approximation 1−4(0.02)1-4(0.02).

H8. The coefficient of x2x^2 in (x+k)4(x+k)^4 is 54. Find all real values of kk, then find the coefficient of xx for each value. Explain why there are two answers.

H9. Simplify (x+2)5−(x−2)5(x+2)^5-(x-2)^5 by expansion. Explain which powers cancel, and verify your expression at x=0x=0 and x=1x=1.

H10. Find the coefficient of x4x^4 in (1+x)3(1−2x)3(1+x)^3(1-2x)^3 in two ways: by combining the brackets first and by identifying all pairs of terms whose exponents add to 4. Make sure your answers agree.