Expanding (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+b:
(a+b)1(a+b)2(a+b)3(a+b)4=a+b=a2+2ab+b2=a3+3a2b+3ab2+b3=a4+4a3b+6a2b2+4ab3+b4
For (a+b)n:
- The coefficients are row n of Pascal’s triangle.
- The powers of a go down from n to 0, while the powers of b go up from 0 to n.
- In every term, the exponents add up to n.
- There are n+1 terms.
Treat each part of the binomial as a whole, in brackets. For (2x−3)4, use a=2x and b=−3. Then (2x)3=8x3, and the powers of −3 alternate in sign.
Term number r+1 (counting from the left, starting at 1) uses position r of the row, with an−rbr. For example, the third term of (a+b)6 uses position 2: 15a4b2.
Expand (x+y)4.
Solution. Row 4 is 1,4,6,4,1:
(x+y)4=x4+4x3y+6x2y2+4xy3+y4
Expand (x−2)5.
Solution. Row 5 is 1,5,10,10,5,1. Use a=x and b=−2:
(x−2)5=x5+5x4(−2)+10x3(−2)2+10x2(−2)3+5x(−2)4+(−2)5=x5−10x4+40x3−80x2+80x−32
The signs alternate because the odd powers of −2 are negative.
Expand (2x+3)4.
Solution. Row 4 is 1,4,6,4,1. Use a=2x and b=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
Find the term containing x3 in the expansion of (x+2)6.
Solution. In (x+2)6, the power of x is 6−r, so x3 needs r=3. Position 3 of row 6 is 20:
20x3(2)3=20(8)x3=160x3
Thinking (a+b)n=an+bn. (x+2)2=x2+4x+4, not x2+4. All the middle terms matter.
Not raising the coefficient. (2x)3=8x3, not 2x3. Keep each part of the binomial in brackets.
Losing the negative signs. In (x−2)5, b=−2, so its odd powers are negative and the signs alternate.
Using the wrong row. (a+b)5 uses row 5, 1,5,10,10,5,1. Remember the triangle starts at row 0.
Skipping a term. (a+b)n always has n+1 terms. Count them.
1. (Warm-up) Expand (a+b)3.
Solution
a3+3a2b+3ab2+b3
2. (Warm-up) How many terms are in the expansion of (x+y)9?
Solution
9+1=10 terms.
3. (Warm-up) Expand (x+1)4.
Solution
x4+4x3+6x2+4x+1
4. (Core) Expand (y−3)4.
Solution
y4+4y3(−3)+6y2(−3)2+4y(−3)3+(−3)4=y4−12y3+54y2−108y+81
5. (Core) Expand (3x+1)3.
Solution
(3x)3+3(3x)2(1)+3(3x)(1)2+1=27x3+27x2+9x+1
6. (Core) Expand (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
7. (Core) Find the third term in the expansion of (x+2)7.
Solution
Row 7 begins 1,7,21,… The third term uses position 2:
21x5(2)2=84x5
8. (Challenge) Find the coefficient of x2 in the expansion of (1−2x)5.
Solution
Use a=1 and b=−2x. The x2 term needs b2, so position 2 of row 5, which is 10:
10(1)3(−2x)2=10(4x2)=40x2The coefficient is 40.
9. (Challenge) Use the expansion of (1+0.1)4 to find 1.14 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