Density of States

Every thermodynamic quantity — energy, entropy, pressure, heat capacity — is ultimately a sum over the microstates a system can occupy. But for N∼1023N\sim10^{23} degrees of freedom the number of microstates is astronomically large and their energies form a spectrum so dense it is effectively continuous. Summing them one by one is hopeless. The density of states g(E)g(E) is the accounting device that makes the sum tractable: it tells you how many microstates lie in each thin energy shell, so that any sum over states collapses into a single one-dimensional integral over energy. Formally, you first build the cumulative count Σ(E)\Sigma(E) — the number of microstates with energy below EE, which is just the accessible phase-space volume up to that energy measured in Planck cells of size hdNh^{dN}. Its derivative g(E)=dΣ/dEg(E)=\mathrm{d}\Sigma/\mathrm{d}E is the density of states. Geometrically Σ(E)\Sigma(E) is the phase-space volume enclosed by the constant-energy surface H=EH=E, and g(E)g(E) is the rate at which that volume grows as the shell expands. Crucially g(E)g(E) is purely kinematic: it depends only on the shape of the Hamiltonian's energy surfaces, never on temperature or which ensemble you choose. It is a property of the spectrum itself. Once you know g(E)g(E), the whole machinery follows in a few lines. The microcanonical entropy is S(E)=kBln⁡[g(E) ΔE]S(E)=k_{\mathrm B}\ln[g(E)\,\Delta E]; the canonical partition function is the Laplace transform Z(β)=∫dE g(E) e−βEZ(\beta)=\int\mathrm{d}E\,g(E)\,e^{-\beta E}, so g(E)g(E) and Z(β)Z(\beta) are inverse-Laplace partners. The shape of g(E)g(E) is where the physics hides: a free particle gives a smooth power law Ed/2−1E^{d/2-1} — in three dimensions the celebrated E\sqrt{E} that governs electronic heat capacity and Fermi gases; a crystal lattice gives the phonon density of states with its van Hove singularities; and a system near a phase transition develops non-analyticities precisely because g(E)g(E) becomes singular. To read g(E)g(E) is to read the physics.

Key takeaways
  • The density of states g(E)g(E) counts microstates per unit energy: the number of states with energy in [E,E+dE][E,E+\mathrm{d}E] is g(E) dEg(E)\,\mathrm{d}E.
  • It is the derivative of the cumulative count, g(E)=dΣ/dEg(E)=\mathrm{d}\Sigma/\mathrm{d}E, where Σ(E)\Sigma(E) is the accessible phase-space volume (in units of hdNh^{dN}) up to energy EE.
  • It converts intractable sums over discrete states into energy integrals: ∑statesf(En)→∫dE g(E) f(E)\sum_{\text{states}} f(E_n)\to\int\mathrm{d}E\,g(E)\,f(E).
  • For a free particle in dd dimensions g(ε)∝εd/2−1g(\varepsilon)\propto\varepsilon^{d/2-1}: in 3D g∝εg\propto\sqrt{\varepsilon}, in 2D it is constant, in 1D it diverges as ε−1/2\varepsilon^{-1/2}.
  • Entropy S=kBln⁡[g(E) ΔE]S=k_{\mathrm B}\ln[g(E)\,\Delta E] and the partition function Z=∫dE g(E) e−βEZ=\int\mathrm{d}E\,g(E)\,e^{-\beta E} both reduce thermodynamics to knowing g(E)g(E).
  • Singularities of g(E)g(E) — van Hove kinks, band edges — signal sharp physics: phase transitions, condensation, spectral structure.
  • Key idea: g(E) dEg(E)\,\mathrm{d}E is the number of microstates with energy in [E,E+dE][E,E+\mathrm{d}E]; it equals dΣ/dE\mathrm{d}\Sigma/\mathrm{d}E, the rate at which accessible phase-space volume grows, and it turns every sum over states into an energy integral.

Where this lives today

The density of states is the single most-measured theoretical quantity in condensed-matter physics. Scanning tunnelling spectroscopy maps the local electronic DOS of a surface atom by atom; angle-resolved photoemission (ARPES) reconstructs the full g(ε)g(\varepsilon) of a material's bands; and the ε\sqrt\varepsilon law directly sets the electronic contribution to a metal's heat capacity that experimentalists isolate at low temperature. In neutron and inelastic X-ray scattering the phonon DOS is read straight off the spectrum, and its van Hove kinks are used to fingerprint lattice dynamics. The idea reaches far beyond solids. In photonics, engineering the photonic density of states — via cavities and photonic crystals — controls spontaneous emission through the Purcell effect. In gravitational-wave and quantum-optics experiments the DOS of a resonator sets the mode structure the field couples to. Every time a modern experiment "counts modes per unit frequency," it is measuring a density of states.

The physical picture

Picture phase space filled uniformly with microstates — one per cell of volume hdNh^{dN}. Draw the surface H=EH=E. Everything inside it is Σ(E)\Sigma(E) states; the density of states is how fast that count grows when you push the surface outward by dE\mathrm{d}E. Equivalently, g(E)g(E) is the area of the energy surface divided by the spacing to the next surface. A steep, tightly nested family of surfaces means many states per unit energy; a sparse family means few. Think of g(E)g(E) as the histogram of the energy spectrum in the continuum limit. Where energy levels bunch together, g(E)g(E) is large; where they thin out or hit a band edge, g(E)g(E) dips or vanishes. All of thermodynamics is this histogram convolved with an ensemble weight — the Boltzmann factor for the canonical ensemble, a sharp shell for the microcanonical. For a macroscopic system g(E)g(E) is a staggeringly steep function. For NN free particles it climbs like E(3N/2)−1E^{(3N/2)-1}, so across the energy width of a single shell it increases by enormous factors. This steepness is the hidden reason the microcanonical, canonical, and grand-canonical ensembles all agree: the product g(E) e−βEg(E)\,e^{-\beta E} — a violently rising density against a falling Boltzmann factor — is sharply peaked at the most probable energy E∗E^{*}, which is nothing but the macroscopic internal energy. Relative fluctuations about E∗E^{*} shrink as N−1/2N^{-1/2}.

Figure
Cumulative count and its slope: g(E) = dΣ/dE
Phase space filled with microstates H=E inside = Σ(E) states; shell = g(E) dE E Σ Σ(E) ∝ E^(3N/2) dE slope = g(E)
Figure
The dimensional fingerprint: g(ε) ∝ ε^(d/2−1)
One free particle: the density of states knows the dimension ε g(ε) 1D: ε^(−1/2) diverges at threshold 2D: constant 3D: √ε vanishes at ε=0 the punchline: same particle, three shapes — the exponent is the spatial dimension

The core equations

The starting object is not gg itself but the cumulative count Σ(E)\Sigma(E): the total number of microstates whose energy does not exceed EE. Semiclassically this is the accessible phase-space volume divided by one Planck cell per quantum state, with the Gibbs 1/N!1/N! for indistinguishable particles.

Σ(E)=1hdN N!∫H(q,p)≤EddNq ddNp(1)\Sigma(E)=\frac{1}{h^{dN}\,N!}\int_{H(\mathbf q,\mathbf p)\le E}\mathrm d^{dN}q\,\mathrm d^{dN}p \qquad (1)

where: Σ(E)\Sigma(E) — number of microstates with energy ≤E\le E; HH — Hamiltonian; hh — Planck's constant setting the cell size hdNh^{dN}; N!N! — Gibbs factor for indistinguishable particles; dd — spatial dimension per particle. Physically, Σ\Sigma is a volume in "number of states" units — a pure count once divided by hdNh^{dN}. The density of states is the derivative of that count, and equivalently the phase-space integral restricted to the energy shell by a Dirac delta. These two forms are identical because differentiating the enclosed volume selects its boundary.

g(E)=dΣdE=1hdNN!∫ddNq ddNp  δ ⁣(E−H(q,p))(2)g(E)=\frac{\mathrm d\Sigma}{\mathrm dE}=\frac{1}{h^{dN}N!}\int\mathrm d^{dN}q\,\mathrm d^{dN}p\;\delta\!\big(E-H(\mathbf q,\mathbf p)\big) \qquad (2)

where: g(E)g(E) — density of states, in states per unit energy; δ(⋅)\delta(\cdot) — Dirac delta picking out the shell H=EH=E. Read it as: g(E) dEg(E)\,\mathrm dE is the volume of the thin slab E<H<E+dEE<H<E+\mathrm dE, measured in cells. The entire payoff is that a sum over the discrete spectrum becomes a one-dimensional integral weighted by gg. This is the single most-used identity in the subject.

∑states nf(En)  ⟶  ∫0∞dE  g(E) f(E)(3)\sum_{\text{states }n} f(E_n)\;\longrightarrow\;\int_0^{\infty}\mathrm dE\;g(E)\,f(E) \qquad (3)

where: EnE_n — energy of microstate nn; ff — any function of energy (Boltzmann factor, occupation number, response). The replacement is exact in the continuum limit and controls its own error through the level spacing 1/g(E)1/g(E). The microcanonical entropy is just the logarithm of the shell count. Whether you use the surface count g(E) ΔEg(E)\,\Delta E or the enclosed volume Σ(E)\Sigma(E) makes no difference at leading order in NN — a fact proved below.

S(E)=kBln⁡ ⁣[g(E) ΔE]  ≃  kBln⁡Σ(E)(4)S(E)=k_{\mathrm B}\ln\!\big[g(E)\,\Delta E\big]\;\simeq\;k_{\mathrm B}\ln\Sigma(E) \qquad (4)

where: SS — Boltzmann entropy; kBk_{\mathrm B} — Boltzmann constant, 1.380649×10−23 J/K1.380649\times10^{-23}\,\mathrm{J/K} (exact, SI); ΔE\Delta E — shell width, whose value shifts SS only by O(ln⁡N)O(\ln N). The shell width drops out of macroscopic thermodynamics. The canonical partition function is the Laplace transform of gg — the reason g(E)g(E) and Z(β)Z(\beta) carry the same information, one resolved in energy and the other in temperature.

Z(β)=∫0∞dE  g(E) e−βE(5)Z(\beta)=\int_0^{\infty}\mathrm dE\;g(E)\,e^{-\beta E} \qquad (5)

where: ZZ — canonical partition function; β=1/(kBT)\beta=1/(k_{\mathrm B}T) — inverse temperature. Because e−βEe^{-\beta E} is a decaying kernel, Z(β)Z(\beta) is dominated by the energies where g(E)e−βEg(E)e^{-\beta E} peaks. For a single free non-relativistic particle in a three-dimensional box the density of states takes its most famous closed form — the ε\sqrt{\varepsilon} law. Everything about electronic heat capacity, Fermi pressure, and Bose–Einstein condensation traces back to this one shape.

g3D(ε)=V4π2(2mℏ2)3/2ε(6)g_{\mathrm{3D}}(\varepsilon)=\frac{V}{4\pi^{2}}\Big(\frac{2m}{\hbar^{2}}\Big)^{3/2}\sqrt{\varepsilon} \qquad (6)

where: ε\varepsilon — single-particle energy; VV — box volume; mm — particle mass; ℏ\hbar — reduced Planck constant. This is the spinless result; a spin-ss particle carries an extra degeneracy factor (2s+1)(2s+1), e.g. 22 for electrons. Finally, the steepness of gg is quantified by the energy fluctuation, which is tied to the heat capacity and is relatively tiny for macroscopic NN.

⟨(ΔE)2⟩=kBT2CV,⟨(ΔE)2⟩⟨E⟩∼1N(7)\big\langle(\Delta E)^2\big\rangle=k_{\mathrm B}T^{2}C_V,\qquad \frac{\sqrt{\langle(\Delta E)^2\rangle}}{\langle E\rangle}\sim\frac{1}{\sqrt N} \qquad (7)

where: CVC_V — heat capacity at constant volume; ⟨E⟩\langle E\rangle — mean energy, which is where g(E)e−βEg(E)e^{-\beta E} peaks. The narrowness of that peak is why one energy dominates the ensemble.

Derivation ADensity of states of a free particle in d dimensions

The goal is to derive the dimensional fingerprint g(ε)∝εd/2−1g(\varepsilon)\propto\varepsilon^{d/2-1} from scratch by counting plane-wave modes inside a constant-energy sphere in wavevector space, and to pin down the exact prefactor rather than just the scaling. The strategy is to count states as V ddk/(2π)dV\,\mathrm d^dk/(2\pi)^d up to the sphere ∣k∣=kε|\mathbf k|=k_\varepsilon set by the dispersion ϵ(k)=ℏ2k2/2m\epsilon(\mathbf k)=\hbar^2k^2/2m, then differentiate. Watch the factor of Γ(d/2+1)\Gamma(d/2+1) from the dd-ball volume — it is exactly what turns the different dimensions into their qualitatively different behaviours (divergent, flat, vanishing).

Result (free-particle DOS).

gd(ε)=V2dπd/2Γ(d/2)(2mℏ2)d/2ε d/2−1g_d(\varepsilon)=\frac{V}{2^{d}\pi^{d/2}\Gamma(d/2)}\Big(\frac{2m}{\hbar^{2}}\Big)^{d/2}\varepsilon^{\,d/2-1}

Step 1. Count modes inside the energy sphere. With periodic boundary conditions each mode occupies (2π)d/V(2\pi)^d/V of kk-space, so the cumulative count up to radius kεk_\varepsilon is N(ε)=V(2π)d Vd kε d\mathcal N(\varepsilon)=\dfrac{V}{(2\pi)^d}\,V_d\,k_\varepsilon^{\,d}, where Vd=πd/2/Γ(d/2+1)V_d=\pi^{d/2}/\Gamma(d/2+1) is the volume of the unit dd-ball.

Step 2. Insert the dispersion kε=2mε/ℏk_\varepsilon=\sqrt{2m\varepsilon}/\hbar, giving N(ε)=V(2π)dπd/2Γ(d/2+1)(2mεℏ2)d/2∝εd/2\mathcal N(\varepsilon)=\dfrac{V}{(2\pi)^d}\dfrac{\pi^{d/2}}{\Gamma(d/2+1)}\Big(\dfrac{2m\varepsilon}{\hbar^2}\Big)^{d/2}\propto\varepsilon^{d/2}. Why the power is d/2d/2: the number of modes grows as the volume of the kk-sphere, ∝kd\propto k^d, and k∝εk\propto\sqrt\varepsilon, so N∝εd/2\mathcal N\propto\varepsilon^{d/2} regardless of the prefactor.

Step 3. Differentiate: gd(ε)=dNdε=d2 N(ε)εg_d(\varepsilon)=\dfrac{\mathrm d\mathcal N}{\mathrm d\varepsilon}=\dfrac d2\,\dfrac{\mathcal N(\varepsilon)}{\varepsilon}. Using Γ(d/2+1)=(d/2)Γ(d/2)\Gamma(d/2+1)=(d/2)\Gamma(d/2) cancels the d/2d/2 against the ball-volume denominator and produces the boxed prefactor V/[2dπd/2Γ(d/2)] (2m/ℏ2)d/2V/[2^d\pi^{d/2}\Gamma(d/2)]\,(2m/\hbar^2)^{d/2}.

Step 4. Read off the cases. The exponent d/2−1d/2-1 is −1/2,  0,  +1/2-1/2,\;0,\;+1/2 for d=1,2,3d=1,2,3: the one-dimensional DOS diverges at the band bottom, the two-dimensional DOS is flat, and the three-dimensional DOS vanishes as ε\sqrt\varepsilon. Setting d=3d=3 reproduces equation (6) exactly, since 23π3/2Γ(3/2)=8π3/2(π/2)=4π22^3\pi^{3/2}\Gamma(3/2)=8\pi^{3/2}(\sqrt\pi/2)=4\pi^2. Verified: matches Pathria & Beale §8.1 and Kardar Ch. 4; the sympy check reproduces the closed form and the d=3d=3 prefactor V/4π2V/4\pi^2 symbolically for d=1,2,3d=1,2,3.

Go deeper · Derivation B · 1 minMicrocanonical g(E) of the classical ideal gas and the Sackur–Tetrode entropy
Derivation BMicrocanonical g(E) of the classical ideal gas and the Sackur–Tetrode entropy

Here the goal is to compute Σ(E)\Sigma(E) and g(E)g(E) for NN free particles and show that taking the logarithm returns the standard ideal-gas entropy — the Sackur–Tetrode formula — thereby closing the loop between "counting microstates" and "measured absolute entropy". The route is to separate the position integral (trivially VNV^N) from the momentum integral (the volume of a 3N3N-dimensional ball), then apply Stirling. The subtlety to watch is the 1/N!1/N!: without it the entropy is not extensive and the Gibbs paradox appears.

Result (ideal-gas DOS).

g(E)=VNh3NN! (2πm)3N/2Γ(3N/2) E3N/2−1g(E)=\frac{V^{N}}{h^{3N}N!}\,\frac{(2\pi m)^{3N/2}}{\Gamma(3N/2)}\,E^{3N/2-1}

Step 1. Separate coordinates and momenta. The spatial integral over the box gives VNV^N; the energy constraint ∑ipi2≤2mE\sum_i p_i^2\le 2mE is a 3N3N-ball of radius R=2mER=\sqrt{2mE}, so Σ(E)=VNh3NN!∫∣p∣≤Rd3Np\Sigma(E)=\dfrac{V^N}{h^{3N}N!}\displaystyle\int_{|\mathbf p|\le R}\mathrm d^{3N}p.

Step 2. Use the nn-ball volume ∫∣p∣≤Rdnp=πn/2Γ(n/2+1)Rn\displaystyle\int_{|\mathbf p|\le R}\mathrm d^{n}p=\dfrac{\pi^{n/2}}{\Gamma(n/2+1)}R^{n} with n=3Nn=3N, giving Σ(E)=VNh3NN!(2πmE)3N/2Γ(3N/2+1)∝E3N/2\Sigma(E)=\dfrac{V^N}{h^{3N}N!}\dfrac{(2\pi mE)^{3N/2}}{\Gamma(3N/2+1)}\propto E^{3N/2}.

Step 3. Differentiate: g(E)=dΣdE=3N2E Σ(E)g(E)=\dfrac{\mathrm d\Sigma}{\mathrm dE}=\dfrac{3N}{2E}\,\Sigma(E), and Γ(3N/2+1)=(3N/2)Γ(3N/2)\Gamma(3N/2+1)=(3N/2)\Gamma(3N/2) turns this into the boxed g(E)∝E3N/2−1g(E)\propto E^{3N/2-1}. Why the derivative pulls down 3N/2E3N/2E: Σ∝E3N/2\Sigma\propto E^{3N/2}, so dln⁡Σ/dE=(3N/2)/E\mathrm d\ln\Sigma/\mathrm dE=(3N/2)/E.

Step 4. Take the log and apply Stirling (ln⁡N!≈Nln⁡N−N\ln N!\approx N\ln N-N, ln⁡Γ(3N/2)≈3N2ln⁡3N2−3N2\ln\Gamma(3N/2)\approx\frac{3N}2\ln\frac{3N}2-\frac{3N}2). Collecting terms with E=32NkBTE=\tfrac32Nk_{\mathrm B}T gives S=kBln⁡Σ=NkB[ln⁡(VN(4πmE3Nh2)3/2)+52]S=k_{\mathrm B}\ln\Sigma=Nk_{\mathrm B}\big[\ln\big(\tfrac VN(\tfrac{4\pi mE}{3Nh^2})^{3/2}\big)+\tfrac52\big] — the Sackur–Tetrode entropy. Verified: reproduces the Sackur–Tetrode entropy (Pathria §1.5, Reif §7.3); for argon at STP the sympy check gives S/NkB≈18.5S/Nk_{\mathrm B}\approx18.5, a positive extensive value in agreement with tabulated absolute entropies.

Go deeper · Derivation C · 1 ming(E) and Z(β) are inverse-Laplace partners
Derivation Cg(E) and Z(β) are inverse-Laplace partners

The aim is to show that recovering g(E)g(E) from the partition function is an inverse Laplace transform, and that evaluating it by saddle point reproduces g(E)=eS(E)/kBg(E)=e^{S(E)/k_{\mathrm B}} and the equivalence of ensembles in one stroke. The strategy is to write the Bromwich inversion of equation (5) and locate the saddle in the complex β\beta-plane; the saddle condition will turn out to be exactly "the temperature whose mean energy equals EE". The thing to watch is that the exponent at the saddle is a Legendre transform — that is what identifies it with entropy.

Result (Bromwich inversion).

g(E)=12πi∫c−i∞c+i∞dβ  Z(β) eβEg(E)=\frac{1}{2\pi i}\int_{c-i\infty}^{c+i\infty}\mathrm d\beta\;Z(\beta)\,e^{\beta E}

Step 1. Since Z(β)=∫0∞g(E)e−βEdEZ(\beta)=\int_0^\infty g(E)e^{-\beta E}\mathrm dE is a Laplace transform, the inverse is the Bromwich integral above; for large NN its integrand exp⁡[βE+ln⁡Z(β)]\exp[\beta E+\ln Z(\beta)] is sharply peaked, so evaluate by saddle point: g(E)≈exp⁡[β∗E+ln⁡Z(β∗)]g(E)\approx\exp[\beta^* E+\ln Z(\beta^*)] times a Gaussian prefactor.

Step 2. The saddle condition ∂β[βE+ln⁡Z]=0\partial_\beta[\beta E+\ln Z]=0 gives E=−∂βln⁡Z∣β∗=⟨E⟩β∗E=-\partial_\beta\ln Z|_{\beta^*}=\langle E\rangle_{\beta^*}: the saddle temperature is precisely the one whose canonical mean energy equals the fixed microcanonical energy EE. This IS the statement of ensemble equivalence.

Step 3. At the saddle, ln⁡g(E)≈β∗E+ln⁡Z(β∗)=β∗(E−F)=S(E)/kB\ln g(E)\approx\beta^* E+\ln Z(\beta^*)=\beta^*(E-F)=S(E)/k_{\mathrm B}, using F=−kBTln⁡ZF=-k_{\mathrm B}T\ln Z and S=(E−F)/TS=(E-F)/T. Hence g(E)=eS(E)/kBg(E)=e^{S(E)/k_{\mathrm B}} — inverse-Laplacing ZZ returns the entropy. Why this closes the circle: gg determines ZZ by Laplace transform (eq. 5) and ZZ determines gg by inverse transform, with the saddle relating microcanonical EE to canonical TT. *Verified: standard Darwin–Fowler / saddle-point method (Pathria §3.2, Kardar Ch. 4); the sympy check confirms the Laplace pair g(E)=AEs−1↔Z=AΓ(s)β−sg(E)=AE^{s-1}\leftrightarrow Z=A\Gamma(s)\beta^{-s} for s=3N/2s=3N/2.*

Limiting cases

How g(E)g(E) specializes across the standard regimes:

CaseResultMeaning
Free particle, dd dimensionsg(ε)∝εd/2−1g(\varepsilon)\propto\varepsilon^{d/2-1}The exponent is the spatial dimension: 1D diverges at threshold, 2D is flat, 3D vanishes as ε\sqrt\varepsilon.
NN-particle ideal gasg(E)∝E3N/2−1g(E)\propto E^{3N/2-1}A staggeringly steep power law; its logarithm is the Sackur–Tetrode entropy.
Harmonic (phonons), Debyeg(ω)∝ω2g(\omega)\propto\omega^{2} (3D, low ω\omega)Debye's ω2\omega^2 law gives the T3T^3 heat capacity of insulators at low temperature.
Relativistic / ultrarelativisticϵ=c∣p∣⇒g(ε)∝ε2\epsilon=c|\mathbf p|\Rightarrow g(\varepsilon)\propto\varepsilon^{2} (3D)Photons and ultrarelativistic gases; underlies the Stefan–Boltzmann law.
Sharp level / band edgegg develops a van Hove kink or a delta spikeNon-analyticities of gg mark spectral structure and, in the thermodynamic limit, phase transitions.

Worked examples

Example 1 — Number of electron states in a metal box (a real count). Estimate how many single-electron quantum states lie below ε=1 eV\varepsilon=1\ \mathrm{eV} in a cube of copper of volume V=1 cm3=10−6 m3V=1\ \mathrm{cm}^3=10^{-6}\ \mathrm m^3, and the density of states there, including the spin factor 22.

Step 1. The cumulative count with spin is N(ε)=2⋅V6π2(2mεℏ2)3/2\mathcal N(\varepsilon)=2\cdot\dfrac{V}{6\pi^2}\Big(\dfrac{2m\varepsilon}{\hbar^2}\Big)^{3/2}. Plug in m=9.109×10−31 kgm=9.109\times10^{-31}\,\mathrm{kg}, ℏ=1.0546×10−34 J s\hbar=1.0546\times10^{-34}\,\mathrm{J\,s}, ε=1 eV=1.602×10−19 J\varepsilon=1\,\mathrm{eV}=1.602\times10^{-19}\,\mathrm J.

Step 2. Compute 2mε/ℏ2=2(9.109×10−31)(1.602×10−19)/(1.0546×10−34)2=2.62×1019 m−22m\varepsilon/\hbar^2=2(9.109\times10^{-31})(1.602\times10^{-19})/(1.0546\times10^{-34})^2=2.62\times10^{19}\ \mathrm m^{-2}, so (2mε/ℏ2)3/2=1.34×1029 m−3(2m\varepsilon/\hbar^2)^{3/2}=1.34\times10^{29}\ \mathrm m^{-3}.

Step 3. Then N=2⋅10−66π2⋅1.34×1029=4.5×1021\mathcal N=2\cdot\dfrac{10^{-6}}{6\pi^2}\cdot1.34\times10^{29}=\mathbf{4.5\times10^{21}} states below 1 eV.

Step 4. The density of states there is g(ε)=32Nε=324.5×10211.602×10−19=4.25×1040 states/Jg(\varepsilon)=\dfrac32\dfrac{\mathcal N}{\varepsilon}=\dfrac32\dfrac{4.5\times10^{21}}{1.602\times10^{-19}}=4.25\times10^{40}\ \mathrm{states/J}, i.e. g⋅(1 eV)=6.8×1021g\cdot\mathrm{(1\,eV)}=\mathbf{6.8\times10^{21}} states per eV. Even a cubic centimetre holds an astronomically dense spectrum — which is exactly why the sum-to-integral replacement is not just convenient but essentially exact.

Example 2 — Where the canonical energy sits (steepness of g). For a monatomic ideal gas of N=6.0×1023N=6.0\times10^{23} atoms, show that the product g(E)e−βEg(E)e^{-\beta E} peaks at E∗=32NkBTE^{*}=\tfrac32Nk_{\mathrm B}T and that the relative energy fluctuation is negligible.

Step 1. With g(E)∝E3N/2−1g(E)\propto E^{3N/2-1}, maximize ln⁡[g(E)e−βE]=(3N2−1)ln⁡E−βE+const\ln[g(E)e^{-\beta E}]=(\tfrac{3N}2-1)\ln E-\beta E+\text{const}. Setting the derivative to zero: 3N/2−1E−β=0\dfrac{3N/2-1}{E}-\beta=0.

Step 2. Solve: E∗=(3N2−1)kBT≈32NkBTE^{*}=(\tfrac{3N}2-1)k_{\mathrm B}T\approx\tfrac32Nk_{\mathrm B}T for macroscopic NN. So the most probable energy is exactly the equipartition internal energy — E∗=32NkBTE^{*}=\tfrac32Nk_{\mathrm B}T.

Step 3. The width follows from the second derivative: ⟨(ΔE)2⟩=kBT2CV=kBT2⋅32NkB=32N(kBT)2\langle(\Delta E)^2\rangle=k_{\mathrm B}T^2C_V=k_{\mathrm B}T^2\cdot\tfrac32Nk_{\mathrm B}=\tfrac32N(k_{\mathrm B}T)^2, so ⟨(ΔE)2⟩/E∗=32N (kBT)/(32NkBT)=2/(3N)\sqrt{\langle(\Delta E)^2\rangle}/E^{*}=\sqrt{\tfrac32N}\,(k_{\mathrm B}T)/(\tfrac32Nk_{\mathrm B}T)=\sqrt{2/(3N)}.

Step 4. For N=6.0×1023N=6.0\times10^{23} this is 2/(1.8×1024)≈1.1×10−12\sqrt{2/(1.8\times10^{24})}\approx\mathbf{1.1\times10^{-12}}. The peak of g(E)e−βEg(E)e^{-\beta E} is so sharp that the microcanonical and canonical descriptions are indistinguishable — the physical content of ensemble equivalence.

Origins · 1 mindensity of states and how this was discovered
DO
density of states
concept — 20th century · The bookkeeping heart of quantum statistics

The density of states is not one person's theorem but a bookkeeping idea that crystallized as quantum statistics matured. It appears implicitly in Planck's 1900 mode-counting for blackbody radiation, explicitly in Debye's 1912 phonon theory (the ω2\omega^2 law), and reaches its modern form in Sommerfeld's 1927 free-electron theory of metals, where the ε\sqrt\varepsilon DOS at the Fermi surface explains the linear-in-TT electronic heat capacity. Léon van Hove's 1953 analysis of its singularities tied the DOS to the topology of the energy bands themselves.

History
1900
— Planck counts electromagnetic modes in a cavity, an implicit density of states for photons.
1912
— Debye derives the phonon density of states g(ω)∝ω2g(\omega)\propto\omega^2 and the low-temperature T3T^3 heat-capacity law.
1927
— Sommerfeld's free-electron theory uses the ε\sqrt\varepsilon DOS to explain the small linear electronic heat capacity of metals.
1928
— Bloch's band theory makes the density of states a defining fingerprint of a crystal's spectrum.
1953
— Van Hove classifies the singularities of the density of states by the critical points of the dispersion.

Going further

References. Pathria & Beale, Statistical Mechanics, 3rd ed., §1.4, §2.4, §8.1 · Kardar, Statistical Physics of Particles, Ch. 4 · Reif, Fundamentals of Statistical and Thermal Physics, §2.5, §7.3 · Ashcroft & Mermin, Solid State Physics, Ch. 2 (electronic DOS) · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, Ch. 3, 7.

Provenance. All equations are standard textbook results. A verifier should: (1) confirm g(E)=dΣ/dEg(E)=\mathrm d\Sigma/\mathrm dE equals the delta-function shell integral; (2) derive the free-particle gd(ε)∝εd/2−1g_d(\varepsilon)\propto\varepsilon^{d/2-1} by kk-space counting and check the d=3d=3 prefactor V/4π2 (2m/ℏ2)3/2V/4\pi^2\,(2m/\hbar^2)^{3/2}; (3) reproduce the ideal-gas g(E)∝E3N/2−1g(E)\propto E^{3N/2-1} and its Sackur–Tetrode entropy; (4) confirm Z(β)Z(\beta) is the Laplace transform of g(E)g(E) with the pair AEs−1↔AΓ(s)β−sAE^{s-1}\leftrightarrow A\Gamma(s)\beta^{-s}. Numerical anchors quoted: ∼4.5×1021\sim4.5\times10^{21} electron states below 1 eV in 1 cm³, g≈6.8×1021g\approx6.8\times10^{21} states/eV there, relative energy fluctuation ∼10−12\sim10^{-12} at N=6×1023N=6\times10^{23}.

Builds on: Microstates and Macrostates · Phase Space · Accessible Phase Space and Energy Shells · Fundamental Postulate of Equal A Priori Probabilities Leads to: Boltzmann Entropy · Statistical Ensembles · Gibbs Entropy

Is g(E) the same as the number of states, or the number per unit energy?

Per unit energy. g(E)g(E) has units of inverse energy; the actual (dimensionless) count in a window is g(E) dEg(E)\,\mathrm dE. The cumulative object Σ(E)=∫0Eg(E′) dE′\Sigma(E)=\int_0^E g(E')\,\mathrm dE' is the dimensionless number of states below EE. Mixing these up is the most common slip: g(E)g(E) alone is not a count, and Σ(E)\Sigma(E) alone is not a density.

Why does the 3D density of states vanish at zero energy but the 1D one blow up?

Both come from the same formula g(ε)∝εd/2−1g(\varepsilon)\propto\varepsilon^{d/2-1}. In 3D the exponent is +1/2+1/2, so g→0g\to0 as ε→0\varepsilon\to0: there is very little "room" in kk-space near the origin because the spherical shell area ∝k2\propto k^2 shrinks. In 1D the exponent is −1/2-1/2, so g→∞g\to\infty: the "shell" is just two points ±k\pm k, and as ε→0\varepsilon\to0 those points pile up because dε/dk→0\mathrm d\varepsilon/\mathrm dk\to0. The divergence is integrable, so the total number of states stays finite.

If e^{-βE} is largest at E=0, why doesn't the system sit at zero energy?

Because the density of states rises far faster than the Boltzmann factor falls. The probability of energy EE is ∝g(E)e−βE\propto g(E)e^{-\beta E}, and for a macroscopic system g(E)∝E3N/2−1g(E)\propto E^{3N/2-1} is an enormous power. The product peaks at a large energy E∗=32NkBTE^{*}=\tfrac32Nk_{\mathrm B}T, not at zero. Low energy is Boltzmann-favoured per microstate but overwhelmingly rare because almost no microstates live there.

Does the shell width ΔE matter for the entropy?

Not for macroscopic thermodynamics. Choosing S=kBln⁡[g(E)ΔE]S=k_{\mathrm B}\ln[g(E)\Delta E] versus S=kBln⁡Σ(E)S=k_{\mathrm B}\ln\Sigma(E) (enclosed volume) differs by a term of order ln⁡N\ln N, while the entropy itself is of order NN. So any reasonable ΔE\Delta E — even one as wide as EE itself or as narrow as a single level spacing — gives the same entropy per particle in the thermodynamic limit. This "surface equals volume" equivalence is proved in the core equations.

How is g(E) related to the partition function in practice?

Z(β)Z(\beta) is the Laplace transform of g(E)g(E), so if you can compute one you can get the other. In practice you often compute ZZ (a smooth function of temperature, tractable by perturbation theory or Monte Carlo) and, when you need g(E)g(E) itself — for example a microcanonical or density-of-states simulation — you invert numerically. Algorithms like Wang–Landau sample ln⁡g(E)\ln g(E) directly for systems no one can solve analytically.

Why is the single-particle DOS enough for a whole gas of non-interacting particles?

Because for non-interacting particles the total energy is a sum of single-particle energies, and the many-body counting factorizes. Every thermodynamic quantity — the partition function, the average energy, the pressure — reduces to an integral of the single-particle g(ε)g(\varepsilon) against the appropriate occupation function (Boltzmann, Bose–Einstein, or Fermi–Dirac). This is exactly why the ε\sqrt\varepsilon law controls the electronic heat capacity, Fermi pressure, and Bose–Einstein condensation with the same single formula.

What is a van Hove singularity?

A van Hove singularity is a kink or divergence in g(ε)g(\varepsilon) that appears wherever the dispersion ϵ(k)\epsilon(\mathbf k) has a critical point (a maximum, minimum, or saddle) so that ∇kϵ=0\nabla_{\mathbf k}\epsilon=0. There the constant-energy surface stops moving as you change ε\varepsilon, and states pile up. In 3D these are finite cusps; in lower dimensions they can be genuine divergences (logarithmic in 2D). They are directly visible in tunnelling and optical spectra and are a fingerprint of the band structure.

Before this

Where this leads