Equipartition Theorem
Heat a gas and its energy rises — but by exactly how much, and where does the energy go? The equipartition theorem gives a startlingly simple answer for any classical system in thermal equilibrium: every independent way the energy can be stored as a quadratic term contributes precisely to the average energy, no more and no less. A momentum component , a spring displacement , a rotational term — each is worth , and the coefficient (mass, stiffness, moment of inertia) cancels out completely. Thermal energy is shared democratically among quadratic degrees of freedom. The proof is a one-line Gaussian integral. Because the Boltzmann factor factorizes over independent quadratic terms, the average of any single term reduces to a ratio of Gaussian integrals whose value is always . There is a sweeping generalization — for any phase-space variable — that recovers the quadratic case, connects to the virial theorem, and even handles non-quadratic Hamiltonians like the ultrarelativistic gas. Equipartition was the engine of nineteenth-century kinetic theory: it explained the heat capacities of monatomic gases (), diatomic gases ( to ), and the Dulong-Petit law for solids (). But its most famous role was in failing. Equipartition predicts a temperature-independent heat capacity and an infinite energy for blackbody radiation — the ultraviolet catastrophe. The observed freeze-out of molecular vibrations at low temperature and the finite blackbody spectrum were among the clearest signals that classical physics was incomplete, driving the birth of quantum mechanics. Equipartition is thus both a triumph and a signpost: it works perfectly when exceeds every quantum level spacing, and its breakdown maps exactly where quantization begins.
- In classical equilibrium at temperature , every quadratic term in the Hamiltonian contributes exactly to the average energy — the coefficient (mass, spring constant, moment of inertia) cancels.
- The proof is a Gaussian integral: , independent of .
- The generalized form holds for any phase-space variable and leads to the virial theorem.
- Heat capacities follow directly: (monatomic), (diatomic with rotation), (with vibration), and (Dulong-Petit for solids).
- Equipartition fails whenever falls below a quantum level spacing — vibrations and rotations "freeze out," and blackbody radiation avoids the ultraviolet catastrophe.
- Key idea: because the Boltzmann weight of a quadratic term is a Gaussian whose average energy is fixed by temperature alone, each quadratic degree of freedom carries regardless of its stiffness.
For a Hamiltonian built from independent quadratic terms, the Boltzmann factor factorizes and each Gaussian integral gives — the coefficient cancels because rescaling removes from both the energy and the normalization. Thermal energy is per quadratic degree of freedom.
Where this lives today
Equipartition remains a daily working tool wherever thermal energy is quantitative. In single-molecule biophysics and nanotechnology, it calibrates force probes: for a particle of stiffness in an optical or magnetic trap, turns the measured positional variance directly into the trap stiffness — the standard calibration of optical tweezers and atomic-force microscopes. It fixes the mean kinetic energy of Brownian particles independent of mass, underlying thermometry from velocity fluctuations. In molecular-dynamics simulations, the equipartition energy is how thermostats define and check temperature. And its failures still teach: the temperature staircase of molecular heat capacities is a direct readout of which quantum modes are active, and the deviation of solids from Dulong-Petit below the Debye temperature is a textbook quantum effect. Equipartition is the classical baseline against which every quantum suppression is measured.
The physical picture
Put a single harmonic mode — a mass on a spring — in contact with a thermal bath. Its energy fluctuates as the bath pushes it around, but on average the bath deposits exactly in the kinetic term and in the potential term, for total. The stiffness of the spring is irrelevant. A stiff spring stores the same average energy as a soft one, because a stiff spring simply explores a smaller range of displacement; the two effects cancel exactly in the Gaussian average. This is "energy democracy": every accessible quadratic mode gets an equal share. The payoff is a rule of thumb for heat capacity: count the active quadratic degrees of freedom, multiply by (per molecule) or (per mole). But the picture also contains its own limits. Quantum mechanics breaks the democracy — a mode whose excitation quantum exceeds is effectively "disenfranchised," stuck in its ground state and contributing nothing. This is why the heat capacity of a real gas rises in steps as the temperature climbs, activating translation, then rotation, then vibration one regime at a time.
The second figure is the punchline: the heat-capacity staircase of a diatomic gas like hydrogen. At very low temperature only translation is active (); as rises, rotation switches on (); at high , vibration too (). Each plateau is equipartition counting the active quadratic modes; each step is a quantum mode thawing as crosses its level spacing. The frozen-out region at low is precisely where equipartition fails and quantum mechanics rules.
The core equations
The theorem in its classic form assigns each quadratic term of the Hamiltonian an average energy of . This is the statement to remember for counting heat capacities.
where: — the coefficient of the -th quadratic term (a mass for kinetic energy, a spring constant for potential, a moment of inertia for rotation); — the coordinate or momentum entering quadratically; — the canonical thermal average. The coefficient cancels; only survives. Summing over all quadratic terms gives the total average energy and, by differentiation, the heat capacity.
where: — the number of independent quadratic degrees of freedom; . Reading it: the molar heat capacity is just half the gas constant per active quadratic mode. The deep version replaces "quadratic" with a general phase-space identity, valid for any Hamiltonian with confining boundaries.
where: — any canonical variables (coordinates or momenta); — the Kronecker delta. Setting and recovers equation (1); summing over coordinates and forces gives the virial theorem. For a non-quadratic energy the theorem still applies through Euler's theorem on homogeneous functions, giving a different coefficient. The ultrarelativistic gas is the canonical example.
where: is homogeneous of degree in momentum, so ; applying equation (3) to each of the three components gives . Linear energies give per direction; quadratic ones give .
The goal is to prove that any single quadratic term in the Hamiltonian has thermal average energy exactly , independent of its coefficient, so that a Hamiltonian of quadratic terms has average energy . The strategy is to isolate one quadratic term, use the fact that the Boltzmann factor of a sum factorizes, and evaluate the resulting one-dimensional Gaussian integrals directly — showing the coefficient cancels between numerator and denominator.
Step 1. Write where is independent of . The canonical average of the quadratic term is , because the part cancels between numerator and denominator (it factors out of both).
Step 2. Evaluate the denominator with the standard Gaussian integral . Its dependence on is ; the coefficient appears only inside the square root.
Step 3. Obtain the numerator by differentiating the denominator with respect to the parameter : . Why the coefficient cancels. The substitution removes from the exponent entirely, appearing only as an overall in both integrals. Equivalently, rescaling the energy and the normalization the same way leaves the average untouched — the mean energy is fixed by temperature alone.
Step 4. Divide: , equation (1). For independent quadratic terms the energies simply add, giving and . Verified: the Gaussian-integral result (coefficient cancels), and the harmonic-oscillator total , are confirmed symbolically in verify_aq-sm-equipartition-theorem.py.
Go deeper · Derivation B · 1 minThe generalized theorem by integration by parts, and the ultrarelativistic gas
The goal is to establish the general phase-space identity , valid for any confining Hamiltonian, and to use it to obtain the ultrarelativistic result for . The strategy is integration by parts on the canonical average, using that the Boltzmann factor vanishes at the phase-space boundaries, followed by Euler's theorem on homogeneous functions.
Step 1. Write the average , where is the phase-space measure and the partition function. Note .
Step 2. Integrate by parts in : . The boundary term vanishes because as (the energy confines the system).
Step 3. Use and normalize by : , equation (3). Setting , recovers , i.e. — consistent with the previous card. Why quadratic gives but linear gives . For a homogeneous energy of degree in a variable, for that term, so . Quadratic () gives ; linear () gives .
Step 4. Ultrarelativistic gas: is homogeneous of degree in , so by Euler's theorem . Taking the average and applying equation (3) to each of the three momentum components, . A photon-like gas carries per particle, not . Verified: the integration-by-parts identity, the recovery of the quadratic case, and the Euler-homogeneity result for (giving ) are all confirmed symbolically in the verify script.
Limiting cases
Equipartition is the high-temperature, classical limit of more complete results; its breakdown is as informative as its validity.
| Case | Result | Meaning |
|---|---|---|
| Classical quadratic mode | Full equipartition; each kinetic or harmonic term contributes equally. | |
| Quantum oscillator, | Recovers equipartition (two quadratic terms) at high . | |
| Quantum oscillator, | Mode freezes out; contribution exponentially suppressed. Equipartition fails. | |
| Ultrarelativistic gas, | Linear (degree-1) energy gives per direction, not . | |
| Blackbody radiation (classical) | energy density diverges | Assigning per mode gives the ultraviolet catastrophe. |
Worked examples
Example 1 — Heat capacity of a monatomic ideal gas from counting quadratic terms (enumerate, apply, boundary number). Consider argon, a monatomic gas, at room temperature.
Step 1. Enumerate the quadratic terms. A point atom has only translational kinetic energy, , which is quadratic momentum terms ( per atom) and no potential or rotational structure. So per atom.
Step 2. Apply equipartition: , so the molar heat capacity is .
Step 3. Boundary number: . The measured of argon at room temperature is — an essentially exact match, and agrees with noble gases.
Example 2 — The Dulong-Petit law and its quantum breakdown. Model a crystalline solid as independent classical harmonic oscillators (each atom oscillates in three dimensions about its lattice site).
Step 1. Each one-dimensional oscillator has two quadratic terms (kinetic and potential ), so it contributes . With oscillators, .
Step 2. Molar heat capacity: — the Dulong-Petit law, independent of the material.
Step 3. Boundary check: this matches copper, silver, and lead near and above room temperature. But below the Debye temperature the oscillator modes freeze out: for the quantum energy is , exponentially small, and as (Debye law). Numerically, at the contribution is — utterly frozen. Equipartition holds only for well above the characteristic quantum temperature.
Origins · 1 minequipartition theorem and how this was discovered
The equipartition theorem states that in classical thermal equilibrium each quadratic degree of freedom carries an average energy of . Maxwell first argued (1859) that translational and rotational energy should be shared equally among molecular degrees of freedom, and Boltzmann extended and formalized it. The theorem was the quantitative backbone of nineteenth-century kinetic theory, predicting the heat capacities of gases and the Dulong-Petit law for solids. Its dramatic failures — the frozen-out heat capacity of diatomic gases at low temperature and the ultraviolet catastrophe of blackbody radiation — were among the decisive clues that classical statistical mechanics was incomplete, and directly motivated Planck's and Einstein's quantum ideas.
Going further
References. Pathria & Beale, Statistical Mechanics, 3rd ed., §3.7 (equipartition and virial theorems) · Reif, Fundamentals of Statistical and Thermal Physics, §7.5–7.7 · Kardar, Statistical Physics of Particles, §4 · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, Ch. 3 & 6 · Landau & Lifshitz, Statistical Physics Part 1, §28.
Provenance. The result per quadratic term, the generalized theorem , the heat capacities , Dulong-Petit , and the ultrarelativistic are standard (Pathria §3.7, Reif §7.5). A verifier should confirm: (i) ; (ii) the integration-by-parts proof of equation (3); (iii) for , giving ; (iv) and Dulong-Petit ; (v) the high-T limit and low-T freeze-out. All checks are in verify_aq-sm-equipartition-theorem.py. Constants: , .
Builds on: Classical Ideal Gas · Maxwell-Boltzmann Velocity Distribution · Thermal de Broglie Wavelength Leads to: Generalized Equipartition Theorem · Virial Theorem in Statistical Mechanics · Classical Limit of Quantum Statistics
Why does the stiffness of a spring not affect its average energy?
Because a stiffer spring explores a smaller range of displacement, and the two effects cancel exactly. Mathematically, the substitution removes the coefficient from both the Boltzmann factor and the energy in the same way, so the ratio of integrals that gives is independent of . The mean energy of a quadratic mode is fixed by temperature alone: , whether the spring is stiff or soft.
Why is a diatomic gas 5/2 R and not 7/2 R at room temperature?
Because vibration is frozen out. A diatomic molecule has three translational and two rotational quadratic terms active at room temperature (, giving ), but its vibrational mode has a quantum far larger than — for N the vibrational temperature is about — so the mode is stuck in its ground state and contributes nothing. Only at high temperature does vibration activate and climb toward .
How does equipartition connect to the virial theorem?
Through the generalized identity . Applying it to coordinates and forces, (plus a wall term that yields ), which is the statistical virial theorem. Expanding the interparticle-force contribution generates the virial equation of state and the virial coefficients, linking microscopic potentials to deviations from ideal-gas behaviour. So equipartition and the virial theorem are two faces of the same phase-space identity.
Does equipartition hold in the microcanonical ensemble?
Yes, in the thermodynamic limit. It is most easily derived in the canonical ensemble via the Boltzmann factor, but it is an ensemble-equivalent result: the microcanonical and canonical averages of a quadratic term coincide to leading order in , both giving , with the microcanonical temperature defined by . For a macroscopic system the distinction is negligible.
What exactly goes wrong in the ultraviolet catastrophe?
Assigning to every electromagnetic mode (each mode is two quadratic terms, like an oscillator) and summing over the infinitely many high-frequency modes gives an energy density that diverges: . Experiment shows a finite spectrum that falls off at high frequency. The resolution is that a mode of frequency cannot be excited unless — quantization caps the high-frequency contribution, giving Planck's law. Equipartition's failure here was a direct route to the quantum.
Why does a linear energy give kT instead of ½kT?
Because the rule is specific to quadratic (degree-2) terms. For a term homogeneous of degree , the generalized theorem gives . Quadratic () gives ; linear (), like the ultrarelativistic , gives per component; quartic () gives . The power of the variable in the energy sets the coefficient.
Can I use equipartition to calibrate a trapped-particle experiment?
Yes — it is the standard method. For a particle held in a harmonic trap of stiffness , the potential energy is , a single quadratic term, so equipartition gives . Measuring the variance of the particle's position (from video tracking or a quadrant photodiode) and knowing yields the trap stiffness directly. This is how optical tweezers and atomic-force cantilevers are calibrated.