Commuting matrices
In linear algebra, two matrices A and B are said to commute if AB=BA , or equivalently if their commutator [A,B]= AB-BA is zero.[src] Matrices A that commute with matrix B are called the commutant of matrix B (and vice versa).[src] A set of matrices A_1, \ldots, A_k is said to commute if they commute pairwise, meaning that every pair of matrices in the set commutes.[src]
In linear algebra, two matrices A and B are said to commute if AB=BA , or equivalently if their commutator [A,B]= AB-BA is zero.[src] Matrices A that commute with matrix B are called the commutant of matrix B (and vice versa).[src] A set of matrices A_1, \ldots, A_k is said to commute if they commute pairwise, meaning that every pair of matrices in the set commutes.[src] \begin{bmatrix} 1 & 2 \\ 0 & 3 \end{bmatrix}\begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 3 \\ 0 & 3 \end{bmatrix} \ne \begin{bmatrix} 1 & 5 \\ 0 & 3 \end{bmatrix}=\begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}\begin{bmatrix} 1 & 2 \\ 0 & 3 \end{bmatrix}.[src] Let n be either 2 or 3, and let A and B be n by n matrices over an algebraically closed field.[src] If the square of the commutator of A and B is 0 , that is, [A,B]^2 = 0 , then A and B are simultaneously triangularizable.[src] Two diagonalizable matrices A and B commute ( AB=BA ) if they are simultaneously diagonalizable (that is, there exists an invertible matrix P such that both P^{-1} A P and P^{-1}B P are diagonal).[src] The converse is also true; that is, if two diagonalizable matrices commute, they are simultaneously diagonalizable.[src] But if you take any two matrices that commute (and do not assume they are two diagonalizable matrices) they are simultaneously diagonalizable already if one of the matrices has no multiple eigenvalues.[src] If A and B commute, they have a common eigenvector.[src] If A has distinct eigenvalues, and A and B commute, then A 's eigenvectors are B 's eigenvectors.[src] If one of the matrices has the property that its minimal polynomial coincides with its characteristic polynomial (that is, it has the maximal degree), which happens in particular whenever the characteristic polynomial has only simple roots, then the other matrix can be written as a polynomial in the first.[src] As a direct consequence of simultaneous triangulizability, the eigenvalues of two commuting complex matrices A, B with their algebraic multiplicities (the multisets of roots of their characteristic polynomials) can be matched up as \alpha_i\leftrightarrow\beta_i in such a way that the multiset of eigenvalues of any polynomial P(A,B) in the two matrices is the multiset of the values P(\alpha_i,\beta_i) .[src] This theorem is due to Frobenius.[src] Two Hermitian matrices commute if their eigenspaces coincide.[src] In particular, two Hermitian matrices without multiple eigenvalues commute if they share the same set of eigenvectors.[src] This follows by considering the eigenvalue decompositions of both matrices.[src] Let A and B be two Hermitian matrices.[src] A and B have common eigenspaces when they can be written as A = U \Lambda_1 U^\dagger and B = U \Lambda_2 U^\dagger .[src] It then follows that AB = U \Lambda_1 U^\dagger U \Lambda_2 U^\dagger = U \Lambda_1 \Lambda_2 U^\dagger = U \Lambda_2 \Lambda_1 U^\dagger = U \Lambda_2 U^\dagger U \Lambda_1 U^\dagger = BA.[src] The property of two matrices commuting is not transitive: A matrix A may commute with both B and C , and still B and C do not commute with each other.[src] As an example, the identity matrix commutes with all matrices, which between them do not all commute.[src] If the set of matrices considered is restricted to Hermitian matrices without multiple eigenvalues, then commutativity is transitive, as a consequence of the characterization in terms of eigenvectors.[src] Lie's theorem, which shows that any representation of a solvable Lie algebra is simultaneously upper triangularizable, may be viewed as a generalization.[src] An n × n matrix A commutes with every other n × n matrix if and only if it is a scalar matrix, that is, a matrix of the form \lambda I , where I is the n × n identity matrix and \lambda is a scalar.[src] In other words, the center of the group of invertible n × n matrices under multiplication is the subgroup of scalar matrices.[src] Fix a finite field \mathbb F_q , let P(n) denote the number of ordered pairs of commuting n\times n matrices over \mathbb F_q , W.[src] Feit and N.[src] J.[src] Fine showed the equation 1 + \sum_{n=1}^\infty \frac{P(n)}{(q^n-1)(q^n-q)\cdots (q^n-q^{n-1})} z^n = \prod_{i=1}^\infty \prod_{j=0}^\infty \frac {1}{1 - q^{1-j} z^i}.[src] ==Examples== The identity matrix commutes with all matrices.[src] Jordan blocks commute with upper triangular matrices that have the same value along bands.[src] If the product of two symmetric matrices is symmetric, then they must commute.[src] That also means that every diagonal matrix commutes with all other diagonal matrices.[src] Circulant matrices commute.[src] They form a commutative ring since the sum of two circulant matrices is circulant.[src]
39 sentences · 39 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Commuting matrices." encyclopegia.org, 2026, https://encyclopegia.org/wiki/commuting-matrices. Accessed 25 November 2026.
Chicago
"Commuting matrices." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/commuting-matrices.
APA
encyclopegia.org. (2026). Commuting matrices. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/commuting-matrices
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON