Solution:
Concept: The binomial theorem says that, for a positive integer n,
(x+y)n=nC0xn+nC1xn−1y+nC2xn−2y2+⋯+nCnyn
where nCr=r!(n−r)!n!. The (r+1)th term is the general term Tr+1=nCrxn−ryr. The expansion has n+1 terms, and in every term the powers of x and y add up to n.
The binomial coefficients needed are 4Cr: 1,4,6,4,1; 5Cr: 1,5,10,10,5,1; 7Cr: 1,7,21,35,35,21,7,1 (rows of Pascal's triangle).
(a) (3x−y)4
Step 1 — Write the general term. Here the first term is 3x, the second is −y and n=4:
Tr+1=4Cr(3x)4−r(−y)r
Step 2 — Work out each term. We put r=0,1,2,3,4 in turn into the general term and simplify the powers:
T1=1×(3x)4=81x4
T2=4×(3x)3×(−y)=−108x3y
T3=6×(3x)2×y2=54x2y2
T4=4×(3x)×(−y)3=−12xy3
T5=1×(−y)4=y4
Step 3 — Add the terms. The signs alternate because the second term −y is negative:
(3x−y)4=81x4−108x3y+54x2y2−12xy3+y4.
(b) (3+2x2)4
Step 1 — Write the general term. Here the first term is 3, second term 2x2 and n=4:
Tr+1=4Cr34−r(2x2)r
Step 2 — Work out each term. We put r=0 to 4 in turn into the general term and simplify the powers:
T1=1×34=81
T2=4×27×2x2=216x2
T3=6×9×4x4=216x4
T4=4×3×8x6=96x6
T5=1×16x8=16x8
Step 3 — Add the terms. The expansion is the sum of all the terms found in Step 2:
(3+2x2)4=81+216x2+216x4+96x6+16x8.
(c) (x−2y)4
Step 1 — Write the general term. Here the first term is x, second term −2y and n=4:
Tr+1=4Crx4−r(−2y)r
Step 2 — Work out each term. We put r=0 to 4 in turn into the general term and simplify the powers:
T1=x4
T2=4x3×(−2y)=−2x3y
T3=6x2×4y2=23x2y2
T4=4x×(−8y3)=−21xy3
T5=16y4
Step 3 — Add the terms. The expansion is the sum of all the terms found in Step 2:
(x−2y)4=x4−2x3y+23x2y2−21xy3+161y4.
(d) (2x+2y)5
Step 1 — Write the general term. Here the first term is 2x, second term 2y and n=5:
Tr+1=5Cr(2x)5−r(2y)r
Step 2 — Work out each term. We put r=0 to 5 in turn into the general term and simplify the powers:
T1=(2x)5=32x5
T2=5×16x4×2y=40x4y
T3=10×8x3×4y2=20x3y2
T4=10×4x2×8y3=5x2y3
T5=5×2x×16y4=85xy4
T6=32y5
Step 3 — Add the terms. The expansion is the sum of all the terms found in Step 2:
(2x+2y)5=32x5+40x4y+20x3y2+5x2y3+85xy4+321y5.
(e) (1+2x)7
Step 1 — Write the general term. The first term is 1, so only the powers of 2x matter:
Tr+1=7Cr(2x)r=7Cr2rxr
Step 2 — Work out each coefficient. We multiply 7Cr by 2r for r=0 to 7:
1×17×221×435×835×1621×327×641×128=1=14=84=280=560=672=448=128
Step 3 — Write the expansion. We put these coefficients into the binomial theorem:
(1+2x)7=1+14x+84x2+280x3+560x4+672x5+448x6+128x7.
(f) (x2−2x)5
Step 1 — Write the general term. Here the first term is x2, second term −2x and n=5. Collecting the powers of 2 and of x:
Tr+1=5Cr(x2)5−r(−2x)r=(−1)r5Cr25−2rx2r−5
Step 2 — Work out each term. We put r=0 to 5 in turn into the general term and simplify the powers:
T1=25x−5=32x−5
T2=−5×23x−3=−40x−3
T3=10×2x−1=20x−1
T4=−10×2−1x=−5x
T5=5×2−3x3=85x3
T6=−2−5x5=−321x5
Step 3 — Add the terms. The expansion is the sum of all the terms found in Step 2:
(x2−2x)5=32x−5−40x−3+20x−1−5x+85x3−321x5.