Solution:
Concept: The square of a binomial: (a+b)2=a2+2ab+b2 and (a−b)2=a2−2ab+b2. The middle term is twice the product of the two terms, and it takes the sign between them. The square of three terms: (a+b+c)2=a2+b2+c2+2ab+2bc+2ca. Each term keeps its own sign, so a product of two terms with opposite signs is negative.
Step 1 — Part (i).
The terms are a and 5a1; their product is 51, so the middle term is 52.
(a+5a1)2=a2+2×a×5a1+(5a1)2=a2+52+25a21
Step 2 — Part (ii).
The terms are 2a and a1, with a minus sign between them.
(2a−a1)2=(2a)2−2×2a×a1+(a1)2=4a2−4+a21
Step 3 — Part (iii).
We use the three-term identity with the terms x, −2y and 1.
(x−2y+1)2=x2+(−2y)2+12+2(x)(−2y)+2(−2y)(1)+2(1)(x)=x2+4y2+1−4xy−4y+2x
Step 4 — Part (iv).
The terms are 3a, −2b and −5c. Two negative terms multiply to give a positive product.
(3a−2b−5c)2=(3a)2+(−2b)2+(−5c)2+2(3a)(−2b)+2(−2b)(−5c)+2(−5c)(3a)=9a2+4b2+25c2−12ab+20bc−30ca
Step 5 — Part (v).
The terms are 2x, x1 and 1. The product 2x×x1 is 2, so its term is 4.
(2x+x1+1)2=(2x)2+(x1)2+12+2(2x)(x1)+2(x1)(1)+2(1)(2x)=4x2+x21+1+4+x2+4x=4x2+x21+5+x2+4x
Step 6 — Part (vi).
The terms are 5, −x and x2. The product of −x and x2 is −2, so its term is −4, and it combines with 25.
(5−x+x2)2=52+(−x)2+(x2)2+2(5)(−x)+2(−x)(x2)+2(x2)(5)=25+x2+x24−10x−4+x20=21+x2+x24−10x+x20
Step 7 — Part (vii).
The terms are 2x, −3y and z.
(2x−3y+z)2=(2x)2+(−3y)2+z2+2(2x)(−3y)+2(−3y)(z)+2(z)(2x)=4x2+9y2+z2−12xy−6yz+4zx
Step 8 — Part (viii).
The terms are x, x1 and −1. The product x×x1 is 1, so its term is 2, and it combines with the 1 from (−1)2.
(x+x1−1)2=x2+(x1)2+(−1)2+2(x)(x1)+2(x1)(−1)+2(−1)(x)=x2+x21+1+2−x2−2x=x2+x21+3−x2−2x
Watch out: Two minus signs make a plus: in (iv), 2(−2b)(−5c) is +20bc.
Therefore, (i) a2+52+25a21; (ii) 4a2−4+a21; (iii) x2+4y2+1−4xy−4y+2x; (iv) 9a2+4b2+25c2−12ab+20bc−30ca; (v) 4x2+x21+5+x2+4x; (vi) 21+x2+x24−10x+x20; (vii) 4x2+9y2+z2−12xy−6yz+4zx; (viii) x2+x21+3−x2−2x.