---
title: Two-level systems and paramagnetism
heading: Spins in a field, the Curie law, and why MRI needs strong magnets
eyebrow: B11 · Lesson 7 · Two-level systems and paramagnetism
xp: 45
---

::: hook
An electron spin in a magnetic field has two energies, $\mp\mu B$, and at temperature T the Boltzmann factor decides how many point each way. The result is the magnetization of a paramagnet, which follows a simple tanh curve and, at everyday fields and temperatures, Curie's law: proportional to B/T. The same calculation explains why an MRI scanner needs a 3 T superconducting magnet. At body temperature only about ten protons in a million line up with the field, and the image is built from that tiny excess. Two-level systems also leave a fingerprint in a material's heat capacity, the Schottky peak, which shows up whenever a solid has defects or impurities with a small energy splitting.
:::

::: play
- Electron spins (moment $\mu_B$) in a field B at temperature T. The solid curve is the magnetization as a fraction of its maximum, $\tanh(\mu_BB/kT)$; the dashed line is Curie's law, $\mu_BB/kT$.
- At room temperature the curve barely leaves zero even at 10 T: thermal agitation wins. Cool to a few kelvin and it saturates.
- The two curves agree while $\mu_BB \ll kT$, which covers almost every practical case except cryogenic ones.
:::
:::

```sim plot
view: graph
x: B = 0..10 T
y: M = 0..1.05
slider: T = 0.1..300 = 4 K log
plot: tanh(0.67171*B/T) | label: M ÷ Nμ
plot: 0.67171*B/T | dashed | label: Curie law
readout: μB/kT at 1 T = 0.67171/T
readout: polarization at 10 T = tanh(6.7171/T)
```

::: predict
## In a 3 T MRI scanner at body temperature (310 K), what fraction of protons are lined up with the field in excess of those against it?

- [ ] About 50%
- [ ] About 1%
- [x] About 10 per million
- [ ] Exactly zero

::: reveal
The proton's moment is $1.41 \times 10^{-26}$ J/T, so $\frac{\mu B}{kT} = \frac{1.41 \times 10^{-26} \times 3}{1.38 \times 10^{-23} \times 310} = 9.9 \times 10^{-6}$. The net polarization equals that: ten in a million. The signal is proportional to it, which is why scanners use the strongest magnets they can afford, and why hyperpolarization tricks that raise it a thousandfold are worth so much.
:::
:::

::: nameit
## One spin

A moment μ in field B has energies $\mp\mu B$ (aligned, opposed). With x = μB/kT,

$$Z = 2\cosh x, \qquad \langle\mu_z\rangle = \mu\tanh x$$

## N spins: magnetization and the Curie law

$$M = N\mu\tanh\frac{\mu B}{kT} \approx \frac{N\mu^2B}{kT}\quad(\mu B \ll kT)$$

The linear form is **Curie's law**: susceptibility proportional to 1/T. Useful moments: an electron spin has $\mu_B = 9.274 \times 10^{-24}$ J/T (μ_B/k = 0.672 K/T); a proton $1.41 \times 10^{-26}$ J/T, 658 times smaller.

## The Schottky heat capacity

For N two-level systems with splitting Δ and x = Δ/kT,

$$U = \frac{N\Delta}{e^x + 1}, \qquad \frac{C}{Nk} = \frac{x^2e^x}{(e^x + 1)^2}$$

C peaks at x = 2.40, where kT = 0.417Δ, with C = 0.439Nk. It's small at low T (nothing excited) and at high T (both levels equally full, so more heat can't change the populations). The entropy climbs from 0 to Nk ln 2.

## Cooling with spins

The entropy of an ideal paramagnet depends only on μB/kT. Magnetize it at low T, isolate it, and lower the field: at constant entropy, T falls in proportion to B. That's **adiabatic demagnetization**, the method that first reached millikelvin temperatures; nuclear spins push it to microkelvins.
:::

::: example
## What's the net polarization of electron spins at 1 T and 300 K, and at 1 T and 1 K?

::: solution
1. **At 300 K.**
   $$\begin{aligned} \frac{\mu_BB}{kT} &= \frac{0.672}{300} \\ &= 2.24 \times 10^{-3} \end{aligned}$$
   so the polarization is 0.22%.
2. **At 1 K.** x = 0.672, so
   $$\tanh x = 0.586$$
   a polarization of 59%.
3. **Spin qubits.** Electron spin qubits are operated at fractions of a kelvin, where the polarization is essentially 100%.

**Answer:** the net polarization is 0.22% at 300 K and 59% at 1 K.
:::
:::

::: example
## A solid contains defects with a 1 meV splitting. Where's their heat-capacity peak?

::: solution
1. **Energy of the peak.** The peak sits at
   $$\begin{aligned} kT &= 0.417 \times 1\ \text{meV} \\ &= 0.417\ \text{meV} \end{aligned}$$
2. **Convert to kelvin.**
   $$\begin{aligned} T &= \frac{0.417}{0.08617} \\ &= 4.8\ \text{K} \end{aligned}$$
3. **Why it stands out.** At those temperatures the lattice's own heat capacity is tiny (it goes as T³, lesson 15), so even a small density of defects shows up clearly. Heat-capacity measurements below 10 K are a standard way to count them.

**Answer:** the heat-capacity peak is at about 4.8 K.
:::
:::

::: example
## A paramagnetic salt has $10^{28}$ spin-½ ions per m³, each with moment $\mu_B$. What's its Curie-law susceptibility at 300 K and at 4 K?

::: solution
1. **Curie-law susceptibility.** In a weak field the magnetization is $M = \frac{n\mu^2B}{kT}$, so with $B = \mu_0H$,
   $$\chi = \frac{\mu_0n\mu_B^2}{kT}$$
2. **At 300 K.**
   $$\begin{aligned} \chi &= \frac{(4\pi \times 10^{-7})(10^{28})}{1.381 \times 10^{-23} \times 300} \\ &\quad \times (9.274 \times 10^{-24})^2 \\ &= 2.61 \times 10^{-4} \end{aligned}$$
3. **At 4 K.** It's 75 times larger:
   $$\begin{aligned} \chi &= 75 \times 2.61 \times 10^{-4} \\ &= 0.0196 \end{aligned}$$
4. **Still small.** That's why paramagnets barely pull on a magnet at room temperature, and why measuring 1/χ against T (a straight line through the origin for an ideal paramagnet) is how the moments and their interactions are found.

**Answer:** χ = 2.61 × 10⁻⁴ at 300 K and 0.0196 at 4 K.
:::
:::

::: check
given: B = 0.5 | 3 | 9; T = 4 | 10 | 300
answer: tanh(0.67171*B/T)
tolerance: 0.5%

## What's the net polarization of free-electron spins at {B} T and {T} K?

::: right
Right. $\tanh\frac{\mu_BB}{kT}$ = {answer}.
:::

::: misses
- [tanh(1.34342*B/T)] Use the moment $\mu_B$, giving energies ±μB: the gap is 2μB, but x = μB/kT.
- [any] Not yet. $\mu_B/k$ = 0.672 K/T.
:::
:::

::: check
given: B = 1.5 | 3 | 7; T = 290 | 310
answer: 1.41060679736e-26*B/(1.380649e-23*T)
tolerance: 0.5%

## What's the proton polarization in a {B} T magnet at {T} K?

::: right
Right. $\frac{\mu_pB}{kT}$ = {answer} (tanh x ≈ x here).
:::

::: misses
- [9.2740100783e-24*B/(1.380649e-23*T)] That's for electrons; the proton's moment is 658 times smaller.
- [any] Not yet. $\mu_p = 1.41 \times 10^{-26}$ J/T.
:::
:::

::: check
given: D = 1 | 5 | 20; T = 2 | 10 | 50
answer: (D/(0.086173*T))^2*exp(D/(0.086173*T))/(exp(D/(0.086173*T)) + 1)^2
tolerance: 1%

## Two-level systems with splitting {D} meV at {T} K: what's C/Nk?

::: right
Right. $\frac{x^2e^x}{(e^x + 1)^2}$ with x = Δ/kT: {answer}.
:::

::: misses
- [0.439] That's the peak value, reached only at kT = 0.417Δ.
- [any] Not yet. Differentiate $U = \frac{N\Delta}{e^{\Delta/kT} + 1}$.
:::
:::

::: check
given: D = 0.5 | 2 | 10
answer: 0.41678*D/0.086173
unit: K
tolerance: 0.5%

## At what temperature does the Schottky heat capacity of a {D} meV splitting peak?

::: right
Right. kT = 0.417Δ, so T = {answer} K.
:::

::: misses
- [D/0.086173] The peak comes where kT is about 0.42Δ, not Δ.
- [any] Not yet. The peak is at Δ/kT = 2.40.
:::
:::

::: check
given: T = 1 | 4; B = 4 | 8; b = 0.05 | 0.2
answer: T*b/B
unit: K
tolerance: 0.5%

## An ideal paramagnet at {T} K in {B} T is isolated and the field lowered to {b} T. What's its final temperature?

::: right
Right. At constant entropy B/T is constant: {answer} K.
:::

::: misses
- [T*B/b] Lowering the field cools it.
- [any] Not yet. S depends only on B/T.
:::
:::

::: check
given: n = 1 | 2 | 5
answer: n*8.314462618*ln(2)
unit: J/K
tolerance: 0.5%

## What's the high-temperature entropy of {n} mol of spin-½ moments?

::: right
Right. $nR\ln 2$ = {answer} J/K.
:::

::: misses
- [n*8.314462618] Each spin contributes k ln 2, not k.
- [any] Not yet. Each spin has two equally likely states.
:::
:::

::: check
kind: parts
given: B = 0.5 | 1 | 2; T = 1 | 2 | 3

## Electron spins with moment $\mu_B$ sit in {B} T at {T} K.

::: part
answer: 1/(1 + exp(-2*0.67171*B/T))
tolerance: 0.5%

### What fraction point along the field (the lower state)?

::: misses
- [1/(1 + exp(-0.67171*B/T))] The two states are $2\mu_BB$ apart.
- [any] $\frac{1}{1 + e^{-2\mu_BB/kT}}$.
:::
:::

::: part
answer: ln(2*cosh(0.67171*B/T)) - 0.67171*B/T*tanh(0.67171*B/T)
tolerance: 0.5%

### What's the entropy per spin, in units of k?

::: misses
- [ln(2)] That's the zero-field value; the field orders the spins.
- [any] $\ln(2\cosh x) - x\tanh x$ with $x = \frac{\mu_BB}{kT}$.
:::
:::
:::

::: check
kind: derivation
vars: x = 0.01..5

## A spin-½ moment in a field, with $x = \frac{\mu B}{kT}$.

::: step
answer: exp(x) + exp(-x)

### What's its partition function?
:::

::: step
answer: tanh(x)

### What's its magnetization as a fraction of saturation?
:::

::: step
answer: ln(2*cosh(x)) - x*tanh(x)

### What's its entropy in units of k?
:::

::: right
Right. The entropy depends only on B/T, which is why lowering the field on an isolated paramagnet lowers its temperature in proportion.
:::
:::

::: explain
## Why does a two-level system's heat capacity fall again at high temperature, when most materials' heat capacity doesn't?

::: model
Heat capacity measures how much the energy changes per degree. A two-level system can hold at most one excitation per unit, and as the temperature rises the populations of the two levels approach equality, at which point the energy approaches NΔ/2 and stops growing: there's no third level to fill. So adding heat barely changes the populations any more, and C falls back toward zero. Oscillators and gas molecules have an unlimited ladder of levels, so they keep absorbing energy in proportion to temperature, and their heat capacities level off at a constant instead of falling.
:::
:::

::: practice

::: check
given: B = 1 | 12; T = 0.5 | 20
answer: tanh(0.67171*B/T)
tolerance: 0.5%

## Electron polarization at {B} T, {T} K?

::: misses
- [any] $\tanh(0.672B/T)$.
:::
:::

::: check
given: D = 2 | 30; T = 5 | 100
answer: (D/(0.086173*T))^2*exp(D/(0.086173*T))/(exp(D/(0.086173*T)) + 1)^2
tolerance: 1%

## Schottky C/Nk for {D} meV at {T} K?

::: misses
- [any] $\frac{x^2e^x}{(e^x + 1)^2}$.
:::
:::

::: check
given: T = 0.5 | 3; B = 3 | 6; b = 0.02 | 0.1
answer: T*b/B
unit: K
tolerance: 0.5%

## Demagnetization from {T} K, {B} T to {b} T?

::: misses
- [any] $T_f = T_iB_f/B_i$.
:::
:::
:::
