---
title: Oscillators and the heat capacity of solids
heading: Equipartition, its quantum failure, and the noise on a capacitor
eyebrow: B11 · Lesson 9 · Oscillators and the heat capacity of solids
xp: 45
---

::: hook
Classical physics has a simple rule for thermal energy: every quadratic term in the energy, like $\frac12mv^2$ or $\frac12Cv^2$, gets $\frac12kT$ on average. It's called **equipartition**, and for engineers it has a direct consequence: any capacitor at temperature T carries a random voltage with mean square kT/C. That **kT/C noise** limits switched-capacitor circuits, sample-and-hold stages and every pixel of an image sensor. But equipartition fails for oscillators whose quantum ħω exceeds kT: they freeze out. That failure is why diamond, with its stiff bonds, has only a quarter of the heat capacity of copper at room temperature, and why Einstein's 1907 explanation of it was one of the first successes of quantum theory.
:::

::: play
- An Einstein solid: every atom vibrates as three independent oscillators of frequency ω, written as an Einstein temperature $\Theta_E = \hbar\omega/k$. The curve is the molar heat capacity against T.
- At high T it levels off at 3R = 24.9 J/(mol·K), the classical Dulong–Petit value. Below about $\Theta_E/3$ it falls steeply as the oscillators freeze into their ground states.
- Raise $\Theta_E$ toward diamond's (about 1300 K): at room temperature (marker) the heat capacity is only a quarter of the classical value.
:::
:::

```sim plot
view: graph
x: T = 1..1500 K
y: C = 0..27
slider: th = 100..1500 step 10 = 1320 K
plot: 3*8.314462618*(th/T)^2*exp(th/T)/(exp(th/T) - 1)^2 | samples: 1000 | label: C, J/(mol·K)
plot: 3*8.314462618 | dashed | label: 3R, classical
marker: T = 300 | label: room temperature
readout: C at 300 K, J/(mol·K) = 3*8.314462618*(th/300)^2*exp(th/300)/(exp(th/300) - 1)^2
```

::: predict
## An image sensor's pixel is reset onto a 5 fF capacitor at room temperature. How uncertain is the charge left behind?

- [ ] Less than one electron
- [x] About 28 electrons RMS
- [ ] About 3000 electrons RMS
- [ ] Zero: a reset is exact

::: reveal
The capacitor's energy $\frac{q^2}{2C}$ is quadratic in q, so equipartition gives $\langle q^2\rangle = kTC$: $q_{rms} = \sqrt{4.14 \times 10^{-21} \times 5 \times 10^{-15}}$ = 4.6 × 10⁻¹⁸ C = 28 electrons. The resistance of the reset switch doesn't appear; it sets the noise bandwidth and the spectral density in a way that cancels. Sensors remove most of this with correlated double sampling: they read the pixel just after reset and subtract.
:::
:::

::: nameit
## One quantum oscillator

Levels $n\hbar\omega$ (plus the zero point) give, from lesson 3,

$$\langle E\rangle = \frac{\hbar\omega}{e^{\hbar\omega/kT} - 1} + \frac12\hbar\omega \;\to\; kT\quad(kT \gg \hbar\omega)$$

At high T each oscillator holds kT; at low T almost nothing above the zero point.

## Equipartition

In the classical limit, each quadratic term in the energy averages $\frac12kT$:

- a particle's kinetic energy: $\frac32kT$, so $v_{rms} = \sqrt{3kT/m}$;
- a capacitor: $\langle\frac12CV^2\rangle = \frac12kT$, so $V_{rms} = \sqrt{kT/C}$ and $q_{rms} = \sqrt{kTC}$;
- an inductor: $\langle\frac12LI^2\rangle = \frac12kT$.

It holds when the relevant quantum ħω is well below kT, which for electrical circuits means frequencies well below kT/h = 6 THz at room temperature.

## The Einstein solid

N atoms, each three oscillators of frequency ω, with $x = \Theta_E/T$:

$$U = \frac{3N\hbar\omega}{e^x - 1}, \qquad C = 3Nk\frac{x^2e^x}{(e^x - 1)^2}$$

At high T, C → 3Nk (3R per mole, the Dulong–Petit law); at low T it falls as $e^{-\Theta_E/T}$. Real solids fall more slowly, as $T^3$, because they also have low-frequency vibrations; the Debye model (lesson 15) fixes that.
:::

::: example
## Estimate diamond's molar heat capacity at 300 K, with $\Theta_E$ = 1320 K.

::: solution
1. **Einstein temperature over T.**
   $$\begin{aligned} x &= \frac{1320}{300} \\ &= 4.4 \end{aligned}$$
2. **Heat capacity.**
   $$\begin{aligned} \frac{C}{3R} &= \frac{4.4^2e^{4.4}}{(e^{4.4} - 1)^2} \\ &= 0.244 \end{aligned}$$
   so C = 6.1 J/(mol·K), matching the measured value.
3. **Compare with copper.** Copper, with soft bonds and $\Theta_E$ near 250 K, is almost at its classical 24.9.
4. **A heat spreader.** Diamond's stiff bonds also make it an excellent heat spreader for high-power electronics, a separate story (lesson 43).

**Answer:** about 6.1 J/(mol·K), 0.244 of the classical value.
:::
:::

::: example
## What RMS noise voltage does kT/C put on a 1 pF sampling capacitor at 300 K?

::: solution
1. **Noise voltage.**
   $$\begin{aligned} v_{rms} &= \sqrt{\frac{kT}{C}} \\ &= \sqrt{\frac{4.14 \times 10^{-21}}{10^{-12}}} \\ &= 64\ \mu\text{V} \end{aligned}$$
2. **Compare with a 12-bit LSB.** For a 12-bit converter with a 1 V range, one LSB is 244 µV, so 1 pF is comfortable.
3. **At 16 bits.** One LSB is 15 µV, so the sampling capacitor must be about 20 pF or more, which is why high-resolution ADCs have large input capacitance.

**Answer:** about 64 µV RMS.
:::
:::

::: example
## An AFM cantilever has a spring constant of 0.1 N/m. How far does it jiggle by itself at 300 K? What about a stiff 40 N/m cantilever?

::: solution
1. **Equipartition.** The deflection enters the energy as $\frac12kx^2$, so
   $$\frac12k\langle x^2\rangle = \frac12k_BT$$
2. **The soft cantilever.**
   $$\begin{aligned} x_{rms} &= \sqrt{\frac{k_BT}{k}} \\ &= \sqrt{\frac{4.14 \times 10^{-21}}{0.1}} \\ &= 0.20\ \text{nm} \end{aligned}$$
   That's about the size of an atom, so a soft cantilever's thermal motion is easy to see; AFMs measure it to calibrate the spring constant.
3. **The stiff cantilever.** The 40 N/m cantilever moves only 10 pm.
4. **The same rule elsewhere.** It sets kT/C noise on a capacitor and $\sqrt{kT/L}$ of current in an inductor: every quadratic term holds ½kT.

**Answer:** about 0.20 nm RMS for the 0.1 N/m cantilever and 10 pm for the 40 N/m one.
:::
:::

::: check
given: C = 0.1 | 1 | 10; T = 77 | 300 | 400
answer: sqrt(1.380649e-23*T/(C*1e-12))*1e6
unit: µV
tolerance: 0.5%

## What's the RMS kT/C noise on a {C} pF capacitor at {T} K?

::: right
Right. $\sqrt{kT/C}$ = {answer} µV.
:::

::: misses
- [sqrt(2*1.380649e-23*T/(C*1e-12))*1e6] $\langle\frac12CV^2\rangle = \frac12kT$, so $\langle V^2\rangle = kT/C$, without a 2.
- [any] Not yet. Equipartition for one quadratic term.
:::
:::

::: check
given: C = 2 | 5 | 20; T = 250 | 300 | 330
answer: sqrt(1.380649e-23*T*C*1e-15)/1.602176634e-19
tolerance: 0.5%

## A pixel is reset onto {C} fF at {T} K. What's the RMS charge noise, in electrons?

::: right
Right. $\sqrt{kTC}/e$ = {answer} electrons.
:::

::: misses
- [sqrt(1.380649e-23*T/(C*1e-15))/1.602176634e-19] That's $\sqrt{kT/C}$, a voltage; charge noise is $\sqrt{kTC}$.
- [any] Not yet. $\langle q^2\rangle = kTC$.
:::
:::

::: check
given: t = 200 | 600 | 1300; T = 100 | 300
answer: 3*8.314462618*(t/T)^2*exp(t/T)/(exp(t/T) - 1)^2
unit: J/(mol·K)
tolerance: 0.5%

## An Einstein solid has $\Theta_E$ = {t} K. What's its molar heat capacity at {T} K?

::: right
Right. $3R\frac{x^2e^x}{(e^x - 1)^2}$ with x = $\Theta_E/T$: {answer} J/(mol·K).
:::

::: misses
- [3*8.314462618] That's the classical limit, reached only for T well above $\Theta_E$.
- [any] Not yet. x = $\Theta_E/T$.
:::
:::

::: check
given: w = 10 | 30 | 60; T = 77 | 300
answer: w/(exp(w/(0.086173*T)) - 1)
unit: meV
tolerance: 0.5%

## An oscillator has ħω = {w} meV. What's its average thermal energy above the zero point at {T} K?

::: right
Right. $\frac{\hbar\omega}{e^{\hbar\omega/kT} - 1}$ = {answer} meV.
:::

::: misses
- [0.086173*T] That's the classical kT, valid only when kT ≫ ħω.
- [any] Not yet. Planck's formula for one oscillator.
:::
:::

::: check
given: M = 27 | 63.5 | 207
answer: 3*8.314462618/M
unit: J/(g·K)
tolerance: 0.5%

## By the Dulong–Petit law, what's the specific heat of an element with molar mass {M} g/mol?

::: right
Right. 3R/M = {answer} J/(g·K).
:::

::: misses
- [8.314462618/M] Each atom has three oscillators: 3R per mole.
- [any] Not yet. 3R = 24.9 J/(mol·K).
:::
:::

::: check
given: m = 1 | 28 | 4; T = 77 | 300
answer: sqrt(3*1.380649e-23*T/(m*1.66053906660e-27))
unit: m/s
tolerance: 0.5%

## What's the RMS speed of a molecule of mass {m} u at {T} K?

::: right
Right. $\sqrt{3kT/m}$ = {answer} m/s.
:::

::: misses
- [sqrt(1.380649e-23*T/(m*1.66053906660e-27))] Three directions, each ½kT: $\frac32kT$ in all.
- [any] Not yet. $\frac12m\langle v^2\rangle = \frac32kT$.
:::
:::

::: check
kind: parts
given: L = 1 | 10; C = 10 | 100; T = 4 | 300

## An LC tank has L = {L} µH and C = {C} pF at {T} K.

::: part
answer: sqrt(1.380649e-23*T/(L*1e-6))*1e9
unit: nA
tolerance: 0.5%

### What's the RMS thermal current in the inductor?

::: misses
- [any] Equipartition: $\frac12L\langle i^2\rangle = \frac12kT$.
:::
:::

::: part
answer: 1/(2*pi*sqrt(L*1e-6*C*1e-12))/1e6
unit: MHz
tolerance: 0.5%

### At what frequency does it resonate?

::: misses
- [1/sqrt(L*1e-6*C*1e-12)/1e6] That's ω; divide by 2π.
- [any] $f = \frac{1}{2\pi\sqrt{LC}}$.
:::
:::

::: part
answer: 1/(exp(6.62607e-34/(2*pi*sqrt(L*1e-6*C*1e-12))/(1.380649e-23*T)) - 1)
tolerance: 0.5%

### How many thermal quanta does it hold on average?

::: misses
- [any] $\frac{1}{e^{hf/kT} - 1}$.
:::
:::
:::

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

## A quantum oscillator with $x = \frac{\hbar\omega}{kT}$.

::: step
answer: 1/(exp(x) - 1)

### What's its average number of quanta?
:::

::: step
answer: x/(exp(x) - 1)

### What's its average energy above the zero point, in units of kT?
:::

::: step
answer: x^2*exp(x)/(exp(x) - 1)^2

### What's its heat capacity, in units of k?
:::

::: right
Right. For small x all three approach the classical results (kT/ħω quanta, kT of energy, k of heat capacity), and for large x they freeze out exponentially.
:::
:::

::: explain
## Why does a capacitor's thermal noise voltage depend only on its capacitance and temperature, and not on the resistance connected to it?

::: model
In equilibrium the capacitor's stored energy, $\frac12CV^2$, is one quadratic term in the system's energy, so equipartition fixes its average at $\frac12kT$ whatever else is attached. The resistor does matter for the details: its thermal noise has a spectral density proportional to R, and the RC filter's bandwidth is proportional to 1/R. A larger resistor makes more noise per hertz but passes fewer hertz, and the product comes out exactly the same. That's why reset noise in a sampled circuit is kT/C no matter how the switch is sized.
:::
:::

::: practice

::: check
given: C = 0.5 | 50; T = 4 | 300
answer: sqrt(1.380649e-23*T/(C*1e-12))*1e6
unit: µV
tolerance: 0.5%

## kT/C noise for {C} pF at {T} K?

::: misses
- [any] $\sqrt{kT/C}$.
:::
:::

::: check
given: t = 300 | 2000; T = 150 | 500
answer: 3*8.314462618*(t/T)^2*exp(t/T)/(exp(t/T) - 1)^2
unit: J/(mol·K)
tolerance: 0.5%

## Einstein heat capacity, $\Theta_E$ = {t} K, at {T} K?

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

::: check
given: C = 1 | 50; T = 200 | 350
answer: sqrt(1.380649e-23*T*C*1e-15)/1.602176634e-19
tolerance: 0.5%

## Reset noise in electrons for {C} fF at {T} K?

::: misses
- [any] $\sqrt{kTC}/e$.
:::
:::
:::
