Probability & Boltzmann Statistics
Counting microstates
Counting the ways energy spreads
Probability and combinatorics become thermodynamics
Probability is about counting outcomes. For a single event with equally likely possibilities, the probability of any one is . For combinations — choosing k objects from n without regard to order — the count is . In chemistry, we use this to count microstates: the number of distinct ways to distribute energy quanta over molecules.
For a system of N identical particles with occupation numbers (where ), the number of microstates giving that particular distribution is:
The most probable distribution — the one with the most microstates — is the Boltzmann distribution. It says the ratio of the population of level j to the ground state is:
where is the degeneracy (number of states at that energy), is the Boltzmann constant, and T is the absolute temperature. A large energy gap or low temperature strongly favours the ground state; heat gives molecules the energy to climb to excited states, which is why reaction rates and spectral line intensities all depend on T.
Boltzmann also gave us the statistical definition of entropy, inscribed on his grave in Vienna:. A larger W (more microstates, more disorder) means higher entropy — and the Second Law of Thermodynamics is simply the statement that systems evolve toward the most probable macrostate.
choose k from n, order irrelevant
ways to arrange N objects with given nᵢ
large gap or low T → near zero
degeneracy g can multiply population
k = 1.381 × 10⁻²³ J K⁻¹
or RT = 2.48 kJ mol⁻¹
The multiplicity W is the combinatorial heart of statistical mechanics. For a small system it can be counted directly; for large N Stirling's approximation () makes the counting tractable. Maximising W subject to the constraints of fixed total energy and fixed N yields the Boltzmann distribution.
When energy levels are degenerate (multiple quantum states at the same energy), the Boltzmann population ratio is scaled by the degeneracy ratio:
A 3-fold degenerate excited state () is populated three times as much as a non-degenerate state at the same energy. Forgetting degeneracy is the single most common error in NMR and UV-Vis population calculations.
The partition function is the normalising denominator: . The total internal energy is — every macroscopic thermodynamic quantity ultimately derives from q.
- Forgetting degeneracy g. The Boltzmann ratio without g gives the wrong population for any degenerate level. Always write .
- Using ΔE in kJ/mol but k in J/K. The Boltzmann constant k works with energies in joules per molecule. Use either (SI per molecule) or (per mole with R = 8.314 J mol⁻¹ K⁻¹), never mix them.
- Confusing W with ln W. Entropy is , not . W grows exponentially with N; ln W grows linearly — only ln W is extensive.
- Assuming the maximum-multiplicity distribution is the only distribution. At small N, many distributions contribute. The Boltzmann distribution is only overwhelmingly dominant in the thermodynamic limit (N → ∞).
For a two-level system with states at energies 0 and ε, the partition function is . The fraction in the upper state is , which rises from 0 at T = 0 to 0.5 at T → ∞ (both states equally populated). For the two-level spin system of NMR, this plateaus near 0.5 even at room temperature — confirming the near-equal populations and the inherent insensitivity of NMR.
Boltzmann lab
Adjust the energy-level spacing and temperature — watch populations redistribute between three levels.
The fundamental vibrational frequency of HCl is . The energy gap between and is . Calculate the ratio at 298 K and at 1000 K. (, , .)
In a 500 MHz proton NMR spectrometer, the energy gap between spin-up and spin-down states is . With degeneracy , calculate the population excess of the lower state at 298 K and comment on NMR sensitivity.
Worked examples
Microstates, entropy, and Boltzmann distributions — try each before revealing the solution.
Three distinguishable harmonic oscillators share exactly 2 quanta of energy. How many microstates W exist, and what is the entropy of this ensemble?
One mole of N₂ and one mole of Ar are mixed at constant T and P. Using in the macroscopic (molar) form, calculate the molar entropy of mixing .
The activation energy for a reaction is . What fraction of molecules at 298 K have enough energy to react? How does this change at 400 K?
The J = 1 rotational level of CO has energy above J = 0, where the rotational constant . The degeneracy of level J is . Calculate the population ratio at 300 K. (, .)
Two moles of an ideal gas A and one mole of ideal gas B are mixed at constant T and P. Derive the molar entropy of mixing using and verify it using for large N (Stirling level).
An electronic excited state of NO lies above the ground state (). Both levels are non-degenerate ().
(i) Calculate the fraction in the excited state at T = 100, 298, 500 and 1000 K.
(ii) At what temperature does the excited state hold 30 % of the population?
Check yourself
Four quick questions on the Boltzmann distribution, microstates, and entropy.
The Boltzmann distribution gives the ratio of populations of two energy levels as: