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.
- Lecture 1 Probability: one random variable MIT ↗ (opens in a new tab)
- 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.
- Lecture 2 Probability: two or more random variables MIT ↗ (opens in a new tab)
- 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.
- Lecture 3 Probability: functions of a random variable MIT ↗ (opens in a new tab)
- 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.
- Lecture 4 Probability: sums of random variables and the central limit theorem MIT ↗ (opens in a new tab)
- 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.
- Lecture 5 Thermodynamic variables and state functions MIT ↗ (opens in a new tab)
- 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.
- Lecture 6 The first law and paths MIT ↗ (opens in a new tab)
- 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.
- Lecture 7 Statistical mechanics and the microcanonical ensemble MIT ↗ (opens in a new tab)
- 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.
- Lecture 8 Entropy, temperature and the second law MIT ↗ (opens in a new tab)
- 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.
- Lecture 9 Entropy as a thermodynamic variable MIT ↗ (opens in a new tab)
- 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.
- Lecture 10 Maxwell relations and thermodynamic potentials MIT ↗ (opens in a new tab)
- 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.
- Lecture 11 Heat engines and Carnot cycles MIT ↗ (opens in a new tab)
- 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.
- Lecture 12 Derivation of the canonical ensemble MIT ↗ (opens in a new tab)
- 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.
- Lecture 13 Examples using the canonical ensemble MIT ↗ (opens in a new tab)
- 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.
- Lecture 14 Polyatomic gases MIT ↗ (opens in a new tab)
- 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.
- Lecture 15 Black-body radiation MIT ↗ (opens in a new tab)
- 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.
- Lecture 16 Paramagnets MIT ↗ (opens in a new tab)
- 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.
- Lecture 17 Quantum states of many-particle systems MIT ↗ (opens in a new tab)
- 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).
- Lecture 18 Chemical potential and the grand canonical ensemble MIT ↗ (opens in a new tab)
- 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.
- Lecture 19 Density of states and the free Fermi gas MIT ↗ (opens in a new tab)
- 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.
- Lecture 20 Stellar configurations and white dwarfs MIT ↗ (opens in a new tab)
- 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.
- Lecture 21 Interesting and counter-intuitive examples MIT ↗ (opens in a new tab)
- 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.
- Lecture 22 Bose–Einstein condensation MIT ↗ (opens in a new tab)
- Problem set Problem Set 1: six probability densities, from a doped semiconductor to photons in a cavity
Six problems on one random variable. A mixed density with a delta function for impurities in a semiconductor; the Lorentzian density and its moments; the density of a classical oscillator with unknown phase; a discrete density found from its mean and mean square; the moving Gaussian of a coherent state; and the Bose-Einstein density of photons in one mode of a cavity.
Practises lecture 1
- Problem set Problem Set 2: two quantum particles, a pyramid, nearest stars, gas energies, an atomic beam and planetary nebulae
Six problems on joint densities and on functions of a random variable. The joint density of two particles in a common box; a joint density shaped like a pyramid; the distance to the nearest star and the pull it exerts; the energy of an atom in a gas in three and in two dimensions; the speeds in an atomic beam read off from where the atoms land; and the image of a glowing shell of gas.
Practises lectures 2, 3
- Problem set Problem Set 3: clearing impurities, energy fluctuations in a gas, temperature, work along paths and a ferromagnet
Six problems and a practice problem. The central limit theorem for an impurity pushed along a wire 36 times; the fluctuations of the energy of one atom and of a whole gas; an empirical temperature read off from two equilibrium conditions; the work done on a solid and on thermal radiation along different paths between the same two states; exact differentials; and the equation of state of a ferromagnet rebuilt from two measured derivatives.
Practises lectures 4, 5, 6
- Problem set Problem Set 4: heat capacities, a Curie law paramagnet, classical moments, a strange chain and oscillators
Six problems on the first law and on the microcanonical ensemble. The heat capacity at constant pressure of any fluid; the heat a gas takes up along three paths between the same two states; the full thermodynamics of a paramagnet that obeys Curie's law; classical magnetic moments counted in the microcanonical ensemble; a chain of links as a model of rubber; and a set of harmonic oscillators.
Practises lectures 6, 7, 8, 9
- Problem set Problem Set 5: Gibbs' paradox and correct Boltzmann counting
One problem in three parts on a flaw in the classical count of states for the ideal gas: whether its entropy is extensive, the entropy of mixing two gases (Gibbs' paradox), and what changes when identical atoms are treated as indistinguishable.
Practises lectures 7, 8, 9
- Problem set Problem Set 6: sound in a solid, a surface film, a Bose gas and a paramagnet
Four problems on Maxwell relations and the energy equation. The temperature swing that goes with the pressure swing of a sound wave in a solid; a surface film whose energy depends on temperature alone; the energy and entropy of a Bose gas below its transition, built from its equation of state and heat capacity; and the same for a paramagnet.
Practises lectures 10, 11
- Problem set Problem Set 7: a free expansion, a Carnot engine between two bodies, cooling helium, a torsional pendulum and the hydrogen atom
Five problems on thermodynamics and on the canonical ensemble. A gas whose atoms attract each other expands into a vacuum; a Carnot engine run between two bodies until they reach a common temperature; liquid helium cooled by a colder salt; thermal noise in the reading of a torsional pendulum; and the partition function of the hydrogen atom.
Practises lectures 10, 11, 12, 13
- Problem set Problem Set 8: dust grains in space, a stepped surface, an atom trap, hydrogen on a surface and why stars shine
Five problems on the canonical ensemble. Needle-shaped dust grains that rotate classically, and the third law; xenon atoms on a crystal surface with three kinds of site; atoms in a trap whose potential grows with the distance, cooled by opening the trap; hydrogen molecules that rotate in a plane; and an estimate about how the Sun shines.
Practises lectures 12, 13, 14
- Problem set Problem Set 9: the Big Bang, the heat capacity of a crystal and thermal noise in circuits
Five problems on oscillators in thermal equilibrium. How much the universe has grown since the cosmic background radiation was set free; the heat capacity of a crystal in the classical model, in Einstein's model and with phonons; the noise voltage on a capacitor and the noise current in an inductor; a transmission line as black-body radiation in one dimension, which gives the Johnson noise of a resistor; and the noise spectrum of a resistor with a capacitor.
Practises lectures 13, 14, 15
- Problem set Problem Set 10: two identical particles, bosons with two levels, chlorine in Raman light, the Langmuir isotherm, entropy as missing information and Maxwell relations for the chemical potential
Six problems on identical particles and the chemical potential. Two fermions or two bosons on three levels; N bosons on two levels; the strong and weak lines in the rotational Raman spectrum of chlorine; atoms that stick to the sites of a surface, in equilibrium with a gas (the Langmuir isotherm); the grand canonical ensemble found by making the Shannon entropy as large as possible; and four Maxwell relations that contain the chemical potential.
Practises lectures 17, 18
- Problem set Problem Set 11: ripplons, a two-dimensional metal, donors in a semiconductor, polarized spins and helium-3
Six problems on densities of states and on Fermi gases. Waves on the surface of a liquid, counted like phonons; electrons in a flat metal whose energy is a pyramid over the plane of wavevectors; the chemical potential of a semiconductor with donor atoms; the magnetic field that would line up every spin of a Fermi gas; helium-3 dissolved in helium-4 at absolute zero; and the melting curve of helium-3.
Practises lectures 18, 19, 21
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).