The Particle in a Box Model
Introduction to the Particle in a Box Model
The particle in a box describes a particle confined to a one-dimensional region with infinitely high potential walls at both ends. It's one of the few quantum mechanical problems you can solve exactly, which makes it a perfect starting point for building intuition about quantization.
Inside the box (from to ), the potential energy is zero, so the particle moves freely. Outside the box, the potential is infinite, meaning the particle can never escape. This total confinement forces the wavefunction to equal zero at both walls: .
These boundary conditions are what produce quantized energy levels. Only certain wavefunctions "fit" inside the box (think of standing waves on a guitar string), and each one corresponds to a specific, discrete energy. The particle simply cannot have arbitrary energy values.
Importance and Applications
Even though it's idealized, this model captures the core physics of quantum confinement and shows up in surprisingly real contexts:
- Quantum dots: Nanoscale semiconductor crystals where electrons are confined in all three dimensions. The particle-in-a-box framework explains why smaller dots emit bluer light.
- Conjugated polyenes: Molecules like 1,3-butadiene and β-carotene, where π-electrons are delocalized along a chain that acts like a one-dimensional box.
- Quantum wells: Thin semiconductor layers used in lasers and LEDs, where carriers are confined along one dimension.
The model also builds the mathematical foundation you'll need for more realistic potentials (finite wells, harmonic oscillators, and eventually the hydrogen atom).
Solving the Schrödinger Equation for a Particle in a Box
Setting Up the Equation
Since inside the box, the time-independent Schrödinger equation simplifies to:
where is the reduced Planck's constant (), is the particle mass, is the wavefunction, and is the energy. The boundary conditions are and .
Solving for Energy Levels and Wavefunctions
Here's how the solution proceeds step by step:
-
Recognize the differential equation. The equation has the general solution , where .
-
Apply the first boundary condition. At : . So the cosine term drops out, leaving .
-
Apply the second boundary condition. At : . Since (otherwise there's no particle), we need , which means for
-
Extract the allowed energies. Substituting back into the definition of :
where is Planck's constant and Note that is excluded because it would give everywhere (no particle).
- Normalize the wavefunction. Requiring gives the normalization constant, yielding:
A few things to notice about these results:
- Energy scales as , so the spacing between levels increases at higher quantum numbers.
- Energy scales as : a smaller box means more widely spaced energy levels. This is the origin of quantum size effects.
- Energy scales as : lighter particles (like electrons vs. protons) have much larger energy spacings.
- The th wavefunction has nodes (zero-crossings inside the box, not counting the walls).

Probability Distribution of a Particle in a Box
Calculating the Probability Distribution
The probability density for finding the particle at position is:
For the ground state (), the probability peaks at the center of the box () and drops to zero at both walls. The particle is most likely found near the middle.
For excited states (), the distribution develops internal nodes where the probability is exactly zero, and maxima (antinodes) where the probability is highest. The probability distribution is symmetric about for every value of .
Properties of the Probability Distribution
- At nodes, there is zero probability of finding the particle. This is a purely quantum effect with no classical analogue.
- At antinodes, the probability reaches its maximum value of .
- As becomes very large, the probability distribution oscillates so rapidly that it averages out to a uniform distribution (). This is an example of the correspondence principle: at high quantum numbers, quantum mechanics reproduces classical behavior.
- The particle is delocalized across the entire box. You cannot say it's "at" a particular location; you can only give the probability of finding it within some region.
Applications of the Particle in a Box Model
Conjugated Polyenes
π-electrons in conjugated molecules are delocalized along the carbon backbone, and the chain of alternating single and double bonds acts roughly like a one-dimensional box. The box length is estimated from the number of carbon-carbon bonds and their average length.
Using the particle-in-a-box energies, you can estimate the HOMO-LUMO gap (the energy difference between the highest occupied and lowest unoccupied molecular orbitals). For a polyene with π-electrons filling levels, the lowest-energy electronic transition is:
As the conjugation length increases, grows and decreases. This is why longer conjugated molecules absorb lower-energy (redder) light. β-carotene, for example, absorbs blue-violet light and appears orange precisely because its long conjugated chain gives a small HOMO-LUMO gap.

Quantum Dots
Quantum dots are semiconductor nanocrystals (typically 2–10 nm in diameter) where electrons and holes are confined in all three spatial dimensions. You can approximate this as a three-dimensional particle in a box.
Key predictions from the model:
- Smaller dots → larger energy spacing → blue-shifted emission. A 2 nm CdSe quantum dot emits blue light, while a 6 nm dot emits red.
- The emission wavelength is tunable simply by controlling the particle size during synthesis.
- The quantized energy levels explain the sharp, discrete absorption features seen in quantum dot spectra, in contrast to the continuous absorption of bulk semiconductors.
Limitations of the Particle in a Box Model
Idealized Assumptions
The model makes several simplifications that don't hold in real systems:
- Infinite potential walls. Real confining potentials are finite, which means the wavefunction doesn't go strictly to zero at the boundary. Instead, it decays exponentially into the barrier region, allowing for quantum tunneling.
- Single particle, no interactions. Real systems involve electron-electron repulsion, spin effects, and coupling to the environment, none of which appear in this model.
- One dimension. Most real confinement is two- or three-dimensional.
Neglected Factors
- Electron spin and the Pauli exclusion principle aren't built into the model (though you apply them when filling energy levels with electrons).
- The effective mass of a carrier in a semiconductor varies with energy and crystal direction, while the model assumes a constant mass .
- Temperature effects and lattice vibrations (phonons) are ignored.
Extensions to More Realistic Models
Despite these limitations, the particle in a box captures the essential physics of quantization due to confinement. When you need more realism:
- The finite potential well allows tunneling and gives wavefunctions that extend into the barrier.
- The Kronig-Penney model introduces a periodic potential to describe electrons in a crystal lattice and the origin of energy bands.
- Extending to 2D and 3D boxes describes quantum wires (confined in two dimensions) and quantum dots (confined in three dimensions), with energy levels that depend on multiple quantum numbers.