Can AB = BA? Solving for Matrix A and B

  • Thread starter Thread starter soopo
  • Start date Start date
  • Tags Tags
    Matrix
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 13K views
soopo
Messages
222
Reaction score
0

Homework Statement


Let [tex]A, B \epsilon R[/tex]n x n.

Homework Equations



A. Show that if AB = BA, then
(A + B)2 = A2 + 2AB + B2.

B. Give an example of 2 x 2 matrices A and B such that
(A + B)2 [tex]\neq[/tex] A2 + 2AB + B2.

The Attempt at a Solution


I have tried to find such a matrices A and B such that the requirements applies. Perhaps, this allows to show the equations.
 
Last edited:
Physics news on Phys.org
gabbagabbahey said:
For part (a), just expand [itex](A+B)^2[/itex]...what do you get when you do that?
[tex]A^2 +2AB + B^2[/tex]. Do you suggest that this is enough for A?

I accidentally managed to solve B: an example is A= <1, 0; 1, 1> and B= <1, 1; 0, 1>.
 
Last edited:
soopo said:
A^2 +2AB + B^2.

this is only true when AB=BA, since

[tex](A+B)^2=(A+B)(A+B)=AA+AB+BA+BB=A^2+AB+BA+B^2[/tex]

...do you follow?
 
gabbagabbahey said:
this is only true when AB=BA, since

[tex](A+B)^2=(A+B)(A+B)=AA+AB+BA+BB=A^2+AB+BA+B^2[/tex]

...do you follow?
Good Point! This must be enough for A. Thanks!