Skip to main content

Quantum core · institution-dependent · Interactive lesson

Expectation values and the σₓ σₚ product

Once the eigenfunctions are in hand, every measurable prediction is one sandwich away. This is where you learn which moments symmetry hands you free, which single integral has to be done by force, and why the ground state's momentum spread is the zero-point energy in disguise.

UPV-05.07 · Lesson 7 of 9 in this unit. Position is not a completion score.
Starting model: Expectation values and the σ_x σ_p productTop: |ψ|² for n = 1 in a box of width L = 1.0 nm, drawn against the dashed classical density 1/L, with the bar below spanning ±σ_x = ±0.181 nm about ⟨x⟩ = L/2. Bottom: a momentum axis whose two dots sit at ±σ_p = ±3.14 ħ/nm about ⟨p⟩ = 0. Their product is 0.568 ħ, and never 0.5 ħ.n = 1 L = 1.0 nm Eₙ = 0.38 eVσₓ = 0.1808 L = 0.181 nm±σₚ = 3.14 ħ/nm · σₓ σₚ = 0.568 ħ
Start with a picture. Change the model in the lab below.

Quantum core · institution-dependent. Your university determines the required depth of these quantum topics, including the use of operators, differential equations and computation. Institution-dependent does not automatically mean optional.

1

Build the model

⟨p⟩ = 0, and yet ⟨p²⟩ is what holds the box open.

The key idea

An expectation value is the sandwich ⟨A⟩ = ⟨ψ|Â|ψ⟩ — the mean of many measurements of A on identically prepared copies — and its uncertainty is the standard deviation σA = √(⟨²⟩ − ⟨A⟩²) of that same distribution.

Example. In the box ground state ⟨x⟩ = L/2 and ⟨x²⟩ = 0.28267L², so σₓ = 0.18076L. For L = 1.00 nm that is a spread of 0.181 nm — just under a fifth of the box, not half of it.

The complete physical model and assumptions

A stationary state is a probability distribution, and everything measurable about it is a moment of that distribution taken with the right operator. Which operator matters: |ψₙ|² alone delivers every moment of position, but momentum needs p̂ = −iħ d/dx acting on the state itself, and it returns numbers the density never hints at. Parity about x = L/2 settles the two first moments without an integral — ⟨x⟩ = L/2 and ⟨p⟩ = 0 for every n — so all the physics sits in the second moments. One genuine integral gives ⟨x²⟩ = L²(1/3 − 1/(2n²π²)); the Schrödinger equation gives ⟨p²⟩ = 2mEₙ = (nπħ/L)² for free, because V = 0 inside. Their standard deviations multiply to σₓ σₚ = (ħ/2)√(n²π²/3 − 2), which is 0.568ħ in the ground state: above Heisenberg's floor, never on it, and growing without bound as n rises. What the model costs is any picture of motion — σₚ is the standard deviation of a momentum distribution centred on zero, not a speed, and σₓ is the width of a density that does not move at all. What it buys is E₁ = σₚ²/(2m) = π²ħ²/(2mL²), a zero-point energy charged by the boundary condition alone, which no amount of cooling can remove.

1Every number is the same sandwich

For a normalised state the mean of a long run of A measurements is ⟨A⟩ = ⟨ψ|Â|ψ⟩, and the spread of that run is σA = √(⟨²⟩ − ⟨A⟩²). In a stationary state the time dependence is the global phase e(−iEₙ t/ħ), which cancels between bra and ket, so every moment computed here is a constant: nothing in |n⟩ evolves. Now watch which object each moment needs. Position moments read straight off the density, ⟨xk⟩ = ∫₀L xk |ψₙ(x)|² dx, so |ψₙ|² is sufficient. Momentum moments are not like that: ⟨p²⟩ = ∫₀L ψₙ*(−ħ²ψₙ″) dx requires the operator acting on the state, and |ψₙ|² is identical for ψₙ and for ψₙ e(iθ(x)), two states with completely different momentum content. So the working habit is to name the operator and its domain before integrating anything — here p̂ = −iħ d/dx on square-integrable functions with square-integrable first derivative vanishing at both walls, and Ĥ = −(ħ²/2m) d²/dx² on those whose second derivative is square-integrable too — and only then to reach for a table of integrals.

2Parity about the midpoint does two integrals for free

Let Π be reflection about the centre, (Πf)(x) = f(L − x). It commutes with H because the box is symmetric, and it maps the eigenbasis onto itself: Πψₙ = (−1)(n+1) ψₙ, so ψ₁ is even about L/2, ψ₂ is odd, and so on. Split the position operator as x̂ = L/2 + (x̂ − L/2). The second piece is odd under Π while |ψₙ|² is even, so its integral vanishes and ⟨x⟩ = L/2 for every n, with no integration performed. The same argument kills ⟨p⟩: p̂ is odd under Π, so ⟨n|p̂|n⟩ = ⟨n|Π†p̂Π|n⟩ = −⟨n|p̂|n⟩, and the only number equal to minus itself is zero. There is a blunter second route worth knowing, because it generalises to any real bound state: ψₙ is real up to a constant phase, so ⟨p⟩ = −iħ∫₀L ψₙ ψₙ′ dx = (−iħ/2)[ψₙ²]₀L = 0, killed by the boundary condition itself. Both routes say a real standing wave carries no net momentum. Neither says the particle is at rest.

3The one integral you actually do: ⟨x²⟩

Write ⟨x²⟩ = (2/L)∫₀L x² sin²(nπx/L) dx and split sin² = (1 − cos(2nπx/L))/2. The first half gives (2/L)(L³/6) = L²/3. The second needs ∫₀L x² cos(2nπx/L) dx; two integrations by parts leave only the term in cos(2nπ) = 1, giving L³/(2n²π²). So ⟨x²⟩ = L²/3 − L²/(2n²π²), and σₓ² = ⟨x²⟩ − (L/2)² = L²(1/12 − 1/(2n²π²)). Recognise the two pieces. L²/3 and L²/12 are exactly the second moment and the variance of a uniform density 1/L on [0, L] — the classical bouncer. All the quantum content is the 1/(2n²π²) deficit, which removes 60.8% of the classical variance in the ground state, leaving σₓ = 0.1808L, then shrinks fast: 0.2658L at n = 2, 0.2788L at n = 3, 0.2862L at n = 6, against the classical 0.2887L. Note what converges. σₓ is an average over the whole box and it does converge; |ψₙ|² itself still swings between 0 and 2/L at every n and never converges pointwise to 1/L.

4Momentum: the second moment comes from H, not from an integral

Inside the box V = 0, and one integration by parts, its boundary term killed by ψₙ(0) = ψₙ(L) = 0, turns ⟨p²⟩ = ‖p̂ψₙ‖² = ħ²∫₀L |ψₙ′|² dx into 2m⟨H⟩ = 2mEₙ = (nπħ/L)². No integral has to be evaluated. With ⟨p⟩ = 0 that makes σₚ = nπħ/L — exactly |p| for a classical particle of the same energy bouncing between the walls, whose momentum distribution is two spikes at ±nπħ/L with mean zero and standard deviation nπħ/L. The box's momentum spread is already classical; only its position spread is not. The quantum version smears those spikes: |φ(p)|² ∝ n²[1 − (−1)ⁿ cos(pL/ħ)] / [(nπ)² − (pL/ħ)²]², two peaks of width of order ħ/L, unresolved at n = 1 and clearly separate by n = 4. Their tails fall only as p⁻⁴, and that is a warning. ⟨p²⟩ converges, and Parseval applied to ψₙ′ confirms ħ²(nπ/L)². But ∫p⁴|φ(p)|² dp diverges, while squaring 2mH returns a finite ħ⁴(nπ/L)⁴. The two disagree because ψₙ has a kink at each wall: ψₙ lies in the domain of p̂, but p̂ψₙ does not, so p̂ cannot legally be applied twice. Topic 5.1's remark that p̂ is symmetric but not self-adjoint here surfaces as an actual number.

5Why the product is 0.568ħ and never ħ/2

Multiply the two spreads: σₓ σₚ = L√(1/12 − 1/(2n²π²)) × nπħ/L. The L cancels — the product cannot depend on the box size, which is why it is the clean invariant of this problem — and tidying gives (ħ/2)√(n²π²/3 − 2). At n = 1 that is 0.5679ħ, 13.6% above the Robertson floor; at n = 2, 1.6703ħ; at n = 6, 5.3953ħ; asymptotically nπħ/√12 = 0.9069nħ. Two expectations students bring are false. First, the ground state does not saturate the bound. Saturation requires (x̂ − ⟨x⟩)|ψ⟩ = iλ(p̂ − ⟨p⟩)|ψ⟩ with λ real, a first-order differential equation whose only solution is a Gaussian; a Gaussian is nowhere zero, so no state obeying ψ(0) = ψ(L) = 0 can ever reach ħ/2. Second, high n does not creep toward the bound — it runs away, because σₚ grows linearly in n while σₓ is capped below L/√12. One loose end: Schrödinger's sharper inequality adds a covariance term ½⟨(Δx̂, Δp̂)⟩, but ψₙ is real, so x̂ψₙ is real and p̂ψₙ is purely imaginary, that term vanishes, and Robertson's bound is the whole story here.

6Zero-point energy is the floor of the spectrum

E₁ = σₚ²/(2m) = π²ħ²/(2mL²) is not an approximation and not a thermal residue: it is the price of the Dirichlet condition. An electron in L = 1.00 nm has E₁ = h²/(8mL²) = 0.376 eV, about fifteen times kBT at 300 K (0.0259 eV), and cooling the sample does not touch it. Halve the box and E₁ quadruples while σₚ doubles and σₓ halves. Two exact statements fix its status. First, nothing in the domain goes lower: expand any normalised state as |ψ⟩ = Σₙ cₙ|n⟩ and ⟨H⟩ = Σₙ |cₙ|² Eₙ ≥ E₁ Σₙ |cₙ|² = E₁, with equality only for |1⟩ up to a phase, so cooling toward T = 0 can at most pile the whole population into |1⟩ and stop there. Second, the uncertainty relation alone proves that confinement costs energy, though not how much. No distribution on [0, L] has a variance above L²/4, so σₓ ≤ L/2, σₚ ≥ ħ/(2σₓ) ≥ ħ/L, and ⟨H⟩ = ⟨p²⟩/(2m) ≥ σₚ²/(2m) ≥ ħ²/(2mL²) = E₁/π², only 0.0381 eV for the same electron. Both steps are slack in the ground state, and the slack is fully accounted for: its product is 0.5679ħ rather than ħ/2, a factor 1.1357, and its σₓ is 0.1808L rather than L/2, a factor 2.7662. Those factors multiply to π, so the bound undershoots σₚ by π and E₁ by π² ≈ 9.87.

2

Key equations

Read the units, assumptions and limits before substituting.

Expectation value and variance

⟨A⟩ = ⟨ψ|Â|ψ⟩ · σA² = ⟨²⟩ − ⟨A⟩²

Both are ensemble statistics. No single measurement returns ⟨A⟩, and σA is not an instrument error.

 Hermitian, ⟨ψ|ψ⟩ = 1; σA carries A's own unit

Position moments in |n⟩

⟨x⟩ = L/2 · ⟨x²⟩ = L²(1/3 − 1/(2n²π²))

σₓ = L√(1/12 − 1/(2n²π²)): 0.1808L at n = 1, 0.2658L at n = 2, rising to 0.2887L.

L in m, n = 1, 2, 3…; ⟨x⟩ is the same for every n

Momentum moments in |n⟩

⟨p⟩ = 0 · ⟨p²⟩ = 2mEₙ = (nπħ/L)²

σₚ = nπħ/L with no integral done — and it equals the classical |p| at the same energy exactly.

p in kg m s⁻¹; ⟨p²⟩ comes from H, since V = 0 inside

The uncertainty product

σₓ σₚ = (ħ/2)√(n²π²/3 − 2)

0.5679ħ at n = 1, 1.6703ħ at n = 2, 5.3953ħ at n = 6, approaching 0.9069nħ. L cancels.

the bracket is dimensionless; ħ = 1.0546 × 10⁻³⁴ J s

Robertson bound and its saturation

σₓ σₚ ≥ ½|⟨[x̂, p̂]⟩| = ħ/2

That condition integrates to a Gaussian, which is nowhere zero — so no box state can ever sit on the floor.

equality needs (x̂ − ⟨x⟩)|ψ⟩ = iλ(p̂ − ⟨p⟩)|ψ⟩ with λ real

Zero-point energy

E₁ = σₚ²/(2m) = π²ħ²/(2mL²) = h²/(8mL²)

Halve L and E₁ quadruples. It scales with confinement, not with temperature or with any material property.

m in kg, L in m; an electron in L = 1.00 nm gives 0.376 eV
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

1
1 to 6; steps of 1.
1.0 nm
0.6 to 1.5 nm; steps of 0.1.

Try this. Raise n: the two momentum dots march outward in proportion to n while the σₓ bar only creeps from 0.181 L to 0.286 L, so the product climbs as 0.907 nħ. Then hold n and stretch L — the bar widens, the dots close in, and the product does not move at all.

Live results

σₓ / L
0.1808
σₚ
3.14 ħ/nm
σₓ σₚ
0.568 ħ
Eₙ, electron
0.38 eV

Results follow this lesson’s model and assumptions. Displayed values are rounded.

Interactive Physics V modelTop: |ψ|² for n = 1 in a box of width L = 1.0 nm, drawn against the dashed classical density 1/L, with the bar below spanning ±σ_x = ±0.181 nm about ⟨x⟩ = L/2. Bottom: a momentum axis whose two dots sit at ±σ_p = ±3.14 ħ/nm about ⟨p⟩ = 0. Their product is 0.568 ħ, and never 0.5 ħ.n = 1 L = 1.0 nm Eₙ = 0.38 eVσₓ = 0.1808 L = 0.181 nm±σₚ = 3.14 ħ/nm · σₓ σₚ = 0.568 ħ
Top: |ψ|² for n = 1 in a box of width L = 1.0 nm, drawn against the dashed classical density 1/L, with the bar below spanning ±σₓ = ±0.181 nm about ⟨x⟩ = L/2. Bottom: a momentum axis whose two dots sit at ±σₚ = ±3.14 ħ/nm about ⟨p⟩ = 0. Their product is 0.568 ħ, and never 0.5 ħ.

Predict → change one variable → check

Plan a change before running it. Every other input stays at the saved baseline.

Saved baseline. Quantum number n: 1; Box width L: 1.0 nm

Baseline 1; choose 1 to 6, in steps of 1.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

Catch the common trap

The usual shortcut is to "derive" the zero-point energy by asserting that the ground state sits on the Heisenberg bound with σₓ equal to the width of the box: σₚ = ħ/(2L), hence E₁ = ħ²/(8mL²). Both halves are wrong and they compound. σₓ is a standard deviation, not a range — even the classical uniform density on [0, L] has σₓ = L/√12 = 0.2887L, and the ground state's is smaller still, 0.1808L, because sin² pulls probability away from the walls. And no state in this box saturates the bound: saturation demands a Gaussian, and a Gaussian is nowhere zero, so it cannot meet ψ(0) = ψ(L) = 0. The true product is 0.5679ħ. Together the two errors give E₁ = ħ²/(8mL²) instead of π²ħ²/(2mL²), too small by a factor of 4π² ≈ 39. An uncertainty relation bounds an answer; it does not produce one. The energy comes from solving H|ψ⟩ = E|ψ⟩ on the Dirichlet domain.

5

Practice & worked examples

3 authored examples. Make an attempt, then reveal the reasoning one step at a time.

EasyExample 1

An electron is confined to a one-dimensional infinite square well of width L = 0.500 nm, in its ground state. Find σₓ, σₚ, their product in units of ħ, and E₁ in eV. Take ħ = 1.0546 × 10⁻³⁴ J s and m = 9.109 × 10⁻³¹ kg.

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.

MediumExample 2

Show that σₓ for the box state |n⟩ rises toward the classical value L/√12 strictly from below, find the smallest n for which it sits within 1% of that value, and evaluate σₓ σₚ there.

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.

HardExample 3

A particle in the box is prepared in the real trial state ψ(x) = N x(L − x) on [0, L]. Normalise it and confirm it lies in the Dirichlet domain of Ĥ, find σₓ, σₚ and σₓ σₚ, and compare ⟨H⟩ with E₁ = π²ħ²/(2mL²). Then explain why ⟨H⟩ lands much closer to E₁ than the product lands to the ground state's 0.5679ħ.

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.

6

Quick check

Select an answer and explain it before checking.

An electron occupies the n = 3 state of a one-dimensional infinite square well of width L. Which statement about the product σₓ σₚ is correct?
7

Review & continue

An expectation value is the sandwich ⟨A⟩ = ⟨ψ|Â|ψ⟩ — the mean of many measurements of A on identically prepared copies — and its uncertainty is the standard deviation σA = √(⟨²⟩ − ⟨A⟩²) of that same distribution.

  • 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.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.