Particle in a Box, Atomic Shells, and the Birth of Energy Bands
Particle in a Box, Atomic Shells, and the Birth of Energy Bands
This lesson connects three ideas that look separate but build on each other: confining an electron in a box, counting how many electrons fit into each atomic shell, and what happens once you don't confine electrons in one box but line up a whole periodic row of them — a crystal. The last piece is where band structure comes from.
The particle in a box
Start with an electron confined to a 1D region of width , with infinite walls at and . Inside the box the potential is zero, so the time-independent Schrödinger equation is
The general solution is a mix of sine and cosine,
The walls force at and , since the electron can never be found outside the box. Plugging in kills the cosine term (). Plugging in requires
So only discrete wavevectors — and therefore discrete energies — are allowed:
The shapes follow directly from this formula. is a single smooth arch — half of a sine wave, no interior nodes. has one node in the middle, so it looks like an S-shaped wiggle: a hump up, then a hump down. has two interior nodes, giving three lobes that alternate sign.
Squaring gives the probability density , and squaring erases the sign information — every lobe becomes a positive-valued bump. That's why is one bump, is two bumps, and is three bumps of similar height, all sitting between the same two walls. The number of bumps in always equals ; the number of nodes in always equals . This is the general rule for any bound state: higher energy means more nodes, more oscillation, more localized probability lobes.

Quantum numbers and how many states each shell holds
For an electron bound in three dimensions (like in an atom), the orbital angular momentum quantum number labels the shape of the state, and for each there are orientations (magnetic quantum number ), each of which holds 2 electrons once you include spin. So the number of states in a subshell is :
- : states
- : states
- : states
- : states
This counting matters later: it's the same logic — count the distinct standing-wave states, then fill them two electrons at a time — that you use to fill up energy levels in a solid. The particle in a box gave you the idea of discrete quantized levels; this gives you the bookkeeping for how many electrons occupy each one before you're forced into the next level up.
Free electron gas: why -space needs three dimensions
Now put many free electrons in a 3D box of volume instead of a 1D line. The same boundary-condition logic applies in each direction independently, so the wavefunction separates and each direction gets its own quantum number:
It's tempting to think is just "the wavelength," since in 1D — so why would you need three of them? The resolution is that is really a vector, . Its magnitude sets the wavelength, but its direction sets which way the wave is traveling. A plane wave in 3D can propagate along any direction, not just left or right, so you need all three components to fully specify the state. Each allowed triplet is a single point sitting in an abstract 3D space — -space — and as you add more electrons to the box, you fill up more and more of these points, starting from the origin outward, because lower means lower energy.
At absolute zero, filling points from the center outward and stopping once you've placed all the electrons produces a filled sphere in -space, bounded by the Fermi wavevector . Everything inside the sphere is occupied, everything outside is empty.
From a free electron to an electron in a crystal
Free electrons only feel a flat, zero potential. A real electron in a crystal feels the periodic pull of the ion cores, repeating every lattice spacing. The Kronig-Penney model captures this with the simplest periodic potential possible: alternating flat wells and flat barriers, period — a well of width where , followed by a barrier of width where .
Because the potential is periodic, Bloch's theorem says the solution can't just be any wavefunction — it has to satisfy
where is the Bloch wavevector, the crystal analog of the free-electron . Inside a well, the electron behaves like a free particle with
Inside a barrier, if , the wavefunction decays/grows exponentially with
Matching and at each interface, and using the Bloch condition to relate the well region to the barrier region one period over, gives four linear equations in . A nontrivial solution exists only if a certain determinant vanishes. Taking the standard limit of thin, tall barriers (barrier width , height , with the product held fixed as a measure of barrier strength) collapses that determinant condition down to the compact form:
Why gaps in energy appear
This equation is the whole story. The left-hand side, , can only ever take values between and , because it's a cosine of a real number. The right-hand side depends only on the energy (through ) and the barrier strength — it has nothing to do with .
So pick an energy , compute the right-hand side. If it lands between and , you can find a real that solves the equation — this energy is allowed, and the electron can exist as a propagating Bloch wave with that . If the right-hand side falls outside , there is no real that works. The only way to formally satisfy the equation is for to become complex, which means the wave doesn't propagate — it decays. That energy is forbidden. This is exactly what "some will not equal " is pointing at: not every energy corresponds to a valid propagating state in the crystal, only the ones where the right-hand side stays bounded.
Sweeping continuously, the right-hand side oscillates in and out of the window, carving energy into an alternating sequence of allowed bands and forbidden gaps.

At low energy, near , the right-hand side stays close to 's free-particle behavior, so the lowest band looks almost like the ordinary free-electron parabola . As grows, the periodic potential increasingly distorts this, and gaps open up at the points where the right-hand side crosses outside . Each allowed band, once you sort them by energy, plays the same role that played for the particle in a box: a band index labeling successive groups of allowed energies, separated now not by simple quantization but by genuine forbidden gaps carved out by the crystal's periodicity.