Skip to main content

Quantum core · institution-dependent · Interactive lesson

Expectation values and the virial split

Once x and p are written in ladder operators, every moment of an oscillator eigenstate is a counting exercise. Do it once and you get the spread in position, the spread in momentum, the even split of energy between kinetic and potential, and the exact uncertainty product — with no Hermite integral anywhere.

UPIV-08.07 · Lesson 7 of 9 in this unit. Position is not a completion score.
Starting model: Expectation values and the virial splitPhase plane u = x/b, v = p/p₀ with p₀ = ħ/b. The open circle is the classical orbit of energy E_n = 2.5 ħω, radius √(2n+1). The rectangle is the state's uncertainty box, half-widths Δx/b = 1.58 and Δp/p₀ = 1.58, centred at the origin because ⟨x⟩ = ⟨p⟩ = 0. Its area holds Δx Δp = 2.5 ħ while the split ⟨V⟩:⟨T⟩ = 1.00:1 moves.x/bp/p₀n = 2 squeeze s = 1.0Δx / b = 1.58Δp / p₀ = 1.58Δx Δp = 2.5 ħ⟨V⟩ : ⟨T⟩ = 1.00 : 1⟨H⟩ = 2.50 ħωEₙ = 2.5 ħωcircle: classical orbit of Eₙbox: Δx, Δp about ⟨x⟩ = ⟨p⟩ = 0
Start with a picture. Change the model in the lab below.

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.

1

Build the model

The ladder does the integrals, and it splits the energy in half.

The key idea

In a harmonic-oscillator eigenstate the mean position and momentum are zero, the mean-square values grow as n + ½, the energy divides equally between kinetic and potential, and the uncertainty product is exactly (n + ½)ħ.

Example. For n = 2 with ħω = 0.20 eV: E₂ = 0.50 eV, so ⟨T⟩ = ⟨V⟩ = 0.25 eV, and Δx Δp = 2.5ħ = 2.6 × 10⁻³⁴ J s — five times the Heisenberg floor, which only the ground state reaches.

The complete physical model and assumptions

Every question about where an oscillator eigenstate sits and how fast it moves reduces to four numbers: ⟨x⟩, ⟨p⟩, ⟨x²⟩ and ⟨p²⟩. Computed as integrals over Hermite–Gaussian functions they are a chore; written in ladder operators they are bookkeeping. Put x̂ and p̂ in terms of â and â†, and the first moments vanish immediately, because those operators shift n by one and eigenstates of different n are orthogonal — so the variances are the second moments outright. Keep only the diagonal pieces of x̂² and p̂², and both come out proportional to 2n + 1. Three consequences follow, and they are the content of the topic. The energy divides exactly in half, ⟨T⟩ = ⟨V⟩ = ½(n + ½)ħω, which the virial theorem both explains and limits: it holds because V is quadratic, and fails for the Coulomb potential and for the box. The uncertainty product is exactly (n + ½)ħ, so the ground state alone sits on the Heisenberg floor and every excited state stands 2n + 1 times above it. And running the argument backwards — minimising ⟨p²⟩/2m + ½mω²⟨x²⟩ against that bound — returns ½ħω and the ground-state width without solving a differential equation at all. The cost is that all of it is exact only for a strictly quadratic potential, and only for stationary states.

1Write x and p on the ladder, and the integrals disappear

Define â = (1/√2)(x̂/b + i b p̂/ħ) with b = √(ħ/mω), and invert it: x̂ = (b/√2)(â + â†) and p̂ = i(ħ/b√2)(↠− â). Now ⟨n|x̂|n⟩ is a sum of ⟨n|â|n⟩ and ⟨n|â†|n⟩, and â|n⟩ is proportional to |n−1⟩ while â†|n⟩ is proportional to |n+1⟩. Neither overlaps |n⟩, so both terms are zero: ⟨x̂⟩ = 0, and by the identical argument ⟨p̂⟩ = 0, for every n. Parity gets you the first of those — |ψₙ|² is even, so the odd integrand ∫x|ψₙ|²dx vanishes — but parity says nothing about ⟨p²⟩, and the ladder says everything. The payoff is immediate: since Δx² = ⟨x²⟩ − ⟨x⟩² and ⟨x⟩ = 0, the variance and the second moment are the same number, and the same holds for momentum.

2Keep only the diagonal terms in x̂² and p̂²

Square the ladder forms. x̂² = (b²/2)(â² + ↲ + â↠+ â†â). The first two terms connect |n⟩ to |n∓2⟩, so their diagonal elements vanish; the last two combine as â↠+ â†â = 2N̂ + 1, whose eigenvalue is 2n + 1. Hence ⟨x²⟩ = (b²/2)(2n + 1) = (n + ½)ħ/mω. The momentum square is p̂² = (ħ²/2b²)(2N̂ + 1 − â² − ↲), giving ⟨p²⟩ = (n + ½)mωħ — the same factor, with b² traded for ħ²/b². Put numbers on it. An electron (m = 9.11 × 10⁻³¹ kg) in a parabolic quantum dot with ħω = 10 meV has b = ħ/√(mħω) = 2.76 nm, so in the ground state Δx = b/√2 = 1.95 nm and Δp = (ħ/b)/√2 = 2.70 × 10⁻²⁶ kg m s⁻¹.

3Half kinetic, half potential — and only here

For any stationary state the virial theorem reads 2⟨T⟩ = ⟨x dV/dx⟩. A quadratic potential has x dV/dx = mω²x² = 2V, so 2⟨T⟩ = 2⟨V⟩ and the energy divides exactly in half: ⟨T⟩ = ⟨V⟩ = ½(n + ½)ħω. Check it against the moments already in hand — ⟨p²⟩/2m = ½(n+½)ħω and ½mω²⟨x²⟩ = ½(n+½)ħω — and they agree. The same theorem tells you where the halving stops. For a homogeneous potential V ∝ xᵏ it gives 2⟨T⟩ = k⟨V⟩, so ⟨T⟩/E = k/(k+2), and only k = 2 splits evenly. The infinite well is the k → ∞ limit: V = 0 wherever the particle is, so ⟨V⟩ = 0 and ⟨T⟩ = E. Hydrogen is k = −1: in the ground state ⟨T⟩ = −E = 13.6 eV and ⟨V⟩ = 2E = −27.2 eV. The classical oscillator shares the 50:50 split, because cos²ωt and sin²ωt both time-average to ½.

4The uncertainty product, and the one state that saturates it

With ⟨x⟩ = ⟨p⟩ = 0, Δx = √((n+½)ħ/mω) and Δp = √((n+½)mωħ), so Δx Δp = (n + ½)ħ exactly. Read that carefully. At n = 0 the product is ħ/2, sitting precisely on the Heisenberg bound; the ground state is a Gaussian, and a Gaussian is the only wavefunction that saturates Δx Δp ≥ ħ/2. At n = 1 the product is already 3ħ/2, three times the floor, and at n = 10 it is twenty-one times. So "the oscillator is a minimum-uncertainty system" is true of one state and false of all the rest, and what disqualifies the excited states is their nodes: a function with nodes cannot be Gaussian. Geometrically the product is an area in phase space. The classical orbit of energy Eₙ is an ellipse of semi-axes Aₙ and Pₙ enclosing πAₙPₙ = (n + ½)h — the Bohr–Sommerfeld rule ∮p dx = nh plus the half quantum the old theory missed, arriving here as a consequence rather than a postulate.

5Zero-point energy is what the bound costs

Run the logic backwards and the ground state falls out without solving anything. In any state with ⟨x⟩ = ⟨p⟩ = 0 the mean energy is ⟨H⟩ = ⟨p²⟩/2m + ½mω²⟨x²⟩ = Δp²/2m + ½mω²Δx². The uncertainty principle forbids Δp from dropping below ħ/2Δx, so ⟨H⟩ ≥ ħ²/(8mΔx²) + ½mω²Δx². Differentiate with respect to Δx and set the derivative to zero: −ħ²/(4mΔx³) + mω²Δx = 0, giving Δx⁴ = ħ²/4m²ω², so Δx² = ħ/2mω — exactly the ground-state variance found above — and ⟨H⟩ = ħω/4 + ħω/4 = ħω/2. Squeezing the particle inward raises the kinetic term faster than it lowers the potential term, and letting it spread does the reverse. A ⁴⁰Ca⁺ ion trapped at ω/2π = 1.0 MHz therefore keeps 2.1 neV of motion, equal to kB × 24 μK, which is the temperature the trap must beat.

6How the spreads line up with the classical orbit

The classical turning point of the n-th state is Aₙ = √((2n+1)ħ/mω), and Δx = √((n+½)ħ/mω), so Δx = Aₙ/√2 at every n without exception. That is precisely the rms displacement of a classical oscillator of amplitude Aₙ, since the time average of cos²ωt is ½. The second moments therefore match the classical values even at n = 0, where no classical motion of that energy is ever observed. The shapes do not match. The ground state's probability density is a Gaussian peaked at the centre, while the classical density, proportional to 1/v(x), diverges at the turning points where the particle moves slowest — and about 16% of the ground-state probability lies beyond ±A₀, in the classically forbidden region. Correspondence in this topic is a claim about moments and about large-n averages, never about the shape of the distribution.

2

Key equations

Read the units, assumptions and limits before substituting.

Position and momentum on the ladder

x̂ = (b/√2)(â + â†), p̂ = i(ħ/b√2)(↠− â)

Every moment becomes a count of raising and lowering steps: no Hermite polynomial, no Gaussian integral.

b = √(ħ/mω) is the oscillator length in metres; â|n⟩ = √n |n−1⟩, â†|n⟩ = √(n+1) |n+1⟩

The first moments vanish

⟨n|x̂|n⟩ = 0, ⟨n|p̂|n⟩ = 0 for every n

So Δx² = ⟨x²⟩ and Δp² = ⟨p²⟩ outright — the subtraction in the variance costs nothing in an eigenstate.

â and ↠shift n by one, and eigenstates of different n are orthogonal; ⟨x⟩ in m, ⟨p⟩ in kg m s⁻¹.

Second moments

⟨x²⟩ = (n + ½) ħ/mω, ⟨p²⟩ = (n + ½) mωħ

Linear in n, so the widths grow only as √(n + ½): the n = 8 state is just √17 ≈ 4.1 times as wide as the ground state.

m in kg, ω in rad s⁻¹; ⟨x²⟩ in m², ⟨p²⟩ in kg² m² s⁻². Both are diagonal and real.

The virial split

2⟨T⟩ = ⟨x dV/dx⟩ ⟹ ⟨T⟩ = ⟨V⟩ = ½Eₙ = ½(n + ½)ħω

Find Eₙ and both averages follow with no integral; for V ∝ xᵏ the split is ⟨T⟩/E = k/(k+2), so only k = 2 halves it.

Stationary states only. V = ½mω²x² gives x dV/dx = 2V, which forces the equality; ⟨T⟩, ⟨V⟩ and Eₙ in J (or eV).

Uncertainty product in the n-th state

Δx Δp = (n + ½) ħ ≥ ħ/2

Only n = 0 sits on the Heisenberg floor; the n-th state stands 2n + 1 times above it, and no state above it is Gaussian.

Δx = √((n+½)ħ/mω) in m, Δp = √((n+½)mωħ) in kg m s⁻¹.

Zero-point energy from the bound alone

⟨H⟩ ≥ ħ²/(8m Δx²) + ½mω²Δx² ≥ ½ħω

Gives ½ħω and the ground-state width before the Schrödinger equation is solved — confinement, not a leftover constant.

Uses Δp ≥ ħ/2Δx with ⟨x⟩ = ⟨p⟩ = 0; the minimum sits at Δx² = ħ/2mω. Δx in m, ⟨H⟩ in J.
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

2
0 to 6; steps of 1.
1.0
0.6 to 1.6; steps of 0.1.

Try this. Set s = 1: the box is the square inscribed in the classical circle, and equal sides mean ⟨T⟩ = ⟨V⟩. Slide s away and the product never moves, but ⟨H⟩ climbs above Eₙ — the eigenstate is the state of least energy at fixed uncertainty.

Live results

Δx Δp
2.50 ħ
⟨T⟩ kinetic
1.25 ħω
⟨V⟩ potential
1.25 ħω
⟨H⟩ total
2.50 ħω

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

Interactive Physics IV modelPhase plane u = x/b, v = p/p₀ with p₀ = ħ/b. The open circle is the classical orbit of energy E_n = 2.5 ħω, radius √(2n+1). The rectangle is the state's uncertainty box, half-widths Δx/b = 1.58 and Δp/p₀ = 1.58, centred at the origin because ⟨x⟩ = ⟨p⟩ = 0. Its area holds Δx Δp = 2.5 ħ while the split ⟨V⟩:⟨T⟩ = 1.00:1 moves.x/bp/p₀n = 2 squeeze s = 1.0Δx / b = 1.58Δp / p₀ = 1.58Δx Δp = 2.5 ħ⟨V⟩ : ⟨T⟩ = 1.00 : 1⟨H⟩ = 2.50 ħωEₙ = 2.5 ħωcircle: classical orbit of Eₙbox: Δx, Δp about ⟨x⟩ = ⟨p⟩ = 0
Phase plane u = x/b, v = p/p₀ with p₀ = ħ/b. The open circle is the classical orbit of energy Eₙ = 2.5 ħω, radius √(2n+1). The rectangle is the state's uncertainty box, half-widths Δx/b = 1.58 and Δp/p₀ = 1.58, centred at the origin because ⟨x⟩ = ⟨p⟩ = 0. Its area holds Δx Δp = 2.5 ħ while the split ⟨V⟩:⟨T⟩ = 1.00:1 moves.

Predict → change one variable → check

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

Saved baseline. Quantum number n: 2; Squeeze factor s (s = 1: eigenstate): 1.0

Baseline 2; choose 0 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

Students carry ⟨T⟩ = ⟨V⟩ = E/2 out of this topic and apply it to the next bound state they meet. It is a quadratic-potential result, not a general one. The virial theorem says 2⟨T⟩ = ⟨x dV/dx⟩, which for V ∝ xᵏ becomes 2⟨T⟩ = k⟨V⟩ — equal halves only at k = 2. In the infinite well, V = 0 wherever the particle is, so ⟨V⟩ = 0 and ⟨T⟩ = E. In hydrogen, k = −1, so in the ground state ⟨T⟩ = −E = +13.6 eV while ⟨V⟩ = 2E = −27.2 eV: the kinetic average is the whole binding energy, and the potential average is twice the total and negative. The theorem is also a statement about stationary states or time averages. In a superposition of |0⟩ and |2⟩ the split oscillates at 2ω and is equal only on average, not instant by instant.

5

Practice & worked examples

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

EasyExample 1

The CO stretching mode has ħω = 0.269 eV. A molecule sits in the n = 3 vibrational state. Find E₃, the average kinetic energy, the average potential energy, and the uncertainty product Δx Δp in units of ħ.

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

A ⁴⁰Ca⁺ ion of mass 6.64 × 10⁻²⁶ kg is held in a trap with ω/2π = 1.00 MHz and laser-cooled into the motional ground state. Find the oscillator length b = √(ħ/mω), then Δx and Δp, and verify the product. Finally give Δx if the cooling only reaches n = 10.

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

At t = 0 an oscillator is prepared in ψ = (|0⟩ + |2⟩)/√2. Using x̂ = (b/√2)(â + â†) and p̂ = i(ħ/b√2)(↠− â), find ⟨T⟩ and ⟨V⟩ at t = 0, show the equal split fails, and give their time averages.

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.

A particle occupies the n = 2 eigenstate of a harmonic oscillator of angular frequency ω. What is the product Δx Δp for this state?
7

Review & continue

In a harmonic-oscillator eigenstate the mean position and momentum are zero, the mean-square values grow as n + ½, the energy divides equally between kinetic and potential, and the uncertainty product is exactly (n + ½)ħ.

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