Commutators
The commutator of two operators and is
It records how the two possible orderings differ. Acting on a state,
The commutator is itself an operator, not a scalar measure of “noncommutativity.” Its action can vanish on one state while remaining nonzero elsewhere, and a scalar size requires an additional choice such as an operator norm or a state-dependent expectation value.
In quantum mechanics, commutators connect several structures:
- is the finite-dimensional test for compatible sharp observables.
- controls how changes in time.
- controls how transforms under the continuous symmetry generated by .
- enters uncertainty relations.
- Closed commutator relations define Lie algebras such as angular momentum.
This page develops those physical roles and the identities needed to use them. The reusable algebra catalog is Commutators and Anticommutators, and the compact lookup entry is Commutator Identities.
Definition and Ordering Convention
Section titled “Definition and Ordering Convention”Operator products act from right to left:
Therefore means “apply , then apply ,” whereas reverses that order. The commutator is the difference between the resulting vectors.
For matrices or bounded operators, both products are defined on the entire Hilbert space. For unbounded operators, the natural commutator domain is
which may be smaller than either individual operator domain. Domain issues are not decoration: without a common domain, the formal difference does not define an operator.
If and carry physical units, then carries the product of those units. For example,
has the dimensions of action.
Three Different Vanishing Statements
Section titled “Three Different Vanishing Statements”The following claims are not equivalent:
and
The first is an operator identity on the declared space or domain. The second says that the two orderings agree only on one state. The third says only that their difference has zero expectation in that state.
For example,
Yet in the eigenstate ,
A vanishing expectation value in one state does not establish compatibility.
Symmetric and Antisymmetric Products
Section titled “Symmetric and Antisymmetric Products”The commutator and anticommutator split an ordered product into antisymmetric and symmetric parts:
where
Reversing the order flips only the commutator term:
The symmetric product contributes to covariance, while the antisymmetric product contributes to the commutator part of the uncertainty relation. The separate operator-algebra role of the symmetric bracket is developed in Anticommutators.
Hermiticity Properties
Section titled “Hermiticity Properties”Let and be Hermitian matrices or suitably defined self-adjoint operators. Then
Consequently, is Hermitian exactly when and commute, subject to the usual domain qualifications. The commutator satisfies
Thus the commutator of Hermitian operators is anti-Hermitian. Multiplying by produces a Hermitian operator:
For any state in the relevant domain,
so is purely imaginary. Equivalently,
while
These relations explain the factors of that accompany commutators in equations for real observable quantities.
The Eigenbasis Diagnostic
Section titled “The Eigenbasis Diagnostic”Suppose has an orthonormal eigenbasis:
Take a matrix element of the commutator in this basis:
Writing
the result is
This compact formula contains the simultaneous-diagonalization logic:
- diagonal entries vanish automatically because ;
- if and , then ;
- can have nonzero matrix elements only within degenerate eigenspaces of ;
- if is nondegenerate and , then is diagonal in the -eigenbasis.
In an eigenbasis, the commutator weights by . If the commutator vanishes, cannot connect eigenspaces with different eigenvalues, although it may still act inside degenerate blocks.
The full projector and measurement interpretation belongs to Compatible Observables.
Core Identities
Section titled “Core Identities”Commutator identities follow from associativity and distributivity of operator multiplication. They do not require , , and to be Hermitian.
Bilinearity
Section titled “Bilinearity”For scalars and ,
and
Antisymmetry
Section titled “Antisymmetry”The identity operator is central:
Product rules
Section titled “Product rules”The commutator acts like a derivative on products:
and
For example,
The inserted terms preserve operator order and make the two commutators visible.
Powers
Section titled “Powers”Repeated use of the product rule gives
If also commutes with , this simplifies to
Without that extra condition, moving through the powers of is not valid.
Jacobi identity
Section titled “Jacobi identity”The nested brackets obey
This identity is what turns an associative operator algebra into a Lie algebra under the commutator bracket.
The broader set of power, inverse, exponential, and mixed commutator identities is kept in the Mathematical Toolkit rather than duplicated here.
Commutator as a Derivation
Section titled “Commutator as a Derivation”Define the adjoint action
The product rule becomes
Thus is a derivation of the operator algebra. The Jacobi identity implies
In words, the commutator of two infinitesimal adjoint actions is generated by the commutator of their generators. This closure is central to continuous symmetries and Lie algebras.
Commutators and Compatible Observables
Section titled “Commutators and Compatible Observables”For self-adjoint matrices,
is equivalent to simultaneous diagonalizability, commuting spectral projectors, and the existence of a common sharp projective refinement.
If is degenerate, need not be diagonal in an arbitrary eigenbasis. The eigenbasis diagnostic shows exactly what commutation guarantees: is block diagonal with respect to the distinct eigenspaces of , and it can be diagonalized within each block.
For unbounded self-adjoint operators, a formal commutator that vanishes on a small common domain need not imply compatibility. The robust condition is commutation of the spectral projections, sometimes called strong commutativity.
Noncommutativity and Measurement Order
Section titled “Noncommutativity and Measurement Order”A nonzero commutator signals that operator order matters somewhere, but and are not by themselves universal formulas for two sequential measurement probabilities. Actual sequential measurements require spectral projectors and a state-update instrument.
For ideal projective measurements with projectors and , the order dependence appears through products such as
and
If all commute with all , the ideal joint statistics become order independent. Otherwise they can differ. The operational calculation belongs to Sequential Measurements, while the conceptual consequences are developed in Noncommuting Observables.
Commutators and Uncertainty
Section titled “Commutators and Uncertainty”For observables and in a state , the Robertson relation is
The anti-Hermiticity of ensures that the expectation value on the right is purely imaginary before its absolute value is taken.
A nonzero operator commutator can nevertheless have zero expectation in a particular state, as the Pauli example above shows. In that state, the simple Robertson lower bound may be zero even though the observables remain incompatible. The stronger Robertson–Schrödinger relation also contains a symmetric covariance term.
The derivation, equality condition, and interpretation are the subject of General Uncertainty Relations.
Commutators Generate Transformations
Section titled “Commutators Generate Transformations”Let a self-adjoint generator define the one-parameter unitary family
Using the convention
differentiation at gives
Therefore
The sign changes if one uses instead, so the transformation convention must be stated.
More generally, repeated commutators give the conjugation series
This is the adjoint form of the exponential map. Its detailed symmetry interpretation belongs to Generators, and the exponential algebra belongs to Matrix Functions and Exponentials.
Translation Example
Section titled “Translation Example”Momentum generates translations. Let
Using
the first commutator in the conjugation series gives
All higher nested commutators vanish because . Hence
The canonical commutator therefore states not only that and are incompatible, but also that momentum shifts the position observable by the translation parameter.
Hamiltonian Commutators and Dynamics
Section titled “Hamiltonian Commutators and Dynamics”For a time-independent Hamiltonian,
The Heisenberg-picture operator
satisfies
If has no explicit time dependence and
then is constant in time. The full dynamical derivation is in Commutator Dynamics, and the expectation-value statement is in Conservation Laws.
Successive Transformations
Section titled “Successive Transformations”For matrices and and a small dimensionless parameter , the group commutator obeys
The first-order effects cancel. The leading failure of the two transformations to commute is generated by . For rotations, this fact is the local algebraic origin of why rotations about different axes do not commute.
Trace and Finite-Dimensional Constraints
Section titled “Trace and Finite-Dimensional Constraints”For finite matrices, cyclicity of the trace gives
The converse is false: most traceless matrices are not zero, and trace zero does not imply that two operators commute.
This identity proves that the canonical commutation relation cannot be represented exactly by finite matrices. If and were matrices satisfying
then taking the trace would give
which is impossible for . Exact canonical pairs therefore require an infinite-dimensional setting, with the associated domain subtleties. Finite matrix truncations can approximate selected matrix elements but cannot obey the exact relation globally.
Example: A Two-Level Matrix
Section titled “Example: A Two-Level Matrix”Let
Then
If , the operators commute exactly when
If , then and commutes with every . This is the simplest example of degeneracy allowing nontrivial action within an eigenspace.
Example: Pauli Matrices
Section titled “Example: Pauli Matrices”The Pauli product identity is
Reversing and changes the sign of the antisymmetric term, so
In particular,
For spin operators , this becomes
The right-hand side remains inside the span of the spin generators: their commutator algebra closes.
Example: Position and Momentum
Section titled “Example: Position and Momentum”On a suitable test function , take
Then
Thus
on the chosen common invariant domain. The multidimensional relations, representation choices, and rigorous qualifications are developed in Canonical Commutation Relations.
Example: Harmonic-Oscillator Ladder Operators
Section titled “Example: Harmonic-Oscillator Ladder Operators”Let
The product rule gives
and
If , then
and
The commutators reveal the raising and lowering action without first writing wavefunctions. The full construction belongs to Ladder-Operator Solution: First Encounter.
Example: Angular Momentum
Section titled “Example: Angular Momentum”Angular momentum satisfies
These relations express both incompatibility of distinct components and the Lie algebra of rotations. The Casimir operator
commutes with every component:
The derivation and representation theory are developed in Angular Momentum Algebra.
Classical Poisson-Bracket Correspondence
Section titled “Classical Poisson-Bracket Correspondence”Canonical quantization motivates the schematic correspondence
Both brackets are antisymmetric, satisfy a product rule, and obey the Jacobi identity. This resemblance explains why commutators govern quantum Hamiltonian evolution.
The correspondence is not an exact substitution rule for arbitrary observables. Operator ordering, domain questions, and higher-order quantum corrections obstruct a universal bracket-preserving quantization map. The classical bracket and its geometric meaning belong to Poisson Brackets.
Domain and Strong-Commutation Caveats
Section titled “Domain and Strong-Commutation Caveats”For unbounded operators,
and is generally different. Symbolic manipulation is safest on a declared dense subspace preserved by all operators in the calculation.
Even if
throughout a common dense domain, the spectral projectors of two unbounded self-adjoint operators need not commute. Measurement compatibility requires the stronger spectral statement. Conversely, a commutator formula such as should be read together with the domain on which it is verified.
When domains matter, state them, check that each intermediate vector remains in the next operator’s domain, and distinguish a formal identity from an identity of self-adjoint operators.
A Practical Calculation Workflow
Section titled “A Practical Calculation Workflow”- Preserve operator order from the start; do not rearrange factors unless a commutation relation justifies it.
- For unbounded operators, declare a common invariant domain before expanding products.
- Use bilinearity to separate sums and scalar factors.
- Use the product rule to reduce composite operators to known basic commutators.
- Exploit central commutators early; if is proportional to , nested commutators often terminate.
- Check dimensions and Hermiticity. For Hermitian and , must be anti-Hermitian.
- Distinguish an operator identity from its action or expectation in one state.
- Test the result in a convenient representation when possible.
Common Mistakes
Section titled “Common Mistakes”- Treating and as interchangeable because ordinary numbers commute.
- Reading as a scalar “amount” without choosing a norm or state.
- Concluding from one vanishing expectation value.
- Assuming noncommuting operators cannot share any eigenvector; they may share some without possessing a complete common basis.
- Treating as the universal probability rule for measuring then .
- Forgetting that the commutator of Hermitian operators is anti-Hermitian.
- Dropping the factors of or in generator and dynamics formulas.
- Using without checking that commutes with .
- Assuming when .
- Ignoring domains for position, momentum, Hamiltonians, and other unbounded operators.
- Seeking exact finite matrices satisfying .
Canonical Boundaries
Section titled “Canonical Boundaries”This page owns the physical interpretation and central uses of the commutator. Nearby pages own specialized developments:
- Commutators and Anticommutators owns the reusable finite-dimensional algebra and longer identity list.
- Compatible Observables owns simultaneous diagonalization and common projective refinements.
- Noncommuting Observables owns the measurement and interpretive consequences of noncommutativity.
- Generators owns one-parameter unitary groups and symmetry transformations.
- Commutator Dynamics owns Heisenberg evolution, nested commutators, and dynamical examples.
- General Uncertainty Relations owns the Cauchy–Schwarz derivation and equality conditions.
Summary
Section titled “Summary”- The commutator is the operator difference between two orderings.
- Operator vanishing, vanishing on one state, and a vanishing expectation value are different statements.
- For Hermitian and , the commutator is anti-Hermitian and its expectation value is purely imaginary.
- In an eigenbasis, , so commutation means that preserves eigenspaces of .
- Product rules make a derivation, while the Jacobi identity gives a Lie bracket.
- Commutators test sharp-observable compatibility and enter uncertainty bounds, but sequential measurement probabilities require projectors and instruments.
- Commutators with generators control infinitesimal transformations; commutators with the Hamiltonian control time evolution.
- The trace of every finite matrix commutator vanishes, forbidding exact finite-dimensional canonical commutation relations.
- Unbounded operators require explicit domain control, and a formal vanishing commutator is weaker than strong spectral commutativity.
References
Section titled “References”- P. A. M. Dirac, The Principles of Quantum Mechanics, 4th ed., Oxford University Press, 1958.
- J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press, 1955.
- A. Messiah, Quantum Mechanics, Dover, 1999.
- R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
- J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
- C. Cohen-Tannoudji, B. Diu, and F. Laloë, Quantum Mechanics, Wiley, 1977.
- B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
- M. Reed and B. Simon, Methods of Modern Mathematical Physics, Vol. I: Functional Analysis, rev. ed., Academic Press, 1980.
Exercises
Section titled “Exercises”Exercise 1: Product and power rules
Section titled “Exercise 1: Product and power rules”Prove the product rule
then use it to prove by induction that
Solution
Insert and subtract :
The power formula is true for . Assume it holds for . Then
This is the required formula with replaced by .
Exercise 2: Hermiticity and expectations
Section titled “Exercise 2: Hermiticity and expectations”Let and be Hermitian matrices. Prove that is anti-Hermitian and that is purely imaginary in every state.
Solution
Taking the adjoint reverses product order:
For any normalized ,
A complex number satisfying is purely imaginary.
Exercise 3: Eigenbasis block structure
Section titled “Exercise 3: Eigenbasis block structure”Let . Derive
What does imply when is nondegenerate? What changes when is degenerate?
Solution
Using the eigenvalue equations on the bra and ket sides,
Subtracting gives the stated result. If and , then . For a nondegenerate , every off-diagonal matrix element of vanishes, so is diagonal in the eigenbasis.
If is degenerate, matrix elements of may remain nonzero between states with the same eigenvalue. Thus is block diagonal and may be diagonalized inside each degenerate block.
Exercise 4: A zero commutator expectation
Section titled “Exercise 4: A zero commutator expectation”Use to show that the commutator expectation vanishes in , even though the operators do not commute.
Solution
The state has Bloch vector along the direction, so
Therefore
But is a nonzero operator. A state-specific expectation cannot replace the operator test.
Exercise 5: Momentum generates translations
Section titled “Exercise 5: Momentum generates translations”Let
and assume . Use the conjugation series to compute .
Solution
The first correction is
The next nested commutator vanishes:
All later terms also vanish, so
Exercise 6: Number-operator commutators
Section titled “Exercise 6: Number-operator commutators”Given
derive and . Then show that has number eigenvalue whenever it is nonzero.
Solution
Using the product rule,
and
Since ,
Exercise 7: No finite canonical pair
Section titled “Exercise 7: No finite canonical pair”Prove that no finite-dimensional matrices and can satisfy
Solution
For finite matrices,
by cyclicity. If the canonical relation held in dimension , the same trace would be
which is nonzero for . This contradiction rules out an exact finite matrix representation.
Exercise 8: The group commutator
Section titled “Exercise 8: The group commutator”For finite matrices and , expand
through order and show that the result is
Solution
Use
and the analogous expansion for . Multiplying in the written order while preserving every factor gives cancellation of all first-order terms. The second-order terms combine as
Let and . Therefore