I was wondering if anyone could explain to me how the following properties are derived for square matrices of the same size. I know that it is possible to prove/disprove the following properties by showing that they hold for the arbitrary elements of A and B, but is there a quicker way to determine whether these are true or false?
$(A−B)^2 =A^2 −2AB+B^2$
$(AB)^2 = A^2B^2$
$(A+B)^2 =A^2 +2AB+B^2$
$(A+B)^2 =A^2 +AB+BA+B^2$
$A^2B^2 =A(AB)B$
$(A+B)^3 =A^3 +3A^2B+3AB^2 +B^3 $
$ (A+B)(A−B)=A^2 −B^2$
Hint: