How to make a matrix B such that AB=BA

  • Context: Undergrad 
  • Thread starter Thread starter yooyo
  • Start date Start date
  • Tags Tags
    Matrix
Click For Summary

Discussion Overview

The discussion revolves around finding a matrix B such that the product of matrices A and B commutes, specifically that AB = BA. The context includes theoretical exploration and mathematical reasoning regarding the properties of matrices and their commutativity.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants suggest writing out the matrices explicitly and setting the products equal to find conditions on their entries.
  • One participant proposes using B = 2Id, while another questions the meaning of this suggestion.
  • It is noted that A will commute with itself, its powers, and all multiples of the identity matrix.
  • Some participants mention that any polynomial in A will commute with A, though there is some confusion about the relevance of constants in this context.
  • Another viewpoint suggests that any B sharing all of A's eigenvectors would also work, but this is challenged by a participant who argues that this does not hold without a basis of eigenvectors.
  • There are claims that B could be A^-1 or other specific forms, but these depend on A being invertible or having certain properties.
  • One participant describes a method involving setting up a system of linear equations to find B, while another criticizes this approach as overly tedious.
  • Some participants express frustration over perceived lack of attention to previous posts and the clarity of responses.
  • Several participants mention multiple potential forms for B, including B = 0, B = I, and B = A.
  • A later reply introduces the idea of using a unitary matrix or a specific numerical approach to find B, suggesting a variety of methods exist.

Areas of Agreement / Disagreement

Participants express a range of views on potential forms for B, with no consensus on a single solution. There are disagreements regarding the sufficiency of certain approaches and the clarity of previous responses.

Contextual Notes

Some discussions highlight the need for specific properties of matrix A (such as being invertible) for certain proposed solutions to hold. There are also mentions of the complexity involved in solving the equations derived from the commutation condition.

Who May Find This Useful

Readers interested in linear algebra, matrix theory, or those seeking to understand matrix commutativity may find this discussion relevant.

yooyo
Messages
7
Reaction score
0
B is not the identity matrix or the zero matrix
suppose both A and B are 3X3
I don't have clue on this..any hits?
 
Physics news on Phys.org
Well write out two 3x3 matrices of variables and calculate AB, and BA set them equal to one another(element by element) and find the conditions on the entries of each matrix that make it true that AB=BA.
 
how abouit 2Id?
 
what do you mean by 2Id? 2xI?
 
There is an obvious choice for B (well infinitely many) that is not Id or 0. What will A always commute with?
 
Is the question "Given B find A such that AB= BA"?
 
it is given A find B such that AB=BA..
what is the obvious choice...
 
A will commute with itself and all its powers. Also, A will commute with all multiples of Id.
 
yooyo said:
it is given A find B such that AB=BA..
what is the obvious choice...

B=A, or B=I.
 
  • #10
special polynomials in kA, where k is a constant
 
  • #11
Uh? *any* polynomial in A commutes with A (dunno what the k has to do with anything).
 
  • #12
matt grime said:
Uh? *any* polynomial in A commutes with A (dunno what the k has to do with anything).

Hmm... I must have been thinking about something else in particular [which I can't recall now]. Yeah, the k is redundant if I say polynomial.
 
  • #13
Any B sharing all of A's eigenvectors would work too wouldn't it? Or is that pretty much amounting to a polynomial of A anyway?

Or is there some subtle reason I'm missing why that wouldn't work?
 
  • #14
It certainly doesn't work. Not unless there is a basis of eigenvectors. It is easy to find matrices A and B with precisely one eigenvector each that contradict your hypothesis.
 
  • #15
B=A^-1

For any other matrix to work the matrix A must be in a special format. For example, a 2x2 matrix must have the upper right and lower left values equal. It might need to meet another requirement, I'm not too sure.
 
  • #16
Where does it say A is invertible? I don't understand your 'upper right and lower left' condition at all. Any polynomial in A will do, as has been said many times in this thread. (I think this is about the 3rd time I've said it.)
 
  • #17
So I'm assuming you want a matrix B such that a known matrix A when multiplied by B can commute, that is AB=BA. The idea is to set up a system of linear equations with all of your unknowns. First we have to specify the unknowns. If B is a 3X3 matrix then we will have a matrix containing a,b,c,d,e,f,g,h,i where these letters are the unknowns representitive of the coefficients in the B matrix. Next you want to multiply A times B, and B times A, which should give you 18 different equations. We want to treat a,b,c, etc. as if they were x1, x2, x3, etc. Remember AB=BA, which means AB - BA = 0. Now you can set up and solve for a linear system using elementary row operations. Once the linear system is in reduced row echelon form, you will see the conditions for AB=BA. I hope that helps.
 
  • #18
Does nobody read the f**king posts before them and try to figure out if they've answered the question or not?
 
  • #19
matt grime said:
Does nobody read the f**king posts before them and try to figure out if they've answered the question or not?

I read all of the posts and nobody appeared to answer the posters question to satisfaction. Such anger, I would have expected a better show from someone with such credentials as "homework helper" and "science advisor."
 
  • #20
Several suggestions have been made that lead to infinitely many B, none of which require the setting up or solution of anything as tedious as simultaneous equations.
 
  • #21
hotcommodity said:
I read all of the posts and nobody appeared to answer the posters question to satisfaction. Such anger, I would have expected a better show from someone with such credentials as "homework helper" and "science advisor."

Did you read the last post before you made your first post to this thread? The one in which Matt Grimes said
matt grime said:
Any polynomial in A will do, as has been said many times in this thread. (I think this is about the 3rd time I've said it.)

How does "any polynomial in A will do" not answer the question? If you don't understand, that is one thing (ask for clarification/amplification, and you will get it). If, on the other hand, you didn't bother to read the prior answers before posting an incorrect answer, that is quite another thing. It tends to piss people off ...
 
  • #22
I would also like to point out that hotcommodity's suggested solution is precisely the first one given in the thread in post 2 by d_leet as well, which is what really annoyed me even more than ignoring the better and easier methods.
 
  • #23
matt grime said:
I would also like to point out that hotcommodity's suggested solution is precisely the first one given in the thread in post 2 by d_leet as well, which is what really annoyed me even more than ignoring the better and easier methods.

There may have been easier methods, but seeing as it is early in the school semester and the poster may not be familiar with the other methods, I gave a detailed solution involving elementary terms and operations. After the second post was made, the original poster did not seem to be satisfied, hence my detailed post. In short, don't get so emotional over the internet. If I'm beating a dead horse, so be it.
 
Last edited:
  • #24
hotcommodity, Using your approach, you will have nine equations in nine unknowns, but the space spanned by those nine equations is less than order nine. How exactly do you propose solving those nine equations for the nine unknowns?

On the other hand, Matt Grimes has pointed out one family of easily verifiable solutions, namely B=\sum_n a_nA^n.

Edit: There are nine unknowns, not six.
 
Last edited:
  • #25
I made up a matrix A to show my example, the word document shows the example with maple. Sorry I'm not familiar with the equation in your last post, I'm still learning myself.
 

Attachments

  • #26
hotcommodity said:
There may have been easier methods, but seeing as it is early in the school semester and the poster may not be familiar with the other methods, I gave a detailed solution involving elementary terms and operations.

so you think that someone (anyone) is incapable of noticing that AA=AA, but that thet can solve arbitrary equations in arbitarly unknowns... Boy, you have the wrong idea...
 
  • #27
I didnt mean for things to get contentious, sorry if I stepped on anyones toes.
 
  • #28
Nah, matt grime is just waking up from hibernation- he's always a little grouchy at that time!
 
  • #29
Oh I see, lol.
 
  • #30
enough already! this is a boring question!

here is a more interesting one: prove that a holomorphic map of a riemann surface to itself that induces the identity on homology is the identity map.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
Replies
3
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 14 ·
Replies
14
Views
4K
Replies
27
Views
5K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K