ArticleslgStudy

science

Commuting matrices

Commuting matrices is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Commuting matrices rather than just read about it. In short: 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. Matrices A that commute with matrix B are called the commutant of matrix B (and vice versa).

Key takeaways

  • Commuting matrices belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Commuting matrices to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Commuting matrices from memory before moving on to harder problems.

Reference excerpt

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. Matrices A that commute with matrix B are called the commutant of matrix B (and vice versa). A set of matrices A1,…,Ak 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 eigenspaces. As a consequence, commuting matrices over an algebraically closed field are simultaneously triangularizable; that is, there are bases over which they are both upper triangular. In other words, if A1,…,Ak commute, there exists a similarity matrix P such that P−1AiP is upper triangular for all i∈{1,…,k}. The converse is not necessarily true, as the following counterexample shows: [1203][1101]=[1303]≠[1503]=[1101][1203]. Let n be either 2 or 3, and let A and B be n by n matrices over an algebraically closed field. 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. 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−1AP and P−1BP are diagonal). 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 A and B commute, they have a common eigenvector. If A has distinct eigenvalues, and A and B commute, then A's eigenvectors are B's eigenvectors. 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. 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 αi↔β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(αi,βi). This theorem is due to Frobenius. Two Hermitian matrices commute if their eigenspaces 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 A and B be two Hermitian matrices. A and B have common eigenspaces when they can be written as A=UΛ1U† and B=UΛ2U†. It then follows that AB=UΛ1U†UΛ2U†=UΛ1Λ2U†=UΛ2Λ1U†=UΛ2U†UΛ1U†=BA. 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. As an example, the identity matrix 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 A commutes with every other n × n matrix if and only if it is a scalar matrix, that is, a matrix of the form λI, where I is the n × n identity matrix and λ is a scalar. In other words, the center of the group of invertible n × n matrices under multiplication is the subgroup of scalar matrices. Fix a finite field 𝔽q, let P(n) denote the number of ordered pairs of commuting n×n matrices over 𝔽q, W. Feit and N. J. Fine showed the equation1+∑n=1∞P(n)(qn−1)(qn−q)⋯(qn−qn−1)zn=∏i=1∞∏j=0∞11−q1−jzi.

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 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 in 1878. In 1969, Gelfand and Ponomarev showed that the problem of classification of pairs of commuting matrices is equivalent to the problem of classification on k-tuples of matrices modulo similarity, which does not have a reasonable solution.

See also Anticommutative property

References

Worked examples

Example 1 — a first encounter with Commuting matrices

Start with the simplest possible case. Write down what Commuting matrices claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Commuting matrices before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Commuting matrices ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Commuting matrices

In research
Commuting matrices appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Commuting matrices in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Commuting matrices is common in secondary-school and first-year university syllabi. It links to neighbouring topics Matrix theory, so understanding it makes those chapters shorter.
In everyday life
Look for Commuting matrices outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Commuting matrices” →

How to study Commuting matrices in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Commuting matrices means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Commuting matrices out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Commuting matrices in simple terms?

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. Matrices A that commute with matrix B are called the commutant of matrix B (and vice versa).

Why does Commuting matrices matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Commuting matrices?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Commuting matrices.

Tags

  • Matrix theory

Keep exploring