PHYSICAL CHEMISTRY 2 • QUANTUM FOUNDATIONS

Particle in a Box

The simplest exactly solvable quantum system reveals energy quantization, zero-point energy, and the wave nature of confined matter.

Historical Context & Motivation

The development of quantum mechanics in the early twentieth century was driven by a series of experimental puzzles that classical physics could not resolve. Blackbody radiation, the photoelectric effect, and atomic spectral lines all pointed toward the same conclusion: energy at the microscopic scale is not continuous but arrives in discrete packets. As physicists constructed a mathematical framework to describe this new reality, they needed exactly solvable model systems to build intuition and test the formalism. The particle in a box — a quantum particle confined to a region of space by infinitely high potential walls — emerged as the most fundamental such model, illustrating quantization, boundary conditions, and the probabilistic interpretation of wave functions in their simplest form.

1900
Planck's Quantum Hypothesis
Max Planck proposed that the energy of electromagnetic oscillators in a blackbody cavity is quantized in units of , introducing the fundamental constant h and opening the door to the concept of discrete energy levels.
1924
de Broglie's Matter Waves
Louis de Broglie hypothesized that all matter possesses wave-like properties, with a wavelength λ = h/p. This wave–particle duality set the conceptual stage for confining a 'matter wave' inside a box and observing standing-wave patterns.
1926
Schrödinger's Wave Equation
Erwin Schrödinger published his wave equation, providing the mathematical machinery to solve for the stationary states of quantum systems. The infinite square well became one of the first problems solved exactly, serving as a textbook prototype ever since.
1928
Sommerfeld's Free-Electron Model
Arnold Sommerfeld applied the particle-in-a-box framework to conduction electrons in metals, treating them as fermions confined within the crystal lattice. This yielded remarkably accurate predictions of electronic heat capacities and laid the groundwork for solid-state physics.
1990s
Quantum Dots — Boxes Made Real
Advances in nanotechnology produced semiconductor quantum dots — nanoscale structures that confine electrons in three dimensions. Their size-tunable emission spectra are a direct, visible manifestation of the particle-in-a-box energy spacing, bringing a textbook model into the laboratory.

The central question the particle-in-a-box model addresses is deceptively simple: what happens to a quantum particle when it is perfectly confined? By imposing boundary conditions on the wave function at the walls, the model demonstrates that only certain discrete wavelengths — and therefore only certain energies — are permitted. This is energy quantization in its most transparent form, and nearly every more complex quantum system can be understood as an elaboration of the principles first encountered here.

Core Principles & Definitions

The particle-in-a-box model rests on a small set of assumptions that, taken together, strip a quantum confinement problem down to its bare essentials. A single particle of mass m moves freely inside a one-dimensional region of length L, but encounters infinitely high potential energy barriers at the walls. Inside the box, the potential energy V(x) = 0; outside, V(x) = ∞. The infinite potential guarantees that the probability of finding the particle outside the box is exactly zero, which in turn forces the wave function to vanish at both walls. These boundary conditions are the origin of quantization.

1

Infinite Potential Walls

The potential energy is zero inside the box and infinite at the boundaries (x = 0 and x = L). This idealization ensures the particle cannot tunnel through the walls, simplifying the boundary conditions to ψ(0) = ψ(L) = 0.
2

Standing-Wave Solutions

Because the wave function must vanish at both walls, only sinusoidal functions with an integer number of half-wavelengths fitting within L are permitted. These are standing waves, analogous to the vibrational modes of a guitar string clamped at both ends.
3

Energy Quantization

The allowed energies scale as n², where n = 1, 2, 3, …. Higher quantum numbers correspond to shorter wavelengths and greater kinetic energy. Unlike a classical particle, the confined quantum particle cannot possess arbitrary energy values.
4

Zero-Point Energy

The lowest allowed quantum number is n = 1, not n = 0. Consequently, the particle always retains a minimum kinetic energy E₁ > 0, a direct consequence of the Heisenberg uncertainty principle applied to confinement.
5

Normalization & Probability

The integral of |ψₙ(x)|² over the entire box equals one, ensuring the total probability of finding the particle somewhere inside is unity. The probability density |ψₙ|² has n − 1 internal nodes where the likelihood of detection is zero.
KEY TAKEAWAY
Think of the particle in a box like a vibrating violin string fixed at both ends. A violin string can only sustain standing waves whose half-wavelengths divide evenly into the string's length — you hear harmonics, not a continuous sweep of frequencies. In the same way, a confined quantum particle can only exist in discrete energy states because only certain matter-wave patterns satisfy the requirement of vanishing at both walls. The boundary conditions impose quantization automatically, without any ad hoc assumption.

Visualizing the Wave Functions

The figure below shows the first four stationary-state wave functions ψₙ(x) for a particle confined in a one-dimensional box of length L. Each wave function is a sinusoidal standing wave with n half-wavelengths fitting inside the box, and is offset vertically by its corresponding energy level to emphasize the relationship between quantum number and energy. Note how the number of nodes (zero crossings inside the box, excluding the walls) equals n − 1: the ground state (n = 1) has no internal node, n = 2 has one, and so on.

Each wave function ψₙ(x) = √(2/L) sin(nπx/L) is drawn at the vertical offset of its energy level Eₙ = n²E₁. The cyan curve (n = 1) has no internal nodes; the violet curve (n = 2) has one node at L/2; the pink curve (n = 3) has two nodes; and the amber curve (n = 4) has three nodes. The purple shaded rectangles represent the infinite potential walls.

Several features of this diagram are worth highlighting. First, the energy spacing between adjacent levels grows with increasing n: the gap between E₂ and E₁ is 3E₁, while the gap between E₄ and E₃ is 7E₁. This non-uniform level spacing contrasts sharply with the equally spaced levels of the quantum harmonic oscillator and is a direct consequence of the n² dependence. Second, the probability density |ψₙ(x)|² is not uniform: for n = 1, the particle is most likely found near the center of the box, whereas for large n the oscillations in |ψₙ|² become so rapid that, upon averaging, the probability approaches the classical expectation of uniform distribution — a manifestation of the correspondence principle.

Mathematical Framework

The derivation begins with the time-independent Schrödinger equation for a particle of mass m moving in a potential V(x). Inside the box (0 < x < L), V = 0, so the equation reduces to a second-order linear ODE whose general solution is a linear combination of sine and cosine functions. Applying the boundary conditions ψ(0) = 0 and ψ(L) = 0 eliminates the cosine component and restricts the wave vector k to discrete values kₙ = nπ/L, yielding the quantized energy spectrum.

TIME-INDEPENDENT SCHRÖDINGER EQUATION (V = 0)
−(ℏ²/2m) · d²ψ/dx² = Eψ
ℏ = h/(2π) is the reduced Planck constant, m is the particle mass, E is the total energy, and ψ(x) is the spatial wave function.

Defining k² = 2mE/ℏ², the general solution inside the box is ψ(x) = A sin(kx) + B cos(kx). Applying ψ(0) = 0 immediately gives B = 0. Then ψ(L) = A sin(kL) = 0 requires kL = nπ for positive integers n, since A ≠ 0 (a trivially zero wave function is unphysical). The normalization condition ∫₀ᴸ |ψ|² dx = 1 fixes A = √(2/L), yielding the complete set of normalized wave functions.

NORMALIZED WAVE FUNCTIONS
ψₙ(x) = √(2/L) · sin(nπx/L), n = 1, 2, 3, …
n is the principal quantum number (positive integer), and L is the box length. The factor √(2/L) ensures total probability equals unity.
QUANTIZED ENERGY LEVELS
Eₙ = n²h²/(8mL²) = n²π²ℏ²/(2mL²), n = 1, 2, 3, …
The energy scales as n², so higher states are progressively further apart. The ground-state energy E₁ = h²/(8mL²) is the zero-point energy — the minimum energy the particle may possess, which is always greater than zero.
PROBABILITY DENSITY
|ψₙ(x)|² = (2/L) · sin²(nπx/L)
|ψₙ(x)|² dx gives the probability of finding the particle between x and x + dx. For state n, there are n − 1 interior nodes (points of zero probability) and n antinodes (maxima of probability).
⚠️ Why n = 0 is Forbidden
Setting n = 0 would make ψ₀(x) = 0 everywhere — the particle would have zero probability of existing at any location. Physically, this violates the normalization condition. Equivalently, n = 0 corresponds to a de Broglie wavelength of infinity, meaning the particle has zero momentum, which would violate the Heisenberg uncertainty principle for a particle confined to a finite interval Δx = L. The minimum-energy state must have n = 1.

Probability Density & Node Structure

While the wave function ψₙ(x) encodes all information about a quantum state, the physically measurable quantity is the probability density |ψₙ(x)|². The diagram below compares the probability density profiles for the first three quantum states. Regions where |ψₙ|² is large correspond to positions where a position measurement is most likely to find the particle; nodes are positions where the particle will never be detected. This is profoundly non-classical: a ball bouncing inside a box spends equal time at every position (ignoring gravity), but the quantum ground-state particle favors the center of the box.

Probability density |ψₙ(x)|² for the first three quantum states. Shaded areas under the curves represent regions of higher detection probability. Dashed red lines mark the positions of internal nodes where the probability density is exactly zero.
Node and antinode count as a function of quantum number
Quantum Number nInternal NodesAntinodesNode Positions
101None
212L/2
323L/3, 2L/3
434L/4, L/2, 3L/4
nn − 1nkL/n for k = 1, 2, …, n − 1

The node structure has important physical consequences. Because a particle in a stationary state has exactly zero probability of being found at a node, asking 'how does the particle get from one side of a node to the other?' reveals a classical misconception. The particle does not have a trajectory; its wave function simply has a particular shape at all times, with the probability distributed according to |ψₙ|². In the correspondence limit of very large n, the closely spaced nodes average out and the probability density approaches the classical uniform distribution of 1/L — a reassuring confirmation that quantum mechanics reduces to classical mechanics in the appropriate regime.

Worked Example

The following example demonstrates how to compute energy levels and transition energies for a concrete physical system: an electron confined to a one-dimensional quantum dot.

Electron in a 1-D Quantum Dot (L = 5.0 nm)
1
Step 1 — Identify Given ValuesAn electron (m = 9.109 × 10⁻³¹ kg) is confined to a one-dimensional box of length L = 5.0 nm = 5.0 × 10⁻⁹ m. Planck's constant h = 6.626 × 10⁻³⁴ J·s. We want the energies E₁, E₂, and E₃ as well as the wavelength of light emitted in the 3 → 1 transition.
2
Step 2 — Compute the Ground-State Energy E₁Using Eₙ = n²h²/(8mL²), first compute the constant factor: h²/(8mL²) = (6.626 × 10⁻³⁴)² / [8 × (9.109 × 10⁻³¹) × (5.0 × 10⁻⁹)²] = (4.390 × 10⁻⁶⁷) / (1.822 × 10⁻⁴⁶) = 2.41 × 10⁻²¹ J Converting to electron volts: E₁ = 2.41 × 10⁻²¹ J ÷ 1.602 × 10⁻¹⁹ J/eV
E₁ ≈ 0.0150 eV
3
Step 3 — Compute E₂ and E₃Since Eₙ = n²E₁: E₂ = 4 × 0.0150 eV = 0.0601 eV E₃ = 9 × 0.0150 eV = 0.135 eV
E₂ ≈ 0.0601 eV, E₃ ≈ 0.135 eV
4
Step 4 — Energy of the 3 → 1 TransitionΔE = E₃ − E₁ = (9 − 1) × 0.0150 eV = 8 × 0.0150 eV
ΔE = 0.120 eV = 1.93 × 10⁻²⁰ J
5
Step 5 — Wavelength of Emitted PhotonUsing λ = hc/ΔE: λ = (6.626 × 10⁻³⁴ × 2.998 × 10⁸) / (1.93 × 10⁻²⁰) = (1.986 × 10⁻²⁵) / (1.93 × 10⁻²⁰)
λ ≈ 10.3 μm (mid-infrared)
6
Step 6 — Physical InterpretationThe emitted photon lies in the mid-infrared region. For smaller boxes (L ~ 1–2 nm), the energy spacings increase by factors of 6–25, pushing emission into the visible range — this is exactly the principle behind size-tunable quantum dot fluorescence. The n² scaling means that reducing the box length by half quadruples every energy level.

Strengths, Limitations & Comparisons

The particle-in-a-box model is deliberately idealized. Understanding where it succeeds and where it breaks down is essential for knowing when to invoke it as an approximation and when to reach for more sophisticated models. The table below summarizes the model's principal strengths alongside its inherent limitations.

Strengths and limitations of the 1-D infinite square well
StrengthsLimitations
Exactly solvable — closed-form analytical expressions for ψₙ and Eₙ.Infinite walls are unphysical; real potentials are always finite, allowing quantum tunneling.
Cleanly demonstrates quantization, nodes, zero-point energy, and orthogonality.The V = 0 interior ignores all particle–particle and particle–potential interactions.
Provides qualitative insight for conjugated π-electron systems and semiconductor nanostructures.1-D model cannot capture angular momentum, degeneracy, or multi-dimensional phenomena.
Serves as the zeroth-order approximation for perturbation theory problems.Energy levels scale as n² only; real confining potentials (e.g., harmonic) give different scalings.
Illustrates the correspondence principle as n → ∞.Does not include spin, relativistic effects, or electromagnetic interactions.
🔗 CONTEXTUAL INSIGHT
In physical chemistry, models exist on a spectrum of realism. The particle in a box sits at the far idealized end — comparable to an engineer's frictionless surface or a chemist's ideal gas. Its value lies not in literal accuracy but in providing an exactly solvable reference system against which real-world deviations can be understood perturbatively. In precisely the same way that thermodynamic departure functions quantify deviations from ideal-gas behavior, perturbation corrections to the infinite well quantify the effects of finite barriers, anharmonicity, and inter-particle interactions.

Connection to Advanced Quantum Models

The one-dimensional infinite square well is the simplest member of a family of confinement problems. Each extension relaxes one or more idealizations, bringing the model closer to physical reality while introducing new mathematical techniques. The table below highlights how the particle-in-a-box framework evolves as additional complexity is layered in.

Evolution from the particle-in-a-box to more realistic quantum models
FeatureInfinite Square WellAdvanced Extension
WallsV = ∞ at boundaries; ψ = 0 at wallsFinite square well: V = V₀ at walls; ψ decays exponentially outside, enabling tunneling
Interior PotentialV = 0 (free particle inside)Harmonic oscillator: V = ½kx²; equally spaced energy levels Eₙ = (n + ½)ℏω
Dimensionality1-D: quantum number n2-D/3-D box: quantum numbers (nₓ, nᵧ, n_z); introduces degeneracy
Energy ScalingEₙ ∝ n²Hydrogen atom: Eₙ ∝ −1/n² (Coulomb potential); harmonic oscillator: Eₙ ∝ n
Particle CountSingle particleMulti-electron systems require antisymmetrization (Pauli exclusion), Slater determinants, and approximate methods (HF, DFT)

A particularly important extension is the three-dimensional box with side lengths Lₓ, Lᵧ, and L_z. The wave function separates into a product ψ(x,y,z) = ψ_{nₓ}(x) · ψ_{nᵧ}(y) · ψ_{n_z}(z), and the energy becomes E = (h²/8m)(nₓ²/Lₓ² + nᵧ²/Lᵧ² + n_z²/L_z²). When two or more dimensions share the same length, different combinations of quantum numbers can yield the same energy, producing degeneracy — a concept absent from the 1-D model but central to atomic and molecular orbital theory. Looking further ahead, the techniques developed here — solving differential equations subject to boundary conditions, normalizing eigenfunctions, and exploiting orthogonality — transfer directly to the hydrogen atom, the rigid rotor, and variational methods in computational chemistry.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why the ground-state energy of a particle in a box is greater than zero. Use the Heisenberg uncertainty principle to justify your answer physically, and explain what would go wrong mathematically if we tried to set n = 0.
PROBLEM 2BASIC CALCULATION
Calculate the first three energy levels (in eV) for a proton (m = 1.673 × 10⁻²⁷ kg) confined to a one-dimensional box of length L = 1.0 × 10⁻¹⁴ m (roughly a nuclear diameter). Use h = 6.626 × 10⁻³⁴ J·s and 1 eV = 1.602 × 10⁻¹⁹ J.
PROBLEM 3INTERMEDIATE
An electron is in the n = 2 state of a 1-D box of length L. Calculate the probability of finding the electron between x = 0 and x = L/4. Express your answer as an exact fraction.
PROBLEM 4APPLIED
The conjugated π-system of β-carotene has 11 conjugated double bonds, giving 22 π-electrons and an effective box length of approximately L = 2.1 nm. Using the free-electron (particle-in-a-box) model and assuming each energy level holds two electrons (by the Pauli exclusion principle), estimate the wavelength of the lowest-energy electronic absorption transition. Compare your result with the experimental absorption maximum near 450 nm.
PROBLEM 5CRITICAL THINKING
Consider a particle in a 2-D square box with side length L. The energy is E(nₓ, nᵧ) = (nₓ² + nᵧ²)E₁, where E₁ = h²/(8mL²). (a) List all distinct energy values for nₓ, nᵧ ∈ {1, 2, 3}. (b) Identify which energy levels are degenerate and state their degeneracies. (c) Explain why degeneracy arises in the square box but not in a rectangular box with Lₓ ≠ Lᵧ.

Summary

The particle in a box is the foundational exactly solvable model of quantum mechanics, illustrating how boundary conditions on the wave function at infinite potential walls restrict a confined particle to discrete standing-wave solutions ψₙ(x) = √(2/L) sin(nπx/L). The allowed energies Eₙ = n²h²/(8mL²) scale as , producing a zero-point energy E₁ > 0 that forbids the particle from ever being at rest — a direct manifestation of the Heisenberg uncertainty principle applied to spatial confinement.

The probability density |ψₙ|² has n − 1 internal nodes and n antinodes, with higher quantum numbers producing more oscillatory patterns that approach the classical uniform distribution in the correspondence limit. Although idealized, this model provides the conceptual and mathematical scaffolding for understanding quantum dots, conjugated π-systems, and all subsequent confinement problems including the finite well, harmonic oscillator, and hydrogen atom.

Varsity Tutors • Physical Chemistry 2 • Particle in a Box