Question
Question: If A and B are square matrices of the same order, explain, why in general? \({\left( {A - B} \right)...
If A and B are square matrices of the same order, explain, why in general? (A−B)2=A2−2AB+B2
Solution
We can take two arbitrary square matrices A and B. then we can expand the LHS using matrix multiplication. Then we can prove that the LHS is not equal to the RHS as the matrix multiplication is not commutative.
Complete step-by-step answer:
Let A and B be square matrices of any order. We need to prove that (A−B)2=A2−2AB+B2
Now we can take the LHS.
⇒LHS=(A−B)2
We know that a2=a×a
⇒LHS=(A−B)(A−B)
On expanding the bracket, we get
⇒LHS=A(A−B)−B(A−B)
On expanding we get,
⇒LHS=A2−AB−BA+B2
We know that matrix multiplication is not commutative,
⇒AB=BA
Hence, we have
⇒A2−AB−BA+B2=A2−2AB+B2
So we can say that, LHS=RHS
⇒(A−B)2=A2−2AB+B2
So for any square matrix A and B of the same order, (A−B)2=A2−2AB+B2.
Note: The identity we disproved here is a well-known identity of algebra. This identity is not applicable to matrices because matrix multiplication is not commutative. If an operation is commutative, it gives the same value if the order of the quantities are changed. We cannot do this question by taking an example because we are asked to prove it generally of square matrices of any order. If we take an example, we can prove the result only for that particular order.