BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

The energy cost of information, equipartition and the ideal gas

A chain of N links with no internal energy still costs energy to stretch at temperature T: its entropy falls from about Nk_B ln 2 to zero, so the bath must take at least Nk_BT ln 2, which is the change in the free energy A = −ST. By the same argument, writing one bit into a random memory costs at least k_BT ln 2, and information can be measured as ln Γ − Σ ρ_i ln(1/ρ_i). In the canonical ensemble each quadratic momentum term has mean k_BT/2 (equipartition), giving C_V = (3/2)Nk_B for any monatomic gas or mixture; quantised rotations and vibrations drop out when k_BT is below their level spacing. Finally the classical ideal gas: Q = (V/λ³)^N/N!, A = Nk_BT[ln(Nλ³/V) − 1], the entropy Nk_B[5/2 + ln(V/Nλ³)] and, from −∂A/∂V, the pressure Nk_BT/V.

You need this first

Full reading path (15 pages)
  1. Probability: one random variable (8.044)
  2. Probability: two or more random variables (8.044)
  3. Probability: functions of a random variable (8.044)
  4. Probability: sums of random variables and the central limit theorem (8.044)
  5. Thermodynamic variables, temperature and work (8.044)
  6. The first law of thermodynamics and paths (8.044)
  7. Statistical mechanics and the microcanonical ensemble (8.044)
  8. Entropy, temperature and the second law (8.044)
  9. Entropy as a thermodynamic variable (8.044)
  10. Maxwell relations and thermodynamic potentials (8.044)
  11. An elastic rod, heat engines and the Carnot cycle (8.044)
  12. Refrigerators, the third law and the canonical ensemble (8.044)
  13. Examples using the canonical ensemble (8.044)
  14. The canonical ensemble and the free energy (8.08)
  15. Polyatomic gases (8.044)
On this page · 7 sections
  1. Stretching a chain with no internal energy
  2. The energy cost of information
  3. Measuring information
  4. The Maxwell distribution and equipartition
  5. When equipartition fails: rotations and vibrations
  6. The free energy of the classical ideal gas
  7. Summary

The previous page derived the canonical ensemble and showed that a system at fixed temperature minimises its free energy A=E−STA = E - ST. Wen's notes now use that idea in three ways: to show that ordering a system costs energy even when no energy is stored in it, which leads to the energy cost of information; to derive the equipartition of energy and see where it fails; and to compute the free energy, entropy and pressure of the classical ideal gas (notes pp. 5–12, points ⑤ to ⑦). The 8.044 pages on canonical examples and polyatomic gases did the last two in more detail; here we follow Wen's route. (Wen's handwritten page numbers skip 8: his p. 9 follows p. 7.)

Stretching a chain with no internal energy#

Wen's model is a flexible chain of NN links, each pointing either right (+1+1) or left (−1-1) (notes p. 5, point ⑤). Its length is the sum, in units of the link length:

Length of the chain
Length=(+1)+(+1)+(−1)+(+1)+(+1)+⋯=NR−NL\text{Length} = (+1) + (+1) + (-1) + (+1) + (+1) + \cdots = N_R - N_L
In words

Length equals ( plus 1) plus ( plus 1) plus (-1) plus ( plus 1) plus ( plus 1) plus and so on equals capital N sub capital R minus capital N sub capital L

with N=NR+NLN = N_R + N_L. The links do not interact, so every configuration has the same energy: there is no internal energy. The chain has 2N2^N configurations in all; the number with length zero, NR=NL=N/2N_R = N_L = N/2, is a binomial coefficient, which we call Γ0\Gamma_0 (notes p. 5):

Configurations of zero length
Γ0=N![(N/2)!]2\Gamma_0 = \frac{N!}{\left[(N/2)!\right]^2}
In words

capital gamma nought equals capital N ! over the quantity ( the quantity capital N over 2, factorial ) squared

(The notes write N!/(N/2)!N!/(N/2)!, without the square.) The entropies follow from S=kBln⁡ΓS = k_B\ln\Gamma (notes p. 5):

Entropies of the chain
Stot=kBln⁡2N=NkBln⁡2,S0=kBln⁡Γ0≈NkBln⁡2,S1=kBln⁡1=0S_{\text{tot}} = k_B\ln 2^N = Nk_B\ln 2, \qquad S_0 = k_B\ln\Gamma_0 \approx Nk_B\ln 2, \qquad S_1 = k_B\ln 1 = 0
In words

S sub tot equals k B log 2^ capital N equals capital N k B log 2, S nought equals k B log capital gamma nought is approximately capital N k B log 2, S one equals k B log 1 equals 0

Here StotS_{\text{tot}} counts all configurations, S0S_0 those of length zero and S1S_1 the single configuration of full length NN, all links pointing right. The approximation for S0S_0 is Stirling's formula, ln⁡N!≈Nln⁡N−N\ln N! \approx N\ln N - N: almost all configurations have length close to zero, so to leading order in NN fixing the length at zero costs no entropy at all.

How much energy does it take to stretch the chain from length 00 to length NN? Since there is no internal energy, the tempting answer is none. Wen marks that answer wrong (notes p. 5). Put the chain in a heat bath at temperature TT (notes p. 6). Pulling it straight lowers its entropy from NkBln⁡2Nk_B\ln 2 to zero, and since the total entropy cannot decrease, the bath's entropy must rise by at least NkBln⁡2Nk_B\ln 2. For a bath, Sbath=Ebath/TS_{\text{bath}} = E_{\text{bath}}/T, so its entropy can only rise if its energy does:

Energy cost of stretching the chain
ΔEbath=T ΔS=NkBTln⁡2=Afinal−Ainit=(−SfinalT)−(−SinitT)=ΔS T\Delta E_{\text{bath}} = T\,\Delta S = Nk_BT\ln 2 = A_{\text{final}} - A_{\text{init}} = (-S_{\text{final}}T) - (-S_{\text{init}}T) = \Delta S\,T
In words

capital delta capital E sub bath equals T capital delta S equals capital N k B T log 2 equals A sub final minus A sub init equals (- S sub final T) minus (- S sub init T) equals capital delta S T

The puller supplies this energy as work, and it ends up as heat in the bath. With no internal energy, A=−STA = -ST, so the work is exactly the change in the chain's free energy. This is how a rubber band works: its tension is mostly entropic.

At intermediate lengths the same reasoning gives the free energy as a function of length. (The following is our extension of Wen's two end points.) With NR=N(1+x)/2N_R = N(1 + x)/2 for a relative extension x=Length/Nx = \text{Length}/N, Stirling's formula gives A(x)/NkBT=−S(x)/NkB=1+x2ln⁡1+x2+1−x2ln⁡1−x2A(x)/Nk_BT = -S(x)/Nk_B = \frac{1 + x}{2}\ln\frac{1 + x}{2} + \frac{1 - x}{2}\ln\frac{1 - x}{2}, which runs from −ln⁡2-\ln 2 at x=0x = 0 up to 00 at full stretch. Its slope is the force needed to hold the chain at that length; in units of kBTk_BT per link length it is tanh⁡−1x\tanh^{-1}x, small and linear (Hooke's law) for small xx, and growing without limit as the chain approaches full length.

The free energy of a chain of NN freely jointed links with no internal energy, in units of NkBTNk_BT, against its length in units of NN, computed from Stirling's formula. Pulling it from length 0 to full length raises AA by NkBTln⁡2Nk_BT\ln 2, about 0.693 NkBT0.693\,Nk_BT, all of it entropy.
Worked example

Pulling a molecular chain straight

Model a long molecule as a chain of N=2000N = 2000 segments, each pointing one of two ways as in Wen's model, in water at 310 K. What is the least work needed to pull it fully straight? And how good is the approximation S0≈NkBln⁡2S_0 \approx Nk_B\ln 2 for a short chain of N=100N = 100?

The work

The work is NkBTln⁡2=2000×1.380649×10−23×310×0.6931Nk_BT\ln 2 = 2000 \times 1.380649 \times 10^{-23} \times 310 \times 0.6931 J =5.93×10−18= 5.93 \times 10^{-18} J, or 2.97×10−212.97 \times 10^{-21} J per segment. Small, but compared with the thermal energy kBT=4.28×10−21k_BT = 4.28 \times 10^{-21} J it is not: each segment costs 0.69 kBT0.69\,k_BT.

Stirling's formula for N=100N = 100

Exactly, ln⁡Γ0=ln⁡[100!/(50!)2]=66.78\ln\Gamma_0 = \ln[100!/(50!)^2] = 66.78, against 100ln⁡2=69.31100\ln 2 = 69.31. The difference, 2.532.53, is close to 12ln⁡(πN/2)=2.53\frac12\ln(\pi N/2) = 2.53, the next term of Stirling's formula. It grows only as ln⁡N\ln N, so for a long chain the relative error vanishes.

The energy cost of information#

Wen turns the chain into a memory (notes p. 6). A string of bits that is random has entropy NkBln⁡2Nk_B\ln 2, like the chain of length zero; a string set to a definite pattern, say 11110001111000, has entropy zero, like the stretched chain. To write a pattern into a random memory is to go from the first to the second, and the same argument applies: the total entropy can only increase, so the surroundings must take up at least kBln⁡2k_B\ln 2 of entropy per bit. Wen's conclusion, boxed in the notes:

Energy cost of one bit
energy to encode one bit=kBTln⁡2\text{energy to encode one bit} = k_BT\ln 2
In words

energy to encode one bit equals k B T log 2

This is now called Landauer's principle, after Rolf Landauer, who argued in 1961 that erasing a bit must dissipate at least kBTln⁡2k_BT\ln 2; the notes do not name it. Wen puts numbers to it for ideal devices at room temperature (notes p. 7). Taking 300 K:

  • An ideal memory chip: programming 1 gigabyte, 8×1098 \times 10^9 bits, needs at least kBTln⁡2×8×109=2.3×10−11k_BT\ln 2 \times 8 \times 10^9 = 2.3 \times 10^{-11} J, which is Wen's 2.3×10−42.3 \times 10^{-4} erg.
  • An ideal bus carrying 10910^9 bits per second needs a power of about 3×10−123 \times 10^{-12} W (3×10−53 \times 10^{-5} erg/s), against the roughly 100 W that a computer actually uses.

Real electronics dissipate many orders of magnitude more than this limit, so it is not yet what limits computers. (Strictly, the bound applies to logically irreversible steps such as erasing or overwriting bits, which is what Wen's random-to-ordered memory does; Charles Bennett showed in the 1970s that a computation done reversibly can in principle avoid it. This caveat is not in the notes.)

Measuring information#

If ordering costs entropy, information can be measured by entropy: the less entropy, the more we know. Wen defines (notes p. 7)

Information and entropy
information=const−entropy×kB−1\text{information} = \text{const} - \text{entropy} \times k_B^{-1}
In words

information equals const minus entropy times k B to the power minus 1

A single bit makes it concrete. If the bit is 00 or 11 with 50% each, we know nothing: the entropy is kBln⁡2k_B\ln 2 and the information zero. If it is 00 with certainty, the entropy is zero and the information is ln⁡2\ln 2. In general, for a system with Γ\Gamma states and probability ρi\rho_i of state ii (notes p. 7, boxed):

Information
information=ln⁡Γ−∑iρiln⁡1ρi\text{information} = \ln\Gamma - \sum_i\rho_i\ln\frac{1}{\rho_i}
In words

information equals log capital gamma minus the sum over i of rho i log 1 over rho i

The sum is the entropy in units of kBk_B, the same expression that the previous page's worked example checked against (Eˉ−A)/T(\bar E - A)/T. The information is zero if all states are equally likely, ρi=1/Γ\rho_i = 1/\Gamma, and reaches its largest value, ln⁡Γ\ln\Gamma, if one ρi=1\rho_i = 1. Measured in units of ln⁡2\ln 2, it is the number of bits.

The information in one bit, ln⁡2−[pln⁡(1/p)+(1−p)ln⁡(1/(1−p))]\ln 2 - [p\ln(1/p) + (1 - p)\ln(1/(1 - p))], against the probability pp that it is 0, computed from Wen's formula with Γ=2\Gamma = 2. It is zero for a fair bit and reaches ln⁡2\ln 2, about 0.693, when the bit is certain.

The Maxwell distribution and equipartition#

Point ⑥ applies the canonical ensemble to the motion of a gas molecule (notes p. 9). The energy of a molecule of mass mm is p⃗ 2/2m\vec p^{\,2}/2m, so the probability of finding its momentum in a small volume d3pd^3p is proportional to

Distribution of momentum
e−βp⃗ 2/2m d3pe^{-\beta\vec p^{\,2}/2m}\,d^3p
In words

e to the power minus beta vector p to the power 2 over 2 m, end of power, d cubed p

and, since d3pd^3p in a shell of speeds is proportional to v2 dvv^2\,dv, the probability of a speed between vv and v+dvv + dv is proportional to the Maxwell distribution:

Maxwell distribution of speeds
e−βmv2/2 v2 dve^{-\beta m v^2/2}\,v^2\,dv
In words

e to the power minus beta m v squared over 2, end of power, v squared d v

It rises as v2v^2, peaks and falls off as a Gaussian. (Wen writes normalising constants in front of both; we leave them out.) The mean kinetic energy of motion along xx follows with a trick that recurs throughout the course: the average is a derivative of the logarithm of a normalising integral. The integrals over pyp_y and pzp_z cancel between top and bottom, and with ∫dx e−x2=π\int dx\,e^{-x^2} = \sqrt\pi (notes p. 9):

Mean kinetic energy of one component
⟨px22m⟩=∫dpx px22m e−βpx2/2m∫dpx e−βpx2/2m=−ddβln⁡∫dpx e−βpx2/2m=−ddβln⁡(π2mβ)=12β=kBT2\left\langle\frac{p_x^2}{2m}\right\rangle = \frac{\int dp_x\,\frac{p_x^2}{2m}\,e^{-\beta p_x^2/2m}}{\int dp_x\,e^{-\beta p_x^2/2m}} = -\frac{d}{d\beta}\ln\int dp_x\,e^{-\beta p_x^2/2m} = -\frac{d}{d\beta}\ln\left(\sqrt\pi\sqrt{\frac{2m}{\beta}}\right) = \frac{1}{2\beta} = \frac{k_BT}{2}
In words

the average of p sub x squared over the quantity 2 m, equals the quantity the integral of d p sub x p sub x squared over the quantity 2 m, times e to the power minus beta p sub x squared over 2 m, end of power, all over the quantity the integral of d p sub x e to the power minus beta p sub x squared over 2 m, end of power, equals minus d over d beta log the integral of d p sub x e to the power minus beta p sub x squared over 2 m, end of power, equals minus d over d beta log ( the square root of pi the square root of 2 m over beta, end of root, ) equals 1 over the quantity 2 beta, equals k B T over 2

The mass has dropped out. So every component has the same mean, and in a mixture of molecules of masses mm and m′m' the heavy and the light ones carry the same kinetic energy (notes p. 9):

Equipartition
⟨px22m⟩=⟨py22m⟩=⟨pz22m⟩=kBT2=⟨px′22m′⟩\left\langle\frac{p_x^2}{2m}\right\rangle = \left\langle\frac{p_y^2}{2m}\right\rangle = \left\langle\frac{p_z^2}{2m}\right\rangle = \frac{k_BT}{2} = \left\langle\frac{p_x'^2}{2m'}\right\rangle
In words

the average of p sub x squared over the quantity 2 m, equals the average of p sub y squared over the quantity 2 m, equals the average of p sub z squared over the quantity 2 m, equals k B T over 2 equals the average of p sub x prime squared over the quantity 2 m prime

This is the equipartition of energy: each quadratic term in the energy gets 12kBT\frac12k_BT. For NN molecules of a monatomic gas the total energy and the heat capacity at constant volume are (notes p. 9)

Energy and heat capacity of a monatomic gas
E=3×NkBT2,CV=dEdT=32NkB,mixed gas: CV=32kB(N1+N2+⋯ )E = 3\times\frac{Nk_BT}{2}, \qquad C_V = \frac{dE}{dT} = \frac32Nk_B, \qquad \text{mixed gas: } C_V = \frac32k_B(N_1 + N_2 + \cdots)
In words

capital E equals 3 times capital N k B T over 2, capital C sub V equals d capital E over d T equals three halves capital N k B, mixed gas: capital C sub V equals three halves k B the quantity capital N one plus capital N two plus and so on

Worked example

A helium and argon mixture

A mixture of 0.25 mol of helium (4.003 u) and 0.75 mol of argon (39.95 u) is at 300 K. Find each gas's mean kinetic energy per atom and root-mean-square speed, and the mixture's heat capacity at constant volume.

Kinetic energy

Both: 32kBT=1.5×1.380649×10−23×300\frac32k_BT = 1.5 \times 1.380649 \times 10^{-23} \times 300 J =6.21×10−21= 6.21 \times 10^{-21} J per atom.

Speeds

vrms=3kBT/mv_{\text{rms}} = \sqrt{3k_BT/m}: 13671367 m/s for helium and 433433 m/s for argon. The light atoms move faster in exactly the proportion that makes their energies equal.

Heat capacity

CV=32kB(N1+N2)=32R×1.00C_V = \frac32k_B(N_1 + N_2) = \frac32R \times 1.00 mol =12.47= 12.47 J/K, whatever the proportions: only the number of atoms counts.

When equipartition fails: rotations and vibrations#

For hydrogen, H2\text{H}_2, the heat capacity per molecule is not a single constant (notes p. 10). Wen sketches CV/NkBC_V/Nk_B against temperature: 32\frac32 (translation only) at the lowest temperatures, rising to 52\frac52 when the molecule's two rotations join in, and to 72\frac72 when its vibration does. Classical equipartition would give the top value at every temperature.

The reason is that rotation is quantised. Wen takes rotation about one axis, the z direction, whose angular momentum is Lz=jℏL_z = j\hbar with j=0,±1,±2,…j = 0, \pm1, \pm2, \ldots (the notes call this number m). The energy is

Rotation levels about one axis
Ej=Lz22I=E0 j2,j=0,±1,±2,…E_j = \frac{L_z^2}{2I} = E_0\,j^2, \qquad j = 0, \pm1, \pm2, \ldots
In words

capital E sub j equals L sub z squared over the quantity 2 capital I, equals capital E nought j squared, j equals 0, plus or minus 1, plus or minus 2, and so on

with II the moment of inertia and E0=ℏ2/2IE_0 = \hbar^2/2I (the notes leave E0E_0 as a constant; its value is our step), and the mean energy is the Boltzmann average

Mean rotational energy
⟨E⟩=∑jEj e−βEj∑je−βEj\langle E\rangle = \frac{\sum_j E_j\,e^{-\beta E_j}}{\sum_j e^{-\beta E_j}}
In words

the average of capital E equals the sum over j of capital E sub j e to the power minus beta capital E sub j over the quantity the sum over j of e to the power minus beta capital E sub j

High temperature, E0β≪1E_0\beta \ll 1: many levels are occupied, the sums become Gaussian integrals over jj, and

Mean rotational energy at high temperature
⟨E⟩=∫dj E0 j2 e−βE0j2∫dj e−βE0j2=12kBT\langle E\rangle = \frac{\int dj\,E_0\,j^2\,e^{-\beta E_0 j^2}}{\int dj\,e^{-\beta E_0 j^2}} = \frac12k_BT
In words

the average of capital E equals the integral of d j capital E nought j squared e to the power minus beta capital E nought j squared over the quantity the integral of d j e to the power minus beta capital E nought j squared, equals one half k B T

equipartition again. (The notes put a factor 12\frac12 in front of E0 j2E_0\,j^2 in the top integral; without it, as here, the integral gives the stated 12kBT\frac12k_BT.)

Low temperature, E0β≫1E_0\beta \gg 1: only the ground state and the first excited level matter, and

Mean rotational energy at low temperature
⟨E⟩≈2E0 e−E0/kBT\langle E\rangle \approx 2E_0\,e^{-E_0/k_BT}
In words

the average of capital E is approximately 2 capital E nought e to the power minus capital E nought over k B T, end of power

which vanishes exponentially: the rotation is frozen out. (The notes write E0 e−E0/kBTE_0\,e^{-E_0/k_BT}; the factor 2 comes from the two states j=±1j = \pm1, and it does not change the conclusion.) The crossover is at the temperature Trot=E0/kBT_{\text{rot}} = E_0/k_B.

The mean energy of a rotation about one axis, levels E0 j2E_0\,j^2, computed from the Boltzmann sum over j=0,±1,…,±7j = 0, \pm 1, \ldots, \pm 7, with the high-temperature value kBT/2k_BT/2 and the low-temperature form 2E0e−E0/kBT2E_0e^{-E_0/k_BT}. At kBT=E0/2k_BT = E_0/2 the exact value is 86% of kBT/2k_BT/2; at kBT=E0k_BT = E_0 it is already 99.8%.

Wen's table gives the two crossover temperatures for three gases (notes p. 10):

GasTrotT_{\text{rot}} (K)TvibT_{\text{vib}} (K)
H₂85.46100
N₂2.863340
O₂2.072230

For air at room temperature, then, translation and both rotations are fully active and the vibrations are frozen, so each molecule contributes 52kB\frac52k_B to CVC_V. (The notes write 72kB\frac72k_B times the number of O₂ and N₂ molecules here; with the vibrations frozen, 72kB\frac72k_B per molecule is the heat capacity at constant pressure, which is larger than CVC_V by kBk_B per molecule.) The real rotational levels of a diatomic molecule are those of a rotor in three dimensions, with energies proportional to l(l + 1) and degeneracy 2l + 1 for l = 0, 1, 2, …, as on the 8.044 page on polyatomic gases; Wen's one-axis model shows the same freezing more simply.

The free energy of the classical ideal gas#

Point ⑦ computes everything for the classical ideal gas of NN molecules in a volume VV (notes p. 11). The partition function is an integral over phase space, divided by h3Nh^{3N} (one state per cell of volume hh for each coordinate and its momentum) and by N!N! (the molecules are identical):

Partition function of the classical ideal gas
Q(T,V)=∫d3Np d3NqN! h3N e−β(p12+⋯+pN2)/2m=1N!(Vλ3)NQ(T, V) = \int\frac{d^{3N}p\,d^{3N}q}{N!\,h^{3N}}\,e^{-\beta(p_1^2 + \cdots + p_N^2)/2m} = \frac{1}{N!}\left(\frac{V}{\lambda^3}\right)^N
In words

capital Q (T, capital V ) equals the integral of d to the power 3 capital N p d to the power 3 capital N q over the quantity capital N ! h to the power 3 capital N, times e to the power minus beta the quantity p one squared plus and so on plus p sub N squared, all over 2 m, end of power, equals 1 over the quantity capital N !, times ( capital V over lambda cubed )^ capital N

The positions give VNV^N, and each of the 3N3N momentum integrals gives the inverse of a length (notes p. 11):

Thermal wavelength
∫dph e−βp2/2m=1λ,λ=2πℏ2mkBT\int\frac{dp}{h}\,e^{-\beta p^2/2m} = \frac{1}{\lambda}, \qquad \lambda = \sqrt{\frac{2\pi\hbar^2}{mk_BT}}
In words

the integral of d p over h, times e to the power minus beta p squared over 2 m, end of power, equals 1 over lambda, lambda equals the square root of 2 pi h bar squared over the quantity m k B T, end of root

the thermal wavelength, of the order of the de Broglie wavelength of a molecule with the typical thermal kinetic energy. The free energy, using Stirling's formula for ln⁡N!\ln N!, is (notes p. 11 and p. 12)

Free energy of the ideal gas
A(V,T)=−kBTln⁡Q=NkBT[ln⁡Nλ3V−1]A(V, T) = -k_BT\ln Q = Nk_BT\left[\ln\frac{N\lambda^3}{V} - 1\right]
In words

A( capital V, T) equals minus k B T log capital Q equals capital N k B T the quantity log capital N lambda cubed over capital V minus 1

Since λ3∝T−3/2\lambda^3 \propto T^{-3/2}, differentiating gives the entropy (notes p. 11):

Entropy of the ideal gas
S=−(∂A∂T)V=NkB(52+ln⁡VNλ3)S = -\left(\frac{\partial A}{\partial T}\right)_V = Nk_B\left(\frac52 + \ln\frac{V}{N\lambda^3}\right)
In words

S equals minus ( partial A over partial T )_ capital V equals capital N k B the quantity five halves plus log capital V over the quantity capital N lambda cubed

Wen reads V/Nλ3V/N\lambda^3 as the number of states available per particle: the volume per particle measured in cells of the thermal wavelength. The classical treatment needs it to be large; when it is not, the gas is a quantum gas.

Pressure. Differentiate A=−kBTln⁡QA = -k_BT\ln Q with respect to the volume at fixed temperature (notes p. 11):

Pressure as minus the volume derivative of A
∂A∂V∣T=−kBT ∂Q/∂VQ=−kBT ∑n(−β ∂En∂V)e−βEn∑ne−βEn=∑ndEndV e−βEn∑ne−βEn=−⟨P⟩\left.\frac{\partial A}{\partial V}\right|_T = -k_BT\,\frac{\partial Q/\partial V}{Q} = -k_BT\,\frac{\sum_n\left(-\beta\,\frac{\partial E_n}{\partial V}\right)e^{-\beta E_n}}{\sum_n e^{-\beta E_n}} = \frac{\sum_n\frac{dE_n}{dV}\,e^{-\beta E_n}}{\sum_n e^{-\beta E_n}} = -\langle P\rangle
In words

partial A over partial capital V evaluated at T equals minus k B T the quantity partial capital Q over partial capital V, all over capital Q equals minus k B T the quantity the sum over n of (- beta partial capital E sub n over partial capital V )e to the power minus beta capital E sub n, all over the quantity the sum over n of e to the power minus beta capital E sub n, equals the quantity the sum over n of d capital E sub n over d capital V, times e to the power minus beta capital E sub n, all over the quantity the sum over n of e to the power minus beta capital E sub n, equals minus the average of capital P

The last step is Wen's reading of −dEn/dV-dE_n/dV: when an isolated system in its nnth state is slowly compressed, it stays in that state and its energy rises, and −dEn/dV-dE_n/dV is the pressure it exerts. Averaging over states gives the pressure of the canonical ensemble. For the ideal gas (notes p. 12):

Equation of state
P=−∂A∂V∣T,N=NkBTVP = -\left.\frac{\partial A}{\partial V}\right|_{T, N} = \frac{Nk_BT}{V}
In words

capital P equals minus partial A over partial capital V evaluated at T, capital N equals capital N k B T over capital V

Worked example

Helium at room temperature and pressure

Helium (4.003 u) is at 300 K and 1 atm (101325 Pa). Find its thermal wavelength, the number of states per particle V/Nλ3V/N\lambda^3, and its molar entropy.

The thermal wavelength

λ=h/2πmkBT\lambda = h/\sqrt{2\pi mk_BT}, the same as 2πℏ2/mkBT\sqrt{2\pi\hbar^2/mk_BT}. With m=6.646×10−27m = 6.646 \times 10^{-27} kg and kBT=4.142×10−21k_BT = 4.142 \times 10^{-21} J, λ=5.04×10−11\lambda = 5.04 \times 10^{-11} m, about half an ångström.

States per particle

From the equation of state, N/V=P/kBT=2.45×1025N/V = P/k_BT = 2.45 \times 10^{25} m⁻³, so V/Nλ3=3.20×105V/N\lambda^3 = 3.20 \times 10^5. Each atom has hundreds of thousands of states to itself, and the classical treatment is excellent.

The entropy

S/NkB=52+ln⁡(3.20×105)=15.18S/Nk_B = \frac52 + \ln(3.20 \times 10^5) = 15.18, so the molar entropy is 15.18 R=126.215.18\,R = 126.2 J/(mol K). Tables give about 126.15 J/(mol K) for helium at 298 K and 1 bar, so this formula, with nothing but hh, mm and kBk_B in it, gets the measured entropy right.

Summary#

  • A chain of NN links with no internal energy still costs energy to stretch at temperature TT: its entropy falls by NkBln⁡2Nk_B\ln 2, so the bath must gain at least NkBTln⁡2Nk_BT\ln 2, the change in A=−STA = -ST.
  • In the same way, writing one bit into a random memory costs at least kBTln⁡2k_BT\ln 2 (Landauer's principle), and information can be measured as ln⁡Γ−∑iρiln⁡(1/ρi)\ln\Gamma - \sum_i\rho_i\ln(1/\rho_i), a constant minus the entropy in units of kBk_B.
  • In the canonical ensemble the momentum has the Maxwell distribution, and each quadratic term has mean 12kBT\frac12k_BT whatever the mass (equipartition): CV=32NkBC_V = \frac32Nk_B for any monatomic gas or mixture.
  • Quantised motions drop out below their level spacing: a rotation with levels E0j2E_0j^2 gives 12kBT\frac12k_BT for kBT≫E0k_BT \gg E_0 but only about 2E0e−E0/kBT2E_0e^{-E_0/k_BT} for kBT≪E0k_BT \ll E_0. Air at room temperature has CV≈52kBC_V \approx \frac52k_B per molecule.
  • The classical ideal gas: Q=(V/λ3)N/N!Q = (V/\lambda^3)^N/N!, A=NkBT[ln⁡(Nλ3/V)−1]A = Nk_BT[\ln(N\lambda^3/V) - 1], S=NkB[52+ln⁡(V/Nλ3)]S = Nk_B[\frac52 + \ln(V/N\lambda^3)], and from −∂A/∂V-\partial A/\partial V the pressure P=NkBT/VP = Nk_BT/V.

Symbols on this page

Show the 73 symbols used here
β\beta beta.
1/k_BT. Unit: 1/J. Say it: “beta” (sounds like “bay-ta or bee-ta”).
Δ\Delta capital delta.
A change or difference in a quantity, e.g. Δx = x₂ − x₁. Say it: “capital delta”.
λ\lambda lambda.
The thermal wavelength √(2πħ²/mk_BT). Unit: m. Say it: “lambda”.
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ρ\rho rho.
Density: mass (or energy divided by c²) per unit volume. ρ_c is the critical density, ρ̄ the mean density. Unit: kg/m³ (on some pages an energy density in natural units: GeV⁴, eV/cm³). Say it: “rho”.
Γ\Gamma capital gamma.
The number of states: of the chain, or of a system whose information is measured. Say it: “capital gamma”.
ℏ\hbar h-bar.
The reduced Planck constant, ħ = h/2π ≈ 1.055 × 10⁻³⁴ J·s. Unit: J·s. Say it: “h bar”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
∝\propto proportional to.
Is proportional to: doubling one doubles the other. Say it: “is proportional to”.
≪\ll much less than.
Is much less than. Say it: “is much less than”.
≫\gg much greater than.
Is much greater than. Say it: “is much greater than”.
±\pm plus or minus.
Plus or minus: both signs, or an uncertainty (67.3 ± 1.2). Say it: “plus or minus”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⟨\langle angle brackets.
The average (mean value) of what is inside, ⟨…⟩. Say it: “the average of”.
∂\partial partial.
Partial derivative: the rate of change with one variable, holding the others fixed. Say it: “partial”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
∑\sum sum.
Sum: add up the terms over the range written below and above. Say it: “the sum of”.
tanh⁡\tanh hyperbolic tangent.
Hyperbolic tangent, sinh/cosh. Say it: “tanh” (sounds like “tanch”).
ln⁡\ln natural logarithm.
Natural logarithm (base e ≈ 2.718). Say it: “log”.
v⃗\vec v vector arrow.
A vector: a quantity with a size and a direction. Say it: “vector”.
ρˉ\bar\rho bar.
A mean (average) value, such as ρ̄; in 8.902 also a smoothed field (δ̄). Say it: “bar”.
cc c.
The speed of light. Unit: m/s. Say it: “c”.
TT T.
The temperature of the heat bath, or of the gas. Unit: K. Say it: “T”.
ρi\rho_{i} initial density.
The probability of state i. Say it: “rho i”.
xx x.
The relative extension of the chain, length/N; in ∫e^(−x²)dx, a variable of integration. Say it: “x”.
dd d.
The d of a differential, derivative or integral. Say it: “d”.
ii i.
The label of a state, which has probability ρ_i. Say it: “i”.
jj j.
The rotational quantum number about one axis, j = 0, ±1, ±2, … (the notes call it m). Say it: “j”.
nn n.
The label of the system's quantum states (E_n is the energy of the nth). Say it: “n”.
ee e.
Euler's number, e ≈ 2.718, the base of the exponential. Say it: “e”.
mm m.
The mass of a gas molecule. Unit: kg. Say it: “m”.
vv v.
The speed of a molecule. Unit: m/s. Say it: “v”.
PP P.
The pressure; ⟨P⟩ is its average over the states. Unit: Pa. Say it: “capital P”.
QQ Q.
The partition function, Q = Σ e^(−E_n/k_BT) (Wen's notation, as in Huang; 8.044 writes Z). Say it: “capital Q”.
AA A.
The Helmholtz free energy, A = E − ST = −k_BT ln Q. Unit: J. Say it: “A”.
qq q.
A position coordinate of a molecule (in d^(3N)q). Unit: m. Say it: “q”.
hh h.
Planck's constant, h ≈ 6.626 × 10⁻³⁴ J s; a cell of size h in each coordinate-momentum pair is one quantum state. Unit: J s. Say it: “h”.
NN N.
The number of links in the chain, of bits, or of molecules in the gas. Say it: “capital N”.
pp p.
The momentum of a molecule; in ∫dp, one of its components. Unit: kg m/s. Say it: “p”.
RR R.
The gas constant, about 8.314 J/(mol K). Unit: J/(mol K). Say it: “R”.
SS S.
The entropy. Unit: J/K. Say it: “S”.
S1S_{1} S one.
The entropy of the fully stretched chain, which has one configuration: zero. Unit: J/K. Say it: “S one”.
EE E.
The energy: of the gas, or of one rotation; ⟨E⟩ is its mean. Unit: J. Say it: “capital E”.
VV V.
The volume of the system. Unit: m³. Say it: “capital V”.
E0E_{0} E nought.
The rotational energy unit ħ²/2I; T_rot = E₀/k_B. Unit: J. Say it: “capital E nought”.
kBk_{B} Boltzmann constant.
Boltzmann's constant: k_B T is the typical thermal energy. Unit: J/K. Say it: “k B”.
II I.
The moment of inertia of the molecule about the rotation axis. Unit: kg m². Say it: “capital I”.
pxp_{x} p x.
The x component of a molecule's momentum. Unit: kg m/s. Say it: “p sub x”.
pyp_{y} p y.
The y component of a molecule's momentum. Unit: kg m/s. Say it: “p sub y”.
pzp_{z} p z.
The z component of a molecule's momentum. Unit: kg m/s. Say it: “p sub z”.
EnE_{n} E n.
The energy of the system's nth quantum state. Unit: J. Say it: “capital E sub n”.
p1p_{1} p 1.
The momentum of the first molecule. Unit: kg m/s. Say it: “p one”.
N1N_{1} N 1.
The number of molecules of the first kind in a mixed gas. Say it: “capital N one”.
N2N_{2} N 2.
The number of molecules of the second kind in a mixed gas. Say it: “capital N two”.
LzL_{z} L z.
The angular momentum about the z axis, jħ. Unit: J s. Say it: “L sub z”.
m′m' m prime.
The mass of a second kind of molecule in a mixture. Unit: kg. Say it: “m prime”.
EjE_{j} E j.
The energy of rotation level j, E₀j². Unit: J. Say it: “capital E sub j”.
CVC_{V} C V.
The heat capacity at constant volume. Unit: J/K. Say it: “capital C sub V”.
S0S_{0} S 0.
The entropy of the chain's configurations of length zero. Unit: J/K. Say it: “S nought”.
NRN_{R} N R.
The number of links pointing right. Say it: “capital N sub capital R”.
NLN_{L} N L.
The number of links pointing left. Say it: “capital N sub capital L”.
SbathS_{\text{bath}} S bath.
The entropy of the heat bath; for an ideal bath S_bath = E/T. Unit: J/K. Say it: “S sub bath”.
Γ0\Gamma_{0} Gamma 0.
The number of configurations of the chain with length zero, N!/[(N/2)!]². Say it: “capital gamma nought”.
StotS_{\text{tot}} S tot.
The entropy counting all 2^N configurations of the chain, Nk_B ln 2. Unit: J/K. Say it: “S sub tot”.
EbathE_{\text{bath}} E bath.
The energy of the heat bath. Unit: J. Say it: “capital E sub bath”.
AfinalA_{\text{final}} A final.
The chain's free energy after it is stretched. Unit: J. Say it: “A sub final”.
AinitA_{\text{init}} A init.
The chain's free energy before it is stretched. Unit: J. Say it: “A sub init”.
SfinalS_{\text{final}} S final.
The chain's entropy after it is stretched (zero at full length). Unit: J/K. Say it: “S sub final”.
SinitS_{\text{init}} S init.
The chain's entropy before it is stretched (about Nk_B ln 2). Unit: J/K. Say it: “S sub init”.
pNp_{N} p N.
The momentum of the Nth molecule. Unit: kg m/s. Say it: “p sub N”.
vrmsv_{\text{rms}} v rms.
The root-mean-square speed, √(3k_BT/m). Unit: m/s. Say it: “v r m s”.
TrotT_{\text{rot}} T rot.
The rotational temperature E₀/k_B, below which rotation freezes out. Unit: K. Say it: “T sub rot”.
TvibT_{\text{vib}} T vib.
The vibrational temperature: the vibration's level spacing divided by k_B. Unit: K. Say it: “T sub vib”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 67 words used here

New here

equipartition.
The classical rule that in thermal equilibrium each squared term in a system's energy has an average of ½kT.
Landauer's principle.
The principle that erasing one bit of information must release at least kT ln 2 of heat into the surroundings.

Also used

canonical ensemble.
The description of a system kept at a fixed temperature by contact with a large bath, with a fixed number of particles but varying energy. Explained in Refrigerators, the third law and the canonical ensemble.
free energy.
Energy minus temperature times entropy; a system kept at a fixed temperature settles in the state where this quantity is lowest. Explained in The canonical ensemble and the free energy.
energy.
A quantity, measured in joules, that a body or field has because of its motion, position or state; a closed system keeps its total. Explained in Conservation of energy.
entropy.
A measure of how many microscopic arrangements of a system match its large-scale state; it never decreases in an isolated system. Explained in Entropy and the second law.
pressure.
The force pushing on a surface divided by the area of the surface, so the push on each square metre. Explained in Density and pressure.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
internal energy.
The total energy held inside a system, in the motion and interactions of its particles, not counting the motion of the system as a whole. Explained in Temperature and thermal energy.
heat bath.
A body so large that it can give or take any amount of heat without changing temperature, used to hold a system at fixed temperature. Explained in Entropy, temperature and the second law.
work.
The energy a force gives to a body as it moves: the part of the force along the motion times the distance moved. Explained in Kinetic energy and work in one dimension.
heat.
Energy that passes between bodies because their temperatures differ, rather than by one doing mechanical work on the other. Explained in Temperature and thermal energy.
tension.
The pulling force carried along a stretched rope, string or cable, felt at each point as the pull between its two sides. Explained in What is a force?.
linear.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
Hooke's law.
A spring pulls or pushes back with a force proportional to how far it is stretched or squeezed: F = −kx. Explained in Springs and Hooke's law.
without limit.
Without any upper bound: growing larger and larger, past every value.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
irreversible.
Of a process: impossible to run backwards so that everything returns to how it was, because energy has spread out as heat. Explained in Conservation of energy.
reversible.
Of a change in a system: slow and gentle enough that it could be run backwards, leaving no trace, with no increase of total entropy. Explained in Statistical ensembles: counting states for spins and the ideal gas.
momentum.
Mass times velocity: a vector that measures a body's quantity of motion and keeps its total when no outside force acts. Explained in Momentum and impulse.
proportional.
Of two quantities: always in the same ratio, so that doubling one doubles the other. Explained in Graphs, straight lines and slope.
Maxwell distribution.
The spread of speeds of the molecules of a gas in thermal equilibrium, with probability proportional to v² times e^(−mv²/2kT). Explained in Kinetic theory: temperature is motion.
Gaussian.
The bell-shaped curve e to the minus x squared, or a quantity spread out with that shape; also called a normal distribution. Explained in Probability: sums of random variables and the central limit theorem.
kinetic energy.
The energy a body has because it is moving. Explained in Kinetic energy and the work–energy theorem.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
logarithm.
The power to which a fixed base must be raised to give a number: log₁₀ 1000 = 3 because 10³ = 1000. Explained in Exponentials and logarithms.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
heat capacity.
The heat needed to raise a body's temperature by one degree, measured with some quantity, such as volume or pressure, held fixed. Explained in Heat and specific heat.
rms.
Root mean square: square the values, average them, then take the square root; for a sine wave it is the peak divided by √2. Explained in Kinetic theory: temperature is motion.
quantized.
Coming only in whole-number multiples of a smallest amount, or in a set of separate allowed values, never anything in between. Explained in Electric charge.
angular momentum.
The turning version of momentum: for a particle, its position from a chosen point crossed with its momentum, r × p. Explained in Kepler's laws and orbits.
moment of inertia.
How hard a body is to set spinning about an axis: each bit of mass times its squared distance from the axis, all added up. Explained in Rotation and angular momentum.
ground state.
The state of a system with the lowest possible energy. Explained in The Bohr atom and spectral lines.
frozen out.
Of a mode or motion: not excited at all, because the smallest energy it can take is far more than the typical thermal energy. Explained in Black-body radiation.
dimension.
The number of independent directions in a space: one for a line, two for a plane, three for ordinary space. Explained in Position and velocity in one dimension.
degeneracy.
The sharing of one energy by several different quantum states, or the number of states that share it. Explained in Observables, the measurement postulate and uncertainty.
partition function.
The sum of the Boltzmann factors of all a system's states; once known, it gives every thermodynamic property of the system. Explained in Refrigerators, the third law and the canonical ensemble.
phase space.
The space of all possible states of a system, one axis for each coordinate and one for each momentum. Explained in Statistical mechanics and the microcanonical ensemble.
inverse.
Of a quantity or unit: one divided by it. Inverse seconds (1/s) mean per second, and the inverse of a rate is a time.
thermal de Broglie wavelength.
The typical de Broglie wavelength of a particle in a gas at a given temperature; quantum effects matter when it reaches the spacing between particles. Explained in Examples using the canonical ensemble.
de Broglie wavelength.
The wavelength of the wave that quantum mechanics links to a moving particle: Planck's constant divided by its momentum. Explained in Waves of matter and the uncertainty principle.
differentiation.
Finding a derivative: working out how fast a function changes. Explained in The derivative: slope of the tangent line and rate of change.
with respect to.
Taking that variable as the one that changes: a derivative with respect to t measures change as t changes, others held fixed. Explained in Average value, weighted averages and probability.
isolated system.
A system cut off from outside influence: no outside force acts on it, and no energy or matter goes in or out. Explained in Conservation of momentum.
equation of state.
A relation between a substance's pressure, volume (or density) and temperature, such as the ideal gas law PV = NkT. Explained in Thermodynamic variables, temperature and work.
energy density.
The energy stored in each cubic metre of space, for example in an electric or magnetic field, or in radiation. Explained in Conductors, capacitors and stored energy.
rest energy.
The energy a body has even when at rest, equal to its mass times the speed of light squared. Explained in Mass and energy: E = mc².
Boltzmann factor.
The factor e^(−E/kT) that sets how likely a state of energy E is at temperature T, relative to other states. Explained in The canonical ensemble and the free energy.
photon.
A particle of light: the smallest amount of energy that light of a given frequency can carry. Explained in Thermal radiation and Planck's photons.
neutrino.
A very light, electrically neutral particle that feels only the weak interaction and gravity, so it passes through almost anything. Explained in Radioactive decay.
massless.
Having no mass at all, like a photon, or treated as having none because it is much lighter than everything else involved. Explained in Pulleys and constraint conditions.
wavelength.
The distance from one crest of a wave to the next. Explained in Waves: speed, frequency, wavelength.

Academic

derive.
To obtain a result by reasoning or calculation from other known results.
model.
A simplified description of a real system, usually in equations, that keeps what matters and leaves out the rest.
approximation.
Close to, but not exactly, the true value; an approximation is such a value or formula, chosen because it is simpler.
leading order.
The first and largest part of an answer, keeping only the main term and dropping smaller corrections.
error.
The difference between a measured or computed value and the true one; often how large that difference may be.
vanish.
To become zero; sometimes, of a fixed point or solution, to stop existing.
argument.
A chain of reasoning that leads to a conclusion; in maths also the input of a function, such as x in sin x.
order of magnitude.
A factor of about ten; an order-of-magnitude estimate gets only the power of ten right.
in principle.
According to the rules or theory, even if it would be hard or impossible to do in reality.
caveat.
A warning or condition that limits a statement.
falls off.
Decreases as something grows, usually with distance.
drops out.
Disappears from an equation, usually because it cancels or appears on both sides.
of order.
Roughly equal to, within a factor of a few; of order one means neither much bigger nor much smaller than one.
counterpart.
Something that plays the same role in another setting.
comparable.
Of roughly the same size, so neither can be ignored next to the other.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

5 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. A chain of NN freely jointed links, each pointing left or right, has no internal energy. At temperature TT, what is the least energy needed to pull it from a random configuration to full length?
  2. What is the least energy needed to write one million bits into a memory whose bits start out random, at 300 K?
  3. A mixture of helium (4.003 u) and argon (39.95 u) is in equilibrium at 300 K. How do the root-mean-square speeds compare?
  4. Why does a gas of diatomic molecules at room temperature have CV≈52NkBC_V \approx \frac52Nk_B rather than 72NkB\frac72Nk_B?
0 of 4 answered

Flashcards

1 / 5