Skip to content
Tutorials Center
My learning

Topics

Lesson 21 of 39 · The Ideal Gas and Equipartition

The Equipartition Theorem and Gas Heat Capacities

Prove the equipartition theorem, use it to predict heat capacities of monatomic and diatomic gases, and see where quantum freezing of vibrations breaks the classical rule.

How much energy does it take to heat a gas by one kelvin? Classical statistical mechanics gives a strikingly simple answer: every independent way a molecule can store energy in a quadratic form holds the same average energy, ½ kT. This is the equipartition theorem. It explains why helium and argon have one heat capacity, nitrogen another, and it also fails in an instructive way that pointed physicists toward quantum theory.

The theorem

Suppose the energy of a system contains a term E = a q², where q is any phase-space coordinate (a momentum component, a position displacement, an angular momentum) and a > 0. If the system is in the canonical ensemble and the other coordinates do not matter, the average of this term is

Text
⟨a q²⟩ = ∫ a q² e^(-β a q²) dq / ∫ e^(-β a q²) dq = ½ k T

The Gaussian integrals give this result independent of a: a stiff spring and a floppy one, a heavy particle and a light one, all carry ½ kT per quadratic term. Each such term is called a degree of freedom (more precisely a quadratic degree of freedom).

Equipartition is a classical result. It holds only when the energy spacing of the corresponding quantum levels is much smaller than kT. When kT is smaller than the spacing, that degree of freedom is "frozen out" and stores almost no energy.

Counting degrees of freedom

For N molecules, the internal energy is U = (f/2) N k T, where f is the number of active quadratic terms per molecule. The molar heat capacity at constant volume is then C_V = (f/2) R, with R = 8.314462618 J/(mol·K).

Molecule Active terms f C_V In J/(mol·K)
Monatomic (He, Ar) 3 translations 3 3R/2 12.47
Diatomic, room T (N₂, O₂) 3 translations + 2 rotations 5 5R/2 20.79
Diatomic, high T + vibration (kinetic and potential) 7 7R/2 29.10
Nonlinear polyatomic, rigid 3 + 3 rotations 6 3R 24.94

A diatomic molecule has two rotational axes that matter (rotation about the bond axis has negligible moment of inertia for point-like nuclei, so that mode is frozen). A vibration counts twice: the kinetic energy of the motion along the bond and the potential energy of the stretched bond each contribute ½ kT.

The first code block verifies the theorem numerically: it computes the average of a q² under the Boltzmann weight for several values of a, and then tabulates the predicted heat capacities.

Python Check equipartition by integration

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The first column of printed results is 0.5 for every a.

Where classical physics fails: frozen vibrations

Measured heat capacities of nitrogen near room temperature are close to 5R/2 = 20.8 J/(mol·K) and rise toward 7R/2 only at thousands of kelvin. Classical equipartition would predict 7R/2 at all temperatures. The resolution is that vibrational energy is quantized in steps of ε = hν. The partition function of a quantum harmonic oscillator gives, per mole,

Text
C_vib = R (θ/T)² e^(θ/T) / (e^(θ/T) - 1)²,    θ = h ν / k

where θ is the characteristic vibrational temperature. For T ≪ θ the heat capacity vanishes exponentially; for T ≫ θ it approaches R, the equipartition value. Nitrogen's vibrational wavenumber is about 2359 cm⁻¹, giving θ ≈ 3390 K, far above room temperature. That is why vibrations do not contribute at 300 K.

Python Freezing out of N2 vibration

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

At 300 K the vibrational contribution is almost exactly zero, and the total stays at 5R/2. By 3000 K it has reached about 90 percent of R. The same phenomenon for rotations explains why hydrogen's heat capacity drops below 5R/2 at very low temperature.

What equipartition does and does not cover

  • It applies to terms quadratic in a coordinate or momentum. A term such as |x| or a hard-wall box energy is not covered.
  • It requires thermal equilibrium and the classical limit.
  • It gives U and C_V, but not the entropy: for that you need the partition function.
  • It also explains the Dulong-Petit law for solids: each atom has 3 kinetic and 3 potential terms, so C = 3R ≈ 24.9 J/(mol·K). The next lesson shows how quantum effects modify this at low temperature.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. According to equipartition, the average energy per quadratic term is

    Each quadratic degree of freedom contributes ½ kT, independent of the coefficient in front of the quadratic term.
  2. 2. What is C_V for a monatomic ideal gas, per mole?

    Only 3 translational degrees of freedom are active, so C_V = (3/2) R.
  3. 3. Why does nitrogen at 300 K have C_V near 5R/2 and not 7R/2?

    θ_vib is about 3400 K, so at 300 K the vibrational mode is almost entirely in its ground state.
  4. 4. Each vibrational mode of a molecule counts as how many quadratic terms?

    One for the kinetic energy of the oscillation and one for its potential energy.

Summary

  • Each quadratic term in the energy has average ½ kT; U = (f/2) N k T and C_V = (f/2) R.
  • Monatomic gases: 3R/2; diatomic gases at room temperature: 5R/2; rigid nonlinear molecules: 3R.
  • Quantum mechanics freezes out modes whose level spacing exceeds kT, giving the vibrational curve R x² e^x / (e^x - 1)² with x = θ/T.
  • Equipartition fails at low temperature and for non-quadratic energies.

Next: Heat Capacity of Solids: Einstein and Debye