1. Feb 14, 2010

### ephemeral1

1. The problem statement, all variables and given/known data
Explain why the formula is not valid for matrices.
(A+B)(A+B)=A^2 + 2AB + B^2

2. Relevant equations
none.

3. The attempt at a solution

I don't know really know how to start this. I don't really know why that is not valid. Please help me understand. Thank you.

2. Feb 14, 2010

### owlpride

(A+B)(A+B) = A^2 + AB + BA + B^2. That much is true for matrices as well as real numbers. What goes wrong in between this line and (A+B)(A+B) = A^2 + 2 AB + B^2?

3. Feb 14, 2010

### rsa58

remember matrix multiplication is not like normal multiplication, in general it is noncommutative which means it matters which side you multiply on. another example of noncommutative algebra is the curl or cross product of vectors. If you are discussing the composition of linear transformations remember that when you multiply the matrix representation of a linear transf. it is analagous to composition of functions. obviously T(F(x)) not equal to F(T(x)) for all F,T.