PHY 306 · Thermal Physics
Our notes
2 min readThe canonical ensemble
A small system (one atom, one molecule) in thermal contact with a large reservoir at temperature T. The reservoir's entropy changes when the system takes energy E, and this makes the probability of a system state s with energy E_s:
P(s) = e^(−E_s/kT) ÷ Z
The factor e^(−E/kT) is the Boltzmann factor. States with energy much more than kT above the lowest are rarely occupied.
The partition function
Z = Σ e^(−E_s/kT) (sum over all states, counting each degenerate state separately). It normalises the probabilities and, as the next topic shows, contains all the thermodynamics. Writing β = 1/kT, Z = Σ e^(−βE_s).
Average values
⟨X⟩ = Σ X_s P(s). The average energy: ⟨E⟩ = Σ E_s e^(−βE_s) ÷ Z = −∂ ln Z/∂β.
Worked example: a two-level system
Two states, energies 0 and ε = 0.1 eV, at T = 300 K (kT = 0.02585 eV).
- ε/kT = 0.1 ÷ 0.02585 = 3.868; e^(−3.868) = 0.0209.
- Z = 1 + 0.0209 = 1.0209.
- P(upper) = 0.0209 ÷ 1.0209 = 0.0205 (about 2%); P(lower) = 0.9795.
- ⟨E⟩ = 0.1 × 0.0205 = 0.00205 eV.
Check: P(upper) ÷ P(lower) = 0.0205 ÷ 0.9795 = 0.0209 = e^(−ε/kT), the Boltzmann ratio. ✓
At 1,000 K (kT = 0.0862 eV): ε/kT = 1.160, e^(−1.160) = 0.313, P(upper) = 0.313 ÷ 1.313 = 0.238. Higher T populates the upper level more, approaching 50% as T → ∞.
Degeneracy
If a level has g states, its probability carries a factor g: P(level) = g e^(−E/kT) ÷ Z. Example: hydrogen's first excited level has g = 8 (including spin) against 2 for the ground level, and lies 10.2 eV up. At the Sun's surface (5,800 K, kT = 0.500 eV): ratio = (8/2) e^(−20.4) = 4 × 1.38 × 10⁻⁹ = 5.5 × 10⁻⁹: almost all hydrogen atoms are in the ground state.
The barometric formula
Molecules in a gravitational field: P(height h) ∝ e^(−mgh/kT), so air density falls as e^(−h/H) with scale height H = kT/(mg) ≈ 8.4 km for air at 288 K. Check: H = 1.381 × 10⁻²³ × 288 ÷ (4.81 × 10⁻²⁶ × 9.81) = 3.977 × 10⁻²¹ ÷ 4.719 × 10⁻²⁵ = 8,430 m. ✓
Exams usually ask: derive the Boltzmann factor; define the partition function; calculate probabilities and average energies for two-level and multi-level systems; apply the Boltzmann factor to atmospheres and atomic excitation.
Common mistake: forgetting degeneracy. Each state counts separately in Z; a level with three states contributes three Boltzmann factors.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Boltzmann distribution
(opens en.wikipedia.org in a new tab)
Wikipedia, Boltzmann distribution, CC BY-SA 4.0 · licence
-
NOUN PHY 311: Kinetic Theory and Statistical Mechanics
NOUN course book (PDF, about 1.1 MB). Probability and entropy, ensembles, the partition function, equipartition and classical statistics, then Bose-Einstein and Fermi-Dirac gases. The course aims page has text copied from a statistics course: skip it.
(opens nou.edu.ng in a new tab)
-
Partition function (statistical mechanics)
(opens en.wikipedia.org in a new tab)
Wikipedia, Partition function (statistical mechanics), CC BY-SA 4.0 · licence
-
David Tong, Lectures on Statistical Physics (Cambridge, free notes)
Cambridge lecture notes as one PDF (about 1.5 MB) or by chapter: microcanonical and canonical ensembles, the partition function, quantum gases, phase transitions. Harder than our notes.
(opens davidtong.org in a new tab)
-
MIT 8.044 Statistical Physics I (whole course)
MIT's undergraduate statistical physics course: lecture notes, problem sets and exams (PDFs).
(opens ocw.mit.edu in a new tab)
MIT OpenCourseWare, MIT 8.044 Statistical Physics I (whole course), CC BY-NC-SA 4.0 · licence
Watch
-
Statistical Mechanics #1: Boltzmann Factors and Partition Functions (WWU CHEM 462)
15 min · ≈ 68 MB · about ₦38
(opens youtube.com in a new tab)
-
Chemical Thermodynamics 2.2 - Boltzmann Factor
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
Chemical Thermodynamics 2.3 - Partition Function
5 min · ≈ 23 MB · about ₦13
(opens youtube.com in a new tab)
-
12. Classical Statistical Mechanics Part 1
1 h 26 min · ≈ 387 MB · about ₦217
(opens youtube.com in a new tab)
-
Week 4: Lecture 19: The Canonical Partition Function
26 min · ≈ 117 MB · about ₦66
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.