This supplement is a typed chapter from Wen's own book draft, not part of his handwritten notes. It goes back to the start of statistical physics and builds it from a single principle by counting states, first for spins in a magnetic field and then for the classical ideal gas (pp. 1–9). The 8.044 pages on the microcanonical ensemble and on entropy, temperature and the second law cover the general argument and the ideal gas in detail, and Chapter I's ideal gas page reaches the same entropy from the canonical ensemble. Here we follow Wen's route: his reading of probability and ergodicity, the spin system worked out in full, his properties of entropy, and the counting for the gas.
One principle, two readings#
Wen opens with a litre of gas, of order atoms (Section 1.1, p. 1). A complete description would list where every atom is and how fast it moves, about numbers, a list no one could ever compile. Fortunately the things we measure, such as pressure and temperature, are averages over all the atoms, insensitive to what any one of them does. Statistical physics computes such averages while admitting that most of the microscopic information is missing, and in Wen's account it needs just one principle:
In words
all possible states appear with equal probability
"Possible" means compatible with what we do know. Knowing a few properties leaves many states that share them, and the principle says we have no reason to prefer any of them.
But at any instant a real system occupies just one state, so in what sense are the others equally probable? Wen offers two answers (Section 1.1, pp. 1–2):
- Ensemble reading. Picture a huge collection of replicas, identical in everything we know, each sitting in one of the allowed states. "Equally likely" then says that each allowed state is represented by the same number of replicas. This imagined collection is the ensemble; probabilities are defined only with respect to it, so on this reading the theory describes ensembles rather than any one system.
- Time reading. If the system's known properties are steady, "equally likely" can instead mean that, watched for long enough, it lingers equally long in each allowed state. Snapshots taken at many different moments then play the part of the replicas.
The two agree only if the system really does wander through all its possible states, many times over, during the time we watch it. That is the ergodic hypothesis, and Wen stresses that not every system obeys it. He adopts the ensemble reading as the foundation and applies the results to single systems on the assumption that they are ergodic. (A glass or a magnet frozen into one domain pattern is a system for which the time reading fails over any practical time; that example is ours.)
Counting the states of spins#
A microcanonical ensemble is made of isolated systems that all have the same energy, meaning in practice an energy inside a narrow window from to (Section 1.2, p. 2).
Wen's first example is spin- moments in a magnetic field, each with energy (spin up) or (spin down). With spins up the energy is , so fixing fixes . Expanding term by term counts all states and sorts them by the number of up spins (Section 1.2.1, p. 2):
In words
2^ capital N equals the quantity 1 plus 1, all ^ capital N equals the sum from capital M equals 0 to capital N of capital N choose capital M, capital N choose capital M equals capital N ! over the quantity capital M ! the quantity capital N minus capital M, factorial
The binomial coefficient (written in the notes) counts the ways to choose which of the spins point up, so it is the number of states with energy . The entropy is defined as times its logarithm (Section 1.2.1, p. 2):
In words
capital S ( capital E ) equals k B log ( number of states ) equals k B log capital N choose capital M, capital M equals capital E over epsilon nought plus capital N 2
(The notes write the upper index of in Eq. (1.2.4) as ; the number of up spins is .) For large numbers Wen uses Stirling's formula in the form (Section 1.2.1, p. 2)
In words
log n factorial equals the quantity n plus one half, log of the quantity n plus 1, minus the quantity n plus 1, all plus one half log (2 pi ) plus and so on
and keeping only the terms proportional to , with the fraction of spins up and the fraction down,
In words
k B to the power minus 1 capital S is approximately capital N log capital N minus capital M log capital M minus the quantity capital N minus capital M, log of the quantity capital N minus capital M, equals capital N the quantity minus f log f minus the quantity 1 minus f, log of the quantity 1 minus f
With , where , this is a function of the energy alone (Section 1.2.1, p. 3):
In words
k B to the power minus 1 capital S ( capital E ) equals capital N the quantity minus the quantity one half plus capital E over capital E nought, log of the quantity one half plus capital E over capital E nought, minus the quantity one half minus capital E over capital E nought, log of the quantity one half minus capital E over capital E nought
Read backwards, the definition says that the number of states with energy is (Eq. (1.2.8)). The entropy per spin is zero when all spins point the same way, where there is only one state, and largest at , half up and half down, where it is .
Temperature from two systems in contact#
Now put two spin systems side by side, spins and spins, and let them trade energy (Section 1.2.2, p. 3). The total energy is fixed, and the spins wander through every state with that total. By the principle, all of them are equally likely, so the probability that system 1 has energy is proportional to the number of joint states with that split, which is the product of the two systems' counts:
In words
capital P ( capital E one ) is proportional to e to the power capital S one ( capital E one ) over k B, end of power, e to the power capital S two the quantity capital E minus capital E one, all over k B, end of power, equals e to the power the quantity capital S one ( capital E one ) plus capital S two the quantity capital E minus capital E one, all over k B, end of power
Both entropies are proportional to the number of spins, so for large systems this is an extremely narrow peak, practically a delta function. System 1 is then certain to sit at the energy that maximises the total entropy, where
In words
capital S one prime ( capital E one bar ) equals capital S two prime the quantity capital E minus capital E one bar
If system 1 started at some other energy, contact moves it to , and the total entropy rises on the way. That is the second law for this example: an isolated system approaching equilibrium gains entropy, with entropy defined by counting states.
The condition (1.2.11) compares one property of each system, so it defines a shared quantity, the temperature (Section 1.2.2, pp. 3–4):
In words
1 over T equals beta k B equals partial capital S ( capital E ) over partial capital E, equilibrium: T one equals T two
Differentiating (1.2.7), with the average energy per spin, gives the temperature of the spin system (Section 1.2.2, p. 4):
In words
1 over T equals beta k B equals k B over epsilon nought, times log ( the quantity one half epsilon nought minus epsilon, all over the quantity one half epsilon nought plus epsilon, )
(The notes print this fraction upside down, which would make a system with most spins down, , negative in temperature; the derivative of (1.2.7) gives the form above.) Wen's Figure 1.3 shows and against . With most spins down, , the temperature is positive and grows as rises towards zero. At the entropy is at its peak, , and is infinite. Beyond it, adding energy lowers the entropy, so and are negative. A negative temperature is hotter than any positive one: , which varies smoothly, is the better measure, and energy flows from smaller to larger. Such states are real for spins, whose energy is bounded above, and are made in the laboratory by suddenly reversing the field; the interpretation in this paragraph is ours, the notes give only the figure.
Curie's law#
For spin- moments in a field the level splitting is , with the g-factor and the Bohr magneton (Section 1.2.3, p. 4). The energy is , where is the total magnetic moment along the field, so , and (1.2.14) becomes a relation between the moment, the field and the temperature:
In words
1 over T equals k B over the quantity g mu sub B B, times log ( the quantity g mu sub B capital N plus 2 script capital M, all over the quantity g mu sub B capital N minus 2 script capital M, )
(The notes write the energy as and the fraction the other way up; the signs above are the ones that make the moment point along the field, which is also what the notes' final result says.) Solving for (a step the notes skip) gives
In words
script capital M equals g mu sub B capital N over 2, times tanh g mu sub B B over the quantity 2 k B T
which saturates at , every moment aligned, in a strong field or at low temperature. In a weak field, , the moment is far below saturation, , the hyperbolic tangent is close to its argument, and (Section 1.2.3, p. 5)
In words
script capital M equals g squared mu sub B squared capital N over the quantity 4 k B T, times B, chi equals g squared mu sub B squared capital N over the quantity 4 k B T, is proportional to 1 over T
The susceptibility falls as : Curie's law. Wen's Figure 1.4 compares it with measurements on a copper-oxide compound, which follow the curve at high temperature and fall away from it at low temperature, where interactions between the moments, absent from this model, take over. The 8.044 page on paramagnets reaches the same law from the canonical ensemble.
How far does Curie's law reach?
One mole of free electron spins (, J/T) sits in a strong laboratory magnet, 5 T. Compare the exact moment with Curie's law in liquid nitrogen (77 K) and in liquid helium (4.2 K).
The saturation moment
J/T.
At 77 K
The argument is . Its hyperbolic tangent is smaller by only 0.06%, so the exact moment, J/T, and Curie's law agree: even 5 T aligns only about 4% of the full moment here.
At 4.2 K
Now the argument is and . The exact moment is J/T, while Curie's law gives J/T, too high by 20%. Two thirds of the full moment is already aligned, and the linear law no longer holds.
Properties of entropy#
Extensive (Section 1.2.4, p. 5). In (1.2.7), written with the energy per spin, (Eq. (1.2.15)), the entropy is times a function of . Entropy and total energy grow with the size of the system: they are extensive. The energy per spin and the temperature do not: they are intensive.
Independent of the energy window (Section 1.2.4, p. 5). Strictly, the count depends on how wide a window we allow, . Widening the window by a factor multiplies the count by about , so
In words
capital S ( capital E, alpha capital delta capital E ) equals capital S ( capital E, capital delta capital E ) plus k B log alpha
The first term is proportional to ; the second, even for a window a power of wider, of order , grows only as . In the limit of a large system the window drops out, and is a function of alone.
Additive (Section 1.2.4, p. 6). Take two systems of spins each, with energies and and state counts and . Put them side by side with a wall that blocks energy exchange (Wen's Figure 1.5a): every state of one goes with every state of the other, so the joint count is and
In words
capital S equals k B log ( capital gamma ( capital E one ) capital gamma ( capital E two ) ) equals capital S one plus capital S two
Now let energy flow (Figure 1.5b). The pair settles with each system at the average energy , and the combined system of spins with energy has states. This sum contains the original product as one of its terms, so : reaching equilibrium raises the entropy, the second law again.
Finally block the exchange again, leaving each system at (Figure 1.5c). The count drops to , the largest term of the sum. Is entropy lost? The sum has fewer than terms (Wen's generous count of the possible values of ), none larger than , so , that is
In words
capital S bar greater than capital S prime greater than capital S bar minus k B log (2 capital N )
and are of order and differ by at most of order , so for a large system they are equal: inserting the wall again costs no entropy, and the equilibrium state is the state of maximum entropy.
Entropy bookkeeping for 100 + 100 spins
Two systems of spins start with 30 and 70 spins up. Compute for the separate start, for the joined system after equilibrium, and for the two separated again with 50 up each, and check Wen's bounds.
Before contact
.
After equilibrium
All states of 200 spins with 100 up: . The gain, (in units of ), is the entropy produced by letting the energy spread.
Separated again
, below by only , and above the lower bound . The difference of 2.19 grows like , while both values grow like .
Reversible and irreversible change#
Why does entropy grow at all, if each copy of the system follows definite laws of motion? Wen's answer is about information (Section 1.2.4, p. 7). The joined system of Figure 1.5b came from Figure 1.5a, which had only possible states, so it can have only that many possible final states: the evolution of each copy is one-to-one. But we cannot say which of the states of energy those are. All we still know is the total energy, so we must count all of them. The entropy grows because we have lost track of where the states went.
Wen's Figure 1.7 draws the levels as lines. In the irreversible case (a), the four occupied levels of the start end up as four among seven possible final levels, and we no longer know which four. In a reversible, or adiabatic, change (b), such as slowly changing by changing the field, each occupied level moves smoothly into one final level, and the number of possible states does not change: the entropy stays the same.
Counting the states of an ideal gas#
For the gas, a degree of freedom is a coordinate with its momentum , and one particle has three, described by (Section 1.3, p. 7). Classically the number of states below an energy is infinite, since positions and momenta vary continuously. Quantum mechanics fixes this: each state of one degree of freedom occupies an area of its phase plane. For particles phase space has dimensions, each state takes a volume , and the number of states with total energy below , which we call (the notes write N with a subscript less-than sign), is (Section 1.3, p. 7)
In words
capital phi ( capital E ) equals 1 over h to the power 3 capital N, times the integral over the sum of p sub i squared over 2 m less than capital E of d to the power 3 capital N q d to the power 3 capital N p equals capital V ^ capital N capital S sub 3 N ( the square root of 2 m capital E ) to the power 3 capital N over the quantity 3 capital N h to the power 3 capital N
The positions give ; the momenta fill a ball of radius in dimensions, whose volume is with the total solid angle in dimensions. The number in the window from to is the derivative times (Section 1.3, p. 8):
In words
capital gamma ( capital E ) equals capital phi the quantity capital E plus capital delta capital E, all minus capital phi ( capital E ) equals m capital V ^ capital N capital S sub 3 N ( the square root of 2 m capital E ) to the power 3 capital N minus 2, end of power, over h to the power 3 capital N, times capital delta capital E
(The notes have a factor in place of the factor here; the derivative of (1.3.1) gives . Either way it adds only a term of order one to the entropy.) The solid angle comes from a Gaussian integral done two ways: in Cartesian coordinates it is , and in spherical coordinates it is times a radial integral that, with as the variable, is , with here Euler's gamma function (Section 1.3, p. 8):
In words
the integral of d to the power n x e to the power minus x squared equals the integral of capital S sub n r to the power n minus 1, end of power, d r e to the power minus r squared equals one half capital S sub n the integral of (r squared ) to the power the quantity n minus 2, all over 2, end of power, d(r squared ) e to the power minus r squared equals one half capital S sub n capital gamma ( n over 2 ) equals pi to the power n over 2, end of power, capital S sub n equals the quantity 2 pi to the power n over 2, end of power, all over the quantity capital gamma the quantity n over 2
As a check, (a circle) and (a sphere). Putting it together, with the volume per particle and the average energy per particle, Stirling's formula gives (Section 1.3, p. 8)
In words
k B to the power minus 1 capital S ( capital E ) equals capital N log capital N plus capital N log the quantity v(2 m epsilon ) to the power three halves, all over h cubed plus capital N the quantity three halves log 2 pi over 3 plus three halves, all plus log capital delta capital E
plus terms of order . The first term is a problem: doubling the gas at fixed and more than doubles , so this entropy is not extensive. The cure comes from quantum physics. The particles are identical: exchanging two of them gives the same state, not a new one, so the relabellings of a configuration count once (Section 1.3, p. 8):
In words
capital phi ( capital E ) equals 1 over the quantity h to the power 3 capital N capital N !, times the integral over the sum of p sub i squared over 2 m less than capital E of d to the power 3 capital N q d to the power 3 capital N p
With the cancels, the constant gains one, and the entropy is extensive:
In words
k B to the power minus 1 capital S ( capital E ) equals capital N log the quantity v(2 m epsilon ) to the power three halves, all over h cubed plus capital N the quantity three halves log 2 pi over 3 plus five halves
the Sackur-Tetrode entropy. With it is the same as the canonical result of Chapter I, whose thermal wavelength absorbs the term .
Wave packets per particle#
Per particle, and dropping the constant, which is about , Wen reads the entropy as a count (Section 1.3, p. 8):
In words
k B to the power minus 1 s equals k B to the power minus 1 capital S capital N is approximately log the quantity v(2 m epsilon ) to the power three halves, all over h cubed equals log v over lambda cubed, lambda equals h over the square root of 2 m epsilon
Here is the momentum that goes with the average energy and the matching de Broglie wavelength, so is the number of wave packets of that size that fit into the volume available to one particle. If it is huge, the packets of different particles hardly ever overlap and the gas is classical; if it is of order one, they do, and the gas is a quantum gas:
In words
classical gas: v over lambda cubed is much greater than 1, quantum gas: v over lambda cubed is of order 1
Wen ends with a question for the reader: is air at room temperature a quantum gas or a classical one?
Wen's question: air, and electrons in a metal
Estimate , with Wen's and , for (a) nitrogen ( u) at 300 K and 1 atm, and (b) the conduction electrons of copper ( per m³), treated as if they were a classical gas at 300 K.
(a) Air
J and kg, so m. The volume per molecule is m³, and . Air is a classical gas, by a wide margin.
(b) Electrons in copper
The electron is about 51,000 times lighter than a nitrogen molecule, so at the same its wavelength is m, while the volume per electron is only m³. Then , far below one: the electrons of a metal are a quantum gas, which is why they need Fermi-Dirac statistics.
The energy as a function of entropy#
Inverting the entropy gives the energy as a function of , and , from which all of thermodynamics follows (Section 1.3, p. 9). Solving (1.3.7) for (Wen, starting from the approximate (1.3.8), writes ; we keep the constant he drops, which changes neither result below):
In words
capital E ( capital S, capital V, capital N ) equals capital N 3 h squared over the quantity 4 pi m, times ( capital N capital V ) to the power two thirds, end of power, e to the power 2 capital S over 3 capital N k B minus five thirds, end of power
The temperature is the change of energy with entropy at fixed volume, and the pressure is minus the change of energy with volume at fixed entropy, that is, along a reversible adiabatic change (Section 1.3, p. 9):
In words
T equals partial capital E over partial capital S the absolute value of _ capital V equals 2 capital E over the quantity 3 capital N k B, capital P equals minus partial capital E over partial capital V _ capital S equals 2 capital E over the quantity 3 capital V
The first gives , and dividing the second by the first gives the equation of state:
In words
capital P capital V equals capital N k B T
Everything about the ideal gas, its energy, temperature and pressure, has come out of counting cells of size in phase space.
Summary#
- Wen's one principle: all possible states, those compatible with what is known, are equally likely. Probability refers to an ensemble of copies; it describes one system over time only if the system is ergodic.
- spins with energies : , at most ; two systems in contact share energy so as to maximise the total entropy, giving and .
- For the spins , negative when more than half the spins are up; in a weak field the moment follows Curie's law, .
- Entropy is extensive, independent of the energy window for large systems, additive for separate systems, and maximal in equilibrium. It grows in irreversible change because we lose track of which states the system can be in; a reversible change keeps the count and the entropy.
- Ideal gas: one state per phase-space volume , and a factor for identical particles, give an extensive entropy, : classical if , quantum if it is of order one. From follow and .