Statistical mechanics derives thermodynamics from first principles by counting microscopic states. Temperature, entropy, and pressure emerge from probability theory applied to systems with ~10²³ particles.
PrerequisitesLawsofthermodynamics(Ch.12)⋅Quantummechanics(Ch.20)forquantumstatistics⋅Basic calculus and probability
Derive the Boltzmann distribution from the maximum-entropy principle and define the partition function Z.
Extract mean energy and free energy from Z using the standard thermodynamic relations.
Apply the equipartition theorem to predict heat capacities of monatomic and diatomic gases.
Contrast Fermi-Dirac and Bose-Einstein statistics and describe their physical consequences.
S.1 Microstates and the Boltzmann Entropy
The central insight of statistical mechanics is that macroscopic thermodynamic quantities — temperature, pressure, entropy — correspond to averages over an enormous number of microscopic configurations (microstates). Each microstate is a complete specification of every particle's position and momentum.
Definition S.1 — Boltzmann Entropy
TheentropyofamacrostateisproportionaltothelogarithmofthenumberofmicrostatesΩconsistent with it:S=kBlnΩ(kB=1.381×10−23J/KThisiscarvedonBoltzmann′sgravestone.Itconnectsthemicroscopicworld(Ω,countingtothemacroscopic(S,measurable).AsystemevolvestowardstatesofmaximumΩ—thesecod law is just the law of large numbers.
Example S.1 — Entropy of a Two-State System
N=100coins,eachshowingheads(H)ortails(T).Howmanywayscanexactly50beheads? Compare to all-heads. What does this say about the second law?
Moral:Theall−headsstateisfantasticallyimprobable.For1023coins(molesofgasmolecules, the overwhelmingly most probable macrostate is the uniform distribution. Deviations are essentially impossible — this is the second law.
S.2 The Boltzmann Distribution
Consider a small system in contact with a large thermal reservoir at temperature T. The probability that the system occupies a microstate with energy E is theBoltzmann distribution:
P(E)=(1/Z)e−E/kBT=(1/Z)e−\betaE(β≡1/kBT)(S.1)
The partition function Z = Σ_i e^(−βEᵢ) (sum over all microstates) is the normalization factor and encodes all thermodynamic information. Once Z is known:
The partition function is to statistical mechanics what the wavefunction is to quantum mechanics — everything follows from it.
Example S.2 — Two-Level System
Asystemhastwoenergylevels:E=0andE=ε.Findthepartitionfunction,meanenergy, and heat capacity.
Z:Z=e−β⋅0+e−βε=1+e(−βε
ln Z:lnZ=ln(1+e(−βε
⟨E⟩:⟨E⟩=−∂(lnZ)/∂β=εe−βε/(1+e−βε)=ε/(eβε+1
Heat capacity:C=d⟨E⟩/dT=kB(βε)2eβε/(eβε+1)2
Schottky anomaly:CpeaksatkBT≈0.42εthendecays.AthighT(kBT≫ε):⟨E⟩→ε/2(equalpopulation).At low T: system freezes into ground state.
S.3 The Equipartition Theorem
Theorem S.1 — Equipartition Theorem
In thermal equilibrium at temperature T, every quadratic degree of freedom contributes \frac{1}{2}k_BT to the mean energy:⟨½mx˙2⟩=21kBTforeachtranslational,rotational,orvibrationalmodeAmonatomicidealgashas3translationalDOF→⟨E⟩=3/2kBTperparticle.Adiatomicmoleculehas3translational+2rotational=5DOF→⟨E⟩=5/2kBT.ThisgivesCv=(f/2)NkB,wherefisthenumberofactivequadraticmodes.
The equipartition theorem breaks down at low temperatures where quantum effects freeze out modes with spacing ε ≫ k_BT. This is why the heat capacity of hydrogen drops from 5/2 Nk_B (room temperature, 5 modes) to 3/2 Nk_B (low temperature, only translation) — a purely quantum effect observed by Boltzmann himself but not understood until quantum mechanics.
S.4 Quantum Statistics
Identical quantum particles obey one of two statistics, depending on their spin:
Fermi-Dirac statistics explains why metals conduct electricity (electrons near E_F are mobile), why white dwarf stars don't collapse (electron degeneracy pressure), and why the specific heat of metals is linear in T (only electrons within ~k_BT of E_F contribute). Bose-Einstein statistics permits photon bunching (laser light) and Bose-Einstein condensation — all bosons collapsing into the ground state below a critical temperature.
Definition S.3 — Common Traps
Microstates and macrostates are different levels: entropy counts microscopic arrangements compatible with one macrostate.
Z is more than normalization: derivatives of ln Z generate energy, entropy, and free energy.
Equipartition has limits:quantumlevelspacingfreezesoutmodeswhenkBTistoosmall
Fermions and bosons differ by occupancy rules: the plus/minus sign changes low-temperature behavior completely.
Exercises — S.1–S.4 Statistical Mechanics
1.
Using equipartition, derive the heat capacity Cv of a monatomic ideal gas. Express in terms of N, k_ number for one mole.
3.DerivethePlanckblackbodydistributionfromtheBose−Einsteindistribution(μ=0).Showhow this resolves the ultraviolet catastrophe.
Intermediate
4.CalculatetheFermienergyEFforafreeelectrongaswithdensityn.Findthetotalground-state energy and the degeneracy pressure. Why is Cv of electrons linear in T rather than constant?