← Exercise library← All exercises for this theme
Theme 3 — Postulates and Applications

Position and momentum in the infinite well

Keywords: infinite well · expectation value · standard deviation · uncertainty relation · classical limit

Exercise 1 : Position and momentum in the infinite well

A particle of mass mm is confined in an infinite well between x=0x=0 and x=Lx=L. Its eigenstates and energies are

φn(x)=2Lsin⁡(nπxL),En=n2π2ℏ22mL2,n=1,2,...\phi_n(x)=\sqrt{\frac2L}\sin\Bigl(\frac{n\pi x}{L}\Bigr),\qquad E_n=\frac{n^2\pi^2\hbar^2}{2mL^2},\qquad n=1,2,...

The particle is in the state φn\phi_n.

Question 1
Calculate ⟨X^⟩\langle\hat X\rangle and ⟨X^2⟩\langle\hat X^2\rangle, then the standard deviation σX\sigma_X.

Hint
You may write sin⁡2u=(1−cos⁡2u)/2\sin^2u=(1-\cos2u)/2 and integrate by parts. A symmetry argument suffices for the mean.

Solution
The probability density ∣φn(x)∣2=2Lsin⁡2(nπx/L)|\phi_n(x)|^2=\frac2L\sin^2(n\pi x/L) is symmetric about the midpoint of the well, since sin⁡2(nπ(L−x)/L)=sin⁡2(nπ−nπx/L)=sin⁡2(nπx/L)\sin^2(n\pi(L-x)/L)=\sin^2(n\pi-n\pi x/L)=\sin^2(n\pi x/L). The expectation value of the position is therefore ⟨X^⟩=L/2\langle\hat X\rangle=L/2.

For ⟨X^2⟩\langle\hat X^2\rangle, let k=2nπ/Lk=2n\pi/L and use sin⁡2u=(1−cos⁡2u)/2\sin^2u=(1-\cos2u)/2:

⟨X^2⟩=2L∫0Lx2sin⁡2(nπxL)dx=1L∫0Lx2 dx−1L∫0Lx2cos⁡(kx) dx.\langle\hat X^2\rangle=\frac2L\int_0^Lx^2\sin^2\Bigl(\frac{n\pi x}{L}\Bigr)dx=\frac1L\int_0^Lx^2\,dx-\frac1L\int_0^Lx^2\cos(kx)\,dx .

The first integral is L3/3L^3/3. For the second, two integrations by parts give, using sin⁡(kL)=0\sin(kL)=0 and cos⁡(kL)=1\cos(kL)=1,

∫0Lx2cos⁡(kx) dx=[x2sin⁡kxk]0L−2k∫0Lxsin⁡(kx) dx=−2k([−xcos⁡kxk]0L+∫0Lcos⁡kxkdx)=2Lk2=L32n2π2.\begin{aligned} \int_0^Lx^2\cos(kx)\,dx&=\Bigl[\frac{x^2\sin kx}{k}\Bigr]_0^L-\frac2k\int_0^Lx\sin(kx)\,dx\\ &=-\frac2k\left(\Bigl[-\frac{x\cos kx}{k}\Bigr]_0^L+\int_0^L\frac{\cos kx}{k}dx\right)=\frac{2L}{k^2}=\frac{L^3}{2n^2\pi^2}. \end{aligned}

Thus

⟨X^2⟩=L2(13−12n2π2),σX2=⟨X^2⟩−L24=L2(112−12n2π2).\langle\hat X^2\rangle=L^2\Bigl(\frac13-\frac{1}{2n^2\pi^2}\Bigr), \qquad \sigma_X^2=\langle\hat X^2\rangle-\frac{L^2}{4}=L^2\Bigl(\frac{1}{12}-\frac{1}{2n^2\pi^2}\Bigr).

Question 2
Calculate ⟨P^⟩\langle\hat P\rangle and ⟨P^2⟩\langle\hat P^2\rangle, then σP\sigma_P.

Solution
The function φn\phi_n is real. From the exercise on probability current, or by direct calculation, ⟨P^⟩=−iℏ∫φnφn′ dx=−iℏ2[φn2]0L=0\langle\hat P\rangle=-i\hbar\int\phi_n\phi_n'\,dx=-\frac{i\hbar}{2}\bigl[\phi_n^2\bigr]_0^L=0, since φn\phi_n vanishes at both boundaries. For ⟨P^2⟩\langle\hat P^2\rangle, the simplest approach is to use the Hamiltonian: inside the well, H^=P^2/(2m)\hat H=\hat P^2/(2m), so ⟨P^2⟩=2mEn=n2π2ℏ2/L2\langle\hat P^2\rangle=2mE_n=n^2\pi^2\hbar^2/L^2. Alternatively, integration by parts gives ⟨P^2⟩=ℏ2∫0L∣φn′∣2dx=ℏ22Ln2π2L2L2\langle\hat P^2\rangle=\hbar^2\int_0^L|\phi_n'|^2dx=\hbar^2\frac2L\frac{n^2\pi^2}{L^2}\frac L2, which yields the same result. Hence

σP=nπℏL.\sigma_P=\frac{n\pi\hbar}{L}.

Physically, the particle is in a superposition of two plane waves with momenta ±nπℏ/L\pm n\pi\hbar/L and zero mean momentum.

Question 3
Verify the Heisenberg uncertainty relation. For which state is the product σXσP\sigma_X\sigma_P smallest? Does this product attain the lower bound ℏ/2\hbar/2?

Solution
The product is

σXσP=ℏ nπ112−12n2π2=ℏn2π212−12.\sigma_X\sigma_P=\hbar\,n\pi\sqrt{\frac{1}{12}-\frac{1}{2n^2\pi^2}}=\hbar\sqrt{\frac{n^2\pi^2}{12}-\frac12}.

It is an increasing function of nn, with its minimum for the ground state n=1n=1: σXσP=ℏπ2/12−1/2≃0,568 ℏ\sigma_X\sigma_P=\hbar\sqrt{\pi^2/12-1/2}\simeq0{,}568\,\hbar. This product is greater than ℏ/2\hbar/2, in accordance with the Heisenberg relation, but does not attain it: only Gaussian wave packets saturate the inequality, and the function φ1\phi_1 is not Gaussian.

Question 4
What does σX\sigma_X tend to as n→∞n\to\infty? Compare it with the standard deviation of the position of a classical particle travelling back and forth between the walls at constant speed. Comment.

Solution
As n→∞n\to\infty, the term in 1/n21/n^2 vanishes and σX2→L2/12\sigma_X^2\to L^2/12. A classical particle bouncing between the walls at constant speed spends the same amount of time in each interval of equal length: its position, observed at a random time, is uniformly distributed over [0,L][0,L], with density 1/L1/L. Its mean is L/2L/2 and its variance is

1L∫0L(x−L2)2dx=L212.\frac1L\int_0^L\Bigl(x-\frac L2\Bigr)^2dx=\frac{L^2}{12}.

Thus the classical limit is recovered for large quantum numbers, in accordance with the correspondence principle. For finite nn, the quantum density 2Lsin⁡2(nπx/L)\frac2L\sin^2(n\pi x/L) oscillates rapidly about the mean value 1/L1/L; when nn is large, these oscillations become indistinguishable on the scale of an apparatus with finite resolution.