Given,
A = [3501] and B = [−4120]
Solving for A2:
⇒A2=[3501]×[3501]=[(3)(3)+(0)(5)(5)(3)+(1)(5)(3)(0)+(0)(1)(5)(0)+(1)(1)]=[9+015+50+00+1]=[92001].
Solving for B2:
⇒B2=[−4120]×[−4120]=[(−4)(−4)+(2)(1)(1)(−4)+(0)(1)(−4)(2)+(2)(0)(1)(2)+(0)(0)]=[16+2−4+0−8+02+0]=[18−4−82].
Solving for 2AB:
⇒2AB=2([3501]×[−4120])=2[(3)(−4)+(0)(1)(5)(−4)+(1)(1)(3)(2)+(0)(0)(5)(2)+(1)(0)]=2[−12+0−20+16+010+0]=2[−12−19610]=[−24−381220].
A2 – 2AB + B2
⇒[92001]−[−24−381220]+[18−4−82]⇒[9−(−24)20−(−38)0−121−20]+[18−4−82]⇒[3358−12−19]+[18−4−82]⇒[33+1858−4−12−8−19+2]⇒[5154−20−17].
Hence, A2 – 2AB + B2 = [5154−20−17]