Ensembles
Statistical physics asks one question: given a list of energies a system can have, what does it do at temperature ? The answer is a single number,
and everything else — energy, entropy, heat capacity, magnetisation — is a derivative of . Not an approximation of one. A derivative.
Units. throughout, so temperature is an energy and entropy is a pure number. A gap of and a temperature of are the same quantity.
Why one sum is enough
is a sum over states, weighted by . Two facts make it the whole of equilibrium thermodynamics.
The first is that the weight already contains the energy. Differentiate with respect to and the sum brings down a factor of :
Differentiate again and you get the fluctuation in energy, which is the heat capacity:
That second identity is worth pausing on. Heat capacity is a response — how much energy the system absorbs when you warm it — and variance is a fluctuation, how much its energy wanders at fixed temperature. They are the same number. A system that absorbs heat readily is one whose energy is already restless.
The second fact is that is the free energy , and closes the loop. Three quantities, one sum.
Spectrum
The Schottky anomaly
Start with the two-level system, the smallest spectrum that is not trivial: one state at , one at . Its heat capacity is
which is zero at both ends and has a peak in between — at , with height . The figure reports both; they should match to three digits whatever you choose, because only sets the scale of the horizontal axis.
The bump has a name — the Schottky anomaly — and a reason. At nothing can reach the upper level, so warming the system does nothing and it absorbs no heat. At both levels are equally occupied already, so warming it still does nothing. Only when is comparable to does a small change in temperature move population, and that is where heat gets absorbed. A finite spectrum has a finite capacity to store energy, and a bounded system must therefore have a peak.
Compare the harmonic mode, whose ladder never ends: its heat capacity climbs to and stays there. There is always another rung.
Entropy and the third law
Set in any of these and the entropy goes to — the logarithm of the ground-state degeneracy, and nothing else. For a two-level system that is . For a spin in no field the ground state is -fold degenerate, and the entropy per copy saturates at at high temperature instead.
This is the third law, and it falls out of the sum without being put in: at low enough temperature only the ground states have any weight, so and .
Freeing a variable
Everything above holds the system fixed and lets only energy flow. But temperature is not special. Any extensive quantity a microstate reports — magnetisation, particle number, volume — can be set free by trading it against its conjugate field:
Switch the explorer to a spin and turn on the magnetic ensemble. Now fluctuates, and the same differentiation that gave from gives the susceptibility from :
Same identity, different variable. And since a variance is never negative, is guaranteed to increase with — which is not a modelling assumption but a theorem about any system of this form.
A two-level system can't be put in this ensemble. It has energies and nothing else — its microstates have no magnetisation to average — so asking for one would return a number that means nothing. That is why the magnetic control above is disabled unless a spin is selected.
What changes when you free something
Adding a field is a Legendre transform, and the potential you get from changes name with it:
| Free variables | Partition function | is |
|---|---|---|
| energy | Helmholtz | |
| energy, | grand potential | |
| energy, | Gibbs | |
| energy, | magnetic free energy |
They are all floats, and reporting one as another is an error no test would catch — which is why the figure reads its label off the response rather than assuming it.