Skip to content
Tutorials Center
My learning

Topics

Lesson 11 of 38 · Wavefunctions and Probability

Normalization and Expectation Values

Compute the expectation values of position and momentum, variances and standard deviations from a wavefunction, with exact formulas and numerical checks.

A wavefunction gives probabilities, not definite values. To compare theory with experiment we need summary numbers: the average result of many measurements and the typical spread. These are the expectation value and the standard deviation. This lesson shows how to compute them for position and momentum.

Expectation value of position

If you prepare many identical copies of a state ψ and measure the position of each, the average outcome approaches

⟨x⟩ = ∫ x |ψ(x)|² dx

The notation ⟨x⟩ means the expectation value (or mean) of x. Note that it is not "the position the particle has", and it is not necessarily a value you can ever observe: a double-humped distribution can have a mean in the gap where |ψ|² is nearly zero.

For any function f(x): ⟨f(x)⟩ = ∫ f(x) |ψ(x)|² dx.

Variance and standard deviation

The variance measures spread:

σ_x² = ⟨x²⟩ - ⟨x⟩², and the standard deviation is σ_x = √(σ_x²) (also written Δx).

Expectation value of momentum

Momentum is not a function of position, so we cannot write it as ∫ p |ψ|² dx. Instead, quantum mechanics uses the momentum operator

p̂ = -iħ d/dx

and defines

⟨p⟩ = ∫ ψ*(x) (-iħ dψ/dx) dx

and ⟨p²⟩ = ∫ ψ* (-ħ² d²ψ/dx²) dx = ħ² ∫ |dψ/dx|² dx (after integration by parts, when ψ vanishes at infinity). A plane wave e^{ikx} gives -iħ (ik) e^{ikx} = ħk e^{ikx}, so it carries the momentum ħk, consistent with de Broglie's p = h/λ = ħk. Chapter 6 explains why operators play this role.

Expectation values

⟨x⟩ ∫ x |ψ|² dx
⟨p⟩ ∫ ψ* (-iħ d/dx) ψ dx
1 / 2

A Gaussian wave packet

Take the normalized Gaussian packet

ψ(x) = (2π σ²)^(-1/4) · exp(-(x - x₀)² / (4σ²)) · e^{i k₀ x}

Then |ψ|² = (2πσ²)^(-1/2) exp(-(x - x₀)²/(2σ²)), a normal distribution centered at x₀ with standard deviation σ. It follows that

  • ⟨x⟩ = x₀ and Δx = σ
  • ⟨p⟩ = ħ k₀ and Δp = ħ / (2σ)

so that Δx · Δp = ħ/2. That is the minimum value the uncertainty principle allows, a fact we prove in Chapter 6.

Python Numerical expectation values of a Gaussian packet (hbar = 1)

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

A non-Gaussian example

For a particle in a box of width L with ψ(x) = √(2/L) sin(πx/L), symmetry gives ⟨x⟩ = L/2. The second moment is ⟨x²⟩ = L²(1/3 - 1/(2π²)), so σ_x = L √(1/12 - 1/(2π²)) ≈ 0.181 L. A classical particle bouncing uniformly in the box would have σ_x = L/√12 ≈ 0.289 L: the quantum ground state is more concentrated in the middle.

Python Box ground state: position statistics

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Does normalization stay fixed in time?

If ψ is normalized at one time, it stays normalized as it evolves, provided the evolution follows the Schrödinger equation. We prove it in Chapter 4 (probability current). It is crucial: otherwise, probabilities would stop adding up to one.

If a function ψ has a finite but not-equal-to-one integral N = ∫|ψ|² dx, you may rescale it by 1/√N. This does not change its shape or any relative probabilities. Just be sure to normalize before calculating absolute probabilities.

Many errors come from forgetting to normalize. A quick test: compute ∫|ψ|² dx numerically first. If it is not 1, divide ψ by its square root.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. The expectation value of position is

    It is the probability-weighted average of x.
  2. 2. Which operator gives the momentum expectation value ⟨p⟩ = ∫ ψ* p̂ ψ dx?

    In position space p̂ = -iħ d/dx.
  3. 3. For a Gaussian packet with position spread σ, the momentum spread is

    Δp = ħ/(2σ), so Δx Δp = ħ/2.
  4. 4. If ∫|ψ|² dx = 4, how do you normalize?

    Divide by √4 = 2 so that the new integral is 4/4 = 1.

Summary

  • ⟨f(x)⟩ = ∫ f |ψ|² dx; σ_x² = ⟨x²⟩ - ⟨x⟩².
  • ⟨p⟩ = ∫ ψ*(-iħ ∂ₓ)ψ dx.
  • A Gaussian packet has ⟨x⟩ = x₀, ⟨p⟩ = ħk₀, and Δx Δp = ħ/2.
  • Always normalize before computing absolute probabilities.

Next: Wave Packets and Superposition