Solution:
Concept: The cube of a binomial: (a+b)3=a3+3a2b+3ab2+b3 and (a−b)3=a3−3a2b+3ab2−b3. In the second one the signs alternate: plus, minus, plus, minus.
Step 1 — Part (i).
We use (a+b)3 with the terms a and 2.
(a+2)3=a3+3(a)2(2)+3(a)(2)2+23=a3+6a2+12a+8
Step 2 — Part (ii).
We use (a−b)3 with the terms 2a and 1.
(2a−1)3=(2a)3−3(2a)2(1)+3(2a)(1)2−13=8a3−12a2+6a−1
Step 3 — Part (iii).
The terms are 2a and 3b.
(2a+3b)3=(2a)3+3(2a)2(3b)+3(2a)(3b)2+(3b)3=8a3+36a2b+54ab2+27b3
Step 4 — Part (iv).
Here the first term is 3b and the second is 2a, so 3b takes the cube with the plus sign.
(3b−2a)3=(3b)3−3(3b)2(2a)+3(3b)(2a)2−(2a)3=27b3−54ab2+36a2b−8a3
Step 5 — Part (v).
The terms are 2x and x1.
(2x+x1)3=(2x)3+3(2x)2(x1)+3(2x)(x1)2+(x1)3=8x3+12x+x6+x31
Step 6 — Part (vi).
The terms are x and 21.
(x−21)3=x3−3(x)2(21)+3(x)(21)2−(21)3=x3−23x2+43x−81
Watch out: In (3b−2a)3 the cube of the first term, 27b3, is positive and the cube of 2a is subtracted.
Therefore, (i) a3+6a2+12a+8; (ii) 8a3−12a2+6a−1; (iii) 8a3+36a2b+54ab2+27b3; (iv) 27b3−54ab2+36a2b−8a3; (v) 8x3+12x+x6+x31; (vi) x3−23x2+43x−81.