If A and B be square matrices of the same order such that AB=BA, then show that (A+B)2=A2+2AB+B2.
For two square matrices A and B of the same order, (A+B)(A−B) = A2–B2.