Can AB = BA? Solving for Matrix A and B

  • Thread starter Thread starter soopo
  • Start date Start date
  • Tags Tags
    Matrix
Click For Summary

Homework Help Overview

The discussion revolves around properties of matrices, specifically focusing on the conditions under which the equation (A + B)² = A² + 2AB + B² holds true. Participants are exploring the implications of the commutative property of matrix multiplication, particularly in the context of 2x2 matrices.

Discussion Character

  • Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss expanding the expression (A + B)² and its relation to the condition AB = BA. There are attempts to find specific matrices A and B that satisfy or contradict the equation.

Discussion Status

Some participants have provided guidance on expanding the expression and have noted the necessity of the commutative property for the equation to hold. There is an acknowledgment of an example that demonstrates the inequality, although the discussion remains open-ended without a definitive conclusion.

Contextual Notes

Participants are working under the constraints of the problem statement and exploring the implications of matrix multiplication properties. There is a focus on finding specific examples that meet the criteria outlined in the homework statement.

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
For part (a), just expand [itex](A+B)^2[/itex]...what do you get when you do that?
 
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!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
2
Views
2K
Replies
5
Views
11K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 18 ·
Replies
18
Views
4K