Commutators and the Uncertainty Principle
An electron in a orbital has a perfectly definite value of . Yet its and coordinates are hopeless smears. This asymmetry is not an accident of orbital shape. It is a direct consequence of an algebraic fact: and do not commute. Chemists are fluent in the idea that some pairs of properties can be pinned down simultaneously (an orbital's energy and its angular momentum). Other pairs cannot (position and momentum, or the three components of angular momentum among themselves). The commutator is the precise bookkeeping device that tells you, before you ever run an experiment, which pairs behave which way. This matters far beyond a mathematical curiosity. The entire architecture of orbitals traces back to commutators failing to vanish. This includes why , , , and form a good quantum-number set. It includes why you cannot ask "what is and at once" for an electron in a orbital. It includes why zero-point energy is unavoidable in a harmonic vibration. It also includes why a particle confined to a bond length has a minimum kinetic energy. The Heisenberg Uncertainty Principle that undergraduates first meet as a slogan ("you can't know both") is in fact a quantitative inequality. It is written . This can be derived rigorously from the postulates of quantum mechanics with no hand-waving required. The big picture is this: observables are represented by Hermitian operators. Whether two observables can share a common set of eigenstates is decided entirely by whether their operators commute. Sharing eigenstates means both can have sharp, simultaneously definite values. Compatible observables (commuting operators) admit simultaneous eigenstates. They can be measured together with no fundamental limit on joint precision. Incompatible observables (non-commuting operators) cannot share eigenstates in general. Measuring one necessarily disturbs the distribution of the other. This disturbance is encoded exactly by the generalized uncertainty relation. This article builds the machinery from the ground up. It covers how to compute a commutator algebraically, and why non-vanishing commutators forbid simultaneous eigenstates. It gives the full derivation of the generalized uncertainty principle using the Cauchy–Schwarz inequality. It also gives the specific derivation of for the harmonic oscillator ground state, as an explicit, numerically checked example. Angular momentum commutators, the canonical relation, and their chemical consequences for orbital shape, spectroscopy, and zero-point energy are worked through with real numbers at every step.
- The commutator measures the failure of two operators to commute; it is itself an operator.
- If , the two observables are compatible: they possess a complete set of simultaneous eigenfunctions and can both be sharp at once.
- If , the observables are incompatible: no state (except special exceptions) is an eigenstate of both, and precision in one trades off against precision in the other.
- The generalized uncertainty relation is derived rigorously from the Cauchy–Schwarz inequality applied to Hermitian operators.
- Position and momentum obey the canonical commutator , giving the universal bound , saturated only by Gaussian wavepackets.
- Angular momentum components do not commute with each other (, cyclically), which is exactly why an electron can have sharp and but never sharp and simultaneously — the geometric origin of - and -orbital shapes.
- Key idea: commutators are the algebraic litmus test for which physical quantities can be simultaneously certain, and the uncertainty principle is simply this test written as a quantitative inequality.
Where this lives today
The commutator structure underlying orbital angular momentum (, and its generalization to electron and nuclear spin operators with identical algebra) is the direct basis for NMR and EPR spectroscopy: the fact that , , do not commute is why spin precesses about an applied field rather than aligning instantaneously, and this precession is the Larmor frequency detected in every NMR experiment used in structure elucidation, MRI, and protein folding studies. Selection rules in UV-Vis and IR spectroscopy — which transitions are allowed — depend on whether the transition dipole operator commutes or fails to commute with parity and angular-momentum operators of the initial and final states, governed by the same commutator algebra. In quantum computing and molecular qubits, non-commuting spin operators are the entire resource that makes superposition-based logic gates possible; commuting operators would make quantum computers behave classically. In spectroscopic line-shape theory, the energy–time uncertainty relation (a looser cousin of the operator relation, since time is not represented by a Hermitian operator in standard non-relativistic quantum mechanics) explains natural linewidths: short-lived excited states (fast radiative or non-radiative decay, small ) have correspondingly broad spectral linewidths (), a phenomenon routinely used to extract excited-state lifetimes from fluorescence and femtosecond transient-absorption spectra. In computational chemistry, the choice of basis functions and operators that commute with the molecular point-group symmetry operations (a generalized commutator condition, for symmetry operation ) is exactly what allows block-diagonalization of the Hamiltonian by irreducible representation, the computational trick that makes electronic-structure calculations on symmetric molecules tractable — this connects directly to how The Measurement Postulate guarantees that simultaneous eigenstates of and symmetry operators exist whenever they commute, letting spectroscopists assign vibrational and electronic transitions by symmetry label alone.
:::quiz[If [Â,B̂] = 0 for two Hermitian operators, what can be said about their eigenstates?]
- No two states can ever be eigenstates of both
- A complete set of simultaneous eigenfunctions of both operators exists ✓
- Only the ground state can be a simultaneous eigenstate
- The two operators must be identical
:::quiz[What is the value of [x̂, p̂ₓ] in one dimension?]
- Zero
- ħ
- iħ ✓
- -iħ²
Ask the tutor: Can you show how the same Cauchy–Schwarz argument changes if the state is not normalized, or if and act on a finite-dimensional spin space instead of continuous position/momentum?
The physical picture — thorough prose
Every observable quantity in quantum mechanics — position, momentum, energy, angular momentum — is represented by a Hermitian operator acting on the wavefunction. A measurement of that observable can yield a perfectly sharp, uncertainty-free value if and only if the wavefunction is an eigenfunction of the corresponding operator. The central question this article answers is: given two observables and , can a single wavefunction be an eigenfunction of both operators at once, so that both quantities are simultaneously sharp? The answer is controlled entirely by the commutator,
which is itself an operator (it acts on a function, producing another function). If for every well-behaved function , the operators commute, and a fundamental theorem guarantees the existence of a complete set of functions that are simultaneous eigenfunctions of both and . Chemists exploit this constantly: the hydrogen-atom orbitals are simultaneous eigenfunctions of , , and , because these three operators pairwise commute. That is why "quantum numbers" , , exist as a good labeling scheme — it is not a convention, it is forced by commutation. If instead , no complete set of simultaneous eigenfunctions exists (barring isolated special states). The classic example is and : an electron with sharp has, in general, completely undetermined and — this is why the "orbital angular momentum vector" pictured in textbooks is always drawn precessing on a cone rather than pointing in a fixed direction. The same non-commutation, applied to and , produces the famous position–momentum uncertainty relation, but the relation is completely general: any pair of non-commuting Hermitian operators obeys an analogous inequality.
The uncertainty principle is often mis-stated as a statement about clumsy measuring instruments disturbing a system. In fact it is a statement about the wavefunction itself: even with a perfect, non-disturbing instrument, a quantum state that has a sharp value of necessarily has a spread of possible values for any that does not commute with . The spread is defined exactly as in statistics,
the root-mean-square deviation of repeated measurements of on identically prepared systems — this is the same object introduced when discussing Expectation Values. The uncertainty principle bounds the product from below by the expectation value of the commutator. A vivid chemical picture: consider the particle-in-a-box or a harmonic oscillator ground state. The wavefunction is spread over a finite region of (nonzero ) and correspondingly must contain a spread of momentum components (nonzero ) — this spread in momentum is exactly what supplies the zero-point kinetic energy that cannot be removed even at . A vibrating C–H bond, no matter how cold, retains vibrational energy precisely because localizing the bond length (finite ) forces a nonzero , and nonzero means nonzero , which means nonzero kinetic energy.
The core ideas — the governing equations/relationships
Definition of the commutator. For any two operators,
where: means "apply first, then ," to some test function; the commutator is itself a new operator, evaluated by acting on an arbitrary function and simplifying.
Reading: if for all , the order of measurement/operation does not matter — and are compatible. If not, order matters, and this failure is quantified.
The canonical commutator.
where: (multiplication), , and .
Reading: this single nonzero commutator is the ultimate algebraic source of the position–momentum uncertainty principle, and by extension (via the correspondence in angular-momentum operators built from ) of orbital angular momentum's non-commutation.
Angular momentum commutators.
where: are the Cartesian components of orbital angular momentum, cyclic in .
Reading: no two different Cartesian components of angular momentum can be simultaneously sharp (except in the trivial case ). This is why only and one component (conventionally ) are used to label orbitals.
Compatibility with .
where: is the total angular momentum magnitude-squared operator.
Reading: and any one component commute, which is exactly why and form a valid joint quantum-number pair, but alone (not and together) labels the state.
The generalized uncertainty principle.
where: are the standard deviations of in state , and the right side is evaluated in that same state.
Reading: the product of uncertainties in two observables can never be smaller than half the magnitude of the expectation value of their commutator; if the commutator vanishes in that state, there is no lower bound at all — both can (in principle) be made simultaneously sharp.
The position–momentum uncertainty relation (specific case).
where: this follows by substituting (a state-independent constant) directly into the generalized relation.
Reading: this is the tightest possible bound; it is achieved with equality only by Gaussian wavepackets (including the harmonic oscillator ground state), and exceeded by every other physically realizable state.
Goal. Show that if and share a complete set of simultaneous eigenfunctions, then — establishing the contrapositive used throughout: nonzero commutator no complete simultaneous eigenbasis.
Step 1. Assume a shared eigenfunction. Suppose is simultaneously an eigenfunction of both operators:
with the (real, since both operators are Hermitian) eigenvalues.
Step 2. Apply the commutator to . Compute and separately, applying operators right to left:
Since and are ordinary numbers (scalars), they commute with each other trivially, so .
Step 3. Subtract to get the commutator acting on .
So is an eigenfunction of with eigenvalue zero, for any simultaneous eigenfunction.
Step 4. Extend to a complete set. If and possess a complete set of simultaneous eigenfunctions (spanning the full function space), then for every basis function . Because any function can be expanded as , linearity gives
for arbitrary , i.e. as an operator identity. Contrapositively: if , no such complete common eigenbasis can exist, so it is fundamentally impossible for every physically achievable state to have both and sharp. (Special individual states with can still exist even when the operators do not commute globally — the theorem forbids a complete common basis, not isolated coincidences.)
Go deeper · Derivation B · 1 minThe generalized uncertainty principle from Cauchy–Schwarz
Goal. Derive rigorously for Hermitian operators in an arbitrary normalized state .
Step 1. Define shifted (fluctuation) operators. Let , be the expectation values in state , and define
Both are Hermitian (subtracting a real constant preserves Hermiticity), and by construction . Crucially, because constants commute with everything and drop out.
Step 2. Note that and . This is just the definition of variance: , similarly for .
Step 3. Apply the Cauchy–Schwarz inequality. For any two functions and , Cauchy–Schwarz in Hilbert space states
Since are Hermitian, and . So
Step 4. Split into Hermitian and anti-Hermitian parts. Write the product as
where is the anticommutator. One can show is Hermitian (so is real) while is anti-Hermitian (so is purely imaginary). A real number and a purely imaginary number add in quadrature when you take the modulus-squared of their sum:
Step 5. Drop the non-negative anticommutator term. Since , discarding it only weakens the inequality (keeps it valid):
Step 6. Combine with Step 3 and take the square root.
This is the generalized uncertainty principle, valid for any pair of Hermitian operators in any normalized quantum state. Equality holds only when the discarded anticommutator term vanishes and is proportional to (the Cauchy–Schwarz equality condition) — these two conditions together select Gaussian wavepackets for the position–momentum case.
Worked examples
Example 1 — Foundational: computing and verifying for a Gaussian. Compute the canonical commutator explicitly by acting on an arbitrary test function :
Subtracting,
So indeed as an operator identity, independent of the specific chosen. Now check the bound numerically for a normalized Gaussian wavefunction with an asymmetric, non-round width parameter :
For this standard Gaussian form, the known moments are and , with by symmetry, so
Multiplying,
Comparing to the bound : the product equals the minimum-uncertainty value (the small numerical discrepancy above is rounding in the intermediate arithmetic; algebraically exactly for any ). This confirms Gaussians saturate the bound regardless of the specific width chosen — the equality is a structural property of the Gaussian shape, not a coincidence of a particular .
Example 2 — Applied: zero-point energy of an HCl-like oscillator from the uncertainty principle. Estimate the minimum vibrational energy of a diatomic oscillator using only the uncertainty principle, then compare to the exact quantum-mechanical zero-point energy, for a bond with force constant and reduced mass (close to HCl values). Model the total energy classically as a function of position spread and momentum spread, using the harmonic potential and treating , (valid since for the ground state):
Impose the minimum-uncertainty condition (using equality, the tightest possible bound) and substitute:
Minimize with respect to by differentiating and setting to zero:
Substituting back into ,
Recognizing , this gives — exactly the known quantum zero-point energy, derived purely from the uncertainty principle without solving the Schrödinger equation. Plugging in numbers:
Converting to wavenumbers via :
This is close to the real HCl fundamental of about divided by 2 (since zero-point wavenumber for a harmonic oscillator, as while ), confirming the estimate is physically sound and the uncertainty principle alone predicts real vibrational spectroscopy correctly in order of magnitude and structure.
Example 3 — Exam/competition level: commutator of and , and the resulting bound on simultaneous angular momentum components. Derive from the canonical position–momentum commutators, then use it to compute the minimum uncertainty product for a specific hydrogen-like state with , (a -orbital component). Starting definitions: , . Using (each coordinate commutes with momenta along other axes, and ), expand:
Expanding into four terms and using that operators referring to different, independent Cartesian degrees of freedom commute (e.g., commutes with since these act on different coordinates):
The second and third terms vanish (all constituent operators mutually commute within each). The first term:
The fourth term:
Adding these surviving pieces:
confirming the stated relation. Now apply the generalized uncertainty principle to a state with definite , (one specific -orbital wavefunction, eigenstate of with eigenvalue ):
For specifically, , so
This nonzero lower bound is why an electron in this -orbital component, despite having a perfectly sharp and sharp , can never simultaneously have sharp and : the product of their uncertainties is bounded away from zero exactly by half of . As a limiting-case check, for the -orbital case (so necessarily ), the bound collapses to — consistent with the fact that an -orbital has zero angular momentum entirely, all three components sharply zero at once, with no contradiction, since the commutator's expectation value itself vanishes when .
Limiting cases, scope & common traps
| Regime / case | What happens | Why |
|---|---|---|
| everywhere | Complete simultaneous eigenbasis exists; both sharp together | Proven directly (Derivation 1, reversed) |
| but in a particular state | That state alone can have both narrow, even though operators don't globally commute | Bound is state-dependent; -orbital angular momentum is the standard example |
| Gaussian wavepackets () | Equality exactly achieved | Cauchy–Schwarz saturates only for proportional and zero anticommutator average |
| Macroscopic limit ( "negligible" relative to system scale) | Uncertainty bound numerically irrelevant; classical mechanics recovered | is fixed, but is a vanishingly small constraint compared to macroscopic |
| (-orbitals) | All three simultaneously exactly zero, no contradiction | makes the angular-momentum bound trivially satisfied as equality with zero |
| Energy–time "uncertainty" | Often quoted as | Not derived from a commutator of Hermitian operators the same way, since time is not a quantum operator in the usual formalism — this is a qualitatively different, looser relation and should not be treated as algebraically identical to |
The chemist behind it
Origins · 1 minWerner Heisenberg and how this was discovered
Heisenberg developed matrix mechanics in 1925 while recovering from hay fever on the island of Helgoland, formulating quantum theory purely in terms of observable transition frequencies and amplitudes rather than orbits. Working with Max Born and Pascal Jordan, he found that position and momentum, represented as infinite matrices, do not commute — the product is not zero but proportional to times the identity matrix. In 1927, working in Bohr's institute in Copenhagen, he derived the uncertainty relation (later sharpened by Kennard and Robertson to the exact bound used today) as a direct consequence of this non-commutativity, framing it initially in terms of the disturbance caused by measuring one quantity with light of a given wavelength. He received the Nobel Prize in Physics in 1932 for the creation of quantum mechanics.
Is the uncertainty principle just about measurement disturbance?
No. Although Heisenberg's original 1927 argument used a measurement-disturbance picture (observing an electron's position with a gamma-ray photon disturbs its momentum), the modern, rigorous statement is purely about the wavefunction's intrinsic statistical spread. Even with an idealized, perfectly non-invasive measurement, a state with a sharp value of contains, by the mathematics of Fourier transforms, a broad spread of momentum components. The inequality describes the standard deviation of outcomes across many identically prepared systems, not the disturbance from a single clumsy probe.
Why do L² and Lz commute but Lx and Ly do not?
is built symmetrically from all three components, and it can be shown algebraically that for any single component , because the cyclic commutators among cancel when summed symmetrically. In contrast, any two different individual components, like and , generate the third component via , which is nonzero whenever the state has any net angular momentum. This is precisely why chemists label orbitals by and (eigenvalues of and ) but never by "" simultaneously.
Does the uncertainty principle mean momentum is undefined for an electron in an orbital?
Momentum is not undefined — it has a well-defined probability distribution, computable by Fourier-transforming the position-space wavefunction into momentum space. What the uncertainty principle forbids is a single, sharp momentum value coexisting with a single, sharp position for the same state. An orbital wavefunction has a specific, calculable from ; this is a legitimate, physically meaningful, and experimentally measurable quantity (e.g., via Compton profile measurements), it is simply not a single deterministic number the way classical momentum would be.
How does energy-time uncertainty differ from position-momentum uncertainty?
Position and momentum are both represented by genuine Hermitian operators acting on the same wavefunction, so follows rigorously from the Robertson derivation. Time, in standard non-relativistic quantum mechanics, is a parameter, not an operator with eigenvalues — there is no Hermitian "time operator" whose commutator with gives . The energy-time relation is therefore derived differently (often via the rate of change of expectation values), and is usually interpreted as a characteristic evolution or lifetime timescale rather than the standard deviation of a measured "time" observable.
Can two operators be incompatible but still commute on a specific function?
Yes. The commutator can vanish acting on one specific function (making that state an exception) even if the operators do not commute as a general algebraic identity valid for all functions. The theorem that non-commuting operators forbid a shared eigenbasis applies to the complete set of eigenfunctions, not to isolated coincidental matches. The clean example is and acting on an -orbital (): both give exactly zero, a trivial simultaneous eigenstate, even though as a general operator identity.
Why does the derivation use Cauchy-Schwarz specifically?
Cauchy-Schwarz is the natural inequality relating the "lengths" of two vectors (here, functions and in Hilbert space) to their inner product, and it becomes an equality precisely when the two vectors are proportional. This proportionality condition is exactly what identifies Gaussian wavepackets as the minimum-uncertainty states: for a Gaussian, turns out to be proportional to times an imaginary constant, saturating the inequality. No weaker inequality would correctly capture both the general lower bound and the specific condition for equality.
How does this connect to why orbitals have the shapes they do?
An electron in a orbital has sharp and sharp (for ), but and are fundamentally uncertain because and in this specific state permits, but does not force, sharp values — yet since do not commute with each other in general, no simultaneous eigenstate of both exists except the trivial case. This is the deep reason the angular momentum vector is depicted as precessing on a cone around the -axis in vector models: the - and -components genuinely fluctuate, and the orbital's real-space electron density reflects this azimuthal indeterminacy, contributing to the characteristic lobed, axially symmetric shapes of and orbitals.