The Commutator and Compatible Observables
Some pairs of questions can be asked of a quantum system in either order, and the answers don't care. Others fight: ask about after and the second answer scrambles the first — the sequential Stern–Gerlach arithmetic of the collapse article. Remarkably, the entire distinction is computed by one algebraic object, assembled from nothing but operator multiplication: the commutator . Zero commutator means the observables are compatible — they share a complete set of common eigenstates, can be measured in either order without mutual disturbance, and can be simultaneously known. A nonzero commutator means no such shared basis exists, and every attempt to pin both quantities down at once runs into a floor that the uncertainty article, two serials on, will make quantitative. This article owns the theorem at the center of that claim, proved honestly in both directions — including the direction textbooks mumble through, where degeneracy forces a genuinely constructive argument: if , then respects 's eigenspaces, and diagonalizing inside each of them manufactures the joint eigenbasis block by block. That block-by-block construction is not a proof technicality; it is next article's CSCO machinery in embryo, and this chapter's answer to "what do good quantum numbers even mean?" Along the way you get the commutator's working algebra — antisymmetry, the Leibniz product rule, the Jacobi identity, and the small but load-bearing fact that is Hermitian whenever and are. Every one of these is machine-verified here and used constantly for the rest of the track, from Ehrenfest dynamics to angular-momentum ladders. The flagship incompatible pair, , is quoted on this page and derived five serials on, in its own article — it has earned one.
- : the operator that measures how much order matters. Its algebra: antisymmetric, bilinear, Leibniz rule , Jacobi identity.
- For Hermitian : is anti-Hermitian, so is Hermitian — the reason commutator expectation values are purely imaginary and is real.
- Compatibility theorem: a complete orthonormal basis of simultaneous eigenstates exists. Both directions proved here; degeneracy handled by diagonalizing within each -eigenspace.
- The engine of the hard direction: maps each eigenspace of into itself (the invariant-eigenspace lemma).
- Compatible = measurable in either order with identical statistics; incompatible = sequential order changes outcomes ( but from ).
- Symmetric potentials give the canonical physics instance: — energy and parity simultaneously sharp, the wells chapter's even/odd catalog explained.
- Key idea: commutation is the operator-level fingerprint of joint measurability — exactly when one basis diagonalizes both.
Commutation is the operator-level fingerprint of joint measurability: is equivalent (for Hermitian operators) to the existence of a complete simultaneous eigenbasis, and quantifies the obstruction when none exists.
Where this lives today
"Do these operators commute?" is the first question of working quantum science. Quantum computing's readout layer is built on it: a processor can measure a whole set of Pauli strings in one shot only if they pairwise commute, so compiling a molecular Hamiltonian into few measurement rounds is literally a graph-partitioning problem over commutators — grouping mutually compatible observables to slash the shot budgets the previous article priced. Error correction goes further: stabilizer codes are families of commuting observables whose joint eigenspaces store the logical qubit, and syndrome extraction is the compatible-measurement doctrine executed at megahertz rates. In condensed matter and quantum simulation, "good quantum numbers" — momentum in a crystal, particle number, parity — are commutators-with- that vanish, letting enormous Hamiltonians block-diagonalize exactly as Step 3 of the theorem did. And the modern uncertainty industry (squeezing, backaction evasion) is the engineering of which incompatibility to pay and where — with the bill always computed from .
The physical picture
Think of an observable as a set of labeled drawers: measuring files the state into one drawer (an eigenspace) and stamps it with the label (the eigenvalue). Two observables are compatible when one cabinet serves both — each drawer carries two labels, an and a , and filing by never requires ripping a -drawer apart. The commutator is the algebraic test for whether such a doubly-labeled cabinet can exist at all. and fail the test: each one's drawers are fifty-fifty superpositions of the other's, so filing by one shreds the other's filing — which is precisely what the sequential Stern–Gerlach numbers show.
The wells chapter has been using the compatible case all along without the vocabulary. Every symmetric potential's energy eigenstates came out even or odd — because (machine-verified on a discretized oscillator in this article's checker), so one basis diagonalizes energy and parity simultaneously; the parity article's alternating catalog is this theorem wearing well-shaped clothes. Conversely the free particle's and : incompatible, which is why energy eigenstates (plane waves) have no position and position spikes have every energy. The commutator sorts the whole track's folklore into two bins, with receipts.
The algebra you will use forever
The commutator is defined by pure multiplication bookkeeping, so its identities are proved by expanding and cancelling — but they are worth stating once, cleanly, because the entire remainder of the track leans on them:
where: the last is the Leibniz rule — the commutator acts on products like a derivative, one factor at a time. It is the single most-used identity in quantum calculation: it reduces any -type computation to the elementary bracket (an example below), and in the dynamics chapter it will make Ehrenfest's theorem a two-line affair. Bilinearity in each slot is inherited from operator algebra. The Jacobi identity, , certifies that commutators of commutators never generate contradictions — the closure property that makes the set of observables-with-brackets a Lie algebra, this article's portrait subject having built exactly that structure fifty years before quantum mechanics needed it. One Hermiticity fact does disproportionate work. For Hermitian , daggering the bracket reverses each product, so : the commutator of two observables is anti-Hermitian. Multiply by and it turns Hermitian (the mirror-repair move from the Hermiticity article). Consequences banked for the uncertainty article: is purely imaginary in every state, and the real number is a legitimate observable's expectation — the exact quantity Robertson's bound will put under . All of (1) plus these facts are machine-verified on random complex matrices in this article's checker. A worked flex of the Leibniz rule, using the flagship bracket (quoted here; derived, with its own consequences, at Canonical Commutation Relation):
where: each factor of surrenders one elementary bracket. This is the computation that makes kinetic energy fail to commute with position — the algebraic seed of wave-packet spreading, and (verified symbolically on test functions) the input Ehrenfest's theorem turns into .
The compatibility theorem, both directions
The theorem's operational payoff is the doctrine of undisturbed sequences: if , measuring collapses the state within an -drawer, never across drawers (the lemma again, now read through the collapse article's projectors) — so 's statistics are identical whether measured before, after, or without . Compatible observables can be simultaneously known: the joint state has zero variance in both. When , no state has both variances zero — quantified two serials ahead.
Go deeper · Derivation B · 1 minIncompatibility in numbers — the order test on a spin
We exhibit, with exact numbers, how a nonzero commutator shows up as order-dependent statistics — turning the abstract theorem into a two-magnet experiment. The system is a spin- prepared in ; the competing observables are and with . The strategy: compute the joint probability of "both answers " for the two possible orderings, using the collapse rule at each stage, and watch the answers differ — something mathematically impossible for commuting projectors.
Step 1. Order -then-: the first measurement on returns with certainty (eigenstate — no collapse needed). The second finds . Joint: .
Step 2. Order -then-: the first measurement returns with and collapses the state to ; the second then finds . Joint: .
Step 3. Read the asymmetry: . The -measurement disturbed the -value that had been certain — filing by one observable shredded the other's filing. For commuting observables the two orderings give identical joint distributions (commuting projectors can be reordered inside every probability formula — one line with the shared eigenbasis).
Step 4. Contrast with a genuinely compatible pair: two different spins' and commute (, machine-checked on the four-dimensional product space), and measuring one literally cannot touch the other's statistics — the two-qubit labeling exercise the CSCO article will run. Verified: numerically — exactly; both orderings' joint probabilities as stated; on the tensor-product space.
Limiting cases
| case | result | meaning |
|---|---|---|
| complete joint eigenbasis; order-free statistics | one cabinet, two labels | |
| no joint eigenbasis; some states disturbed by ordering | incompatibility — floor quantified at GUP | |
| but in a state | uncertainty floor vanishes in that state | state-dependent bound — GUP's fine print |
| always commute | functions of one observable are jointly measurable with it | |
| non-degenerate | its unique eigenbasis must diagonalize any commuting | no construction needed — blocks are 1-dim |
| degenerate | generic -eigenbasis fails for ; diagonalize within eigenspaces | the CSCO algorithm's seed |
| symmetric potential | even/odd energy eigenstates — the wells catalog explained |
Worked examples
Example 1 — commutator algebra drill (confidence builder). Using only and the Leibniz rule, compute and .
Step 1. Peel one factor at a time: . The pattern — the commutator differentiates with respect to — is the finger exercise behind the general rule , stated and proved at the CCR article.
Step 2. Same move on the other slot: — no ordering ambiguity survives because is a number and slides freely.
Step 3. Sanity checks: both answers are anti-Hermitian (as commutators of Hermitians must be — times a Hermitian operator), and both vanish as : classical phase-space functions commute, quantum corrections enter at order . Both verified symbolically on test functions.
Example 2 — build the joint eigenbasis by hand (exam level). On , let and have entries , , (all else zero). Verify compatibility and construct the simultaneous eigenbasis.
Step 1. Commutator: is block-diagonal with respect to 's eigenspaces — a block on (the degenerate drawer) and a block on . Blocks never mix, so ✓ — the invariant-eigenspace lemma visible as matrix architecture.
Step 2. The naive basis fails: and are eigenvectors of but — not proportional to . Degeneracy gave freedom, and the wrong choice wasted it.
Step 3. Diagonalize inside the degenerate drawer: the block has eigenvectors with eigenvalues .
Step 4. Assemble and label: — a complete orthonormal set, every vector doubly stamped, each label pair unique. The pair is a complete set of commuting observables for this space — the concept the next article builds an algorithm and a doctrine around.
The man who built the bracket
Origins · 1 minSophus Lie and how this was discovered
Marius Sophus Lie, a Norwegian six-footer who came to mathematics late and did his deepest work while walking enormous distances through the countryside, spent the 1870s building the theory of continuous transformation groups — rotations, translations, flows — and discovered that each such group is governed by its infinitesimal generators, whose complete behavior is encoded in an antisymmetric bracket obeying exactly the Jacobi identity. The structure now called a Lie algebra is this article's equation (1), invented half a century before anyone needed it for atoms. When Heisenberg, Born, and Jordan found in 1925 that quantum observables multiply non-commutatively, and Dirac recognized the commutator-over- as the quantum image of Poisson's classical bracket, physics discovered it had been handed a ready-made mathematics: the commutator tables of quantum mechanics — spin's above all — are Lie algebras, and the angular-momentum chapter of this track is applied Lie theory from its first page. Lie himself died of pernicious anemia at 56, embittered by priority disputes and a notorious falling-out with Klein, never suspecting that the word "Lie bracket" would be spoken daily in every physics department on Earth.
Going further
References. Sakurai & Napolitano, Modern Quantum Mechanics, 2nd ed., §1.4 · Shankar, Principles of Quantum Mechanics, 2nd ed., Ch. 1 & 9 · Cohen-Tannoudji, Diu & Laloë, Quantum Mechanics, Vol. I, Ch. II · Griffiths & Schroeter, Introduction to Quantum Mechanics, 3rd ed., §3.5.
Provenance. Definitions and identities (commutator, Leibniz rule, Jacobi) per Sakurai §1.4 and Shankar Ch. 1. Compatibility theorem and degeneracy treatment per Cohen-Tannoudji Ch. II and Sakurai §1.4. Robertson uncertainty relation cross-referenced (derived in its own article). For this edition every identity and claim was machine-executed (numpy/sympy): antisymmetry, bilinearity, Leibniz, and Jacobi on random complex matrices; anti-Hermiticity of and Hermiticity of ; the invariant-eigenspace lemma and block construction on a degenerate commuting pair (joint eigenvectors to ); the converse direction on shared-eigenbasis pairs; with the order-test probabilities vs ; ; for a discretized symmetric potential and for an asymmetric one; and symbolically on test functions. Per the chapter ownership map: is quoted here and derived at Canonical Commutation Relation; the uncertainty bound built from belongs to Generalized Uncertainty Principle; the multi-observable labeling algorithm and CSCO doctrine to Simultaneous Diagonalization and Complete Sets of Commuting Observables; the sequential-collapse mechanics used in the order test to Measurement and Wavefunction Collapse.
Builds on: Hermitian Operators and Observables · Eigenvalues and Eigenstates · Linear Operators on Hilbert Space · Complete Orthonormal Bases
Leads to: Born Rule and Measurement Probabilities · Measurement and Wavefunction Collapse · Completeness Relation and Resolution of Identity · The Postulates of Quantum Mechanics
:::faq[Do [Â,B̂]=0 and [B̂,Ĉ]=0 imply [Â,Ĉ]=0?] No — compatibility is not transitive. Standard counterexample: commutes with -momentum , and commutes with , but . Each pair shares a basis; no single basis serves all three. Commuting families must be checked pairwise — which is why the CSCO definition demands mutual commutation of the whole set, not a chain.
Is the commutator itself an observable? It seemed to be an operator like any other.
Not directly — for Hermitian the bracket is anti-Hermitian, so its "expectation values" are purely imaginary and it fails the observable requirements. The repaired object is Hermitian, hence a legitimate observable; for spins, -type combinations are just other spin components. This repair is precisely what appears inside Robertson's bound — nature quantifies incompatibility using an observable manufactured from the incompatibility itself.
If  and B̂ commute, does measuring B̂ really change nothing about  — even the state?
It changes the state (collapse is real) but not any -statistic. The -collapse projects within -eigenspaces (invariant-eigenspace lemma read through projectors), so the distribution of -outcomes — mean, variance, full histogram — is untouched. If the state was an -eigenstate, it remains one, same eigenvalue. "No disturbance" means no disturbance to the compatible observable's answers, not frozen dynamics.
Why does degeneracy make the theorem's hard direction genuinely harder?
Because degeneracy is freedom, and freedom can be spent badly. In a non-degenerate eigenspace (a line) the only unit vectors are phases of one another, and any commuting must accept them as eigenvectors — no work. A -fold degenerate eigenspace contains infinitely many orthonormal bases, of which only special ones diagonalize 's restriction. Example 2 shows the generic failure and the repair. Physically: a degenerate label is an incomplete address, and 's job is to finish writing it — the CSCO doctrine in one sentence.
Is there a classical analog of the commutator, or is it purely quantum?
The classical analog is the Poisson bracket of Hamiltonian mechanics — same antisymmetry, same Leibniz rule, same Jacobi identity (one Lie algebra, two costumes). Dirac's correspondence is the dictionary; the CCR article uses it to read as the quantum image of . What is purely quantum is not the algebra but its consequence: classical observables are functions on phase space and always jointly measurable; operators are not.
Measurement compatibility sounds like it should involve apparatus details. Why is it settled by pure algebra?
Because the theorem converts an operational question into a representation question. "Measurable together" operationally means: there exists a single (ideal) measurement whose outcomes determine both values — i.e., a complete family of projectors refining both observables' spectral families. Such a family exists exactly when one basis diagonalizes both operators, which the theorem pins to . Apparatus engineering can fail to achieve compatible measurement, but no engineering can achieve the incompatible kind — algebra sets the ceiling.
What happens to compatibility when operators are unbounded, like x̂ and p̂?
The criterion survives with fine print: for unbounded self-adjoint operators the honest statement is that the spectral projectors all commute (equivalently, the unitaries and commute), since products like have domain headaches. For everything in this track the working rule on a common dense domain is reliable; the pathological counterexamples (Nelson's example) live in the rigged-space article's territory at the chapter's end.