pyroknife
- 611
- 4
Homework Statement
Not really a homework question. Something that I've been wondering about.
The distributive law holds for matrices. Let A and B be n x n matrices.
Why is the following true for all A&B?
##(A+B)^2=A^2+2AB+B^2##
I don't undrestand that middle term (2AB) and why there's a factor of 2 there, since matrices aren't always commutative (i.e., AB doesn't always equal BA).
Shouldn't it be ##(A+B)^2=A^2+AB+BA+B^2## instead?