01 / 21

Partition Function
& Thermodynamics

Learn how the partition function \( Q \) connects microscopic energy levels to macroscopic properties like internal energy and heat capacity.

Physical Chemistry 2

What Is the Partition Function?

The partition function \( Q \) is a single number that encodes all possible energy states of a system. It measures how the total probability is partitioned among quantum states at a given temperature.

Visualizing Energy Levels & Boltzmann Weights

Energy \( \varepsilon_0 = 0 \) \( \varepsilon_1 \) \( \varepsilon_2 \) \( \varepsilon_3 \) Boltzmann Weights \( e^{-\varepsilon_3/k_BT} \) (small) \( e^{-\varepsilon_2/k_BT} \) \( e^{-\varepsilon_1/k_BT} \) \( e^{0} = 1 \) (largest) Fewer particles

Why Does \( Q \) Matter?

The partition function is the bridge between the quantum world of individual molecules and the macroscopic thermodynamic quantities we measure in the laboratory.

Internal Energy
Average energy \( \langle E \rangle \) from the derivative of \( \ln Q \).
Heat Capacity
How energy changes with temperature: \( C_V \) from the second derivative.
Entropy
Disorder measure \( S \) related to \( \ln Q \) and \( \langle E \rangle \).

Core Formula: Energy from \( Q \)

\( Q \) \( \ln Q \) \( \frac{\partial \ln Q}{\partial T} \) differentiate \( \langle E \rangle \) Sum over states Take natural logarithm Multiply by \( k_B T^2 \) Average energy

The recipe is simple: sum over states to get \( Q \), take the logarithm, differentiate with respect to temperature, and multiply by \( k_B T^2 \).

Core Formula: Heat Capacity from \( Q \)

\( C_V \) measures the system's thermal responsiveness: how easily it absorbs energy when heated. It is always non-negative.

Microcanonical vs Canonical Ensemble

Microcanonical (NVE) Canonical (NVT)
Fixed Quantity Energy \( E \) Temperature \( T \)
Key Function \( \Omega(E) \) (multiplicity) \( Q(T) \) (partition function)
Link to Thermo \( S = k_B \ln \Omega \) \( A = -k_B T \ln Q \)
Energy Exactly fixed Fluctuates; we use \( \langle E \rangle \)
Best For Isolated systems Systems in thermal contact

How \( Q \) Changes with Temperature

\( T \) \( Q(T) \) \( g_{\text{tot}} \) \( g_0 \) Low \( T \): \( Q \approx g_0 \) \( Q \to \) total states High \( T \):
Low \( T \)
Only the ground state is accessible. \( Q \approx g_0 \) (ground-state degeneracy).
High \( T \)
All states become equally accessible. \( Q \to \) total number of states.

Worked Example: Two-Level System

Consider two non-degenerate energy levels: \( \varepsilon_0 = 0 \) and \( \varepsilon_1 = \varepsilon \). This is the simplest non-trivial partition function.

Two-Level System: Heat Capacity

\( k_BT/\varepsilon \) \( C_V / k_B \) Peak ≈ 0.44 \( k_B \) at \( k_BT \approx 0.42\varepsilon \) \( C_V \to 0 \) as \( T \to \infty \)

The Schottky peak occurs because at intermediate temperatures, the system is maximally responsive to thermal excitation. At very high \( T \), both levels are equally populated and adding more energy has diminishing effect.

Worked Example: Harmonic Oscillator

For a quantum harmonic oscillator with spacing \( \hbar\omega \), the energy levels are \( \varepsilon_n = \left(n + \tfrac{1}{2}\right)\hbar\omega \) for \( n = 0, 1, 2, \ldots \)

Application: Einstein Solid

A solid with \( N \) atoms has \( 3N \) independent quantum harmonic oscillators (3 per atom). The Einstein model treats them all with the same frequency \( \omega \).

\( T / \Theta_E \) \( C_V / 3Nk_B \) Dulong-Petit Limit (1) Approaches classical limit \( C_V \to 0 \) exponentially

How to Apply the Partition Function

1
Identify the energy levels \( \varepsilon_i \) and their degeneracies \( g_i \) for your system.
2
Write the partition function \( Q = \sum_i g_i e^{-\varepsilon_i / k_BT} \). Evaluate the sum (closed form if possible).
3
Take \( \ln Q \) and simplify. This is the key intermediate step.
4
Differentiate \( \ln Q \) with respect to \( T \) (or \( \beta \)) to get \( \langle E \rangle \).
5
Differentiate again to get \( C_V = \partial \langle E \rangle / \partial T \). Check limiting behavior at low and high \( T \).

Example: Three-Level System with Degeneracy

A molecule has three energy levels: \( \varepsilon_0 = 0 \) (non-degenerate), \( \varepsilon_1 = \varepsilon \) (triply degenerate, \( g_1 = 3 \)), and \( \varepsilon_2 = 3\varepsilon \) (non-degenerate).

Common Mistakes

✕ Forgetting Degeneracy
Each level's Boltzmann factor must be multiplied by its degeneracy \( g_i \). Omitting \( g_i \) gives a wrong \( Q \) and wrong thermodynamics.
✕ Wrong Derivative Variable
When using \( \beta = 1/k_BT \), note that \( \partial/\partial\beta \) and \( \partial/\partial T \) give different signs. Use the right formula for each variable.
✕ Ignoring Zero-Point Energy
For the harmonic oscillator, \( \varepsilon_n = (n+\tfrac{1}{2})\hbar\omega \). Dropping the \( \tfrac{1}{2} \) shifts \( \langle E \rangle \) but does not affect \( C_V \): know when it matters.

Summary: From \( Q \) to Thermodynamics

Property Formula from \( Q \) Physical Meaning
Helmholtz Free Energy \( A = -k_BT\ln Q \) Available work at constant \( T, V \)
Internal Energy \( \langle E \rangle = k_BT^2 \frac{\partial \ln Q}{\partial T} \) Average total energy
Entropy \( S = k_B\ln Q + \frac{\langle E \rangle}{T} \) Measure of disorder
Heat Capacity \( C_V = \frac{\partial \langle E \rangle}{\partial T} \) Thermal responsiveness
Pressure \( P = k_BT\frac{\partial \ln Q}{\partial V} \) Force per unit area

Question 1 of 5

The canonical partition function \( Q \) for a system at temperature \( T \) is given by:

Question 2 of 5

For a two-level system with energy levels \( 0 \) and \( \varepsilon \), what happens to \( Q \) as \( T \to \infty \)?

Question 3 of 5

The internal energy \( \langle E \rangle \) of a system can be obtained from the partition function using:

Question 4 of 5

In the Einstein model of a solid, what does the heat capacity \( C_V \) approach at high temperatures \( T \gg \Theta_E \)?

Question 5 of 5

The Schottky anomaly refers to the fact that the heat capacity of a two-level system: