Skip to content
Tutorials Center
My learning

Topics

Lesson 17 of 39 · Partition Functions and Thermodynamics

The Harmonic Oscillator and the Einstein Solid

Compute the partition function of a quantum harmonic oscillator, derive its energy and heat capacity, and build the Einstein model of solids that explains why heat capacity falls at low T.

Harmonic oscillators are everywhere: atoms vibrating in a crystal, bonds in molecules, modes of the electromagnetic field. Their partition function is an infinite geometric series with a neat closed form, and it explains a famous failure of classical physics: why the heat capacity of solids drops at low temperature.

Energy levels

A quantum harmonic oscillator with angular frequency ω has equally spaced levels

Text
E_n = ħω (n + ½),      n = 0, 1, 2, ...

with ħ = h/(2π) ≈ 1.054571817 × 10^-34 J s. The spacing is ε = ħω. The ½ħω is the zero-point energy.

The partition function

Let x = βħω = ħω/(k_B T). Then

Text
Z = Σ_(n=0)^∞ e^(−x(n + ½)) = e^(−x/2) Σ_n (e^(−x))^n = e^(−x/2) / (1 − e^(−x))

using the geometric series Σ r^n = 1/(1 − r) for |r| < 1. This can also be written Z = 1/(2 sinh(x/2)).

The average energy follows from ⟨E⟩ = −∂ln Z/∂β:

Text
⟨E⟩ = ħω ( ½ + 1/(e^x − 1) )

The second term is ħω times the average number of quanta ⟨n⟩ = 1/(e^x − 1), the Bose-Einstein form we met for the Einstein solid.

The heat capacity of one oscillator is

Text
C/k_B = x² e^x / (e^x − 1)²

At high temperature (x → 0) this approaches k_B: the classical equipartition value (½ k_B T each for kinetic and potential energy). At low temperature it falls exponentially, like x² e^(−x), because thermal energy is too small to excite the first level: the oscillator is "frozen out".

Python One oscillator: energy and heat capacity

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Verify with a direct sum

We can check the closed forms by summing many levels numerically.

Python Closed form against a numerical sum

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The Einstein solid and the failure of Dulong-Petit

In the 19th century Dulong and Petit observed that many solids have a molar heat capacity near 3R ≈ 24.9 J/(mol K). Classical equipartition explains this: each atom has three vibrational degrees of freedom, each with k_B T of energy, so U = 3N k_B T and C = 3N k_B. But measurements at low temperature show the heat capacity dropping toward zero, a puzzle classical physics could not solve.

In 1907 Einstein modeled a solid as 3N independent oscillators of the same frequency ω, which have heat capacity C = 3N k_B f(x) with f(x) = x² e^x/(e^x − 1)². Define the Einstein temperature

Text
θ_E = ħω / k_B

Then x = θ_E/T. For T ≫ θ_E, C → 3N k_B (Dulong-Petit); for T ≪ θ_E, C falls toward zero. The model captures this qualitatively, which was an early triumph of quantum theory.

Python Einstein heat capacity of one mole of a solid

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Limits of the Einstein model

The Einstein model predicts that C vanishes exponentially as T → 0. Real insulating crystals show a power law, C ∝ T³. The reason is that atoms do not vibrate independently: they form collective waves (phonons) with a whole spectrum of frequencies down to zero. Peter Debye fixed this in 1912 by integrating over a spectrum of oscillators. We stay with the Einstein model because it is exactly solvable and teaches the core idea: quantization freezes out degrees of freedom.

The same freezing-out explains why the heat capacity of diatomic gases such as H₂ at room temperature does not include vibrational modes: the vibrational spacing ħω is far larger than k_B T at 300 K.

Connecting with the Einstein solid of earlier lessons

In the Einstein solid counting lessons we measured energy in quanta above the zero point and found q/N = 1/(e^(ε/kT) − 1) by taking the slope of entropy. The canonical result ⟨n⟩ = 1/(e^x − 1) is the same formula: the microcanonical and canonical ensembles agree for large N.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is the partition function of a quantum harmonic oscillator (energies measured including zero-point), with x = hbar omega / (k_B T)?

    Summing the geometric series gives Z = e^(-x/2)/(1 - e^(-x)).
  2. 2. What heat capacity does a single oscillator approach at high temperature?

    The classical limit is k_B per one-dimensional oscillator (kinetic plus potential).
  3. 3. What value does the Dulong-Petit law give for the molar heat capacity of a solid?

    3N oscillators at k_B each gives 3 N_A k_B = 3R, about 24.9 J/(mol K).
  4. 4. Why does the Einstein model predict a heat capacity that falls at low T?

    When k_B T is far below hbar omega, the excited levels are nearly empty and the oscillator cannot absorb energy.

Summary

  • Levels E_n = ħω(n + ½); Z = e^(−x/2)/(1 − e^(−x)), x = ħω/(k_B T).
  • ⟨E⟩ = ħω(½ + 1/(e^x − 1)) and C/k_B = x² e^x/(e^x − 1)².
  • High T: C → k_B (equipartition). Low T: exponential freeze-out.
  • Einstein solid: C = 3N k_B x² e^x/(e^x − 1)², with θ_E = ħω/k_B, reproduces Dulong-Petit at high T; real solids show T³ at low T (Debye).

Next: The Paramagnet and Curie's Law