A=[1021],B=[0110]
For ordinary numbers, (a+b)2=a2+2ab+b2, so the expression (a+b)2−a2−2ab−b2 is always 0. Matrices are not ordinary numbers.
Evaluate
M=(A+B)2−A2−2AB−B2
where (A+B)2 means the matrix product (A+B)(A+B), and 2AB means the matrix AB with every entry doubled.