Does a diagonal matrix commute with every other matrix of the same size?
I'm stuck on one line of a proof that I am writing, and I would like to switch order between a non-diagonal and a diagonal matrix.
Thanks,
Does a diagonal matrix commute with every other matrix of the same size?
I'm stuck on one line of a proof that I am writing, and I would like to switch order between a non-diagonal and a diagonal matrix.
Thanks,
In general, a diagonal matrix does not commute with another matrix. You can find simple counterexamples in the comments. For a matrix to commute with all the others you need the matrix to be scalar, i.e. diagonal with entries on the diagonal which are all the same.