
Quantum core · institution-dependent · Interactive lesson
Commutators and the uncertainty relation
An algebraic accident — that xp and px are not the same instruction — hardens into a limit on which states can exist at all. Here you evaluate a commutator on a test function, convert it into a numerical floor under a product of standard deviations, name the states that reach that floor, and say exactly which claim it makes about an experiment.
UPIV-05.08 · Lesson 8 of 9 in this unit. Position is not a completion score.Quantum core · institution-dependent. Departments differ in how much quantum mechanics they include in Physics IV or teach in a dedicated course. Follow your university’s required mathematical depth and assessment; these numbered units are not automatically optional.
Build the model
Operators that refuse to commute put a floor under a product of spreads.
The key idea
The commutator [A, B] = AB − BA records how much the order of two operations matters, and Robertson's theorem says that in any state the product of the two standard deviations is at least half the modulus of that commutator's expectation value.
Example. Since [x, p] = iℏ, an electron prepared with σₓ = 0.10 nm must carry σₚ ≥ ℏ/(2σₓ) = 5.27 × 10⁻²⁵ kg m s⁻¹, so its kinetic-energy scale σₚ²/2m is about 0.95 eV — which is why pinning an electron inside an atom costs electronvolts.
The complete physical model and assumptions
Operators act, and the order they act in matters. Apply position then momentum to a wave function and you do not get what momentum then position gives; the difference is not small and not state-dependent, it is the constant [x, p] = iℏ. Robertson's theorem converts that algebraic fact into a statement about statistics. Write the shifted operators A′ = A − ⟨A⟩ and B′ = B − ⟨B⟩, note that σA² is the squared length of A′ψ, apply the Cauchy–Schwarz inequality to A′ψ and B′ψ, and keep only the imaginary part of their overlap; what survives is σA σB ≥ ½|⟨[A, B]⟩|. Nothing in that derivation mentions an apparatus, a disturbance, or a measurement in progress. It is a theorem about one normalised state, and each σ is the spread you would find by preparing that state many times over and measuring one observable on a fresh copy each time. Because the mean commutator of x and p is one fixed number whatever the state, the general bound collapses to the universal floor ℏ/2 = 5.27 × 10⁻³⁵ J s. The cost is that the inequality is usually slack: discarding the real part of the overlap throws away the position–momentum covariance, and restoring it gives the sharper Robertson–Schrödinger form. That is why an unchirped Gaussian sits exactly on the floor at the instant it is made and lifts off it as soon as it starts to spread — and why, where ⟨[A, B]⟩ happens to vanish, the bound says nothing at all.
1Order matters, and by exactly iℏ
An operator is an instruction, and instructions compose in an order. Position multiplies, sending ψ to xψ; momentum differentiates, sending ψ to −iℏ dψ/dx. Act with both, both ways round, on the same differentiable ψ. In the product xp the right-hand operator goes first, so (xp)ψ = x(−iℏ dψ/dx) = −iℏ x dψ/dx. In px the position acts first, and the product rule bites: (px)ψ = −iℏ d(xψ)/dx = −iℏ(ψ + x dψ/dx). Subtract, and the derivative terms cancel: (xp − px)ψ = iℏψ. What is left is iℏ times ψ itself, for every ψ — which is what entitles you to write the operator identity [x, p] = iℏ rather than a claim about one particular state. That identity also tells you how large the state space has to be. Traces obey Tr(AB) = Tr(BA), so any commutator of finite matrices is traceless, while iℏ times an N-dimensional identity has trace iℏN ≠ 0; no finite list of matrices can carry x and p, and the pair demands an infinite-dimensional space to live on. Two rules then handle the rest of the algebra without any further test functions: [A, B] = −[B, A], and [A, BC] = B[A, C] + [A, B]C.
2Cauchy–Schwarz gives Robertson in four lines
Let A and B be Hermitian, with means ⟨A⟩ and ⟨B⟩ in a normalised state ψ, and define A′ = A − ⟨A⟩ and B′ = B − ⟨B⟩. Hermiticity is what lets you move a factor across the inner product, so the variance is a squared length: σA² = ⟨ψ|A′²|ψ⟩ = ‖A′ψ‖². Now apply Cauchy–Schwarz to the two vectors A′ψ and B′ψ: ‖A′ψ‖²‖B′ψ‖² ≥ |⟨A′ψ, B′ψ⟩|², that is σA²σB² ≥ |⟨A′B′⟩|². Split the complex number ⟨A′B′⟩ into its real part ½⟨A′B′ + B′A′⟩, the covariance, and its imaginary part ⟨[A, B]⟩/2i, using [A′, B′] = [A, B] since the shifts are only numbers. Drop the real part, keep the imaginary one, take a square root: σA σB ≥ ½|⟨[A, B]⟩|. Every step is algebra on a single state vector, which is why no apparatus appears anywhere in it.
3The ℏ/2 floor, and the states that touch it
Set A = x and B = p. The commutator is a constant, so ⟨[x, p]⟩ = iℏ in every state and the bound loses all state-dependence: σₓ σₚ ≥ ℏ/2 = 5.27 × 10⁻³⁵ J s. Equality needs two conditions at once. Cauchy–Schwarz is tight only when B′ψ = cA′ψ for some complex c, and integrating that first-order equation gives a Gaussian; then the discarded real part, which is c σₓ², must itself vanish, forcing c to be purely imaginary and so killing any quadratic phase. The minimum-uncertainty states are therefore exactly the real Gaussians carrying a plane-wave factor, and nothing else reaches the line. Most states sit comfortably above it. For the hydrogen ground state ⟨x²⟩ = a₀² and ⟨pₓ²⟩ = ℏ²/(3a₀²), so σₓ σ(pₓ) = a₀ × ℏ/(√3 a₀) = ℏ/√3, which is 1.15 times the floor: bound, but not minimal.
4Where the mean commutator vanishes, there is no floor
The bound is only as strong as ⟨[A, B]⟩ in the state you are holding, and that number can vanish two ways. If the operators commute outright — x with py, or energy with total angular momentum and one of its components in a central potential — the right-hand side is zero for every state, a common eigenbasis exists, and both observables can be sharp together. That is exactly what a complete set of commuting observables buys you. The subtler case is a non-commuting pair whose mean commutator happens to vanish in the state at hand, and there the bound goes quiet without anything becoming compatible. Take [Lₓ, Ly] = iℏLz in the l = 1, m = 0 state: ⟨Lz⟩ = 0, so Robertson demands only σ(Lₓ) σ(Ly) ≥ 0. Yet ⟨Lₓ²⟩ = ⟨Ly²⟩ = (⟨L²⟩ − ⟨Lz²⟩)/2 = (2ℏ² − 0)/2 = ℏ², and both means are zero, so each spread is ℏ and their product is ℏ² — as far from zero as the bound is empty. Robertson's inequality is necessary, never sufficient, and a bound that has collapsed to zero is no evidence that two observables can be sharp together.
5Schrödinger's covariance term and the spreading packet
Robertson threw away the real part of ⟨A′B′⟩. Put it back and you get the Robertson–Schrödinger inequality, σA²σB² ≥ cov² + (½|⟨[A, B]⟩|)². For x and p, that covariance is precisely what free evolution manufactures. Start from a real Gaussian of width σ₀: position and momentum are uncorrelated, cov = 0, and the product sits on the floor. Free evolution leaves the momentum distribution alone, because p commutes with the free Hamiltonian, so σₚ never moves from ℏ/(2σ₀); meanwhile the fixed spread of speeds σₚ/m pulls the fast components ahead of the slow ones and builds correlation, cov = σₚ²t/m. Measure both in units of ℏ/2 and the bookkeeping is clean: cov is t/τ and the product is √(1 + (t/τ)²), with τ = 2mσ₀²/ℏ, so the two sides of Schrödinger's inequality stay equal at every instant while Robertson's is matched only at t = 0. One τ puts the packet √2 above the floor; six τ puts it 6.1 times above. Nothing pushes the packet open, and nothing lets it return to the line.
6How you would actually test the inequality
σₓ is a property of ψ, computable before anything is measured: σₓ² = ⟨x²⟩ − ⟨x⟩². Testing the bound therefore takes two ensembles, not one clever apparatus. Prepare the state, measure position on each copy, histogram the results and record the width; prepare the same state again from scratch, measure momentum on each copy, histogram those. Multiply the two widths and see whether the product falls below ℏ/2, which the theorem says it never can. Two practical conditions ride along. Each detector's resolution must sit well inside the σ it is reporting, or the histogram you record is the instrument's width rather than the state's. And the source must be reproducible, since drift between preparations broadens both histograms and inflates the product for a reason that has nothing to do with quantum mechanics. Single-slit diffraction is the familiar realisation, the slit width setting σₓ and the far-field angular spread reporting σₚ; it is an order-of-magnitude check rather than a saturation test, because a hard-edged slit is not a Gaussian and never sits on the line.
Key equations
Read the units, assumptions and limits before substituting.
Canonical commutator
[x, p] = xp − px = iℏ
The same number in every state, which is what makes the position–momentum bound state-independent.
Test it on any differentiable ψ: x(−iℏψ′) − (−iℏ)(xψ)′ = iℏψ. ℏ = 1.0546 × 10⁻³⁴ J s.Robertson's general uncertainty relation
σA σB ≥ ½ |⟨[A, B]⟩|
Turns an operator identity into a number you can test against two separately measured spreads.
σA = √(⟨A²⟩ − ⟨A⟩²) in the state ψ; A and B Hermitian and both variances finite.The position–momentum floor
σₓ σₚ ≥ ℏ/2 = 5.27 × 10⁻³⁵ J s
Squeeze one spread and the other must grow. No state, however cunning, gets under the line.
σₓ in m and σₚ in kg m s⁻¹, so the product carries units of action, matching ℏ.The states that reach the floor
ψ ∝ exp(i p₀ x/ℏ) exp(−(x − x₀)²/(4σₓ²)) → σₓ σₚ = ℏ/2
The unique minimum-uncertainty family. Add a chirp, a phase going as x², and the product rises above ℏ/2.
Real width and no quadratic phase; any σₓ will do, since only the product is pinned.Robertson–Schrödinger, the sharper form
σA²σB² ≥ cov² + (½|⟨[A, B]⟩|)², with cov = ½⟨A′B′ + B′A′⟩
Explains why a spreading packet sits above the floor: it is busy building position–momentum correlation.
cov is the real symmetrised covariance, in units of A times B, and is zero for a real Gaussian.A free Gaussian leaving the floor
σₓ(t) σₚ = (ℏ/2)√(1 + (t/τ)²), with τ = 2mσ₀²/ℏ
The floor is touched at one instant only, and free evolution walks the product upward without bound.
σₚ is frozen at ℏ/(2σ₀), and τ ∝ σ₀²: for an electron τ is 17 fs at σ₀ = 1.0 nm and 1.7 ps at 10 nm.Interactive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Pull the elapsed time back to zero and the two markers merge on the curve: that is a minimum-uncertainty Gaussian. Run time forward and the filled marker slides horizontally, because free evolution never touches σₚ, so the product can only climb.
Live results
- POSITION SPREAD σₓ
- 1.28 nm
- MOMENTUM SPREAD σₚ
- 98.7 eV/c
- PRODUCT IN UNITS OF ℏ/2
- 1.28
- ELAPSED TIME t
- 13.8 fs
Results follow this lesson’s model and assumptions. Displayed values are rounded.
Predict → change one variable → check
Plan a change before running it. Every other input stays at the saved baseline.
Saved baseline. Initial width σ₀: 1.0 nm; Elapsed time t / τ: 0.8 τ
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
The usual gloss — you cannot measure position and momentum at the same time, because measuring one disturbs the other — is not what Robertson's inequality says. Nothing in the derivation refers to an apparatus: it is algebra on one normalised state, and the two σ values are fixed the moment that state is prepared, before any instrument is switched on. A single electron's position can be recorded as precisely as your detector allows, and that measurement violates nothing. Disturbance is a genuine and separate subject with its own error–disturbance relations, and the naive Heisenberg form of those has been measured to fail in neutron-spin and photon experiments where Ozawa's corrected inequality holds — which is possible only because the two statements were never the same statement. The floor is a fact about which states exist, not about how clumsy instruments are.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
Take [x, p] = iℏ as established. Using the product rule [A, BC] = B[A, C] + [A, B]C, evaluate [x, p²] and then [x, H] for H = p²/2m + V(x). Evaluate [p, V(x)] on a test function as well, and say which of x and p is compatible with the energy of a free particle.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 4 steps revealed.
- [x, p²] = p[x, p] + [x, p]p = iℏp + iℏp = 2iℏp. The two terms may be added only because [x, p] is a pure number, so it slides past p unchanged.
- Divide by 2m for the kinetic term, and note that V(x) is a function of position alone, so [x, V(x)] = 0. Hence [x, H] = [x, p²/2m] = iℏp/m.
- For the potential, act on a test function: [p, V]ψ = −iℏ(Vψ)′ + iℏVψ′ = −iℏ(V′ψ + Vψ′) + iℏVψ′ = −iℏV′(x)ψ, so [p, V(x)] = −iℏV′(x).
- For a free particle V = 0, so V′ = 0 and [p, H] = 0: momentum is compatible with energy, which is why a free packet's momentum distribution never changes. Position is not, since [x, H] = iℏp/m ≠ 0.
Answer. [x, p²] = 2iℏp, [x, H] = iℏp/m and [p, V(x)] = −iℏV′(x); for a free particle p is compatible with H and x is not.
MediumExample 2
A neutron is bound inside a nucleus, so its position spread is roughly σₓ = 2.0 fm. Estimate the smallest momentum spread compatible with that, express it both as σₚ c in MeV and in SI units, and convert it into a kinetic-energy scale. Take ℏc = 197.3 MeV fm, mc² = 939.6 MeV for the neutron, and 1 MeV = 1.602 × 10⁻¹³ J.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- Robertson with [x, p] = iℏ gives σₚ ≥ ℏ/(2σₓ).
- Work in ℏc units to keep the arithmetic clean: σₚ c ≥ ℏc/(2σₓ) = 197.3 MeV fm ÷ (2 × 2.0 fm) = 49.3 MeV.
- In SI: σₚ = 49.3 MeV/c = (49.3 × 1.602 × 10⁻¹³ J) ÷ (3.00 × 10⁸ m s⁻¹) = 2.6 × 10⁻²⁰ kg m s⁻¹.
- Kinetic scale: E ≈ (σₚ c)²/(2mc²) = (49.3)²/(2 × 939.6) = 2430/1879 = 1.3 MeV.
- Check the assumption: σₚ c = 49 MeV is far below mc² = 940 MeV, so the non-relativistic form was fair. Running the same inequality for an electron at 0.10 nm returns about 1 eV instead — one relation, six orders of magnitude apart, because both the length and the mass changed.
Answer. σₚ ≥ 2.6 × 10⁻²⁰ kg m s⁻¹, that is σₚ c ≥ 49 MeV, giving a kinetic-energy scale of about 1.3 MeV.
HardExample 3
An electron is prepared at t = 0 as a real Gaussian of width σ₀ = 1.0 nm with zero mean momentum, then evolves freely. Find the time at which its width has grown by a factor √2, evaluate the covariance ½⟨xp + px⟩ at that instant, and check both the Robertson and the Robertson–Schrödinger inequalities there. Take m = 9.11 × 10⁻³¹ kg and ℏ = 1.0546 × 10⁻³⁴ J s.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 6 steps revealed.
- Free evolution leaves the momentum distribution untouched, so σₚ is frozen at ℏ/(2σ₀) = (1.0546 × 10⁻³⁴)/(2.0 × 10⁻⁹) = 5.27 × 10⁻²⁶ kg m s⁻¹, and at t = 0 the product is exactly ℏ/2 = 5.27 × 10⁻³⁵ J s.
- The width obeys σₓ(t) = σ₀√(1 + (t/τ)²) with τ = 2mσ₀²/ℏ, so a growth factor of √2 means t = τ. Numerically τ = 2(9.11 × 10⁻³¹)(1.0 × 10⁻⁹)²/(1.0546 × 10⁻³⁴) = 1.73 × 10⁻¹⁴ s = 17 fs.
- At t = τ the width is √2 σ₀ = 1.414 nm while σₚ is unchanged, so σₓ σₚ = √2 × (ℏ/2) = 1.4142 × 5.273 × 10⁻³⁵ = 7.46 × 10⁻³⁵ J s.
- The covariance is cov = σₚ²t/m; at t = τ = 2mσ₀²/ℏ that is 2σₚ²σ₀²/ℏ = 2(σₚσ₀)²/ℏ = 2(ℏ/2)²/ℏ = ℏ/2, which is 5.27 × 10⁻³⁵ J s. No arithmetic accident: cov always equals (ℏ/2)(t/τ).
- Robertson–Schrödinger: √(cov² + (ℏ/2)²) = √2 × (ℏ/2) = 7.46 × 10⁻³⁵ J s, matching the product term for term — the Gaussian saturates the sharper bound at every time. Robertson alone demands only ≥ 5.27 × 10⁻³⁵ J s, so it is now loose by a factor √2.
- Reading: the packet leaves the ℏ/2 floor the moment position and momentum become correlated, and correlation is exactly what free spreading builds.
Answer. τ = 17 fs; cov = ℏ/2 = 5.27 × 10⁻³⁵ J s; σₓ σₚ = 7.46 × 10⁻³⁵ J s = √2 × ℏ/2, saturating Robertson–Schrödinger while sitting √2 above the Robertson floor.
Quick check
Select an answer and explain it before checking.
Review & continue
The commutator [A, B] = AB − BA records how much the order of two operations matters, and Robertson's theorem says that in any state the product of the two standard deviations is at least half the modulus of that commutator's expectation value.
- Explain the relationship without looking at the equation.
- Check a sign, a unit and a model assumption in your working.
- Return to the lab or worked example if a step is still unclear.