Statistical Physics II, Chapter 6. Based on lecture notes by Prof. Sang Hoon Lee, Gyeongsang National University.

Boltzmann statistics

An interactive companion to the lecture notes. Each section below follows the notes in order: from a system that is completely isolated, to one that trades energy with a reservoir, to the Boltzmann factor, the partition function, average values and fluctuations.

Bust of Ludwig Boltzmann on his grave in Vienna, with the formula S = k log W carved above it
Boltzmann’s grave in Vienna, with \(S = k \log W\) carved above the bust. Photo © G. Fasol.

6.0Isolated vs. in contact with a reservoir

Last semester, we counted the multiplicity \(\Omega(U, V, N)\) directly and got everything else from \(S = k_\mathrm{B} \ln \Omega\). For more complicated systems this is prohibitively difficult, so we trade generality for power: we study a system in thermal equilibrium with a reservoir at a specific temperature.

Isolated atom

Its energy is fixed. All microstates with that energy are equally probable — the fundamental assumption, like a fair coin toss.

Atom + reservoir

The atom can be found in any of its microstates, but some are more likely than others, depending on their energies. Only the composite (atom + reservoir) is isolated.

One oscillator in thermal contact with a reservoir of many oscillators Reservoir: N oscillators energy UR, temperature T, multiplicity ΩR(UR) System: one oscillator 0ε2ε3ε4ε energy E = nε, here n = 2 quanta ε The composite (system + reservoir) is isolated: every joint microstate is equally likely.
Each small well is one oscillator of the Einstein-solid reservoir, with its occupied level marked. Every quantum the system gains is taken from the reservoir, so \(P(n) \propto \Omega_\mathrm{R}(U_\text{total} - n\varepsilon)\).

Below, the “atom” is one quantum oscillator (energies \(0, \varepsilon, 2\varepsilon, \ldots\)) and the reservoir is an Einstein solid. Energy quanta hop at random between oscillators, which samples every microstate of the composite system with equal probability. Watch how often the atom (pink) holds 0, 1, 2, … quanta.

Live: one atom exchanging quanta with a reservoir
simulated exact count ΩR(q−n)

When isolated, the atom keeps whatever energy it had; its histogram collapses to a single bar.

6.1The Boltzmann factor

If the atom is in state \(s\), the reservoir has \(\Omega_\mathrm{R}(s)\) accessible states, all equally probable. When the atom sits lower, more energy is left for the reservoir, so \(\Omega_\mathrm{R}\) is larger. Hence

\(\displaystyle \frac{P(s_2)}{P(s_1)} = \frac{\Omega_\mathrm{R}(s_2)}{\Omega_\mathrm{R}(s_1)} = e^{[S_\mathrm{R}(s_2) - S_\mathrm{R}(s_1)]/k_\mathrm{B}} = e^{-[E(s_2) - E(s_1)]/k_\mathrm{B}T}\)

using \(\mathrm{d}S_\mathrm{R} = (\mathrm{d}U_\mathrm{R} + P\,\mathrm{d}V_\mathrm{R} - \mu\,\mathrm{d}N_\mathrm{R})/T\) with \(\mathrm{d}U_\mathrm{R} = -\mathrm{d}E\); the \(P\,\mathrm{d}V\) term is \(\sim 10^{-25}\ \mathrm{J}\) and there is no particle exchange in this chapter. Is the exponential exact? Only when the reservoir is truly large. Grow it and see.

Exact counting vs. the Boltzmann factor
exact, ∝ ΩR(q−n) (1/Z) e−nε/kBT

Reservoir temperature from \(1/T = \partial S_\mathrm{R}/\partial U_\mathrm{R}\), which for an Einstein solid gives \(\varepsilon/k_\mathrm{B}T = \ln(1 + N/q)\). With a handful of oscillators the curve misses; by a few thousand it is indistinguishable.

Each ratio is a ratio of simple exponentials, so every state carries a Boltzmann factor \(e^{-E(s)/k_\mathrm{B}T}\). Normalizing gives

\(\displaystyle P(s) = \frac{1}{Z}\,e^{-E(s)/k_\mathrm{B}T}\)

“the most useful formula in all of statistical mechanics. Memorize it.”

Thermal excitation of hydrogen in a stellar atmosphere

For hydrogen, \(E(s_1) = -13.6\ \mathrm{eV}\) and \(E(s_2) = -3.4\ \mathrm{eV}\). The \(n = 2\) level holds 4 independent states (neglecting spin), \(n = 3\) holds 9: a level can be degenerate. Only atoms in \(n = 2\) absorb the visible Balmer lines (656, 486, 434 nm).

Hydrogen populations at temperature T

Bars use a logarithmic scale: each tick is a factor of 10 in population relative to the ground state. Ratios only; the full hydrogen partition function needs more care.

6.1The partition function

Normalization \(\sum_s P(s) = 1\) fixes the constant:

\(\displaystyle Z = \sum_s e^{-E(s)/k_\mathrm{B}T}\) = sum of all Boltzmann factors

“Zustandssumme”, the sum over states. It is a function because it depends on \(T\), and it roughly counts how many states are accessible, each weighted by its probability. With the ground state at 0, \(Z \to 1\) as \(T \to 0^+\) and \(Z \gg 1\) at high \(T\). Shifting every energy by \(E_0\) multiplies \(Z\) by \(e^{-E_0/k_\mathrm{B}T}\), an uninteresting factor that cancels in every probability.

Explore Z for a few systems

Bars: Boltzmann factor of each level, \(g\,e^{-E/k_\mathrm{B}T}\); the curve is \(e^{-E/k_\mathrm{B}T}\). Move \(E_0\): the bars and \(Z\) rescale, the probabilities on the right do not.

For a degenerate level, the probability of the level is \(g(E)\,e^{-E/k_\mathrm{B}T}/Z = e^{-F/k_\mathrm{B}T}/Z\) with \(F = E - TS\) and \(S = k_\mathrm{B} \ln g\) (Problem 6.2). Try the hydrogen-like preset at high temperature: the many excited states win on sheer numbers.

6.11Lithium nuclei and negative temperature

A 7Li nucleus has four spin states \(m = -\tfrac32,\ -\tfrac12,\ \tfrac12,\ \tfrac32\) with \(E = -m\mu B\), \(\mu = 1.03 \times 10^{-7}\ \mathrm{eV/T}\). In the Purcell–Pound experiment, \(B = 0.63\ \mathrm{T}\) and \(T = 300\ \mathrm{K}\), so \(\mu B/k_\mathrm{B}T \approx 2.5 \times 10^{-6}\) and every probability is within a millionth of \(1/4\). If the field is reversed suddenly, the populations have no time to change, and they now match a Boltzmann distribution with \(T = -300\ \mathrm{K}\).

Spin populations, shown as deviation from 1/4

Lower the temperature to make the deviations large enough to see by eye, then reverse the field: the highest-energy state becomes the most populated.

6.2Average values and fluctuations

Often we only need the average of some property. Writing \(\beta \equiv 1/k_\mathrm{B}T\),

\(\displaystyle \bar{X} = \sum_s X(s)\,P(s) = \frac{1}{Z}\sum_s X(s)\,e^{-\beta E(s)}\)

Start with the five-atom toy model from the notes. Move atoms between levels.

Five-atom toy model (Problem 6.17)

\(\sigma_E^2\) = mean of the squares − square of the mean, “제곱의 평균 − 평균의 제곱”.

Now let the canonical ensemble do the averaging. The derivatives of \(Z\) do the work (Problems 6.16 and 6.18):

\(\displaystyle \bar{E} = -\frac{\partial \ln Z}{\partial \beta}, \qquad \overline{E^2} = \frac{1}{Z}\frac{\partial^2 Z}{\partial \beta^2}, \qquad \sigma_E = k_\mathrm{B}T\sqrt{C/k_\mathrm{B}}\)
Canonical ensemble: averages, fluctuations, heat capacity
Ē σE C / kB

The two columns of numbers agree: summing over states, differentiating \(\ln Z\), and reading off the heat capacity are three routes to the same physics. Sampling shows the ensemble that these averages describe. For \(N\) independent copies, \(U = N\bar{E}\).

\(\sigma_E = k_\mathrm{B}T\sqrt{C/k_\mathrm{B}}\) is a first taste of the fluctuation–dissipation theorem: internal fluctuations are tied to the response to an external change.

6.32Example: thermal expansion of a noble-gas crystal

A classical particle moves in a one-dimensional potential well \(u(x)\) with its minimum at \(x_0\), in thermal equilibrium with a reservoir at temperature \(T\). The states are now labeled by a continuous position, so the sum over states becomes an integral.

(a) By definition of the average,

\(\displaystyle \bar{x} = \frac{\int x\,e^{-\beta u(x)}\,\mathrm{d}x}{\int e^{-\beta u(x)}\,\mathrm{d}x}\)

where the denominator plays the role of \(Z\).

(b) At the equilibrium point, \(\left.\mathrm{d}u/\mathrm{d}x\right|_{x_0} = 0\), so the linear term of the Taylor series vanishes. Keeping terms up to quadratic order, \(u(x) \approx u_0 + \tfrac12 a (x - x_0)^2\) with \(a = u''(x_0)\). The constant factor \(e^{-\beta u_0}\) cancels. With \(y \equiv x - x_0\), the integral of \(y\,e^{-\beta a y^2/2}\) is zero because the integrand is odd, so \(\bar{x} = x_0\). A symmetric well cannot expand.

(c) Keep the cubic term, \(u \approx u_0 + \tfrac12 a y^2 + \tfrac16 b y^3\) with \(b = u'''(x_0)\), and treat it as small: \(e^{-\beta u} \approx e^{-\beta u_0 - \beta a y^2/2}\bigl(1 - \tfrac16 \beta b y^3\bigr)\). The odd terms in the integrand vanish again. The surviving \(y^4\) Gaussian integral is proportional to \(\beta^{-5/2}\), while the normalization is proportional to \(\beta^{-1/2}\), so the shift scales as \(\beta \cdot \beta^{-5/2}/\beta^{-1/2} = \beta^{-1} = k_\mathrm{B}T\):

\(\displaystyle \bar{x} = x_0 - \frac{b}{2a^2}\,k_\mathrm{B}T\)

(d) For the Lennard-Jones potential \(u(x) = u_0\bigl[(x_0/x)^{12} - 2(x_0/x)^{6}\bigr]\), the minimum is at \(x_0\) with depth \(u_0\), and differentiating gives \(a = 72\,u_0/x_0^2\) and \(b = -1512\,u_0/x_0^3\). Since \(b \lt 0\), the wall is softer on the far side and the atom drifts outward as it warms:

\(\displaystyle \alpha = \frac{\Delta x/x_0}{\Delta T} = \frac{1512}{2 \cdot 72^2}\,\frac{k_\mathrm{B}}{u_0} \approx 1.26 \times 10^{-3}\ \mathrm{K}^{-1}\)

for argon (\(x_0 = 3.9\ \text{Å}\), \(u_0 = 0.010\ \mathrm{eV}\)). The measured value is \(\alpha = 7 \times 10^{-4}\ \mathrm{K}^{-1}\) at 80 K, the same order of magnitude.

An argon atom in a Lennard-Jones well
u(x) / u0 quadratic + cubic e−βu(x), normalized x̄ (exact integral) x̄ from (c)

The Lennard-Jones well has a finite depth, so at high temperature an unconfined atom could escape and the integral over all \(x\) would diverge. In a crystal the neighbors keep it in place, so the exact integral here runs from \(0.8\,x_0\) to an adjustable outer cutoff. At a few kelvin, \(\bar{x}\) follows the straight line from part (c). By tens of kelvin, \(k_\mathrm{B}T\) is no longer small compared with \(u_0\): higher-order terms of the potential and the cutoff start to matter, and this one-dimensional model overshoots the measured expansion.

The same atoms in a crystal
Mean spacing \(\bar{x}/x_0\)
Change in length
Vibration amplitude \(\sqrt{k_\mathrm{B}T/a}\,/\,x_0\)
Well

Argon atoms vibrating thermally. The temperature and cutoff sliders here move together with the ones in the panel above. The mean spacing between neighbors is \(\bar{x}\) from the exact integral, and each atom's vibration amplitude is drawn as \(\sqrt{k_\mathrm{B}T/a}\), the harmonic estimate. The dashed box is the crystal as \(T\to0\), and the solid box is its size now. With the harmonic well the atoms vibrate just as much but the box stays the same size. Displacements are to scale unless magnified.