BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year
Physics · Year III

8.044 Statistical Physics I

Probability, temperature, entropy, the laws of thermodynamics, and quantum statistics including blackbody radiation.

Based on MIT OpenCourseWare, Spring 2013 · Prof. Thomas Greytak · Course on OCW

Lectures 22 of 22 with pages so far

  • Probability: one random variable

    Statistical physics speaks the language of probability. A random variable is described completely by its probability density p(x), or equivalently by its cumulative distribution P(x); delta functions let discrete and mixed variables use the same tools. Averages such as the mean and variance summarize a density, and the Gaussian, exponential and Poisson densities appear again and again.

  • Probability: two or more random variables

    Two random variables have a joint density. Integrating out one variable gives the density of the other; slicing the joint density at a fixed value of one gives a conditional density, and Bayes' theorem connects the two. Variables are statistically independent when the joint density factors. These tools derive the Poisson density from first principles and describe correlated noise through the jointly Gaussian density.

  • Probability: functions of a random variable

    If x is random, so is any function f(x), and its density follows in three steps: find where f is below a given value, integrate the density of x over that region to get the cumulative distribution of f, and differentiate. The method gives the intensity of thermal light, the position of an oscillator of unknown phase, the wavelength spectrum of black-body photons, and densities of functions of two variables.

  • Probability: sums of random variables and the central limit theorem

    For independent random variables, the mean of a sum is the sum of the means and the variance is the sum of the variances, so the relative width of a sum of n similar terms shrinks like 1/√n. The density of a sum is the convolution of the densities. The central limit theorem says that a sum of many independent, identically distributed variables with finite variance is close to Gaussian, which is why Gaussians are everywhere in physics.

  • Thermodynamic variables, temperature and work

    Thermodynamics describes systems by a few macroscopic variables, extensive or intensive, related in equilibrium by an equation of state. The zeroth law, that two systems each in equilibrium with a third are in equilibrium with each other, guarantees a quantity equal in all of them: an empirical temperature. Work done on a system, such as −P dV, depends on the path, while state functions have exact differentials, which the mathematics of partial derivatives handles.

  • The first law of thermodynamics and paths

    Experiments give response functions, derivatives such as the expansion coefficient and the compressibility, from which an equation of state can be rebuilt. Adiabatic work defines the internal energy U, a state function; heat is whatever else changes U, and the first law dU = đQ + đW expresses energy conservation. For an ideal gas U depends only on T, C_P − C_V = Nk, and adiabats follow PV^γ = constant.

  • Statistical mechanics and the microcanonical ensemble

    An isolated system with fixed energy, volume and particle number is described by the simplest probability density: every accessible microscopic state equally likely. Liouville's theorem shows such a density is a valid equilibrium. Counting the accessible phase-space volume Ω gives everything; for the ideal monatomic gas it uses the volume of a 3N-dimensional sphere, and integrating out all but one momentum recovers the Gaussian (Maxwell) distribution of a velocity component.

  • Entropy, temperature and the second law

    Entropy is defined as k times the logarithm of the accessible phase-space volume. Letting two systems share energy and asking for the most probable division gives the equilibrium condition, equal ∂S/∂E, and so the statistical definition of temperature, 1/T = ∂S/∂E. The same argument gives the second law: the entropy of an isolated system never decreases, and dS ≥ δQ/T for a system exchanging heat with a bath. For the ideal gas it yields E = (3/2)NkT and the adiabat VT^(3/2) = constant.

  • Entropy as a thermodynamic variable

    With entropy defined as k ln Ω, the first and second laws combine into dE ≤ T dS + δW, and solving for dS shows that every derivative of S(E, V, …) is a thermodynamic variable: ∂S/∂E = 1/T, ∂S/∂V = P/T. From S alone come the energy and the equation of state, PV = NkT for the ideal gas. A two-level system worked out by counting gives the Fermi-like occupation N/(e^(ε/kT) + 1), a heat capacity peak, and negative temperatures.

  • Maxwell relations and thermodynamic potentials

    Entropy is a state function, so its mixed second derivatives are equal. For a gas this gives (∂U/∂V)_T = T(∂P/∂T)_V − P, a relation without S, from which follow C_P − C_V = TVα²/κ_T, an ideal-gas energy that depends on T alone, and the ideal gas's entropy S(T, V). The same trick applied to the energy and the three other thermodynamic potentials, F = E − TS, H = E + PV and G = E + PV − TS, gives the Maxwell relations, which a square diagram helps to remember.

  • An elastic rod, heat engines and the Carnot cycle

    A worked example shows how a Maxwell relation turns a tension law and a heat capacity into the full energy and entropy of an elastic rod, and why a rubber band contracts when heated and warms when stretched quickly. Then heat engines: a cycle takes in heat |Q_H|, rejects |Q_C| and delivers the difference as work. The second law, δQ ≤ T dS, limits the efficiency of a Carnot cycle to 1 − T_C/T_H and of any cycle to 1 − T_min/T_max.

  • Refrigerators, the third law and the canonical ensemble

    Run backwards, a Carnot cycle is a refrigerator or a heat pump, with performance limited to T_C/(T_H − T_C) and T_H/(T_H − T_C). The third law says the entropy tends to a constant as T → 0, so expansion coefficients, C_P − C_V and heat capacities all vanish there. Then the canonical ensemble: a small system in contact with a large bath at temperature T has probability density proportional to exp(−H/kT), and its normalizing constant, the partition function Z, gives the free energy F = −kT ln Z and from it all the thermodynamics.

  • Examples using the canonical ensemble

    The canonical ensemble integrates over all of phase space and factorizes for independent parts, so Z = Z₁^N, divided by N! for identical particles. Worked through: the classical ideal gas, with the thermal de Broglie wavelength, the Sackur–Tetrode entropy and PV = NkT; classical harmonic oscillators, with C = Nk; and a two-level impurity with a g-fold excited state, whose heat capacity peak depends on g. Finally U = −∂ln Z/∂β, a shortcut to the energy.

  • Polyatomic gases

    A molecule's Hamiltonian splits into centre-of-mass motion, rotation and vibration, so its partition function factorizes. Translation is classical; rotation and vibration are quantized, with characteristic temperatures of order 100 K and several thousand kelvin. A quantum oscillator has a geometric (Bose–Einstein) distribution of quanta, and its heat capacity rises from an energy-gap form at low temperature to the classical k at high. A linear rotor has levels kΘ_R l(l + 1), (2l + 1)-fold degenerate, and the same pattern. Rotational Raman spectra display those levels and their Boltzmann populations.

  • Black-body radiation in statistical physics

    Radiation in equilibrium inside a cavity has a spectrum independent of the walls, isotropic and unpolarized. Kinetic arguments give the flux onto a surface, cu/4, and the pressure, u/3; Kirchhoff's law ties every material's emission to that spectrum. Thermodynamics alone then forces u = AT⁴ (the Stefan–Boltzmann law). Statistical mechanics finds A: each cavity mode is an oscillator, classical physics gives an infinite energy, and quantum oscillators give Planck's spectrum, with F, P, S and E all following from the partition function.

  • The quantum paramagnet

    Independent magnetic moments with 2J + 1 levels in a field H have Z₁ = sinh[(J + ½)η]/sinh(η/2), where η = gμ_BH/kT. Their magnetization follows the Brillouin function: Curie's law M ∝ H/T at high temperature, saturation at low. In this model the internal energy is zero, so the average of the Hamiltonian, −HM, is not U, and −kT ln Z is the magnetic Gibbs function G(T, H) rather than F. The entropy depends only on H/T, which is the basis of cooling by adiabatic demagnetization to millikelvin and microkelvin temperatures.

  • Quantum states of many identical particles

    Non-interacting distinguishable particles have product wavefunctions. Identical particles do not: swapping two of them must give back the same state up to a sign, so the wavefunction is symmetric (bosons, integer spin) or antisymmetric (fermions, half-integer spin). Composite particles follow from counting their constituents. Antisymmetric states are determinants, which vanish if two particles share a state (the Pauli principle), so a state is fully specified by occupation numbers. Because those numbers must add up to N, the canonical sum cannot be factorized, which motivates the grand canonical ensemble.

  • The chemical potential and the grand canonical ensemble

    When particles can move between phases, places or chemical forms, a new variable appears: the chemical potential μ, with dU = T dS − P dV + μ dN. Particles flow from high μ to low, and equilibrium needs equal μ as well as equal T, as the example of gas adsorbed on a surface shows. Letting a subsystem exchange particles with a large reservoir gives the grand canonical ensemble, with weight exp[(μN − H)/kT] and the grand potential as its link to thermodynamics. For non-interacting identical particles it factorizes over single-particle states, giving the Fermi–Dirac and Bose–Einstein occupations 1/(e^((ε − μ)/kT) ± 1).

  • The density of states and the free Fermi gas

    Counting plane-wave states in a box gives the density of states, proportional to √E for free particles. Spin-½ fermions at zero temperature fill a Fermi sphere up to the Fermi energy E_F ∝ (N/V)^(2/3), with mean energy (3/5)E_F, high speeds and a large pressure even at T = 0; the numbers for copper and the compressibility of potassium follow. Electrons near the Fermi surface give a temperature-independent Pauli paramagnetism and a heat capacity proportional to T. Interacting systems are described by elementary excitations, and in an intrinsic semiconductor the chemical potential sits near the middle of the gap.

  • White dwarfs and the Chandrasekhar limit

    A star must resist its own gravity. Normal stars use gas and radiation pressure from the heat of fusion; when fusion stops, a white dwarf is held up by the degeneracy pressure of its electrons, a Fermi gas at effectively zero temperature. A simple energy balance gives its radius, R ∝ M^(−1/3), which roughly matches Sirius B. But the electrons there are relativistic, and for a relativistic Fermi gas both kinetic and gravitational energy scale as 1/R, so above a critical mass, the Chandrasekhar limit of about 1.4 solar masses, nothing stops the collapse. Neutron stars repeat the story with neutrons.

  • Zero-point energy, fluctuations and surprises

    Three results from statistical mechanics. First, the zero-point energy ½ħω is real: the lattice vibrations of a crystal push it apart with a pressure proportional to their energy, so lithium-6, whose lighter atoms vibrate faster, has a slightly larger lattice spacing than lithium-7 even at absolute zero. Second, the fluctuations of particle number follow from the grand partition function: their relative size is kTκ_T/V, tiny except near a critical point, where the compressibility diverges and fluctuations become visible as critical opalescence. Third, a list of thermodynamic behaviours that intuition expects but nature does not always obey.

  • Bose–Einstein condensation

    For an ideal gas of bosons at fixed density, cooling pushes the chemical potential up towards the lowest single-particle energy. It reaches it at a critical temperature T_c, set by the condition that the thermal de Broglie wavelength becomes comparable to the spacing between particles. Below T_c the excited states cannot hold all the particles, and a macroscopic fraction 1 − (T/T_c)^(3/2) collects in the single lowest state: Bose–Einstein condensation. The lecture closes with the seventy-year history that led from Bose and Einstein's prediction to the first condensates in dilute atomic gases.

Note: Lectures follow MIT's calendar (22 lectures; exams after Lectures 10 and 18 and at the end have no pages). Each lecture has Greytak's slides; lecture notes exist for Lectures 1–5 (probability notes, chapters 1–4, and thermodynamic definitions), 7–10, 12 and 17 (CC BY-NC-SA).