Energy Fluctuations and Heat Capacity
Statement
For a system in the canonical ensemble at temperature T, the second derivative of ln Z with respect to β = 1/kT equals the variance of the energy, and this variance is fixed by the constant-volume heat capacity: ⟨(ΔE)²⟩ = ⟨E²⟩ − ⟨E⟩² = ∂²ln Z/∂β² = kT²CV.
Why it matters
This is the simplest genuine fluctuation–dissipation relation. The left side, ⟨(ΔE)²⟩, is pure microscopic noise: how much the instantaneous energy jitters as the system trades quanta with its bath. The right side, CV, is a macroscopic response you measure with a calorimeter. That two such different quantities are equal (up to kT²) is the first sign that spontaneous fluctuations and driven response are the same physics viewed from two sides.
It also explains why thermodynamics works at all. Because CV ∝ N while ⟨E⟩ ∝ N, the relative fluctuation ΔE/⟨E⟩ ∝ 1/√N vanishes for macroscopic N — the energy of a large body is effectively sharp, and the ensemble average becomes the observed value.
Assumptions
Derivation
Result
Reading. The mean-square spread of a system's instantaneous energy about its average is set entirely by how much its average energy changes with temperature. A body that soaks up heat readily (large CV) is also a body whose energy visibly trembles; a body that barely responds to temperature is one whose energy is nearly frozen. Since ⟨(ΔE)²⟩ ≥ 0 always, the relation also proves CV ≥ 0: a stable system cannot have negative heat capacity.
Units check. [kB] = J K−1, [T²] = K², [CV] = J K−1, so [kBT²CV] = (J K−1)(K²)(J K−1) = J². The left side ⟨(ΔE)²⟩ is an energy squared, J². Both sides are J². ✓
Limiting cases
- Monatomic ideal gas: U = (3/2)NkBT, CV = (3/2)NkB, so ⟨(ΔE)²⟩ = (3/2)N kB²T² and ΔE/⟨E⟩ = √(2/3N) — vanishingly small for macroscopic N.
- Large N (thermodynamic limit): ΔE/⟨E⟩ ∝ N−1/2 → 0; the energy becomes sharp and the canonical and microcanonical descriptions agree.
- Approaching a critical point: CV diverges, so ⟨(ΔE)²⟩ diverges — giant fluctuations, the microscopic origin of critical opalescence.
- T → 0 (third law): CV → 0, so ⟨(ΔE)²⟩ → 0 faster than T²; the ground state is occupied with certainty and the energy stops fluctuating.
Breaks when
- The system is thermally isolated (microcanonical). With fixed energy, ⟨(ΔE)²⟩ = 0 by construction; there is no bath to exchange energy with, and CV must be obtained from entropy curvature, not from energy variance.
- Particle number fluctuates (open system). In the grand-canonical ensemble energy and number fluctuate together; the total energy variance picks up cross terms and no longer equals kT²CV alone.
- The moment sum diverges. If the density of states grows so fast that Σ Ei² e−βEi does not converge (e.g. certain gravitating or Hagedorn-type spectra), ⟨E²⟩ is infinite and the identity is meaningless.
- Long-range/non-additive systems. Self-gravitating systems can show negative microcanonical heat capacity; there the canonical ensemble is not equivalent and ⟨(ΔE)²⟩ = kT²CV cannot represent a negative CV, since the left side is non-negative.
Failure modes
- Sign slip in the change of variable. Forgetting that dT/dβ = −kT² (both a factor kT² and a minus) turns −∂⟨E⟩/∂β into −kT²CV and produces a spurious negative variance.
- Dropping the cross term. Writing ∂²ln Z/∂β² = ⟨E²⟩ instead of ⟨E²⟩ − ⟨E⟩² — i.e. forgetting the −(Z′/Z)² piece from the quotient rule — gives a raw second moment, not the variance.
- Using Cp instead of CV. The identity holds at constant volume; substituting the measured Cp for a gas overestimates the fluctuation by the factor Cp/CV = γ.
- Confusing ΔE (per-system RMS) with ⟨E⟩ (mean). Reporting √⟨(ΔE)²⟩ as "the energy" rather than the spread of the energy; the two differ by the factor √N.
- Assuming CV is constant when integrating. For real systems CV(T) varies, so ⟨(ΔE)²⟩ is kT²CV(T) evaluated at the actual T, not a temperature-independent number.
Discussion
The deep content of this result is that noise measures response. The variance ⟨(ΔE)²⟩ describes spontaneous, undriven fluctuations of an equilibrium system; CV describes how the system responds when you drive it by raising the temperature. Their proportionality is the thermodynamic ancestor of the general fluctuation–dissipation theorem, of which the Johnson–Nyquist relation (voltage noise ∝ RT) and the Einstein relation (diffusion ∝ mobility × kT) are close cousins. In every case a susceptibility equals the strength of an equilibrium fluctuation divided by a power of kT.
Practically, the identity is run backwards constantly. In molecular-dynamics and Monte-Carlo simulations you never differentiate the energy against temperature to get the heat capacity — that would require many runs at different T. Instead you sit at one temperature, record the energy time series, and compute CV = ⟨(ΔE)²⟩/(kBT²) from a single trajectory's fluctuations. The same logic lets calorimetry of a nanoscale object be inferred from its energy jitter.
The non-negativity ⟨(ΔE)²⟩ ≥ 0 is a thermodynamic stability statement in disguise: CV ≥ 0 means adding heat cannot lower the temperature of a canonical system. When people quote "negative heat capacity" for a star or a gravitationally bound cluster, they are working microcanonically, where energy is fixed and this canonical identity simply does not apply — a reminder that ensemble equivalence can fail for long-range forces.
More formally, ln Z is the cumulant generating function for E in the variable −β: its first derivative gives the mean, its second the variance, its third the skewness, and so on. Because ln Z is convex in β (its second derivative, a variance, is non-negative), the free energy F = −kT ln Z inherits convexity properties that guarantee thermodynamic stability. Phase transitions are precisely the points where this generating function loses analyticity in the thermodynamic limit, and the divergence of its second cumulant is what makes CV and the fluctuations blow up together.
Common misconceptions. (i) "Bigger systems fluctuate less" — no, the absolute fluctuation √⟨(ΔE)²⟩ ∝ √N grows; it is the relative fluctuation ∝ 1/√N that shrinks. (ii) "The heat capacity causes the fluctuations" — neither causes the other; both are consequences of the same underlying energy distribution, and the equality is an identity, not a mechanism.
Worked examples
Example 1 — Energy fluctuations of one mole of argon (monatomic ideal gas).
Reading. The gas holds 3741 J, and that energy wanders by only about 4 nanojoules — one part in 1012. For any macroscopic body the energy is, for all practical purposes, perfectly sharp; this is why a mole of gas has a well-defined internal energy at all.
Example 2 — Heat capacity of a two-level system from its fluctuations. A single defect has two states of energy 0 and ε = 1.00×10⁻²⁰ J at T = 300 K. Find ⟨(ΔE)²⟩ directly, then extract C.
Reading. A lone two-level system has a heat capacity that peaks near kBT ≈ ε — the Schottky anomaly — precisely because that is where the energy fluctuates most (occupation nearest 50/50). Here kBT is below ε, so we sit on the low-T flank at 0.44 kB.
Problems
- (A) A monatomic ideal gas contains N = 2.0×10²² atoms at T = 350 K. Find CV, ⟨(ΔE)²⟩, the RMS fluctuation, and the relative fluctuation.
Solution
CV = (3/2)NkB = 1.5(2.0×10²²)(1.381×10⁻²³) = 0.414 J K⁻¹. ⟨(ΔE)²⟩ = kBT²CV = (1.381×10⁻²³)(350²)(0.414) = 7.00×10⁻¹⁹ J². RMS = 8.4×10⁻¹⁰ J. U = (3/2)NkBT = 145 J, so ΔE/U = 8.4×10⁻¹⁰/145 = 5.8×10⁻¹², matching √(2/3N) = √(1/3.0×10²²) = 5.8×10⁻¹².
- (B) One mole of an ideal diatomic gas (5 active degrees of freedom) is at T = 300 K. Find ⟨(ΔE)²⟩ and the RMS energy fluctuation.
Solution
CV = (5/2)R = 2.5(8.314) = 20.79 J K⁻¹. ⟨(ΔE)²⟩ = (1.381×10⁻²³)(300²)(20.79) = 2.58×10⁻¹⁷ J². RMS = √(2.58×10⁻¹⁷) = 5.08×10⁻⁹ J. (Compare U = (5/2)RT = 6236 J, giving ΔE/U = 8.1×10⁻¹³.)
- (B) A two-level defect with gap ε = 2.0×10⁻²¹ J sits at T = 150 K. Compute βε, the upper-level occupation p, ⟨(ΔE)²⟩, and the heat capacity C.
Solution
βε = (2.0×10⁻²¹)/[(1.381×10⁻²³)(150)] = 0.966. eβε = 2.627, p = 1/3.627 = 0.2757, 1−p = 0.7243. ⟨(ΔE)²⟩ = ε²p(1−p) = (2.0×10⁻²¹)²(0.2757)(0.7243) = 7.99×10⁻⁴³ J². C = ⟨(ΔE)²⟩/(kBT²) = (7.99×10⁻⁴³)/[(1.381×10⁻²³)(2.25×10⁴)] = 2.57×10⁻²⁴ J K⁻¹ = 0.186 kB. (Since βε ≈ 1 we are near the Schottky peak region.)
- (C) Starting from ⟨(ΔE)²⟩ = kT²CV, show that for a monatomic ideal gas the relative fluctuation is ΔE/⟨E⟩ = √(2/3N), and evaluate it for N = 1.0×10²⁰.
Solution
⟨E⟩ = (3/2)NkBT and CV = (3/2)NkB, so ⟨(ΔE)²⟩ = kT²·(3/2)NkB = (3/2)NkB²T². Then ΔE/⟨E⟩ = √[(3/2)NkB²T²] / [(3/2)NkBT] = √[(3/2)N] / [(3/2)N] = √(2/(3N)). For N = 1.0×10²⁰: ΔE/⟨E⟩ = √(2/3.0×10²⁰) = 8.2×10⁻¹¹ — about one part in 10¹⁰.
- (C) A calorimetric sample has CV = 2.00 J K⁻¹ at T = 300 K. (a) Find the RMS energy fluctuation. (b) A colleague claims a nanoscale flake of the same material, with CV = 3.0×10⁻²¹ J K⁻¹, should show a relatively larger fluctuation. Quantify by comparing √⟨(ΔE)²⟩/(CVT) (fluctuation as a fraction of a rough energy scale CVT) for both.
Solution
(a) ⟨(ΔE)²⟩ = kBT²CV = (1.381×10⁻²³)(9.00×10⁴)(2.00) = 2.49×10⁻¹⁸ J²; RMS = 1.58×10⁻⁹ J. Fraction = 1.58×10⁻⁹/(2.00×300) = 2.6×10⁻¹². (b) Flake: ⟨(ΔE)²⟩ = (1.381×10⁻²³)(9.00×10⁴)(3.0×10⁻²¹) = 3.73×10⁻³⁹ J²; RMS = 6.1×10⁻²⁰ J. Fraction = 6.1×10⁻²⁰/(3.0×10⁻²¹×300) = 0.068. The relative fluctuation is ≈ 2.6×10¹⁰ times larger for the flake — the colleague is right: √⟨(ΔE)²⟩/(CVT) ∝ 1/√CV ∝ 1/√N, so tiny systems are dominated by their thermal noise.