Skip to content
Tutorials Center
My learning

Topics

Lesson 12 of 39 ยท The Microcanonical and Canonical Ensembles

The Two-Level System

Solve the two-level system in the canonical ensemble: partition function, average energy, entropy, the Schottky heat-capacity peak, and the meaning of negative temperature.

The simplest quantum system, with just two energy levels, is also one of the most useful. It models a spin in a magnetic field, a defect in a crystal, an atom with two relevant states. It is the best place to practice the canonical ensemble because every quantity has a closed form.

The setup

One particle has a ground state with energy 0 and an excited state with energy ฮต > 0. Both levels are non-degenerate. At temperature T, with ฮฒ = 1/(k_B T) and x = ฮฒฮต = ฮต/(k_B T):

Text
Z = 1 + e^(โˆ’x)
p_ground = 1/(1 + e^(โˆ’x)),     p_excited = e^(โˆ’x)/(1 + e^(โˆ’x)) = 1/(e^x + 1)

The average energy is

Text
โŸจEโŸฉ = ฮต p_excited = ฮต / (e^x + 1)

For N independent such particles, multiply by N: U = N ฮต/(e^x + 1). This matches the microcanonical result of the previous lesson, as it must.

Limits

  • T โ†’ 0 (x โ†’ โˆž): p_excited โ†’ 0, everything in the ground state, โŸจEโŸฉ โ†’ 0.
  • T โ†’ โˆž (x โ†’ 0): both levels equally likely, p_excited โ†’ 1/2, โŸจEโŸฉ โ†’ ฮต/2. The energy saturates because there is a maximum energy: the system cannot hold more than ฮต per particle.
Python Occupation and energy of a two-level system

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.

Heat capacity: the Schottky anomaly

The heat capacity is C = dU/dT. Using d/dT = โˆ’(x/T) d/dx, one finds for each particle

Text
C / k_B = xยฒ e^x / (e^x + 1)ยฒ

This function is zero at both low and high temperature and has a peak in between, called the Schottky anomaly (peak). It occurs because the system can absorb energy only when thermal energy is comparable to the gap: at low T it cannot reach the excited level, at high T the levels are already equally populated and there is no more room to absorb energy.

The maximum is at x โ‰ˆ 2.40, i.e. k_B T โ‰ˆ 0.417 ฮต, with C โ‰ˆ 0.439 k_B per particle. Let us confirm numerically.

Python The Schottky heat-capacity peak

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 peak is a distinctive experimental signature of a two-level system, for example in paramagnetic salts.

Free energy and entropy

Anticipating the next chapter, the free energy is F = โˆ’k_B T ln Z, which gives per particle

Text
F = โˆ’k_B T ln(1 + e^(โˆ’x))
S = (U โˆ’ F)/T = k_B [ ln(1 + e^(โˆ’x)) + x/(e^x + 1) ]

At low T, S โ†’ 0; at high T, S โ†’ k_B ln 2: two states equally likely means one bit of uncertainty, k_B ln 2 per particle.

Python Entropy of a two-level system against temperature

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.

Negative absolute temperature

Because the energy of a two-level system is bounded above, you can prepare it with more particles in the excited state than the ground state (a population inversion). From the Boltzmann relation p_exc/p_gnd = e^(โˆ’ฮต/(k_B T)), a ratio greater than 1 requires T < 0.

Using the statistical definition 1/T = โˆ‚S/โˆ‚U: beyond half filling the entropy decreases as energy increases (fewer ways to arrange nearly full excitation), so โˆ‚S/โˆ‚U < 0 and T < 0. Negative temperatures are hotter than every positive temperature: they sit beyond T = +โˆž. If you put a negative-temperature system in contact with a positive-temperature one, energy flows from the negative one.

This is a real laboratory phenomenon for spin systems and for some cold-atom setups, and it underlies the population inversion needed for a laser. It does not apply to systems with unbounded kinetic energy, such as a gas.

Python Entropy against energy, with its sign of slope

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.

Negative temperature does not mean "colder than absolute zero". It is hotter than any positive temperature. The scale runs 0+ K ... +โˆž K = โˆ’โˆž K ... 0โˆ’ K.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is the partition function of one two-level system with energies 0 and eps?

    Z = e^0 + e^(-eps/kT) = 1 + e^(-eps/kT).
  2. 2. What does the average energy per particle approach at very high temperature (positive T)?

    At high T both levels are equally probable, so the average energy is eps/2.
  3. 3. The Schottky anomaly is:

    The heat capacity of a two-level system peaks near k_B T = 0.417 eps.
  4. 4. When is the temperature of a two-level system negative?

    More excited than ground-state particles means the entropy decreases as energy rises, so dS/dU < 0 and T < 0.

Summary

  • Two levels (0 and ฮต): Z = 1 + e^(โˆ’x), x = ฮต/(k_B T); โŸจEโŸฉ = ฮต/(e^x + 1).
  • The heat capacity per particle C/k_B = xยฒ e^x/(e^x + 1)ยฒ has a peak near k_B T โ‰ˆ 0.417 ฮต (the Schottky anomaly).
  • Entropy rises from 0 to k_B ln 2 per particle.
  • Bounded-energy systems can have negative absolute temperature, which is hotter than +โˆž.

Next: Energy Fluctuations and Heat Capacity