Fiveable

๐ŸฅตThermodynamics Unit 15 Review

QR code for Thermodynamics practice questions

15.1 Canonical ensemble and Boltzmann distribution

15.1 Canonical ensemble and Boltzmann distribution

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐ŸฅตThermodynamics
Unit & Topic Study Guides

Canonical Ensemble and Boltzmann Distribution

The canonical ensemble describes a system that can exchange energy with a large heat reservoir while keeping its temperature, volume, and particle number fixed. It provides the statistical foundation for the Boltzmann distribution, which tells you the probability of finding a system in any particular microstate at a given temperature. Together, these concepts connect microscopic energy levels to the macroscopic thermodynamic quantities you can measure.

Canonical Ensemble Characteristics

A canonical ensemble is a collection of many copies of the same system, all in thermal equilibrium with a heat reservoir at temperature TT. Each copy has the same number of particles NN and volume VV, but the copies differ in their microscopic configurations because energy flows freely between each system and the reservoir.

  • The system exchanges heat (but not particles) with the reservoir. This keeps TT constant while allowing the system's energy to fluctuate.
  • The reservoir is assumed to be so large that any energy gained or lost by the system doesn't change the reservoir's temperature.
  • Different microstates of the system have different energies EiE_i. The probability of each microstate depends on EiE_i and TT: lower-energy states are favored at low temperatures, while higher-energy states become increasingly accessible as temperature rises.

A concrete example: a gas sealed in a container that sits in a large water bath. The gas molecules constantly exchange energy with the bath through the container walls, but the bath is massive enough that its temperature stays effectively constant.

Derivation of the Boltzmann Distribution

The goal is to find the probability PiP_i of the system occupying microstate ii with energy EiE_i. The derivation uses constrained optimization: you maximize the entropy of the ensemble subject to two physical constraints.

  1. Write the Boltzmann entropy as S=โˆ’kBโˆ‘iPilnโกPiS = -k_B \sum_i P_i \ln P_i, where the sum runs over all microstates.

  2. Impose two constraints:

    • Normalization: โˆ‘iPi=1\sum_i P_i = 1 (probabilities must add to 1).
    • Fixed average energy: โˆ‘iPiEi=โŸจEโŸฉ\sum_i P_i E_i = \langle E \rangle (the system is in thermal equilibrium, so the mean energy is well-defined).
  3. Apply the method of Lagrange multipliers. Introduce multipliers ฮฑ\alpha and ฮฒ\beta for the two constraints and set the variation of the constrained entropy to zero.

  4. Solve for PiP_i. The result is:

Pi=eโˆ’ฮฒEiZP_i = \frac{e^{-\beta E_i}}{Z}

  1. The multiplier ฮฒ\beta is identified with the inverse temperature: ฮฒ=1kBT\beta = \frac{1}{k_B T}.
  2. The partition function Z=โˆ‘ieโˆ’ฮฒEiZ = \sum_i e^{-\beta E_i} serves as the normalization constant that guarantees โˆ‘iPi=1\sum_i P_i = 1.

This is the Boltzmann distribution. It applies to any system in thermal contact with a reservoir, from a single quantum harmonic oscillator to a macroscopic crystal.

Canonical ensemble characteristics, physical chemistry - Difference between microcanonical and canonical ensemble - Chemistry Stack ...

Meaning of the Boltzmann Factor

The quantity eโˆ’ฮฒEie^{-\beta E_i} is called the Boltzmann factor. It controls the relative weight of each microstate before normalization.

  • Because the exponential is a decreasing function of EiE_i, states with lower energy always have larger Boltzmann factors than states with higher energy at the same temperature.
  • The ratio of probabilities for two microstates depends only on their energy difference:

PiPj=eโˆ’ฮฒ(Eiโˆ’Ej)\frac{P_i}{P_j} = e^{-\beta(E_i - E_j)}

This means you don't need to know ZZ to compare the relative likelihood of two states.

Temperature dependence:

  • At low TT (large ฮฒ\beta), the exponential drops off steeply with energy. The system overwhelmingly occupies its ground state or the lowest-lying states.
  • At high TT (small ฮฒ\beta), the exponential flattens out. Higher-energy states become nearly as probable as lower-energy ones, and the system samples a broad range of microstates.
  • In the limit Tโ†’โˆžT \to \infty, ฮฒโ†’0\beta \to 0 and every microstate becomes equally likely. In the limit Tโ†’0T \to 0, only the ground state is occupied.

These trends explain real phenomena: at room temperature most hydrogen atoms sit in their electronic ground state, but in a stellar atmosphere at thousands of kelvin, excited electronic states carry significant population.

Microstate Probability Calculations

To find the probability of a specific microstate, follow these steps:

  1. Identify the energy EiE_i of the microstate. This comes from the Hamiltonian of the system (kinetic + potential energy of all particles in that configuration).
  2. Compute the Boltzmann factor eโˆ’ฮฒEie^{-\beta E_i} using ฮฒ=1kBT\beta = \frac{1}{k_B T}.
  3. Evaluate the partition function Z=โˆ‘jeโˆ’ฮฒEjZ = \sum_j e^{-\beta E_j} by summing the Boltzmann factors over all microstates jj. For simple systems (two-level system, harmonic oscillator) this sum can be done analytically. For complex systems it may require approximation.
  4. Divide: Pi=eโˆ’ฮฒEiZP_i = \frac{e^{-\beta E_i}}{Z}.

Quick check: If a two-level system has states with energies E0=0E_0 = 0 and E1=ฯตE_1 = \epsilon, the partition function is Z=1+eโˆ’ฮฒฯตZ = 1 + e^{-\beta \epsilon}, and the probability of the excited state is P1=eโˆ’ฮฒฯต1+eโˆ’ฮฒฯตP_1 = \frac{e^{-\beta \epsilon}}{1 + e^{-\beta \epsilon}}. At very low TT, P1โ‰ˆ0P_1 \approx 0; at very high TT, P1โ‰ˆ12P_1 \approx \frac{1}{2}.

These calculations underpin a wide range of applications: predicting the population of excited states in a laser gain medium, comparing folded versus unfolded conformations of a protein, determining whether electrons in a semiconductor populate the conduction band, and deriving the Maxwell-Boltzmann speed distribution for gas molecules.