Commutative 2x2 Matrices: Finding Solutions for AB = BA

  • Thread starter Thread starter RJLiberator
  • Start date Start date
  • Tags Tags
    Matrices
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 3K views
RJLiberator
Gold Member
Messages
1,094
Reaction score
63

Homework Statement



Let A =
\begin{bmatrix}
0 & 1 \\
1 & 0
\end{bmatrix}

Find all 2 x 2 matrices B such that AB = BA.

Homework Equations


http://euclid.colorado.edu/~roymd/m3130/Exam2sol.pdf

The Attempt at a Solution



I let B =
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix} and set AB=BA.

From here I see that a and d must be 0, and b=c must be true.

So the answer will be that all matrices that are commutative will be of form:

\begin{bmatrix}
0 & b \\
b & 0
\end{bmatrix}

And there is no other possible commutative matrix outside of this form.

1. Is this correct?
2. Is there any further proof of this needed?

Thank you kindly.
 
Physics news on Phys.org
RJLiberator said:

Homework Statement



Let A =
\begin{bmatrix}
0 & 1 \\
1 & 0
\end{bmatrix}

Find all 2 x 2 matrices B such that AB = BA.

Homework Equations


http://euclid.colorado.edu/~roymd/m3130/Exam2sol.pdf

The Attempt at a Solution



I let B =
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix} and set AB=BA.

From here I see that a and d must be 0, and b=c must be true.

So the answer will be that all matrices that are commutative will be of form:

\begin{bmatrix}
0 & b \\
b & 0
\end{bmatrix}

That must be wrong, because the 2x2 identity matrix commutes with every 2x2 matrix but is not of that form.

What did you actually get for AB and BA? I would suggest double-checking those calculations.

And there is no other possible commutative matrix outside of this form.

1. Is this correct?

You have the right idea, but have not executed it correctly.
 
  • Like
Likes   Reactions: RJLiberator
So to get this right:

if A = \begin{bmatrix}
0 & 1 \\
1 & 0
\end{bmatrix}

All possible commutative matrices with matrix A should be in the form:

\begin{bmatrix}
0 & b \\
b & 0
\end{bmatrix}This is the wrong answer? It seems to be right when I calculate it. I get the same answer either way. AB = BA
 
[itex]\begin{pmatrix} 0 & b \\ b & 0 \end{pmatrix}[/itex] is a subset of the matrices you are looking for. It can't be all of them, because the identity [itex]\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}[/itex] commutes with every 2x2 matrix.

Recheck your initial calculations with [itex]B = \begin{pmatrix} a & b \\ c & d \end{pmatrix}[/itex].
 
  • Like
Likes   Reactions: RJLiberator
Ahhh, I see.

I calculated it out and found that while b=c, also a=d:

\begin{bmatrix}
a & b \\
b & a
\end{bmatrix}

This makes sense to me as the original answer was a subset of this.

Is there any further proof needed to show that is all?
 
RJLiberator said:
All possible commutative matrices with matrix A should be in the form:

[0bb0]​
\begin{bmatrix} 0 & b \\ b & 0 \end{bmatrix}This is the wrong answer? It seems to be right when I calculate it. I get the same answer either way. AB = BA
To follow up on what pasmith is asking you to do:

What do you get for the product ##\displaystyle \ \begin{bmatrix} 0 & 1\\ 1 & 0 \end{bmatrix}\begin{bmatrix} a & b \\ c & d \end{bmatrix} \ \ \ ?##

What do you get for the product ##\displaystyle \ \begin{bmatrix} a & b \\ c & d \end{bmatrix}\begin{bmatrix} 0 & 1\\ 1 & 0 \end{bmatrix} \ \ \ ? ##(I see you posted you answer just before I posted this.)

That looks good.
 
  • Like
Likes   Reactions: RJLiberator
Thanks guys for the help here. Greatly appreciated.