If A and B are square matrix of order n × n, then $(A-B)^2$ is equal to
A. $A^2-A B-B A+B^2$
B. $A^2-2 A B+B^2$
C. $A^2-2 B A+B^2$
D. $A^2-B^2$
E. $A^2+2 A B+B^2$
Choose the correct answer from the options given below:
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) - A only
$(A-B)^2=(A-B)(A-B)$
$=A.A-B.A-A.B+B.B$
$=A^2-AB-BA+B^2$