Solution:
Concept: The square identities: (a+b)2=a2+2ab+b2 and (a−b)2=a2−2ab+b2. In words, the square of two terms is the square of the first, plus the square of the second, with twice their product added (for a plus sign) or subtracted (for a minus sign).
Step 1 — Part (i): 101 squared.
We write 101 as 100+1, because 100 is easy to square, and use (a+b)2.
(101)2=(100+1)2=1002+2(100)(1)+12=10,000+200+1=10,201
Step 2 — Part (ii): 502 squared.
We write 502 as 500+2 and use (a+b)2.
(502)2=(500+2)2=5002+2(500)(2)+22=2,50,000+2,000+4=2,52,004
Step 3 — Part (iii): 97 squared.
We write 97 as 100−3 and use (a−b)2.
(97)2=(100−3)2=1002−2(100)(3)+32=10,000−600+9=9,409
Step 4 — Part (iv): 998 squared.
We write 998 as 1000−2 and use (a−b)2.
(998)2=(1000−2)2=10002−2(1000)(2)+22=10,00,000−4,000+4=9,96,004
Watch out: With (a−b)2 only the middle term is subtracted. The last term b2 is still added.
Therefore, (i) 10,201; (ii) 2,52,004; (iii) 9,409; (iv) 9,96,004.