Boltzmann Distribution
The Boltzmann distribution is the canonical probability distribution of statistical mechanics specifying that a system in thermal equilibrium at temperature T occupies a microstate of energy Ei with probability proportional to exp(−Ei / k_B T).
The Boltzmann distribution (also known as the canonical distribution or Gibbs distribution) is the fundamental probability distribution of equilibrium statistical mechanics that governs how microscopic particles or macroscopic systems distribute across available energy states when coupled to a thermal reservoir at absolute temperature T. First derived for classical gas molecules by Austrian physicist Ludwig Boltzmann between 1868 and 1877 and generalized to arbitrary interacting ensembles by American physicist Josiah Willard Gibbs in 1902, the distribution states that the probability pi of finding a system in a specific discrete microscopic state (microstate) i with energy Ei decreases as a Boltzmann exponential function exp(−*E*i / kBT) of the ratio of state energy to thermal energy kBT:
pi = (1 / Z) exp(−*E*i / [kBT]) = e−β*E*i / ∑j e−β*E*j
where kB = 1.380649 × 10−23 J K−1 is the Boltzmann constant, β = 1 / (kBT) is the thermodynamic beta (inverse thermal energy), and Z = ∑j exp(−*E*j / kBT) is the canonical partition function summed over all accessible microstates j. When multiple distinct microstates share an identical energy level En—a property known as quantum or classical degeneracy gn—the probability of observing the system with energy En is given by P(En) = (gn / Z) exp(−*E*n / kBT), where Z = ∑n gn exp(−*E*n / kBT).
The dimensionless quantity exp(−*E*i / kBT) is known as the Boltzmann factor. Taking the ratio of probabilities for any two microstates i and j eliminates the partition function Z, yielding the universal relative population ratio pi / pj = exp(−[Ei − Ej] / kBT). This single relation bridges microscopic quantum mechanics and macroscopic thermodynamics: it governs the population of atomic and vibrational energy levels in spectroscopy, the ideal gas law and Maxwell–Boltzmann velocity distribution, the chemical activation barrier in the Arrhenius equation, voltage-gated ion channel opening in neurobiology, and two-state protein folding equilibria via Gibbs free energy.
Master Statistical Mechanics: Test your intuition for Boltzmann distribution laws, partition functions, and thermodynamic equations in EquaGuess.
Derivation from Statistical Ensembles and Entropy Maximization
System-Reservoir Coupling in the Canonical Ensemble
To derive the Boltzmann distribution from the fundamental postulate of statistical mechanics—which states that an isolated composite system in equilibrium is equally likely to occupy any of its accessible microstates—consider a small system S in weak thermal contact with a heat reservoir R at temperature T. The combined system S + R is thermally and mechanically isolated with constant total energy Etotal = Ei + ER, where Ei ≪ Etotal is the energy of system S when it occupies a single specified microstate i, and ER = Etotal − Ei is the remaining energy in the reservoir.
Because the composite system is isolated, the probability pi that system S occupies microstate i is directly proportional to the multiplicity ΩR(Etotal − Ei)—the total number of microstates available to the reservoir when its energy is Etotal − Ei. Because ΩR scales multiplicatively with system size, it is convenient to expand its natural logarithm using Boltzmann's definition of entropy, SR(ER) = kB ln ΩR(ER), in a first-order Taylor series around Etotal:
ln ΩR(Etotal − Ei) = SR(Etotal − Ei) / kB ≈ [SR(Etotal) / kB] − (1 / kB)(∂*S*R / ∂*E*R)V,N Ei
By the fundamental thermodynamic identity d*E* = T d*S* − P d*V* + μ d*N*, the partial derivative of reservoir entropy with respect to energy at constant volume and particle number defines the reciprocal of absolute temperature: (∂*S*R / ∂*E*R)V,N = 1 / T. Higher-order quadratic derivatives ∂2SR / ∂*E*R2 = −1 / (T2CV) vanish in the limit of a large reservoir with heat capacity CV → ∞. Exponentiating both sides yields:
ΩR(Etotal − Ei) = ΩR(Etotal) exp(−*E*i / [kBT])
Normalizing the probabilities over all microstates so that ∑i pi = 1 introduces the canonical partition function Z = ∑i exp(−*E*i / kBT) as the normalization denominator, establishing pi = Z−1 exp(−*E*i / kBT).
Maximum Entropy Derivation via Lagrange Multipliers
An independent information-theoretic derivation, formulated by Gibbs (1902) and Edwin T. Jaynes (1957), obtains the Boltzmann distribution by maximizing the Gibbs–Shannon entropy functional S = −*k*B ∑i pi ln pi subject to two macroscopic constraints: probability normalization (∑i pi = 1) and a fixed ensemble average internal energy (⟨*E*⟩ = ∑i piEi = U). Introducing Lagrange multipliers α and β to construct the constrained variational functional L({*p*i}) and setting ∂*L* / ∂*p*i = 0 for each microstate i gives:
(∂ / ∂*p*i)[−*k*B ∑j pj ln pj − α*k*B(∑j pj − 1) − β*k*B(∑j pjEj − U)] = −*k*B(ln pi + 1 + α + β*E*i) = 0
Solving for pi yields the exponential distribution pi = exp(−1 − α) exp(−β*E*i) = Z−1 exp(−β*E*i), where matching the thermodynamic relation ∂*S* / ∂*U* = 1 / T identifies β = 1 / (kBT). Thus, the Boltzmann distribution represents the macroscopically unbiased probability assignment that maximizes microscopic uncertainty for a given mean thermal energy U.
The Partition Function and Thermodynamic Potentials
Once the canonical partition function Z(T, V, N) = ∑i exp(−β*E*i) is evaluated for a physical system, every macroscopic equilibrium thermodynamic property follows directly by differentiation of ln Z. The ensemble mean internal energy U = ⟨*E*⟩ is obtained by taking the negative derivative of ln Z with respect to β:
U = ⟨*E*⟩ = ∑i piEi = (1 / Z) ∑i Ei e−β*E*i = −(∂ ln Z / ∂β)V,N = kBT2 (∂ ln Z / ∂*T*)V,N
Similarly, the variance of energy fluctuations around the mean is given by the second derivative ∂2(ln Z) / ∂β2 = ⟨*E*2⟩ − ⟨*E*⟩2 = kBT2CV, proving that the heat capacity at constant volume CV is positive and proportional to mean-square thermal energy fluctuations. Substituting pi = Z−1 exp(−β*E*i) into the Gibbs entropy formula S = −*k*B ∑i pi ln pi yields S = kB(ln Z + β*U*) = U / T + kB ln Z. Rearranging this equation for the Helmholtz free energy F = U − TS establishes the bridge equation of canonical statistical mechanics:
F = U − TS = −*k*BT ln Z
From the differential of Helmholtz free energy d*F* = −*S* d*T* − P d*V* + μ d*N*, macroscopic pressure is P = −(∂*F* / ∂*V*)T,N = kBT(∂ ln Z / ∂*V*)T,N, and chemical potential is μ = (∂*F* / ∂*N*)T,V = −*k*BT(∂ ln Z / ∂*N*)T,V.
| Physical System / Phenomenon | Energy State Expression (Ei) | Resulting Boltzmann Probability / Scaling Law | Typical Energy Scale vs kBT (300 K = 25.85 meV) |
|---|---|---|---|
| Canonical Microstate | Discrete energy Ei | pi = Z−1 exp(−*E*i / kBT) | General statistical ensemble at temperature T |
| Degenerate Quantum Level | Energy En with degeneracy gn | P(En) = (gn / Z) exp(−*E*n / kBT) | Atomic/molecular rotational and electronic shells |
| Translational Gas Motion | Etrans = ½*mv*2 (g(v) ∝ v2) | f(v) = 4π(m/2π*k*BT)3/2 v2 exp(−*mv*2 / 2*k*BT) | Mean translational kinetic energy = (3/2)*k*BT = 38.8 meV |
| Isothermal Atmosphere | Gravitational potential E = mgz | n(z) = n0 exp(−*mgz* / kBT) | Scale height H = kBT / (mg) ≈ 8.5 km for N2/O2 |
| Chemical Activation | Activation barrier Ea per mole | k = A exp(−*E*a / RT) (Arrhenius equation) | Ea ≈ 40–100 kJ mol−1 (16–40 RT at 300 K) |
| Voltage-Gated Ion Channel | Δ*G*(V) = Δ*G*0 − zgeV | Popen = [1 + exp((Δ*G*0 − zgeV) / kBT)]−1 | Gating charge zg ≈ 4–13 e across V ≈ −70 to +40 mV |
Physical and Biophysical Applications
Maxwell–Boltzmann Speed Distribution and the Barometric Formula
Applying the Boltzmann distribution to the continuous phase space of an ideal gas of particles of mass m yields both spatial density and velocity distributions. In a uniform gravitational field g, the potential energy of a molecule at altitude z is Epot(z) = mgz; the Boltzmann factor immediately gives the barometric exponential decay of particle number density with height: n(z) = n(0) exp(−*mgz* / kBT).
Simultaneously, the translational kinetic energy of a molecule moving with velocity vector v = (vx, vy, vz) is Etrans = ½*m*(vx2 + vy2 + vz2). Because the three velocity components are independent in Cartesian momentum space, the probability density for a single velocity component vx is a Gaussian normal distribution with variance σ2 = kBT / m. Integrating over all directions in spherical velocity coordinates—where a spherical shell of thickness d*v* at speed v has phase-space volume (degeneracy weight) 4π*v*2 d*v*—produces the Maxwell–Boltzmann speed distribution:
f(v) = 4π (m / [2π*k*BT])3/2 v2 exp(−*mv*2 / [2*k*BT])
The competition between the quadratic phase-space factor v2 (which vanishes as v → 0) and the decaying Boltzmann exponential factor exp(−*mv*2 / 2*k*BT) produces an asymmetric distribution characterized by three ordered characteristic velocities: the most probable speed vmp = √(2*k*BT / m), the mean speed ⟨*v*⟩ = √(8*k*BT / π*m*) ≈ 1.128 vmp, and the root-mean-square speed vrms = √(3*k*BT / m) ≈ 1.225 vmp.
Two-State Biophysics: Protein Folding and Ion Channel Gating
In molecular biophysics, macromolecules at constant temperature T and pressure P populate conformational macrostates (such as the folded native state N and unfolded denatured ensemble U in protein folding) according to their Gibbs free energy GI = HI − TSI, where SI accounts for the conformational degeneracy of macrostate I and surrounding H2O solvent molecules. The equilibrium ratio of probabilities between two conformational states is governed by the Boltzmann relation:
Keq = PN / PU = exp(−Δ*G*° / [RT]) = exp(−[Δ*H*° − *T*Δ*S*°] / [RT])
At physiological temperature (T = 310 K, where RT = 2.58 kJ mol−1 = 0.616 kcal mol−1), a modest folding free energy difference of Δ*G*° = −25.8 kJ mol−1 (−10 RT) yields an equilibrium ratio PN / PU = e10 ≈ 22,026, ensuring that 99.995% of protein molecules reside in the functional native fold despite continual thermal agitation.
Similarly, in cellular electrophysiology, a voltage-gated Na+ or K+ ion channel transitions between a closed conformation (C) and an open pore conformation (O). When the transmembrane electrical potential changes to Vm, a gating charge zge moves across the membrane electric field, shifting the free energy difference between the open and closed states to Δ*G*(Vm) = zge(V1/2 − Vm), where V1/2 is the half-activation voltage. Because the channel must be either open or closed (Popen + Pclosed = 1), the Boltzmann ratio Popen / Pclosed = exp(−Δ*G* / kBT) yields the sigmoidal Hodgkin–Huxley activation curve:
Popen(Vm) = 1 / [1 + exp(zge(V1/2 − Vm) / [kBT])]
Frequently Asked Questions
How does the Boltzmann distribution relate to the Bose–Einstein and Fermi–Dirac distributions?
The Boltzmann distribution is the classical high-temperature or low-density limit of quantum statistical mechanics, valid when the mean thermal de Broglie wavelength λth = h / √(2π*mk*BT) is much smaller than the average interparticle spacing d = (V/N)1/3, so that the average occupancy of any single-particle quantum state is much less than 1. At high densities or cryogenic temperatures where wavefunctions overlap, indistinguishable particles with half-integer spin (fermions, such as electrons) obey the Pauli exclusion principle and follow the Fermi–Dirac distribution ni = [exp((Ei − μ)/kBT) + 1]−1, whereas integer-spin particles (bosons, such as photons in the cosmic microwave background or 4He atoms) follow the Bose–Einstein distribution ni = [exp((Ei − μ)/kBT) − 1]−1.
Can the Boltzmann distribution produce a higher population in a higher-energy state?
For individual non-degenerate microstates at positive absolute temperature (T > 0), a higher-energy state E2 > E1 always has a strictly lower probability (p2 < p1) in thermal equilibrium. However, if an upper energy level has a much larger degeneracy g2 ≫ g1 (such as rotational J levels in diatomic molecules where gJ = 2*J* + 1), the level population P(EJ) ∝ (2*J* + 1) exp(−*E*J/kBT) peaks at J > 0. True microstate population inversion (p2 > p1 for E2 > E1), as required for laser amplification or nuclear spin systems, requires driving the system out of thermal equilibrium via optical pumping (formally described by a negative effective spin temperature T < 0 in bounded-energy systems).
References
- Boltzmann, L. (1877). "Über die Beziehung zwischen dem zweiten Hauptsatze der mechanischen Wärmetheorie und der Wahrscheinlichkeitsrechnung respektive den Sätzen über das Wärmegleichgewicht." Wiener Berichte, 76, 373–435. doi:10.1017/CBO9781139381437.011
- Gibbs, J. W. (1902). Elementary Principles in Statistical Mechanics: Developed with Especial Reference to the Rational Foundation of Thermodynamics. Charles Scribner's Sons. doi:10.1017/CBO9780511686948
- Jaynes, E. T. (1957). "Information Theory and Statistical Mechanics." Physical Review, 106(4), 620–630. doi:10.1103/PhysRev.106.620
- Dill, K. A., & Bromberg, S. (2010). Molecular Driving Forces: Statistical Thermodynamics in Biology, Chemistry, Physics, and Nanoscience (2nd ed., Chapter 6: "Boltzmann's Distribution Law"). Garland Science. https://doi.org/10.1201/9780429258817