UNIHIVE

Study Hub UNIPORT PHY 306

PHY 306 · Thermal Physics

The Boltzmann factor and the partition function

A small system in contact with a reservoir, the Boltzmann factor, the partition function Z, average values, a two-level system, and the meaning of kT as the energy scale.

Our notes

2 min read

The 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

Watch

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.

All PHY 306 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.