The Well
There is a place where walls are perfect.
It is a box, infinitesimally narrow, infinitely high. The potential inside is zero. The potential outside is infinite. A particle lives in this box. It cannot leave. It cannot even sense the outside. The walls are mathematical abstractions — step functions in an otherwise smooth universe — but they serve a purpose. They isolate. They create a system with nothing but the particle and its own uncertainty.
The particle is simple. It has mass $m$. It has no spin. It moves in one dimension, between $x=0$ and $x=L$. That is the entire universe. The Schrödinger equation inside the box is:
$$-\frac{\hbar^2}{2m}\frac{d^2\psi}{dx^2} = E\psi$$
This is an eigenvalue equation. The Hamiltonian is just the kinetic energy term, because the potential is zero everywhere inside. The solutions are sine waves:
$$\psi_n(x) = \sqrt{\frac{2}{L}}\sin\left(\frac{n\pi x}{L}\right)$$
where $n = 1, 2, 3, \ldots$. The integer $n$ counts the number of half-wavelengths that fit in the box. $n=1$ is the ground state — the longest wave, the lowest energy. $n=2$ has one node at the center. $n=3$ has two nodes. The wavefunctions are standing waves. The particle does not travel left or right. It stands still in the only sense that matters in quantum mechanics.
The energies are discrete:
$$E_n = \frac{n^2\pi^2\hbar^2}{2mL^2} = \frac{n^2h^2}{8mL^2}$$
The ground state energy is not zero. This is the zero-point energy. The particle cannot sit still at the bottom of the well with zero kinetic energy, because that would require knowing both position and momentum precisely — $\psi$ would be a delta function at $x=L/2$ with momentum $p=0$ — and the uncertainty principle forbids this. The minimum energy is $\pi^2\hbar^2/2mL^2$. Confinement creates energy. The narrower the box, the higher the ground state energy. This is why quantum dots fluoresce at higher frequencies when they are smaller. This is why matter does not collapse. The ground state energy is the price of confinement.
Each eigenstate has a definite energy, $E_n$, and nothing else. If you measure the energy, you get $E_n$ with probability one. But position is different. The probability density $|\psi_n(x)|^2$ is spread across the entire box. For $n=1$, it peaks at the center. For $n=2$, it peaks at $L/4$ and $3L/4$, and is zero at the center. As $n$ increases, the oscillations become more rapid, and the average of $|\psi_n(x)|^2$ approaches $1/L$, the uniform distribution. This is the correspondence principle in action: at large quantum numbers, quantum mechanics approaches classical mechanics. The classical probability density for a particle bouncing back and forth is also uniform.
Superposition changes everything. Place the particle in a state that is a superposition of two eigenstates:
$$|\psi\rangle = \frac{1}{\sqrt{2}}(|1\rangle + |2\rangle)$$
The energy measurement now yields $E_1$ or $E_2$, each with probability $1/2$. The state is no longer stationary. The two components rotate at different frequencies, and the probability density oscillates. The particle's wavefunction sloshes back and forth inside the box. The oscillation frequency is $(E_2 - E_1)/h$. This is a quantum beat. It is not a classical oscillation. The particle does not bounce. The probability density oscillates because the relative phase between the two eigenstates changes in time. This is interference between energy eigenstates. It is purely quantum.
The well has no classical analogue. A classical particle in a box bounces elastically off the walls. Its energy is continuous. Its position is definite. Its momentum flips sign at each bounce. The quantum particle does none of these things. It does not bounce. It stands still in an eigenstate. Its position is uncertain. Its momentum is uncertain. Its energy is definite. The classical limit emerges when you add eigenstates coherently, creating a wave packet that moves. The packet disperses. It takes many eigenstates to build it. The well teaches that quantization is not a small correction to classical mechanics. It is a different structure. The discrete spectrum is not a perturbation of a continuous spectrum. It is a fundamentally new feature of confinement.
The infinite well is a toy model. No real potential is infinite. But it is solvable. It is the simplest bound-state problem in quantum mechanics. It appears in textbooks because it teaches the essential concepts without the complications of special functions, asymptotic matching, or boundary conditions that are anything but zero. Remove the complications and you see the structure. The infinite well is structure stripped bare.