An interactive demo created by Claude Opus 5.5, based on the lecture notes by Sang Hoon Lee (Chapter 7, Section 7.3, Degenerate Fermi Gases)
Fill a box with fermions and they stack up, one per state, into a sea whose surface is the Fermi energy. That simple rule explains why metals resist compression, why white dwarfs and neutron stars don’t collapse, and why the heat capacity of a metal vanishes as \(T \to 0\).
The most familiar degenerate gas is the conduction electrons inside a chunk of metal. At room temperature an electron’s quantum volume is \(v_Q \approx (4.3\ \mathrm{nm})^3\), while a typical metal has about one conduction electron per \((0.2\ \mathrm{nm})^3\). So \(V/N \ll v_Q\): the opposite of the Boltzmann limit, even though room temperature isn’t especially cold.
At \(T = 0\) the Fermi–Dirac distribution becomes a step function. Every state below \(\mu\) is occupied and every state above it is empty, and the Fermi energy is defined as \(\varepsilon_F \equiv \mu(T=0)\). Build the gas by adding one electron at a time into the lowest available state. For a box of side \(L\), the allowed energies are
so the energy grows with the squared distance from the origin in “\(n\)-space.” Each lattice point takes two electrons (spin up and down). In three dimensions the filled region is an eighth of a sphere. Drag the view to turn it, or switch to the flat two-dimensional version, a quarter of a disk.
Energies in units of \(h^2/8mL^2\). The continuum results for 3D are \(\varepsilon_F = (3N/\pi)^{2/3}\) and \(U = \tfrac35 N\varepsilon_F\); they get better as \(N\) grows.
Energies in units of \(h^2/8mL^2\). The continuum results for 2D are \(\varepsilon_F = 2N/\pi\) and \(U = \tfrac12 N\varepsilon_F\); they get better as \(N\) grows.
Counting the lattice points inside an eighth-sphere of radius \(n_{\max}\), with two spin orientations each,
This is an intensive quantity: it depends only on the number density \(N/V\). Integrating \(\varepsilon(\vec n)\) over the eighth-sphere in spherical coordinates gives the total energy and the average energy per electron:
Because \(U\) depends on \(V\) through \(\varepsilon_F \propto V^{-2/3}\), the electrons push outward. This degeneracy pressure has nothing to do with electrostatic repulsion between the electrons; it exists purely by virtue of the exclusion principle. Compressing the gas shortens every wavelength, which raises every energy:
The pressure itself is largely canceled by the electrostatic forces that hold the electrons inside the metal, but the bulk modulus is not, and the free-electron formula agrees with experiment within a factor of 3 or so for most metals. Pick a metal to check.
The number under each metal is measured ÷ predicted. Most land within a factor of 3.
With \(\varepsilon_F\) a few eV and \(k_{\mathrm{B}}T \approx 1/40\ \mathrm{eV}\) at room temperature, \(T \approx 0\) is an excellent approximation for metals. The Fermi temperature is purely hypothetical here, since metals melt and evaporate long before reaching it.
Problems 7.23 and 7.24. A white dwarf is essentially a degenerate electron gas, with nuclei mixed in to balance the charge and provide the gravitational attraction. Treat it as a uniform sphere with one proton and one neutron per electron, so \(N = M/2m_p\). The gravitational energy (from assembling the sphere shell by shell) and the kinetic energy of the electrons are
The total, \(A/R^2 - B/R\), has a minimum at \(R_{\text{eq}} = 2A/B \propto M^{-1/3}\): heavier white dwarfs are smaller. A neutron star is the same calculation with \(N = M/m_n\) and the neutron mass in place of \(m_e\).
Problem 7.22. If the particles are highly relativistic, \(\varepsilon = pc = (hc/2L)\sqrt{n_x^2+n_y^2+n_z^2}\), and the same counting gives
Now both \(U_{\text{kinetic}}\) and \(U_{\text{grav}}\) scale as \(1/R\), so \(U_{\text{total}} = C/R\) has no stable equilibrium radius, whatever the sign of \(C\). Since \(\varepsilon_F \propto M^{4/3}\), the average kinetic energy reaches \(mc^2\) at about 3 solar masses for a white dwarf and about 12 for a neutron star in this simple model.
The figure below uses the exact energy of each particle, \(\varepsilon = \sqrt{(pc)^2 + (mc^2)^2} - mc^2\), for the whole Fermi sea, so the kinetic energy goes as \(1/R^2\) when the star is large and as \(1/R\) when it is squeezed. Gravity always wins at small enough \(R\) once \(M\) passes a critical mass (about \(1.7\,M_\odot\) for a white dwarf and \(6.8\,M_\odot\) for a neutron star in this model): the minimum first moves in and gets shallower, then disappears, and the total energy falls without limit as \(R \to 0\).
A fuller relativistic treatment brings the white-dwarf limit down to the Chandrasekhar mass of about 1.4 \(M_\odot\). Real neutron stars also need general relativity and nuclear forces, and have radii of roughly 10 to 15 km.
At small but nonzero \(T\), electrons deep in the sea can’t absorb thermal energy: every nearby state is already full. Only those within about \(k_{\mathrm{B}}T\) of the Fermi energy can, and there are about \(N k_{\mathrm{B}}T/\varepsilon_F\) of them, each gaining about \(k_{\mathrm{B}}T\). So the extra energy goes as \(N(k_{\mathrm{B}}T)^2/\varepsilon_F\), and the heat capacity is proportional to \(T\), vanishing as \(T \to 0\) in agreement with the third law and with experiments on metals at low temperatures.
To be quantitative, rewrite the energy integral in terms of \(\varepsilon\) to find the density of states, the number of single-particle states per unit energy:
In \(n\)-space the states sit on a lattice, one per unit volume, so the number of states in a thin shell between \(n\) and \(n+dn\) grows like the shell’s size: constant in 1D, \(\propto n\) in 2D (a quarter circle), \(\propto n^2\) in 3D (an eighth of a sphere). But the energy goes as \(\varepsilon_n \propto n^2\), so equal steps in \(n\) become ever wider steps in \(\varepsilon\): \(d\varepsilon \propto n\,dn\). The same number of states is spread over a wider energy interval. In the figure each bar on top is carried to its energy \(\varepsilon_n\) and tipped over, so its height, the number of states in the shell, becomes a length along the energy axis. Compare that length with the spacing of the energies, \(\varepsilon_{n+1}-\varepsilon_n \propto n\): in 1D the lengths stay the same and the states become sparse; in 2D both grow like \(n\) and the density stays the same; in 3D the lengths grow like \(n^2\), the bars overlap and pile up, and the states become denser. The number of states per unit energy is
Picture the single-particle states as the seats of a theater and the electrons as its audience. The stage is the lowest energy, and each row further back is one step higher. How many seats a row has is the density of states: in a 3D box the rows get longer toward the back, as in a real auditorium (\(g \propto \sqrt{\varepsilon}\)); in 2D every row has the same length; in 1D the rows even get shorter. Every spatial state is a two-seat bench, one seat for spin up and one for spin down, and no seat takes two people. That is the exclusion principle.
Whether a seat is taken is the Fermi–Dirac occupancy \(\bar{n}_{\mathrm{FD}}(\varepsilon)\) of its row. At \(T = 0\) everyone sits as close to the stage as possible: the benches are full up to the Fermi energy and empty behind it. Warm the hall a little and only the people near the back of the crowd can move, to empty rows just behind; someone in the front rows would have to jump much more than \(k_{\mathrm{B}}T\) to find a free seat. The audience \(N\) is fixed, so the chemical potential \(\mu\), the row where a seat is taken with probability 1/2, shifts to keep everyone seated.
Rows are equally spaced in energy. The right-hand strip plots the fraction of each row’s seats that are taken against the Fermi–Dirac curve.
Things to try. Compare 1D, 2D and 3D at the same temperature: in 3D the rows behind the Fermi energy are longer than those in front, so the people moving back find room easily and \(\mu\) drops below \(\varepsilon_F\); in 1D the rows behind are shorter and \(\mu\) rises; in 2D it hardly moves. Switch to single seats and the same audience reaches much further back: spin doubles the number of electrons that fit below a given energy. And with two-seat benches, half-full benches show up only near \(\mu\). Far in front both seats are taken, far behind both are empty, because each seat is filled independently with probability \(\bar{n}_{\mathrm{FD}}\).
At any temperature, multiply by the probability that each state is occupied:
Because \(\bar{n}_{\mathrm{FD}}\) is symmetric about \(\mu\) but \(g(\varepsilon)\) increases with \(\varepsilon\), keeping the area (that is, \(N\)) fixed forces \(\mu\) to drop below \(\varepsilon_F\) as the gas warms. The demo solves these integrals numerically and compares them with the Sommerfeld expansion.
Chemical potential. It falls below zero once the gas is hot enough to behave classically.
Heat capacity. Linear in \(T\) at first, then leveling off at the classical equipartition value.
Integrate by parts so that \(d\bar{n}_{\mathrm{FD}}/d\varepsilon\), sharply peaked at \(\mu\), appears in the integrand. With \(x = (\varepsilon-\mu)/k_{\mathrm{B}}T\), extend the lower limit to \(-\infty\) and expand \(\varepsilon^{3/2}\) about \(\mu\). Three integrals are needed:
They give
That is a lot of work for a factor of \(\pi^2/4\) already guessed by dimensional analysis, but it is typical of how physicists make controlled approximations.
Problems 7.28 and 7.31. For fermions confined to an area \(A = L^2\), a quarter-disk in \(n\)-space gives
The density of states is a constant, so the number integral can be done exactly:
For \(k_{\mathrm{B}}T \ll \varepsilon_F\) this is \(\mu \approx \varepsilon_F\), and for \(k_{\mathrm{B}}T \gg \varepsilon_F\) it becomes \(\mu \approx k_{\mathrm{B}}T\ln(\varepsilon_F/k_{\mathrm{B}}T) = -k_{\mathrm{B}}T\ln(2A/NA_Q)\), the ordinary ideal gas result with the quantum area \(A_Q = h^2/2\pi m k_{\mathrm{B}}T\) and \(Z_{\text{int}} = 2\) for spin. The energy integral still needs the Sommerfeld approach, giving \(C_V = \pi^2 N k_{\mathrm{B}}^2 T/3\varepsilon_F\) at low temperature and \(C_V = Nk_{\mathrm{B}}\), the classical equipartition value for two degrees of freedom, at high temperature. Switch the demo to 2D gas to compare.
Problem 7.33. The attraction of the ions in a crystal groups the allowed electron energies into bands separated by gaps. In a conductor the Fermi energy lies inside a band, and the electrons near it are the “free” particles of the previous sections. In an insulator it lies inside a gap: at \(T = 0\) the band below, the valence band, is completely full and the band above, the conduction band, is empty, so there are no empty states close to the occupied ones and nothing can move. A semiconductor is an insulator whose gap is narrow enough for a few electrons to jump across at room temperature, leaving holes behind.
Model the conduction band with the free-gas density of states measured from its bottom, \(g(\varepsilon) = g_0\sqrt{\varepsilon - \varepsilon_c}\), and the valence band with its mirror image below \(\varepsilon_v\). Since \(\bar{n}_{\mathrm{FD}}\) is symmetric about \(\mu\) and \(g\) is symmetric about the middle of the gap, the number of electrons in the conduction band equals the number of holes in the valence band only if \(\mu\) sits exactly in the middle of the gap, at any temperature. With the gap width \(w = \varepsilon_c - \varepsilon_v \gg k_{\mathrm{B}}T\), the occupancy in the conduction band is \(\bar{n}_{\mathrm{FD}} \approx e^{-(\varepsilon-\varepsilon_F)/k_{\mathrm{B}}T}\), and
For silicon, \(w \approx 1.11\ \mathrm{eV}\), and at room temperature this gives roughly \(10^{10}\) conduction electrons per cubic centimeter, against about \(8.5 \times 10^{22}\ \mathrm{cm^{-3}}\) in copper. Because of the exponential, warming silicon from 300 K to 600 K multiplies the number by about \(10^5\), which is why a semiconductor conducts much better when hot, while a metal conducts better when cold. Double the gap to about 2 eV and only a few hundred electrons per cubic centimeter are left: an insulator.
The electron mass is used for both bands, as in the problem. Gap widths are typical values near room temperature.
Problem 7.36. Electrons have a magnetic moment, \(\pm\mu_{\mathrm{B}}\) along a field \(\vec B\) in the \(z\) direction, so in the field an “up” electron gains energy \(-\mu_{\mathrm{B}}B\) and a “down” electron \(+\mu_{\mathrm{B}}B\). In the paramagnets of Chapters 3 and 6 each spin could turn freely and the magnetization was \(M \approx N\mu_{\mathrm{B}}^2 B/k_{\mathrm{B}}T\) for \(\mu_{\mathrm{B}}B \ll k_{\mathrm{B}}T\). A degenerate electron gas responds far less. At most lattice points in \(n\)-space the up and down states are both filled, and their moments cancel; only “solo” electrons near the Fermi surface can flip and contribute.
Split the density of states \(g(\varepsilon) = \frac{3N}{2\varepsilon_F^{3/2}}\sqrt{\varepsilon}\), which already counts both spins, into two halves and shift them by the magnetic energy:
Both halves fill up to the same chemical potential. At \(T = 0\) the down electrons in the sliver between \(\varepsilon_F - \mu_{\mathrm{B}}B\) and \(\varepsilon_F + \mu_{\mathrm{B}}B\) have flipped to up, about \(\mu_{\mathrm{B}}B\,g(\varepsilon_F)/2\) of them, each changing \(N_\uparrow - N_\downarrow\) by 2, so
smaller than the free-spin value by a factor \(3k_{\mathrm{B}}T/2\varepsilon_F \ll 1\): the gas behaves as if only a fraction of order \(k_{\mathrm{B}}T/\varepsilon_F\) of its electrons were free to turn. At small nonzero temperature, with \(\delta \equiv \mu_{\mathrm{B}}B \ll k_{\mathrm{B}}T \ll \varepsilon_F\), integrate by parts and expand \((\varepsilon \pm \delta)^{3/2}\) about \(\mu\) as in the Sommerfeld expansion:
Expanding to first order in \(\delta/\mu\) and using \(\mu/\varepsilon_F \approx 1 - \frac{\pi^2}{12}(k_{\mathrm{B}}T/\varepsilon_F)^2\),
The magnetization barely depends on temperature, unlike the \(1/T\) Curie law of free spins. This is Pauli paramagnetism.
Energies in units of the zero-field Fermi energy \(\varepsilon_F\). The exact values solve for \(\mu\) at fixed \(N\) and integrate numerically.