Commutators
The commutator
measures the failure of two ordered products to agree. It acts as a derivation, defines the Lie algebra of symmetry generators, controls Heisenberg evolution, and supplies the algebraic input to uncertainty relations.
This page is a calculation table. The canonical Commutators page develops the physical meaning of compatibility and noncommutativity; the Commutators and Anticommutators page develops the linear-algebra structure.
Scope and Convention
Section titled “Scope and Convention”The anticommutator is
Products are read in the written order, operators act on kets from the right, and the canonical Cartesian convention is
in the position representation.
The purely algebraic identities below hold in any associative algebra wherever the displayed products exist. For bounded operators on a Hilbert space, this causes no domain problem. For unbounded operators, an equality initially means an equality on a stated common invariant domain or core. Closures, self-adjoint extensions, boundary conditions, and strong commutation may require separate analysis.
Basic Algebra
Section titled “Basic Algebra”Let and be scalars.
| Identity | Formula | Condition or use |
|---|---|---|
| Self-commutator | Immediate from the definition | |
| Identity | is the multiplicative identity | |
| Antisymmetry | Reversing order changes the sign | |
| Bilinearity | Also linear in the first slot | |
| Right product rule | Commutator as a derivation | |
| Left product rule | Preserve factor order | |
| Jacobi identity | Lie-algebra consistency | |
| Adjoint | A commutator of Hermitian operators is anti-Hermitian | |
| Similarity covariance | For invertible | |
| Finite trace | Finite matrices, or trace-class products where cyclicity applies |
The product rule iterates to
Powers and inverses
Section titled “Powers and inverses”For a positive integer ,
If commutes with , the first formula reduces to
If is invertible and all products are defined,
More generally, if commutes with and has an appropriate power series or functional calculus,
Do not use this derivative rule when fails to commute with .
Tensor products
Section titled “Tensor products”Operators on different tensor factors commute:
A useful general identity is
It is often faster than expanding two many-body product operators entry by entry.
Canonical Position–Momentum Identities
Section titled “Canonical Position–Momentum Identities”The following entries use one Cartesian degree of freedom unless indices are shown.
| Identity | Result | Assumptions |
|---|---|---|
| Canonical relation | Common invariant domain | |
| Cartesian components | Cartesian coordinates | |
| Position components | Standard position representation | |
| Momentum components | No gauge-covariant momentum substituted | |
| Momentum power | Positive integer | |
| Position power | Positive integer | |
| Position function | Sufficiently regular | |
| Momentum function | Sufficiently regular | |
| Reversed position function | Same convention | |
| Quadratic example | Common domain for all products |
For several Cartesian degrees of freedom,
These identities are exact for suitable polynomials and extend to broader classes only with appropriate domain or functional-calculus hypotheses.
Translation check
Section titled “Translation check”With the active translation operator
the canonical relation gives
This is a useful sign check: shifts a localized state toward larger position by under the stated convention.
Dynamics
Section titled “Dynamics”In the Heisenberg picture,
For
the relevant commutators are
| Commutator | Result | Heisenberg equation |
|---|---|---|
| Use the reversed order with care | ||
The two rows for each observable are deliberately redundant: they expose the sign change caused by reversing the commutator.
If has no explicit time dependence, implies that its Heisenberg operator and expectation value are constant in time, subject to the domain conditions needed for the evolution.
Rotation and Spin Algebras
Section titled “Rotation and Spin Algebras”Use .
| Objects | Relation | Comment |
|---|---|---|
| Angular momentum | Generator algebra of rotations | |
| Casimir | ||
| Ladder with | ||
| Ladder pair | Sign follows the ladder definition | |
| Vector operator | Defines Cartesian vector transformation | |
| Pauli matrices | Dimensionless spin- matrices | |
| Spin one-half |
For orbital angular momentum , the canonical commutation relations imply the same angular-momentum algebra. The derivation belongs in the canonical Angular Momentum Algebra page.
Oscillator and Mode Algebras
Section titled “Oscillator and Mode Algebras”One harmonic oscillator
Section titled “One harmonic oscillator”| Objects | Relation |
|---|---|
| Ladder pair | |
| Number and lowering | |
| Number and raising | |
| Number definition | |
| Hamiltonian and lowering | |
| Hamiltonian and raising |
Here
The relations show directly that and lower and raise energy by , provided the resulting state is nonzero and lies in the relevant domain.
Bosonic and fermionic modes
Section titled “Bosonic and fermionic modes”For independent bosonic modes,
Fermionic modes instead obey canonical anticommutation relations:
Replacing the fermionic anticommutators by commutators changes the algebra and is not a harmless notation choice.
Exponentials and Nested Commutators
Section titled “Exponentials and Nested Commutators”Define
The Hadamard lemma is
when the series converges or when it is used as a controlled formal expansion. If the nested commutators terminate, the expression is finite.
An exact integral identity useful when is not central is
If commutes with , this reduces to
The Baker–Campbell–Hausdorff expansion begins
When commutes with both and , all displayed nested commutators vanish and
The central-commutator condition is essential. Applying this truncated formula to generic matrices gives a wrong result.
Domains and Strong Commutation
Section titled “Domains and Strong Commutation”For unbounded operators, exists only if
Thus requires both and . A formal differential calculation commonly establishes an identity first on a dense invariant core, such as a suitable smooth rapidly decreasing domain. Whether the identity extends to self-adjoint closures is a separate question.
Two useful warnings follow:
- In finite dimensions, commuting Hermitian matrices admit a simultaneous orthonormal eigenbasis. For unbounded self-adjoint operators, vanishing of a formal commutator on a small domain need not imply that their spectral projections commute. The stronger spectral condition is called strong commutation.
- No finite-dimensional matrices can satisfy the exact canonical relation. If the dimension is , cyclicity gives
whereas
Finite matrix approximations therefore modify the canonical commutator, typically near a truncation boundary.
How to Use This Table
Section titled “How to Use This Table”- Fix the order of the requested commutator before substituting identities.
- Expand products with the derivation rule while preserving factor order.
- Use a simplified derivative formula only after checking that the basic commutator is central or commutes with the relevant operator.
- For unbounded operators, identify a common domain or state the calculation as formal.
- Check signs by swapping the order, taking an adjoint, or acting in a concrete representation.
- For symmetry algebras, verify at least one cyclic case and the Jacobi identity.
Common Mistakes
Section titled “Common Mistakes”- Writing instead of using the product rule.
- Reordering factors after expanding a commutator.
- Forgetting the sign change between and .
- Using without checking the centrality condition.
- Confusing the commutator of Pauli matrices with that of physical spin operators and losing a factor of .
- Replacing fermionic anticommutators by commutators.
- Applying the short Baker–Campbell–Hausdorff formula when nested commutators do not vanish.
- Claiming that finite matrices obey exactly.
- Inferring simultaneous spectral measurements from a merely formal commutator calculation.
- Ignoring boundary terms when differential operators act on domains with boundaries.
Verification
Section titled “Verification”Every algebraic row follows from associativity and the defining commutator. Standard quantum rows can be checked independently in the position representation, a finite spin representation, or the number-state basis. For an audit:
- expand each product identity directly;
- verify the canonical derivative identities on a smooth test function;
- derive one angular-momentum cyclic relation;
- apply oscillator commutators to ;
- compare an exponential identity through second order in its parameters.
Last reviewed: 2026-08-19.
Exercises
Section titled “Exercises”Exercise 1: Momentum squared
Section titled “Exercise 1: Momentum squared”Use only the product rule and to calculate .
Solution
The right product rule gives
The scalar commutes with .
Exercise 2: Force and sign order
Section titled “Exercise 2: Force and sign order”For , derive both and , then recover the Heisenberg equation for .
Solution
Because commutes with ,
Antisymmetry then gives
The Heisenberg equation uses the second ordering:
This is the operator form of force equals minus the potential gradient.
Exercise 3: Why truncation changes the canonical relation
Section titled “Exercise 3: Why truncation changes the canonical relation”Suppose and are matrices. Prove that they cannot satisfy exactly. What does this imply for a numerical oscillator basis truncated to finitely many states?
Solution
Cyclicity of the finite-dimensional trace gives
If the canonical relation held exactly, the same trace would equal
which is nonzero for and . This contradiction proves the claim. A finite oscillator truncation can reproduce the canonical relation well on low-lying states, but it must contain a compensating boundary correction, usually concentrated near the highest retained basis state.
Canonical Links
Section titled “Canonical Links”- Commutators
- Commutators and Anticommutators
- Canonical Commutation Relations
- Angular Momentum Algebra
- Pauli Matrices
- Harmonic Oscillator Spectrum
- Heisenberg Picture
- Unbounded Operators
References
Section titled “References”- 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.
- B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
- M. Reed and B. Simon, Methods of Modern Mathematical Physics I: Functional Analysis, revised and enlarged ed., Academic Press, 1980.
- R. Gilmore, Lie Groups, Physics, and Geometry, Cambridge University Press, 2008.