After this chapter you can: Calculate a partition sum and use it to find state probabilities, mean energy and energy variance.
At thermal equilibrium with a large heat bath, each microstate has a weight that falls exponentially with its energy. A higher energy level can still hold more of the population if many microstates share it. Normalizing the weights lets you calculate averages and the size of their fluctuations.
6.1 Turn the bath's entropy into a probability
Consider a small system that exchanges energy with a large bath at absolute temperature T. The two together are isolated. If the system gains energy Ei in microstate i, the bath has that much less energy. For a bath large enough to keep its temperature nearly fixed, its entropy changes by about −Ei/T relative to the chosen zero for system energy.
The number of bath states is proportional to the exponential of its entropy divided by kB. This gives the relative weight of microstate i. Divide by the sum of all weights to make the probabilities add to one.
β=kBT1,Z=i∑e−βEi,pi=Ze−βEi.
The factor e−βEi is the Boltzmann weight. The normalization Z is the partition function. Adding the same constant to every energy multiplies each weight and their sum by the same factor, leaving the probabilities unchanged.
6.2 Count every state at the same energy
Set a ground level to energy zero and an excited level to energy Δ. The ground level contains one microstate. If g microstates share the excited energy, their probabilities add. With dimensionless temperature ϑ=kBT/Δ,
Z=1+ge−βΔ,Pexc=e1/ϑ+gg.
The count g is the degeneracy of the excited level. At ϑ=1, a single excited state gives probability 0.269. Three excited states at the same energy give total probability 0.525. Each individual excited state is still less likely than the ground state.
Table 6.1 Calculated probability of finding the system at the excited energy for two state counts.
Dimensionless temperature
One excited state
Three excited states
0.50
0.119
0.289
1.00
0.269
0.525
2.00
0.378
0.645
One excited state
Three excited states
Probability of the excited level00.20.40.60.80123
Thermal energy (in units of the energy gap)
Figure 6.1 Analytic excited-level probabilities for one ground microstate and either one or three excited microstates. The energy gap stays fixed. The vertical axis counts all the probability at the excited energy.
6.3 Use the probabilities for averages and fluctuations
Multiply a quantity's value in each state by that state's probability and sum. For the energy, the first and second moments give the mean and variance.
⟨E⟩=i∑piEi,Var(E)=i∑piEi2−⟨E⟩2.
In the example, the mean energy is ΔPexc and the variance is Δ2Pexc(1−Pexc). At low temperature, the system is almost always near the ground energy. At higher temperature both levels can have substantial probability, so individual observations can differ substantially from the mean.
For a system at fixed volume and particle count with temperature-independent energies, differentiating the normalized weights gives
CV=∂T∂⟨E⟩=kBT2Var(E).
CV is the total heat capacity, in JK−1. This connects an equilibrium fluctuation to the response of the mean energy to a small change in temperature. A sample variance from a short, correlated run may differ from this equilibrium variance.
6.4 See two ways to obtain a distribution
6.4.1 Sample a spin lattice at fixed temperature
Open Ising Critical Fluctuations. The model has spins on a square lattice. Neighbouring spins have lower energy when they align. The program proposes a randomly chosen spin flip. It accepts a flip that lowers the energy or leaves it unchanged, and accepts an energy increase ΔE with probability e−ΔE/(kBT). The energy-increasing proposal and its reverse have the same proposal probability. The acceptance rule gives their forward and reverse transitions the ratio required by the Boltzmann weights.
Choose Order survives, then Heat breaks the patches. Compare the visible domains and Energy per spin. Both use a 32×32 lattice and zero applied field. Lower temperature makes energy-increasing flips rare, so aligned regions persist. At higher temperature disordering flips are more common.
Table 6.2 Example means from the model's first 96 recorded sweeps after warm-up. Energy is in units of the coupling J per spin.
Preset
Temperature kBT/J
Mean energy per spin divided by J
Order survives
1.50
−1.952
Heat breaks the patches
4.20
−0.520
Consecutive sweeps share much of the same configuration. The table describes these particular model samples. It takes longer runs and checks for equilibration to estimate an equilibrium average or its uncertainty.
6.4.2 Group motions by speed in a gas
Open Hard Spheres to Boltzmann and turn on Statistical lens. Follow one particle while watching the empirical speed histogram change. The bodies move in two dimensions. For a classical equilibrium velocity in two dimensions, the ring of velocity vectors with the same speed has circumference proportional to v. The thermal speed density is therefore proportional to ve−mv2/(2kBT). In the three-dimensional example in Chapter 2, the shell area gave the factor v2 instead.
The curve in this Lab uses the current mean speed to set its scale. Compare its shape with the fluctuating histogram. The two-dimensional gas visualization follows elastic collisions. The spin experiment uses a sampling rule with a prescribed temperature.
6.5 Exercises
Two individual microstates differ by 2kBT in energy. What is the higher-to-lower probability ratio?
One ground state has energy zero. Two excited states have the same energy Δ. Write the partition function and the probability of being at the excited energy.
Why does adding a constant to all energies leave every state probability fixed?
In the model with one ground state and three excited states, what fraction of the population goes to the excited level in the high-temperature limit?
In the high-temperature limit, a one-ground, one-excited system has Pexc=1/2. What are the mean energy and its variance in terms of Δ?
Two systems at the same temperature have different energy variances at fixed volume and particle count. Which has the greater equilibrium heat capacity under the conditions of §6.3?
For an upward energy move in the spin model, does heating make acceptance more or less likely? Use the sign of the energy change.
Why should you distinguish a two-dimensional speed distribution from a three-dimensional one for the same particle mass and temperature?
Exercise 1Show the answer
The ratio is e−2≈0.135. The partition function cancels in the ratio.
Exercise 2Show the answer
The partition function is Z=1+2e−βΔ. The excited-energy probability is 2e−βΔ/Z because it sums the probabilities of two states.
Exercise 3Show the answer
The shift multiplies every weight by a common factor. It multiplies the partition function by that factor too, so it cancels.
Exercise 4Show the answer
At very high temperature all four states approach equal probability. Three are excited states, so their total fraction approaches 3/4.
Exercise 5Show the answer
The mean is Δ/2. The second moment is Δ2/2. Subtracting the squared mean gives variance Δ2/4.
Exercise 6Show the answer
The system with greater variance has greater CV, since both share the same factor 1/(kBT2).
Exercise 7Show the answer
It becomes more likely. For ΔE>0, increasing temperature moves −ΔE/(kBT) toward zero and raises its exponential.
Exercise 8Show the answer
The equilibrium energy weight is the same for the same kinetic energy. The number of velocity states in a given speed interval grows differently with speed in the two cases. A ring gives the factor v, and a spherical shell gives v2.
Test it in the Lab
Change one setting at a time, then compare what you see with the tables and answers in this chapter.