โ† Part III/Infinite Square Well

2. Infinite Square Well

Reading time: ~30 minutes | Pages: 8

The "particle in a box": the simplest bound state problem with discrete energy levels.

The Potential

A particle confined to $0 \leq x \leq a$:

$$V(x) = \begin{cases} 0 & 0 < x < a \\ \infty & \text{otherwise} \end{cases}$$

Boundary conditions: $\psi(0) = \psi(a) = 0$

Energy Eigenstates

Inside the well ($0 < x < a$), solve:

$$-\frac{\hbar^2}{2m}\frac{d^2\psi}{dx^2} = E\psi$$

Applying boundary conditions gives:

$$\psi_n(x) = \sqrt{\frac{2}{a}}\sin\left(\frac{n\pi x}{a}\right), \quad n = 1, 2, 3, \ldots$$

These are normalized eigenstates

Energy Levels

Quantized energies:

$$E_n = \frac{n^2\pi^2\hbar^2}{2ma^2} = \frac{n^2h^2}{8ma^2}, \quad n = 1, 2, 3, \ldots$$

Key observations:

  • Energy levels grow as $n^2$
  • Ground state energy $E_1 > 0$ (zero-point energy)
  • No state with $n = 0$ (would violate uncertainty principle)
  • Energy spacing increases with $n$

Orthonormality

$$\int_0^a \psi_n^*(x)\psi_m(x)dx = \delta_{nm}$$

The eigenstates form a complete orthonormal basis

General Solution

Any state can be expanded:

$$\Psi(x,t) = \sum_{n=1}^{\infty} c_n \psi_n(x)e^{-iE_n t/\hbar}$$

where $c_n = \langle\psi_n|\Psi(x,0)\rangle$

Properties of Eigenstates

Number of nodes: $\psi_n$ has $n-1$ nodes (zeros)

Parity:

  • Odd $n$: symmetric about center ($x = a/2$)
  • Even $n$: antisymmetric

Classical limit: For large $n$, $|\psi_n|^2 \to$ uniform (correspondence principle)

Expectation Values

Position:

$$\langle x \rangle_n = \frac{a}{2}$$

Momentum:

$$\langle p \rangle_n = 0, \quad \langle p^2 \rangle_n = \frac{n^2\pi^2\hbar^2}{a^2}$$

Interactive Simulation

Run this Python code to compute and visualize the energy eigenstates. Try changing the box width or particle mass to see how the energy levels change!

Infinite Square Well Simulation

Python

Calculate wave functions and energy levels for a particle in a 1D box

infinite_well.py87 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server