Every measurable quantity in quantum mechanics is associated with an operator.
The expectation value of an observable A^ in state ∣ψ⟩ is the average outcome
over many identical measurements:
⟨A⟩=⟨ψ∣A^∣ψ⟩=∫−∞∞ψ∗(x)A^ψ(x)dx.
Position expectation value: ⟨x⟩
For the n-th eigenstate of the infinite square well (ψn(x)=2/Lsin(nπx/L),
0≤x≤L), the position expectation value is
⟨x⟩n=∫0Lx∣ψn(x)∣2dx=L2∫0Lxsin2(Lnπx)dx.
Replacing sin2θ=21(1−cos2θ) splits the integral into two parts:
⟨x⟩n=L1∫0Lxdx−L1∫0Lxcos(L2nπx)dx.
The first integral gives L/2. The second integral, evaluated by parts with u=x and
dv=cos(2nπx/L)dx, produces a boundary term proportional to sin(2nπ)=0 plus an
antiderivative term proportional to cos(2nπ)−cos(0)=1−1=0, so it vanishes exactly.
Therefore
⟨x⟩n=2Lfor all n.
This result is not a coincidence: every eigenstate has the same left-right symmetry about the
midpoint of the well, so the mean position is always the center regardless of the quantum number.
Energy expectation value
The energy eigenvalues are En=n2π2ℏ2/(2mL2).
Because ψn is an eigenstate of the Hamiltonian, a measurement of energy on ψn always
returns En with certainty:
⟨E⟩n=En.
The interesting case arises when the particle is in a superposition of eigenstates. Suppose
ψ=n∑cnψn,n∑∣cn∣2=1.
Because the ψn are orthonormal, the cross terms ⟨ψm∣H^∣ψn⟩
vanish for m=n, and
⟨E⟩=n∑∣cn∣2En.
This is a weighted average of eigenvalues, with the probability ∣cn∣2 serving as each weight.
A measurement collapses the state to a single eigenstate ψn, yielding energy En with
probability ∣cn∣2; the expectation value is the long-run mean of those outcomes.
Equal superposition of n=1 and n=2
Take ψ=(ψ1+ψ2)/2, so ∣c1∣2=∣c2∣2=1/2.
Then
⟨E⟩=21E1+21E2=2E1+E2.
With L=1nm and an electron, E1≈0.376eV and
E2=4E1≈1.504eV, giving
⟨E⟩=20.376+1.504eV≈0.940eV.
Try it
This is a numerical exercise — return a number. An electron is in the state
(ψ1+ψ2)/2 inside an infinite square well of width L=1nm.
Compute the expectation value of energy ⟨E⟩ in electron-volts.
Run your code to see the quantum state.
Sign in on the full site to ask questions and join the discussion.