Bound States of the Infinite Square Well
Statement
For a particle of mass m confined to the one-dimensional region 0 < x < L by a potential that is zero inside and infinite outside, the time-independent Schrödinger equation together with the Dirichlet boundary conditions ψ(0) = ψ(L) = 0 admits normalisable solutions only for a discrete set of energies En = n2π2ℏ2/(2mL2), n = 1, 2, 3, …, with orthonormal eigenfunctions ψn(x) = √(2/L) sin(nπx/L).
Why it matters
The infinite square well is the simplest quantum system with a genuinely bound spectrum, and it is the prototype for every confinement problem: quantum dots, nuclei modelled as boxes, electrons in a conjugated molecule, and the density of states in a metal all inherit its n2 ladder and its half-wavelength counting. It shows, with almost no algebra, that quantisation is a consequence of boundary conditions imposed on a wave equation — not an extra postulate bolted onto classical mechanics.
It is also the reference against which harder wells are read. The finite well, the harmonic oscillator, and periodic lattices are all understood partly by contrast with this exactly solvable limit, so its eigenfunctions and energies must be at your fingertips.
Assumptions
Derivation
Result
Reading. The allowed energies form a ladder spaced as the squares of the integers, with a nonzero ground state E1 = π2ℏ2/(2mL2) — the zero-point energy demanded by confinement and the uncertainty principle. The n-th eigenfunction is a standing sine wave fitting exactly n half-wavelengths between the walls, with n − 1 interior nodes; adjacent states are orthogonal.
Units check. ℏ2 carries (J·s)2 = J2s2; dividing by mL2 (kg·m2) gives J2s2/(kg·m2). Since J = kg·m2·s−2, one factor of J cancels kg·m2·s−2, leaving J — an energy, as required. The amplitude √(2/L) has units m−1/2, so |ψ|2 is a probability per unit length (m−1) and ∫|ψ|2dx is dimensionless.
Limiting cases
- Wide box / heavy particle (L → ∞ or m → ∞): level spacing En+1 − En ∝ 1/(mL2) → 0, the spectrum becomes effectively continuous, and the classical free particle is recovered (correspondence principle).
- High quantum number (n ≫ 1): the probability density (2/L) sin2(nπx/L) oscillates so rapidly that its local average, 1/L, matches the uniform classical distribution of a particle bouncing between walls.
- Fractional spacing: (En+1 − En)/En = (2n+1)/n2 → 0 as n grows: the ladder looks smooth from far up even though absolute gaps widen.
- Ground state: setting n = 1 gives the irreducible confinement energy; it cannot be lowered without widening the box, a direct manifestation of Δx Δp ≳ ℏ/2 with Δx ~ L.
Breaks when
- Walls are finite. Any real potential is finite, so ψ penetrates the barriers, the sine no longer vanishes exactly at the edges, and the transcendental matching condition replaces kL = nπ. Energies are pushed below the ideal values and the number of bound states becomes finite.
- Relativistic or strongly-bound regime. When En approaches mc2 (very small L or very light particle), the non-relativistic kinetic relation E = ℏ2k2/2m fails and one must use the relativistic dispersion; the n2 law is lost.
- Interactions or many particles. The single-particle eigenbasis stops being the whole story once particles interact or fermion antisymmetry couples the coordinates; the box levels then act only as an unperturbed starting point.
- Time-dependent or moving walls. If L = L(t), the states are no longer stationary; energy is not conserved and one must solve the time-dependent equation (quantum analogue of an adiabatic or sudden expansion).
Failure modes
- Including n = 0. Students list a "ground state" at E = 0; but n = 0 makes ψ ≡ 0 everywhere, which is not a physical state. The lowest state is n = 1.
- Forgetting to normalise. Writing ψn = sin(nπx/L) without the √(2/L) prefactor gives wrong probabilities and wrong expectation values.
- Using the wrong well width in k. For a well running from −L/2 to +L/2 the eigenfunctions split into even cosines and odd sines; blindly reusing sin(nπx/L) mislabels parity and misplaces nodes.
- Demanding continuous ψ′ at the walls. The derivative is discontinuous here because the potential is infinite; imposing derivative continuity yields no solutions.
- Squaring the energy formula wrong. Treating the spacing as linear in n (like the harmonic oscillator) instead of quadratic; the box goes as n2, not n.
- Mismatched units for ℏ. Mixing ℏ = 1.055×10−34 J·s with electron-volt energies without converting, giving answers off by 1.6×10−19.
Discussion
The physics of the box is entirely in its boundary conditions. The differential equation inside is that of a free particle, whose spectrum is continuous; it is the demand that ψ vanish at two points a distance L apart that selects a countable set of standing waves. This is the same mechanism that quantises a vibrating string's overtones — the quantum numbers here are literally the harmonic numbers of a string of length L, with de Broglie wavelength λn = 2L/n. Quantum mechanics adds only the identification of wave frequency with energy through E = ℏ2k2/2m.
The eigenfunctions form a complete orthonormal set, which is why the box is so useful: any well-behaved state vanishing at the walls can be expanded as ψ(x) = Σn cn ψn(x) with cn = ∫0L ψn ψ dx. This is nothing but a Fourier sine series, and |cn|2 is the probability of measuring energy En. Time evolution is then trivial: each coefficient picks up a phase e−iEnt/ℏ, so the box is the cleanest laboratory for watching wavepackets disperse and revive.
Parity and nodes carry physical content. The ground state has no interior node and is symmetric about the centre; each successive state adds one node and alternates symmetry about x = L/2. More nodes mean larger curvature, hence larger ⟨p2⟩ and higher energy — the variational intuition that "wigglier means costlier" is exact here. The nonzero ground-state energy is the confinement energy: pinning a particle to a region of size L forces a momentum spread of order ℏ/L and hence a kinetic energy of order ℏ2/(2mL2), which is precisely E1 up to the factor π2.
More deeply, the choice ψ(0) = ψ(L) = 0 is one self-adjoint extension of the free-particle kinetic operator on the interval; other extensions (periodic, antiperiodic, Robin) give physically different, equally consistent spectra. This is the finite-dimensional shadow of a general fact: the Hamiltonian is not defined until its domain is, and the boundary data are that domain. The reality of the spectrum and the completeness of the eigenbasis used in the expansion above are guaranteed by the self-adjointness proven for Hermitian operators, tying this concrete problem to the general spectral theorem.
Common misconceptions. The walls do not "reflect" a classical particle that still has definite position; the eigenstate is a genuine standing wave with no net current and a fixed energy. And the box is not "empty except at the walls" — the potential is zero inside precisely so that all the interesting structure lives in the interior wavefunction, not in the (idealised, unphysical) walls themselves.
Worked examples
Reading. An electron squeezed into half a nanometre has a zero-point energy of about 1.5 electron-volts — comparable to atomic and molecular binding energies, which is why the box is a serviceable back-of-envelope model for valence electrons.
Units check. J2s2/(kg·m2) = J, then divided by 1.602×10−19 J/eV gives eV.
Reading. The transition lands in the ultraviolet — again the right order of magnitude for electronic transitions, confirming the box captures the essential energy scale even though real atoms need the Coulomb potential for accuracy.
Units check. (J·s)(m·s−1)/J = m, a wavelength.
Problems
- Show that the expectation value of position in any eigenstate is ⟨x⟩ = L/2, and explain why this is obvious from symmetry.
Solution
⟨x⟩ = (2/L) ∫0L x sin2(nπx/L) dx. Using sin2θ = (1−cos2θ)/2, the integral splits into (2/L)[∫x/2 dx − ∫(x/2)cos(2nπx/L) dx]. The first term gives (2/L)(L2/4) = L/2. The second, integrated by parts, vanishes because cos(2nπ) = 1 and sin(2nπ) = 0 at both limits. Hence ⟨x⟩ = L/2. It is obvious because |ψn|2 is symmetric about the centre x = L/2 for every n. - Compute ⟨x2⟩ for the n-th state and hence the position uncertainty Δx. Evaluate Δx for the ground state.
Solution
Standard result: ⟨x2⟩ = L2[1/3 − 1/(2n2π2)]. Then (Δx)2 = ⟨x2⟩ − ⟨x⟩2 = L2[1/3 − 1/(2n2π2) − 1/4] = L2[1/12 − 1/(2n2π2)]. For n = 1: 1/12 − 1/(2π2) = 0.08333 − 0.05066 = 0.03267, so Δx = L√0.03267 = 0.181L. Reassuringly less than L: the particle is fairly well localised near the centre. - Show ⟨p⟩ = 0 and ⟨p2⟩ = (nπ ℏ/L)2 in any eigenstate, and verify the Heisenberg product Δx Δp for n = 1.
Solution
⟨p⟩ = −iℏ(2/L)∫0L sin(nπx/L)·(nπ/L)cos(nπx/L) dx = 0, since the integrand is (proportional to) d/dx[sin2] and sin vanishes at both ends. For ⟨p2⟩: since Ĥ = p̂2/2m inside the well, ⟨p2⟩ = 2mEn = 2m·n2π2ℏ2/(2mL2) = (nπℏ/L)2. So Δp = nπℏ/L. For n = 1: Δx Δp = (0.181L)(πℏ/L) = 0.568 ℏ > ℏ/2 = 0.5 ℏ. The uncertainty bound is satisfied, and the ground state comes close to saturating it. - A proton (m = 1.673×10−27 kg) is confined to a nucleus modelled as a box of width L = 1.0×10−14 m (10 fm). Find E1 in MeV.
Solution
E1 = π2ℏ2/(2mL2) = 9.8696 × (1.0546×10−34)2 / [2 × 1.673×10−27 × (1.0×10−14)2]. Numerator = 9.8696 × 1.1122×10−68 = 1.0977×10−67. Denominator = 2 × 1.673×10−27 × 1.0×10−28 = 3.346×10−55. E1 = 3.28×10−13 J = 3.28×10−13/1.602×10−13 MeV = 2.0 MeV. The MeV scale is exactly why nuclear binding energies dwarf atomic ones — confinement to femtometres, not nanometres. - An electron sits in the n = 2 state of a box of width L. Find the probability of locating it in the left quarter, 0 ≤ x ≤ L/4.
Solution
P = (2/L) ∫0L/4 sin2(2πx/L) dx. With sin2θ = (1−cos4πx/L)/2: P = (2/L)[x/2 − (L/8π)sin(4πx/L)]0L/4 = (2/L)[L/8 − (L/8π)sin(π)]. Since sin(π) = 0, P = (2/L)(L/8) = 1/4 = 0.25. Exactly a quarter — for n = 2 the density has a full period in [0,L/2], so each quarter carries a symmetric equal share here. (Contrast n = 1, where the same integral gives ≈ 0.091, less than a quarter because the ground-state density is depleted near the wall.)