In
linear algebra
Linear algebra is the branch of mathematics concerning linear equations such as
:a_1x_1+\cdots +a_nx_n=b,
linear maps such as
:(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n,
and their representations in vector spaces and through matrix (mathemat ...
, two
matrices and
are said to commute if
, or equivalently if their
commutator
In mathematics, the commutator gives an indication of the extent to which a certain binary operation fails to be commutative. There are different definitions used in group theory and ring theory.
Group theory
The commutator of two elements, ...
is zero. Matrices
that commute with matrix
are called the commutant of matrix
(and vice versa).
A
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
of matrices
is said to commute if they commute pairwise, meaning that every pair of matrices in the set commutes.
Characterizations and properties
* Commuting matrices preserve each other's
eigenspace
In linear algebra, an eigenvector ( ) or characteristic vector is a Vector (mathematics and physics), vector that has its direction (geometry), direction unchanged (or reversed) by a given linear map, linear transformation. More precisely, an e ...
s. As a consequence, commuting matrices over an
algebraically closed field
In mathematics, a field is algebraically closed if every non-constant polynomial in (the univariate polynomial ring with coefficients in ) has a root in . In other words, a field is algebraically closed if the fundamental theorem of algebra ...
are
simultaneously triangularizable
In mathematics, a triangular matrix is a special kind of square matrix. A square matrix is called if all the entries ''above'' the main diagonal are zero. Similarly, a square matrix is called if all the entries ''below'' the main diagonal are z ...
; that is, there are
bases over which they are both
upper triangular. In other words, if
commute, there exists a similarity matrix
such that
is upper triangular for all
. The
converse is not necessarily true, as the following counterexample shows:
*:
: However, if the square of the commutator of two matrices is zero, that is,
, then the converse is true.
* Two diagonalizable matrices
and
commute (
) if they are
simultaneously diagonalizable (that is, there exists an invertible matrix
such that both
and
are
diagonal
In geometry, a diagonal is a line segment joining two vertices of a polygon or polyhedron, when those vertices are not on the same edge. Informally, any sloping line is called diagonal. The word ''diagonal'' derives from the ancient Greek � ...
).
The converse is also true; that is, if two diagonalizable matrices commute, they are simultaneously diagonalizable. 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.
* If
and
commute, they have a common eigenvector. If
has distinct eigenvalues, and
and
commute, then
's eigenvectors are
's eigenvectors.
* If one of the matrices has the property that its minimal polynomial coincides with its
characteristic polynomial
In linear algebra, the characteristic polynomial of a square matrix is a polynomial which is invariant under matrix similarity and has the eigenvalues as roots. It has the determinant and the trace of the matrix among its coefficients. The ...
(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.
* As a direct consequence of simultaneous triangulizability, the
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s of two commuting
complex
Complex commonly refers to:
* Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe
** Complex system, a system composed of many components which may interact with each ...
matrices ''A'', ''B'' with their
algebraic multiplicities (the
multisets of roots of their characteristic polynomials) can be matched up as
in such a way that the multiset of eigenvalues of any polynomial
in the two matrices is the multiset of the values
. This theorem is due to
Frobenius Frobenius is a surname. Notable people with the surname include:
* Ferdinand Georg Frobenius (1849–1917), mathematician
** Frobenius algebra
** Frobenius endomorphism
** Frobenius inner product
** Frobenius norm
** Frobenius method
** Frobenius g ...
.
* Two
Hermitian matrices commute if their
eigenspace
In linear algebra, an eigenvector ( ) or characteristic vector is a Vector (mathematics and physics), vector that has its direction (geometry), direction unchanged (or reversed) by a given linear map, linear transformation. More precisely, an e ...
s coincide. In particular, two Hermitian matrices without multiple eigenvalues commute if they share the same set of eigenvectors. This follows by considering the eigenvalue decompositions of both matrices. Let
and
be two Hermitian matrices.
and
have common eigenspaces when they can be written as
and
. It then follows that
*:
* The property of two matrices commuting is not
transitive: A matrix
may commute with both
and
, and still
and
do not commute with each other. As an example, the
identity matrix
In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
commutes with all matrices, which between them do not all commute. 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.
*
Lie's theorem, which shows that any
representation of a
solvable Lie algebra is simultaneously upper triangularizable may be viewed as a generalization.
* An ''n'' × ''n'' matrix
commutes with every other ''n'' × ''n'' matrix if and only if it is a scalar matrix, that is, a matrix of the form
, where
is the ''n'' × ''n'' identity matrix and
is a scalar. In other words, the
center of the
group of ''n'' × ''n'' matrices under multiplication is the
subgroup
In group theory, a branch of mathematics, a subset of a group G is a subgroup of G if the members of that subset form a group with respect to the group operation in G.
Formally, given a group (mathematics), group under a binary operation  ...
of scalar matrices.
* Fix a finite field
, let
denote the number of ordered pairs of commuting
matrices over
,
W. Feit and N. J. Fine showed the equation
Examples
* The identity matrix commutes with all matrices.
*
Jordan blocks commute with upper triangular matrices that have the same value along bands.
* If the product of two
symmetric matrices is symmetric, then they must commute. That also means that every diagonal matrix commutes with all other diagonal matrices.
*
Circulant matrices commute. They form a
commutative ring
In mathematics, a commutative ring is a Ring (mathematics), ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring prope ...
since the sum of two circulant matrices is circulant.
History
The notion of commuting matrices was introduced by
Cayley in his memoir on the theory of matrices, which also provided the first axiomatization of matrices. The first significant results on commuting matrices were proved by
Frobenius Frobenius is a surname. Notable people with the surname include:
* Ferdinand Georg Frobenius (1849–1917), mathematician
** Frobenius algebra
** Frobenius endomorphism
** Frobenius inner product
** Frobenius norm
** Frobenius method
** Frobenius g ...
in 1878.
References
{{reflist
Matrix theory