Statistical Mechanics Course

Fundamentals: Essential prerequisite for plasma physics, quantum mechanics, and cosmology

Statistical Mechanics

The bridge between microscopic physics and thermodynamic behavior

Course Overview

Statistical mechanics provides the theoretical foundation for understanding how macroscopic thermodynamic properties emerge from the microscopic behavior of atoms and molecules. This field is essential for modern physics, connecting quantum mechanics, thermodynamics, and statistical methods.

Why Study Statistical Mechanics?

  • Plasma Physics: Maxwell-Boltzmann distributions, Debye shielding, kinetic theory
  • Quantum Mechanics: Density matrices, thermal states, quantum statistical mechanics
  • Cosmology: Thermal history of the universe, recombination, CMB blackbody spectrum
  • Condensed Matter: Phase transitions, critical phenomena, many-body systems
  • Quantum Field Theory: Thermal field theory, finite temperature effects

Key Topics

Classical Statistical Mechanics

  • • Microcanonical ensemble (isolated systems)
  • • Canonical ensemble (constant temperature)
  • • Grand canonical ensemble (variable particle number)
  • • Partition functions and thermodynamic potentials
  • • Maxwell-Boltzmann distribution
  • • Equation of state and phase space

Quantum Statistical Mechanics

  • • Density matrix formalism
  • • Bose-Einstein statistics (bosons)
  • • Fermi-Dirac statistics (fermions)
  • • Quantum gases and condensation
  • • Blackbody radiation (Planck distribution)
  • • Chemical potential and fugacity

Thermodynamics

  • • Laws of thermodynamics (0th through 3rd)
  • • Entropy and information theory
  • • Free energies (Helmholtz, Gibbs)
  • • Maxwell relations
  • • Heat capacity and response functions
  • • Thermodynamic equilibrium

Advanced Topics

  • • Phase transitions and critical phenomena
  • • Ising model and mean field theory
  • • Fluctuations and response theory
  • • Non-equilibrium statistical mechanics
  • • Kinetic theory and Boltzmann equation
  • • Renormalization group methods

Essential Equations

With step-by-step derivations from first principles

1. Canonical Partition Function

$$Z = \sum_i e^{-E_i/k_B T} = \text{Tr}\left(e^{-\beta H}\right), \quad \beta = \frac{1}{k_B T}$$

The partition function encodes all thermodynamic information. Free energy: F = −kBT ln Z

Derivation

Step 1 — The canonical ensemble. Consider a system S in thermal contact with a large heat bath R at temperature T. Together they form an isolated composite with total energy \(E_\text{total} = E_S + E_R\). By the fundamental postulate, every microstate of the composite is equally likely in the microcanonical ensemble.

Step 2 — Probability of a microstate. The probability of finding S in a specific microstate i with energy \(E_i\) is proportional to the number of microstates of the reservoir at energy \(E_\text{total} - E_i\):

$$P_i \propto \Omega_R(E_\text{total} - E_i)$$

Step 3 — Taylor-expand the entropy. Since \(E_i \ll E_\text{total}\), expand the reservoir's entropy \(S_R = k_B \ln \Omega_R\) around \(E_\text{total}\):

$$S_R(E_\text{total} - E_i) \approx S_R(E_\text{total}) - E_i \frac{\partial S_R}{\partial E}\bigg|_{E_\text{total}}$$

The thermodynamic definition of temperature gives\(\frac{\partial S_R}{\partial E} = \frac{1}{T}\), so:

$$\Omega_R(E_\text{total} - E_i) = e^{S_R/k_B} \propto e^{-E_i/(k_B T)}$$

Step 4 — The Boltzmann distribution. The probability of microstate i follows the Boltzmann weight:

$$P_i = \frac{e^{-\beta E_i}}{Z}, \qquad \beta = \frac{1}{k_B T}$$

Step 5 — Normalization defines Z. Since\(\sum_i P_i = 1\):

$$\boxed{Z = \sum_i e^{-\beta E_i} = \text{Tr}\left(e^{-\beta H}\right)}$$

The trace form \(\text{Tr}(e^{-\beta H})\) holds in any basis (quantum mechanical generalization).

Step 6 — Thermodynamics from Z. All thermodynamic quantities follow:

$$F = -k_B T \ln Z \qquad \text{(Helmholtz free energy)}$$$$\langle E \rangle = -\frac{\partial \ln Z}{\partial \beta} \qquad \text{(mean energy)}$$$$S = -\frac{\partial F}{\partial T} = k_B \ln Z + k_B T \frac{\partial \ln Z}{\partial T} \qquad \text{(entropy)}$$

Key Assumptions

Thermal equilibrium with a large heat bath; the reservoir is much larger than the system (\(E_i \ll E_\text{total}\)) so higher-order terms in the Taylor expansion are negligible; weak coupling between system and reservoir (interaction energy negligible).

2. Maxwell-Boltzmann Distribution

$$f(\vec{v}) = n\left(\frac{m}{2\pi k_B T}\right)^{3/2} \exp\left(-\frac{m v^2}{2k_B T}\right)$$

Velocity distribution in thermal equilibrium — fundamental for kinetic theory and plasma physics

Derivation

Step 1 — Single-particle energy. For a classical particle of mass m with velocity \(\vec{v} = (v_x, v_y, v_z)\), the kinetic energy is:

$$E = \frac{1}{2}m v^2 = \frac{1}{2}m(v_x^2 + v_y^2 + v_z^2)$$

Step 2 — Apply the Boltzmann distribution. From the canonical ensemble (Equation 1), the probability of a particle having velocity in the range\(d^3v\) around \(\vec{v}\) is proportional to the Boltzmann weight:

$$P(\vec{v})\,d^3v \propto \exp\!\left(-\frac{mv^2}{2k_B T}\right) d^3v$$

Step 3 — Normalize. The integral over all velocities must equal the total number density n. Using the Gaussian integral\(\int_{-\infty}^{\infty} e^{-ax^2}\,dx = \sqrt{\pi/a}\) with\(a = m/(2k_BT)\):

$$\int_{-\infty}^{\infty}\!\!\int_{-\infty}^{\infty}\!\!\int_{-\infty}^{\infty} e^{-m(v_x^2+v_y^2+v_z^2)/(2k_BT)}\,dv_x\,dv_y\,dv_z = \left(\frac{2\pi k_B T}{m}\right)^{3/2}$$

The normalization constant is therefore \(n\left(\frac{m}{2\pi k_B T}\right)^{3/2}\), giving:

$$\boxed{f(\vec{v}) = n\left(\frac{m}{2\pi k_B T}\right)^{3/2} \exp\!\left(-\frac{m v^2}{2k_B T}\right)}$$

Step 4 — Speed distribution. To find the distribution of speeds (not velocities), integrate over all directions. In spherical velocity coordinates, the volume element is \(d^3v = 4\pi v^2\,dv\):

$$g(v) = 4\pi n \left(\frac{m}{2\pi k_B T}\right)^{3/2} v^2 \exp\!\left(-\frac{m v^2}{2k_B T}\right)$$

Step 5 — Characteristic speeds. From the speed distribution one obtains:

$$v_\text{most probable} = \sqrt{\frac{2k_B T}{m}} \qquad \text{(peak of } g(v)\text{)}$$$$\langle v \rangle = \sqrt{\frac{8k_B T}{\pi m}} \qquad \text{(mean speed)}$$$$v_\text{rms} = \sqrt{\langle v^2 \rangle} = \sqrt{\frac{3k_B T}{m}} \qquad \text{(root-mean-square)}$$

Step 6 — Equipartition theorem. Each quadratic degree of freedom contributes \(\frac{1}{2}k_BT\) to the mean energy. With 3 translational degrees of freedom:

$$\langle E \rangle = \frac{1}{2}m\langle v^2\rangle = \frac{3}{2}k_B T$$

Key Assumptions

Classical (non-relativistic) particles; ideal gas (no inter-particle interactions); thermal equilibrium; distinguishable particles (or dilute limit where quantum statistics reduce to classical).

3. Boltzmann's Entropy Formula

$$S = k_B \ln \Omega$$

Entropy equals Boltzmann's constant times the logarithm of the number of microstates Ω

Derivation

Step 1 — The microcanonical ensemble. Consider an isolated system with fixed energy E, volume V, and particle number N. The fundamental postulate of statistical mechanics states that all accessible microstates are equally probable. Let Ω(E, V, N) be the total number of microstates.

Step 2 — Entropy must be additive. For two independent subsystems A and B, the total number of microstates is multiplicative:

$$\Omega_\text{total} = \Omega_A \times \Omega_B$$

But thermodynamic entropy must be additive: Stotal = SA + SB. The only function that converts a product into a sum is the logarithm:

$$S = k_B \ln(\Omega_A \cdot \Omega_B) = k_B \ln \Omega_A + k_B \ln \Omega_B = S_A + S_B$$

Step 3 — Consistency with thermodynamics. For this definition to agree with thermodynamic entropy, we need \(\frac{\partial S}{\partial E} = \frac{1}{T}\). From \(S = k_B \ln \Omega(E)\):

$$\frac{1}{T} = \frac{\partial S}{\partial E} = k_B \frac{1}{\Omega}\frac{\partial \Omega}{\partial E} = k_B \frac{\partial \ln \Omega}{\partial E}$$

Step 4 — Verify with the ideal gas. For N particles in a box of volume V with total energy E, the number of microstates is the volume of the energy shell in 3N-dimensional momentum space. Using the surface area of a 3N-dimensional sphere:

$$\Omega(E, V, N) \propto V^N \cdot E^{3N/2}$$

Taking the logarithm and using Stirling's approximation:

$$S = k_B \ln \Omega = Nk_B \ln V + \frac{3}{2}Nk_B \ln E + \text{const.}$$

From \(1/T = \partial S / \partial E = \frac{3}{2}Nk_B/E\), we recover\(E = \frac{3}{2}Nk_BT\) — the ideal gas energy. The full treatment (Sackur–Tetrode equation) gives:

$$S = Nk_B \left[\ln\!\left(\frac{V}{N}\left(\frac{4\pi m E}{3Nh^2}\right)^{3/2}\right) + \frac{5}{2}\right]$$

Step 5 — Connection to information theory (Gibbs entropy). For a general probability distribution \(\{P_i\}\) over microstates, the Gibbs entropy generalizes Boltzmann's formula:

$$S = -k_B \sum_i P_i \ln P_i$$

For the microcanonical ensemble where all Ω microstates are equally probable (\(P_i = 1/\Omega\)):

$$S = -k_B \sum_{i=1}^{\Omega} \frac{1}{\Omega} \ln \frac{1}{\Omega} = -k_B \cdot \Omega \cdot \frac{1}{\Omega}(-\ln \Omega) = k_B \ln \Omega$$

Key Assumptions

Equal a priori probabilities (fundamental postulate); isolated system with well-defined energy; the energy shell is thin enough that Ω is well-defined. The constant kB is fixed by requiring agreement with thermodynamic entropy and the ideal gas law.

4. Fermi–Dirac Distribution

$$f(E) = \frac{1}{e^{(E-\mu)/k_B T} + 1}$$

Mean occupation number for fermions (electrons, protons, neutrons) — particles obeying the Pauli exclusion principle

Derivation

Step 1 — Grand canonical ensemble. For a system that can exchange both energy and particles with a reservoir, the grand partition function is:

$$\mathcal{Z} = \sum_{\{n_i\}} \exp\!\left[-\beta\sum_i (E_i - \mu)\,n_i\right]$$

where \(n_i\) is the occupation number of single-particle state i with energy\(E_i\), and μ is the chemical potential.

Step 2 — Fermionic constraint. For fermions, the Pauli exclusion principle restricts each occupation number to \(n_i \in \{0, 1\}\)(at most one particle per quantum state).

Step 3 — Factorize. Since each state is independent, the grand partition function factorizes:

$$\mathcal{Z} = \prod_i \mathcal{Z}_i, \qquad \mathcal{Z}_i = \sum_{n_i=0}^{1} e^{-\beta(E_i - \mu)n_i}$$

For each state, the single-state partition function is:

$$\mathcal{Z}_i = 1 + e^{-\beta(E_i - \mu)}$$

Step 4 — Mean occupation number. The mean number of particles in state i is:

$$\langle n_i \rangle = \frac{\sum_{n_i=0}^{1} n_i\, e^{-\beta(E_i - \mu)n_i}}{\mathcal{Z}_i} = \frac{0 \cdot 1 + 1 \cdot e^{-\beta(E_i-\mu)}}{1 + e^{-\beta(E_i-\mu)}}$$

Dividing numerator and denominator by \(e^{-\beta(E_i-\mu)}\):

$$\boxed{\langle n_i \rangle = f(E_i) = \frac{1}{e^{(E_i - \mu)/k_B T} + 1}}$$

Step 5 — Limiting behavior.

  • T → 0: \(f(E) \to \Theta(\mu - E)\) — a sharp step function. All states below μ are filled, all above are empty. This defines the Fermi energy \(E_F = \mu(T=0)\).
  • T > 0: The step is smeared over a width ~kBT around μ. Exactly at \(E = \mu\): \(f(\mu) = 1/2\).
  • \(E - \mu \gg k_BT\): \(f(E) \approx e^{-(E-\mu)/k_BT}\) — reduces to the classical Boltzmann distribution.

Key Assumptions

Non-interacting (ideal) fermions; thermal and chemical equilibrium with a reservoir; the Pauli exclusion principle (\(n_i = 0\) or 1 only). Interactions can be incorporated perturbatively via Landau's Fermi liquid theory.

5. Bose–Einstein Distribution

$$f(E) = \frac{1}{e^{(E-\mu)/k_B T} - 1}$$

Mean occupation number for bosons (photons, phonons, pions) — particles with integer spin

Derivation

Step 1 — Grand canonical ensemble for bosons. As with fermions, we use the grand canonical ensemble. For bosons, there is no exclusion principle — the occupation number of each state can be any non-negative integer:\(n_i \in \{0, 1, 2, 3, \ldots\}\).

Step 2 — Single-state partition function. For a single state with energy \(E_i\):

$$\mathcal{Z}_i = \sum_{n_i=0}^{\infty} e^{-\beta(E_i - \mu)n_i} = \sum_{n_i=0}^{\infty} \left(e^{-\beta(E_i-\mu)}\right)^{n_i}$$

This is a geometric series \(\sum_{n=0}^{\infty} x^n = 1/(1-x)\) with\(x = e^{-\beta(E_i - \mu)}\). For convergence we need \(E_i > \mu\)(or \(\mu \leq 0\) for massive bosons):

$$\mathcal{Z}_i = \frac{1}{1 - e^{-\beta(E_i - \mu)}}$$

Step 3 — Mean occupation number. Compute\(\langle n_i \rangle = -\frac{1}{\beta}\frac{\partial \ln \mathcal{Z}_i}{\partial E_i}\):

$$\ln \mathcal{Z}_i = -\ln\!\left(1 - e^{-\beta(E_i-\mu)}\right)$$
$$\frac{\partial \ln \mathcal{Z}_i}{\partial E_i} = \frac{-\beta\,e^{-\beta(E_i-\mu)}}{1 - e^{-\beta(E_i-\mu)}}$$

Multiplying by \(-1/\beta\) and simplifying:

$$\boxed{\langle n_i \rangle = f(E_i) = \frac{1}{e^{(E_i - \mu)/k_B T} - 1}}$$

Step 4 — Photons and the Planck distribution. For photons, the chemical potential μ = 0 (photon number is not conserved). With the density of states \(g(\nu) = 8\pi\nu^2/c^3\), the Planck spectral energy density is:

$$u(\nu) = \frac{8\pi h\nu^3}{c^3} \cdot \frac{1}{e^{h\nu/k_BT} - 1}$$

This is Planck's law for blackbody radiation — resolving the ultraviolet catastrophe of classical physics. The Stefan–Boltzmann law \(u_\text{total} \propto T^4\)follows by integrating over all frequencies.

Step 5 — Bose–Einstein condensation. For massive bosons (e.g., 4He atoms), as T decreases, μ approaches the ground-state energy from below. At the critical temperature:

$$T_c = \frac{2\pi\hbar^2}{mk_B}\left(\frac{n}{2.612}\right)^{2/3}$$

a macroscopic fraction of particles condenses into the ground state — Bose–Einstein condensation. Below Tc, the ground state occupation diverges and must be treated separately from the continuum of excited states.

Fermi–Dirac vs Bose–Einstein

The only difference: +1 for fermions, −1 for bosons. This sign difference has profound consequences: fermions obey the Pauli exclusion principle and form degenerate Fermi seas; bosons can macroscopically occupy the same quantum state and undergo Bose–Einstein condensation. In the classical limit (\(e^{(E-\mu)/k_BT} \gg 1\)), both reduce to the Maxwell–Boltzmann distribution.

Video Lecture Resources

26 comprehensive lectures from two complementary series: Susskind provides intuition and physical insight, while Kardar delivers mathematical rigor and depth.

🎥

Leonard Susskind

Stanford - Theoretical Minimum

Legendary pedagogical approach with exceptional intuition and clear explanations. Perfect first pass through the material.

10 lectures

Intuition + Conceptual Understanding

Thermodynamics, ensembles, quantum statistics, phase transitions

Watch Susskind Lectures →
🎓

Mehran Kardar

MIT 8.333 - StatMech I

Rigorous graduate-level course with full mathematical derivations. Based on Kardar's renowned textbook.

16 lectures

Mathematical Rigor + Research Preparation

Thermodynamics, probability, kinetic theory, interacting particles

Watch Kardar Lectures →

💡 Recommended Strategy

Use both together: Watch Susskind first for intuition, then Kardar for rigorous derivations. This combination provides complete understanding - both the "why" and the "how" of statistical mechanics.

Applications Across Physics

🔥 Plasma Physics

Maxwell-Boltzmann velocity distributions govern particle speeds in thermal plasmas. The Boltzmann factor exp(-qφ/kBT) determines spatial density distributions, leading to Debye shielding. Kinetic theory and collision frequencies rely on thermal velocities from statistical mechanics.

→ See plasma physics prerequisites

⚛️ Quantum Mechanics

Density matrix formalism extends pure states to statistical mixtures. Quantum statistical mechanics describes systems of identical particles (bosons/fermions). Partition functions connect to quantum field theory at finite temperature.

→ Explore quantum mechanics course

🌌 Cosmology & Astrophysics

The cosmic microwave background is a perfect blackbody (Planck distribution). Recombination relies on the Saha equation from partition functions. Early universe thermodynamics governs nucleosynthesis, neutrino decoupling, and dark matter freeze-out.

📊 Quantum Field Theory

Thermal field theory at finite temperature uses statistical mechanics. The partition function becomes a path integral with periodic boundary conditions. Applications include early universe phase transitions and heavy-ion collisions.

→ Advanced QFT course

Prerequisites

Mathematics

  • Multivariable calculus and partial derivatives
  • Probability theory and basic statistics
  • Combinatorics (permutations, combinations)
  • Series expansions and asymptotic approximations

Physics

  • Classical mechanics (Hamiltonian formulation helpful)
  • Basic thermodynamics (temperature, heat, work)
  • Quantum mechanics basics (for quantum statistics)

Recommended Preparation: Work through the Susskind video lectures alongside a textbook such as Pathria & Beale, Kittel & Kroemer, or Kardar's statistical physics volumes. Practice calculating partition functions and deriving thermodynamic properties.

Recommended Textbooks

Classical Texts

  • • Pathria & Beale: Statistical Mechanics (comprehensive)
  • • Kittel & Kroemer: Thermal Physics (pedagogical)
  • • Reif: Fundamentals of Statistical Mechanics
  • • Huang: Statistical Mechanics (advanced)

Modern Approaches

  • • Kardar: Statistical Physics of Particles/Fields
  • • Sethna: Entropy, Order Parameters, Complexity
  • • Susskind & Hrabovsky: Theoretical Minimum
  • • Peliti: Statistical Mechanics in a Nutshell

Learning Path & Prerequisites

Prerequisite
Foundation
Core
Advanced
Application
Calculus
Probability Theory
Classical Mechanics
Basic Thermo
Statistical Ensembles
Partition Functions
Classical StatMech
Quantum Statistics
Phase Transitions
Kinetic Theory
Non-Equilibrium
Renormalization Group
Density Matrix
Plasma Physics
Condensed Matter
Cosmology
Thermal QFT

Hover over nodes to see connections. Click to lock selection. Colored nodes link to course content.

Suggested Learning Path

1

Thermodynamics Foundations

Review basic thermodynamics, temperature, entropy, and the laws of thermodynamics

2

Statistical Ensembles

Microcanonical, canonical, and grand canonical ensembles. Learn to compute partition functions

3

Classical Applications

Ideal gases, Maxwell-Boltzmann distribution, kinetic theory, phase space

4

Quantum Statistics

Fermi-Dirac and Bose-Einstein distributions, quantum gases, blackbody radiation

5

Advanced Topics

Phase transitions, critical phenomena, fluctuations, non-equilibrium processes

Related Courses