01 / 23

Particle in a Box

Explore how quantum confinement gives rise to quantized energy levels and standing-wave wavefunctions for the simplest exactly solvable quantum system.

Physical Chemistry

What Is Quantum Confinement?

When a particle is trapped in a region of space with impenetrable walls, classical mechanics says it can bounce back and forth with any speed. Quantum mechanics tells a very different story: the particle can only possess certain discrete energies.

The Model Setup

Infinite Walls
Potential energy \(V = \infty\) at the boundaries \(x = 0\) and \(x = L\). The particle cannot escape.
Free Inside
Inside the box (\(0 < x < L\)), the potential is \(V = 0\). The particle moves freely.
1-D Motion
We treat one dimension first. The particle has mass \(m\) and moves along the \(x\)-axis only.
\(V=\infty\)
\(V=\infty\)
\(V = 0\)
\(x = 0\)
\(x = L\)
\(m\)

Why Does It Matter?

The particle-in-a-box model is more than a textbook exercise. It is the foundation for understanding real quantum phenomena:

1
Conjugated molecules: \(\pi\)-electrons in linear polyenes behave like particles in a 1-D box, explaining their UV-Vis absorption spectra.
2
Quantum dots: Semiconductor nanocrystals confine electrons in 3-D, and their color depends on size: smaller dot = larger energy gaps.
3
Molecular orbitals: The shapes of atomic and molecular orbitals arise from the same boundary-condition logic used here.

The Schrödinger Equation Inside

Inside the box where \(V = 0\), the time-independent Schrödinger equation reduces to:

This is a second-order ODE whose general solution is a linear combination of sine and cosine:

Applying Boundary Conditions

1
At \(x = 0\): \(\psi(0) = A\sin(0) + B\cos(0) = B = 0\). So the cosine term vanishes: \(B = 0\).
2
At \(x = L\): \(\psi(L) = A\sin(kL) = 0\). Since \(A \neq 0\), we require \(kL = n\pi\) where \(n = 1, 2, 3, \ldots\)
3
Quantization: Solving for \(k\) gives \(k_n = \frac{n\pi}{L}\), and substituting back yields the quantized energies.

Quantized Energies

\(n\)
Quantum number. Must be a positive integer. \(n = 0\) is forbidden (wavefunction would vanish everywhere).
\(E_n \propto n^2\)
Energy grows as the square of \(n\). Higher levels are spaced further and further apart.
\(E_n \propto 1/L^2\)
A smaller box means higher energies. Tighter confinement = more kinetic energy.

Energy Level Diagram

Energy n=1
\(E_1\)
n=2
\(4E_1\)
n=3
\(9E_1\)
n=4
\(16E_1\)
\(3E_1\)
\(5E_1\)
\(7E_1\)

The Wavefunctions

Each wavefunction is a standing wave with \(n\) half-wavelengths fitting exactly inside the box.

Nodes
The wavefunction \(\psi_n\) has \(n - 1\) interior nodes (points where \(\psi = 0\) inside the box).
Normalization
The prefactor \(\sqrt{2/L}\) ensures \(\int_0^L |\psi_n|^2\,dx = 1\): the total probability is unity.

Visualizing \(\psi_n(x)\)

0 L
\(\psi_1\)
\(\psi_2\)
\(\psi_3\)

Probability Density \(|\psi_n|^2\)

The probability density tells us where we are most likely to find the particle:

\(n = 1\)
Maximum probability at the center of the box. Zero at both walls.
\(n = 2\)
Two maxima at \(x = L/4\) and \(x = 3L/4\). Zero probability at center.

Classical vs Quantum

Classical Quantum
Energy Any value \(E \ge 0\) Discrete: \(E_n = n^2 E_1\)
Minimum energy \(E = 0\) (at rest) \(E_1 > 0\) (zero-point energy)
Position Equally likely everywhere Depends on \(n\): nodes exist
At walls Bounces \(\psi = 0\) (probability = 0)

How to Solve Problems

1
Identify the system: Confirm infinite walls, find the box length \(L\) and particle mass \(m\).
2
Choose the formula: For energy use \(E_n = \frac{n^2 h^2}{8mL^2}\). For wavefunction use \(\psi_n = \sqrt{\frac{2}{L}}\sin\!\left(\frac{n\pi x}{L}\right)\).
3
Plug in \(n\): Read the quantum number from the problem. Remember \(n = 1, 2, 3, \ldots\) (never zero).
4
Compute and check units: Use SI throughout. Energy should come out in Joules (or convert to eV / kJ mol\(^{-1}\)).
5
Interpret: Sketch the wavefunction, count nodes, and verify your answer makes physical sense.

Example 1: Ground State Energy

An electron (\(m = 9.109 \times 10^{-31}\) kg) is confined to a box of length \(L = 1.0\) nm. Find the ground-state energy \(E_1\).

This is the minimum possible energy: the zero-point energy. All higher levels scale as \(n^2\): \(E_2 = 4 \times 0.376 = 1.50\text{ eV}\), etc.

Example 2: Transition Energy

For the same electron in a \(L = 1.0\) nm box, calculate the energy of the photon emitted when the electron transitions from \(n = 3\) to \(n = 1\).

To find the wavelength: \(\lambda = \frac{hc}{\Delta E} = \frac{1240\text{ eV}\cdot\text{nm}}{3.01\text{ eV}} \approx 412\text{ nm}\) (violet light).

Example 3: Probability Calculation

For a particle in the ground state (\(n = 1\)), what is the probability of finding it in the middle third of the box (\(L/3 \leq x \leq 2L/3\))?

Using the identity \(\sin^2\theta = \frac{1}{2}(1 - \cos 2\theta)\):

About 61% probability in the middle third: much higher than the classical \(33\%\), because the ground state peaks at the center.

Common Mistakes

✕ Setting \(n = 0\)
If \(n = 0\), then \(\psi = 0\) everywhere: no particle exists. The lowest allowed state is \(n = 1\).
✕ Forgetting \(n^2\) scaling
Energies go as \(n^2\), not \(n\). \(E_3 = 9\,E_1\), not \(3\,E_1\). This is a very common arithmetic error.
✕ Mixing up \(h\) and \(\hbar\)
With \(h\): \(E_n = \frac{n^2 h^2}{8mL^2}\). With \(\hbar\): \(E_n = \frac{n^2\pi^2\hbar^2}{2mL^2}\). Don't swap the prefactors.

Summary Table

Property Formula / Value
Allowed energies \(E_n = \frac{n^2 h^2}{8mL^2}\)
Wavefunctions \(\psi_n = \sqrt{\frac{2}{L}}\sin\!\left(\frac{n\pi x}{L}\right)\)
Quantum number \(n = 1, 2, 3, \ldots\)
Nodes (interior) \(n - 1\)
Zero-point energy \(E_1 = \frac{h^2}{8mL^2} > 0\)
Energy spacing \(\Delta E_{n \to n+1} = (2n+1)\,E_1\)

Question 1 of 5

What is the zero-point energy of a particle in a box?

Question 2 of 5

How many interior nodes does the wavefunction \(\psi_4\) have?

Question 3 of 5

If the box length \(L\) is doubled, what happens to the energy \(E_n\)?

Question 4 of 5

For a particle in the state \(n = 2\), where is the probability of finding it exactly zero inside the box?

Question 5 of 5

The energy gap between \(n = 3\) and \(n = 2\) is: