Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Fluctuations and transport — the noise that carries heat

Fluctuations and transport

The puzzle: the noise we kept throwing away

For seventeen modules the course has treated fluctuations as noise around the signal. Module 03’s walkers scattered about their average, module 04’s pressure gauge jittered, and the energy of module 11’s small system on a bath wandered up and down. Each time the lesson was the same: the relative scatter falls as N−1/2N^{-1/2}, so for anything macroscopic it can be averaged away and forgotten.

Now put a drop of ink into a glass of perfectly still water, or warm one end of a metal rod, or stir honey and watch it drag. Ink spreads with no current to carry it. Heat crosses the rod with nothing flowing. The honey resists being sheared. Nothing pushes in any of these: there is no pressure difference behind the ink and no wind across the rod. The only thing moving is the molecules, at random, in exactly the motion the course has been averaging away.

And the numbers are strange. A dye molecule in water moves at over a hundred metres per second, yet a dye cloud takes about a day to spread over a centimetre, and would need decades to cross a metre. Module 12 adds a stranger fact still: for a system on a heat bath, the size of its energy noise is fixed by its heat capacity, σE2=kBT2CV\sigma_E^2 = \kB T^2 C_V. The noise is a property of the material.

The answer adds one idea to the course: memory. How far a cloud of molecules spreads, how hard a gas resists shearing and how well it conducts heat are all fixed by how long a molecule remembers its velocity before a collision makes it forget.

Predict before you calculate

Commit to an answer for each of these before reading on. Write them down.

  1. A simulation of NN two-level systems on a heat bath shows the total energy fluctuating. You double NN. Does the relative fluctuation σE/⟨E⟩\sigma_E/\langle E \rangle halve, fall by a factor of 2\sqrt{2}, or stay the same?

  2. A layer of dye at the bottom of a tall jar of set gelatin, where nothing can flow, has after one day coloured the gelatin up to 1 cm1\ \mathrm{cm} above the layer. How high will the colour reach after four days?

  3. You pump half of the gas out of a sealed container at fixed temperature. Does the viscosity of the gas that remains halve, stay the same, or double?

  4. You run the same simulation of a system on a bath ten times longer. Does the fluctuation of its energy get smaller?

Explore the model

The laboratory has four explorers. The first releases a cloud of up to ten thousand random walkers at the origin and shows its histogram at a time you choose, with the diffusion equation’s prediction drawn over it, and its mean squared displacement on linear or logarithmic axes; a switch gives the walkers a memory of their last step. The second measures the relative energy fluctuation of NN two-level systems for NN from 16 to 4096. The third estimates the mean free path, collision rate, viscosity and thermal conductivity of helium, nitrogen or argon at the temperature and pressure you choose, against measured values. The fourth races a diffusion front against a front moving at a steady speed. Then the laboratory runs the experiments this module is built on: a heat capacity read off the noise, the N−1/2N^{-1/2} law, the diffusion coefficient measured three ways for walkers with and without memory, module 04’s gas failing to diffuse, the transport coefficients of real gases, and Avogadro’s number from Brownian motion.

Ten thousand independent walkers, each stepping one step length ℓ\ell left or right every time τ\tau, all released at the origin, as time runs from 10τ10\tau to 1000τ1000\tau. Left: the histogram of their positions, one bar per reachable site, with the diffusion equation’s point-source solution for D=ℓ2/2τD = \ell^2/2\tau drawn over it in blue — computed from DD and tt, not fitted to the bars. The cloud spreads and flattens and its area stays one. Right: the mean squared displacement on logarithmic axes, growing along the slope-one line 2Dt2Dt (dashed). Its fitted slope from 100 to 1000 steps is 1.005.

Run the laboratory now, then come back. Four things are worth doing before you read on:

Derive the result

System and boundary. Two kinds of system. For the fluctuations: a body of fixed volume and particle number in contact with a heat bath at temperature TT, so that its energy is free to fluctuate (module 11’s canonical ensemble). For transport: a dilute gas, or a suspension of small particles in a liquid, in which one species is tagged and followed; the tagged particles do not interact with one another.

Independent variables. The temperature TT, the number density nn, the molecular mass mm and size dd; for the random walk, the step length ℓ\ell, the step time τ\tau and the persistence qq.

Sign convention. The course convention, dU=δQ+δWon\mathrm{d}U = \dbar Q + \dbar \Won, holds. It is exercised in step 8: heat conducted into a rigid slab does no work, δWon=0\dbar \Won = 0, so every joule that crosses its face down the temperature gradient becomes internal energy, dU=δQ>0\mathrm{d}U = \dbar Q > 0.

Units. SI throughout, with kB\kB explicit. Walkers live on a line, so their DD is one-dimensional, ⟨x2⟩=2Dt\langle x^2 \rangle = 2Dt. A real gas is three-dimensional, where ⟨r2⟩=6Dt\langle r^2 \rangle = 6Dt — three one-dimensional walks, one per axis, with the same DD. The dimension is stated beside every formula that depends on it.

Route. Nine steps. Read module 12’s fluctuation identity as an instrument, and see why it makes big systems steady. Take module 03’s random walk to its continuum limit, which is the diffusion equation, and solve it. Give the walker a memory of its velocity, which brings in the Green–Kubo relation and explains both the ballistic start and the slowness of diffusion. Balance drift against diffusion to get the Einstein relation, which turned Brownian motion into a measurement of Avogadro’s number. Then count collisions in a gas — the mean free path that module 04’s model left out — and use one random flight to estimate all three transport coefficients, before naming the assumption all of them share.

Step 1: the noise is a heat capacity

Module 12 derived it in three lines. The canonical mean energy is U=−∂ln⁡Z/∂βU = -\partial \ln Z/\partial\beta, the second derivative of ln⁡Z\ln Z is the variance of the energy, and converting from β=1/kBT\beta = 1/\kB T to TT gives

σE2=⟨E2⟩−⟨E⟩2=∂2ln⁡Z∂β2=−∂U∂β=kBT2 CV.\sigma_E^2 = \langle E^2 \rangle - \langle E \rangle^2 = \frac{\partial^2 \ln Z}{\partial \beta^2} = -\frac{\partial U}{\partial \beta} = \kB T^2 \, C_V .

Module 12 drew one consequence: CV≥0C_V \ge 0, because a variance cannot be negative. This module draws another. The identity is an instrument. Record the energy of a system on a bath — in a simulation, or for a nanoscale object, in a laboratory — and its heat capacity follows from the scatter, at one temperature, with nothing heated:

CV=σE2kBT2.C_V = \frac{\sigma_E^2}{\kB T^2} .

Take module 04’s ideal gas, drawn canonically. Each of its ff quadratic degrees of freedom per particle — three for a monatomic gas — carries an energy 12mvx2\tfrac12 m v_x^2 whose variance is 12(kBT)2\tfrac12(\kB T)^2, and for independent degrees of freedom variances add. So σE2=f2N(kBT)2\sigma_E^2 = \tfrac{f}{2} N (\kB T)^2, and the instrument reads CV=f2NkBC_V = \tfrac{f}{2} N \kB: equipartition, measured from noise.

Two warnings come with the instrument. First, the identity is canonical. A system whose energy is fixed — microcanonical, like module 04’s gas drawn with its energy rescaled to an exact value — has no energy fluctuation at all, and the instrument would read CV=0C_V = 0, which is wrong. The bath is part of the measurement. Second, the fluctuation is not an error. A longer record measures σE2\sigma_E^2 more precisely; it does not make it smaller, because it is not a property of the record. It is kBT2CV\kB T^2 C_V.

Step 2: why large systems look steady

UU and CVC_V are extensive: for NN independent subsystems, or for any large system made of weakly coupled parts, both grow in proportion to NN. Then

σE⟨E⟩=kBT2CVU∝NN=N−1/2.\frac{\sigma_E}{\langle E \rangle} = \frac{\sqrt{\kB T^2 C_V}}{U} \propto \frac{\sqrt{N}}{N} = N^{-1/2} .

For NN two-level systems at kBT=Δ\kB T = \Delta, where a fraction p=1/(e+1)=0.269p = 1/(e + 1) = 0.269 of them is excited, the ratio is (1−p)/(Np)\sqrt{(1-p)/(Np)}: 0.41 for 16 systems, 0.026 for 4096, and 2×10−122 \times 10^{-12} for a mole. Module 11’s advanced section found the same law for an Einstein solid by a direct calculation; here it follows for any system from the identity alone. At a part in 1012 no instrument can tell whether the energy is fixed (microcanonical) or merely almost fixed (canonical), and the two ensembles give the same thermodynamics. That is the equivalence of ensembles, and the reason the course could use whichever was convenient.

The identity holds only for the ensemble whose energy fluctuates; the agreement between ensembles holds only for large NN. They are compatible because the fluctuation the identity measures, although it equals a material property, is too small to matter for anything else.

Step 3: from random walk to the diffusion equation

Module 03’s walker steps a distance ℓ\ell to the left or to the right, with equal probability, every time τ\tau. Let P(x,t)P(x, t) be the probability of finding it at xx at time tt. To be at xx at time t+τt + \tau it must have been one step to either side at time tt, and taken the step that brought it here:

P(x,t+τ)=12P(x−ℓ,t)+12P(x+ℓ,t).P(x, t + \tau) = \tfrac12 P(x - \ell, t) + \tfrac12 P(x + \ell, t) .

This is a master equation: a bookkeeping rule for probability, nothing more. Now look at it on scales much longer than ℓ\ell and times much longer than τ\tau, where PP changes smoothly, and expand both sides by Taylor’s theorem:

P+τ ∂P∂t+…=P+ℓ22 ∂2P∂x2+…P + \tau\, \frac{\partial P}{\partial t} + \ldots = P + \frac{\ell^2}{2}\, \frac{\partial^2 P}{\partial x^2} + \ldots

The first-derivative terms in xx cancel between the two sides of the walker — that is where “unbiased” enters. Divide by τ\tau and let ℓ\ell and τ\tau shrink together with ℓ2/τ\ell^2/\tau held fixed. The omitted terms, of order τ ∂2P/∂t2\tau\,\partial^2 P/\partial t^2 and ℓ4 ∂4P/∂x4/τ\ell^4\,\partial^4 P/\partial x^4/\tau, vanish in that limit, and what remains is

∂P∂t=D ∂2P∂x2,D=ℓ22τ.\frac{\partial P}{\partial t} = D\, \frac{\partial^2 P}{\partial x^2}, \qquad D = \frac{\ell^2}{2\tau} .

The same equation holds for the number density n(x,t)n(x, t) of many independent walkers. Look at it from the point of view of a single plane between two sites. In one step, half the walkers just to its left cross it to the right, and half of those just to its right cross to the left. The net flow per unit time is half the difference, which on a smooth profile is

j=−D ∂n∂x.j = -D \, \frac{\partial n}{\partial x} .

That is Fick’s law, and it explains the flux down a concentration gradient without any force. Nothing pushes the walkers away from the crowded side; there are simply more of them there to step across. (This is the flux of independent particles. For interacting ones, module 13 showed that the gradient that drives the flow is the chemical potential’s, not the concentration’s.) Combined with the conservation of walkers, ∂n/∂t=−∂j/∂x\partial n/\partial t = -\partial j/\partial x, Fick’s law gives the diffusion equation again.

Both hypotheses matter. If a step depends on the one before, as in module 03’s persistent walk, the probability of being at xx at time t+τt + \tau depends on which way the walker was moving, and the master equation needs a second variable; step 5 shows what the memory does to DD. If a step has no finite variance, as for module 03’s Cauchy walker, the Taylor expansion has no second-order term to keep, and there is no diffusion equation at all.

Step 4: the spreading cloud, and why diffusion is slow

Release a cloud of walkers at the origin at t=0t = 0. The solution of the diffusion equation that starts as a point is the Green’s function

P(x,t)=14πDtexp⁡ ⁣(−x24Dt),P(x, t) = \frac{1}{\sqrt{4\pi D t}} \exp\!\left(-\frac{x^2}{4Dt}\right) ,

a Gaussian of variance 2Dt2Dt — module 03’s central limit theorem, now with physical units. (Check it by differentiating: ∂tP\partial_t P and D ∂x2PD\,\partial_x^2 P both equal P [x2/(4Dt2)−1/(2t)]P\,[x^2/(4Dt^2) - 1/(2t)].) Its mean squared displacement is

⟨x2⟩=2Dt.\langle x^2 \rangle = 2Dt .

A front, defined as the place where the concentration has reached a given fraction of its source, moves the same way. A layer of dye filling x<0x < 0 at t=0t = 0, with clear water above it, spreads as

c(x,t)c0=12 erfc ⁣(x2Dt),\frac{c(x, t)}{c_0} = \frac12 \, \mathrm{erfc}\!\left(\frac{x}{2\sqrt{Dt}}\right) ,

which depends on xx and tt only through x/Dtx/\sqrt{Dt}. The quarter-strength contour sits at x=0.954Dtx = 0.954\sqrt{Dt}: four times as long, twice as far.

That is why diffusion is fast over short distances and hopelessly slow over long ones. The time to spread over a distance LL grows as L2/2DL^2/2D. A small molecule in water has D≈10−9 m2 s−1D \approx 10^{-9}\ \mathrm{m^2\,s^{-1}}: it spreads across a 10 μm10\ \mu\mathrm{m} cell in about 0.05 s0.05\ \mathrm{s}, across a centimetre in about fourteen hours, and across a metre in some fifteen years. Cells can rely on diffusion; animals larger than a few millimetres need blood.

A dye layer diffusing into clear water, against a front that moves at a steady speed chosen to match it at t=1t = 1. Top: the concentration profile 12 erfc(x/2Dt)\tfrac12\,\mathrm{erfc}(x/2\sqrt{Dt}) (blue), with the quarter-strength contour marked (dashed) and the steady front (red). Bottom: both positions against time. The diffusive front is ahead at first; by t=4t = 4 it has gone twice as far as at t=1t = 1 and the steady one four times, and by t=9t = 9 three times against nine.

Step 5: memory, and the Green–Kubo relation

A real molecule does not jump: it flies. Between collisions it keeps its velocity, and its displacement is the time integral of that velocity, x(t)=∫0tv(t′) dt′x(t) = \int_0^t v(t')\,\mathrm{d}t'. Squaring and averaging gives a double integral over the velocity autocorrelation C(s)=⟨v(0) v(s)⟩C(s) = \langle v(0)\,v(s) \rangle, the average product of the velocity now and the velocity a time ss later. Two limits follow at once.

At times shorter than the memory, the velocity has not changed: x=vtx = vt and ⟨x2⟩=⟨v2⟩t2\langle x^2 \rangle = \langle v^2 \rangle t^2. That is ballistic motion, slope 2 on a log-log plot. At times much longer than the memory, the double integral grows linearly in tt (the advanced section shows why), and its slope is fixed by the total memory.

Apply it to two walkers and a molecule. The independent walker moves at ±ℓ/τ\pm\ell/\tau for one step and then forgets: its memory is ⟨v2⟩=ℓ2/τ2\langle v^2 \rangle = \ell^2/\tau^2 for one step, and the discrete integral, the trapezoid rule over steps, is 12τ ℓ2/τ2\tfrac12\tau\,\ell^2/\tau^2. That is D=ℓ2/2τD = \ell^2/2\tau again, by a different road. Module 03’s persistent walker repeats its last step with probability qq and otherwise takes a fresh random step, left or right, so its velocity is correlated with the one kk steps later by qkq^k. The integral becomes a geometric series:

D=τ ℓ2τ2(12+q+q2+…)=ℓ22τ 1+q1−q.D = \tau\,\frac{\ell^2}{\tau^2}\left(\frac12 + q + q^2 + \ldots\right) = \frac{\ell^2}{2\tau}\,\frac{1 + q}{1 - q} .

That is module 03’s variance inflation, by another road: the hypothesis of independence broken, and D=ℓ2/2τD = \ell^2/2\tau wrong by exactly the memory. And a molecule that forgets its velocity gradually, as C(s)=⟨vx2⟩e−s/τcC(s) = \langle v_x^2 \rangle e^{-s/\tau_c}, has D=⟨vx2⟩τc=(kBT/m) τcD = \langle v_x^2 \rangle \tau_c = (\kB T/m)\,\tau_c: thermal speed squared times the time it remembers.

This is the answer to the puzzle’s second question. A molecule may be fast, but if its velocity is forgotten after a tiny time τc\tau_c, its displacements add up like a random walk’s: as t\sqrt{t}, not as tt. A dye molecule in water, jostled by its neighbours, forgets its velocity in about 10−13 s10^{-13}\ \mathrm{s}, and its hundred metres per second buy it a diffusion coefficient of order 10−9 m2 s−110^{-9}\ \mathrm{m^2\,s^{-1}}.

The relation also says what happens with no forgetting at all. Module 04’s gas has no collisions between particles. In open space its velocities would never change, C(s)C(s) would never decay, the integral would grow without limit and the gas would spread ballistically forever. In module 04’s box a wall reverses each velocity instead, C(s)C(s) turns negative, and the integral falls back to zero: the mean squared displacement stops growing at L2/6L^2/6 per axis, the value for two independent positions in a box of side LL. Either way there is no diffusion. Its model specification promised this failure — “particles do not interact with one another” — and here it is, measured.

Four thousand walkers that repeat their last step with probability q=0.95q = 0.95, and otherwise step afresh at random, so that each one remembers its velocity for about twenty steps. Left: the mean squared displacement on logarithmic axes, with the ballistic line ⟨v2⟩t2\langle v^2 \rangle t^2 (red, dashed) and the diffusive line 2Dt2Dt for the exact D=(ℓ2/2τ)(1+q)/(1−q)D = (\ell^2/2\tau)(1+q)/(1-q) (blue, dashed). Right: the running integral of the measured velocity autocorrelation up to a cut-off of KK steps, divided by that DD. It levels off near 1 — 0.98 for these walkers — where the left curve turns from slope 2 to slope 1; the independent-step value ℓ2/2τ\ell^2/2\tau (dotted) is 39 times too small.

Step 6: drift against diffusion — the Einstein relation

In 1905 Einstein asked what the random walk of a small particle in a liquid — the Brownian motion botanists had watched since 1827 — would say about molecules. His argument needs only an equilibrium and two fluxes.

Suspend beads of buoyant mass m∗m^* in water. Gravity pulls each with a force F=m∗gF = m^* g; the water resists with a drag proportional to the velocity, ζv\zeta v, where ζ\zeta is the friction coefficient. A bead therefore sinks at the drift velocity F/ζF/\zeta, and the beads carry a downward flux nF/ζnF/\zeta. Diffusion carries an upward flux −D dn/dz-D\,\mathrm{d}n/\mathrm{d}z as they spread up from the crowded bottom. In equilibrium the two cancel. And the equilibrium distribution is already known: it is the barometric formula of modules 11 and 13, a Boltzmann factor in the potential energy, n(z)=n0exp⁡(−Fz/kBT)n(z) = n_0 \exp(-Fz/\kB T), so that dn/dz=−(F/kBT) n\mathrm{d}n/\mathrm{d}z = -(F/\kB T)\, n. Zero net flux,

−nFζ+D FkBT n=0,-\frac{nF}{\zeta} + D\,\frac{F}{\kB T}\, n = 0 ,

gives

The same result follows from step 5. Drag makes a particle forget its velocity in the time τc=m/ζ\tau_c = m/\zeta it takes to stop a push, and equipartition gives ⟨vx2⟩=kBT/m\langle v_x^2 \rangle = \kB T/m, so Green–Kubo gives D=(kBT/m)(m/ζ)=kBT/ζD = (\kB T/m)(m/\zeta) = \kB T/\zeta. The mass cancels: a heavier bead remembers its velocity for longer, but its thermal velocity is smaller, in exact compensation. This is the oldest and simplest fluctuation–dissipation relation. Step 1 was another, read in energy: how much a system’s energy fluctuates at rest fixes how it responds when heated.

For a sphere of radius aa moving slowly through a liquid of viscosity η\eta, the friction coefficient was calculated by Stokes in 1851:

Together they give the Stokes–Einstein relation, D=kBT/6πηaD = \kB T/6\pi\eta a, and turn it around: measure a bead’s DD from the spread of its displacements, ⟨x2⟩=2Dt\langle x^2 \rangle = 2Dt, with its radius, the viscosity and the temperature known, and kB=6πηaD/T\kB = 6\pi\eta a D/T follows. Divide it into the gas constant RR, measured with a balance and a pressure gauge and no reference to molecules, and

NA=RkB=RT6πηaD.N_A = \frac{R}{\kB} = \frac{RT}{6\pi\eta a D} .

Jean Perrin did exactly this in 1908 and 1909, with grains of gamboge resin less than a micrometre across, and found NAN_A near 7×10237 \times 10^{23} per mole. Agreement within tens of percent with values from the viscosity of gases, from radioactivity and from the blue of the sky persuaded the last sceptics that atoms are real. Perrin received the 1926 Nobel Prize in Physics for his work on the discontinuous structure of matter.

Step 7: collisions — the mean free path

For a gas, the forgetting is done by collisions, and they can be counted. Model the molecules as hard spheres of diameter dd. Two of them collide when their centres pass within dd of each other, so a molecule sweeps out a cylinder of cross-section σ=πd2\sigma = \pi d^2, the collision cross-section, and hits every centre inside it. Moving at the mean relative speed — which for two Maxwell–Boltzmann molecules is 2\sqrt{2} times the mean speed vˉ=8kBT/πm\bar v = \sqrt{8\kB T/\pi m}, because the targets move too — it collides ν=2 nσvˉ\nu = \sqrt{2}\, n\sigma\bar v times per second, and flies on average

λ=vˉν=12 nσ\lambda = \frac{\bar v}{\nu} = \frac{1}{\sqrt{2}\, n\sigma}

between collisions: the mean free path.

The molecular size can come from somewhere this module has not used: module 02’s van der Waals bb, the excluded volume per molecule, which is half a sphere of radius dd around each molecule, b=2π3d3b = \tfrac{2\pi}{3} d^3. Module 02 obtained bb from the critical point. For nitrogen, with Tc=126.19 KT_c = 126.19\ \mathrm{K} and Pc=3.396 MPaP_c = 3.396\ \mathrm{MPa}, it gives d=0.31 nmd = 0.31\ \mathrm{nm}. At 0 ∘C0\,{}^\circ\mathrm{C} and one atmosphere, where n=2.69×1025 m−3n = 2.69 \times 10^{25}\ \mathrm{m^{-3}}, a nitrogen molecule then flies

λ=86 nm\lambda = 86\ \mathrm{nm}

between collisions — about 270 of its own diameters and 26 times the mean spacing between molecules — and collides 5.3×1095.3 \times 10^9 times a second. That is module 04’s dilute regime, quantified: collisions are rare on the scale of the molecules and frequent on the scale of anything a person can see. Module 04’s model ignored them because it was asking about pressure, which does not need them. Transport cannot do without them.

Step 8: one random flight, three transport coefficients

A molecule between collisions is a walker whose step is a free flight. In three dimensions, the flights have random directions and lengths spread exponentially about λ\lambda, so the mean square of a flight is ⟨s2⟩=2λ2\langle s^2 \rangle = 2\lambda^2, a third of it along each axis. With ν=vˉ/λ\nu = \bar v/\lambda flights per second, step 3’s ⟨sx2⟩/2τ\langle s_x^2 \rangle/2\tau gives

D=2λ2/32λ/vˉ=vˉλ3.D = \frac{2\lambda^2/3}{2\lambda/\bar v} = \frac{\bar v\lambda}{3} .

The same random flight carries more than the molecule’s identity. Picture a plane at height zz in a gas, with molecules crossing it in both directions. Each arrives carrying whatever it had at its last collision, about a mean free path away. If some quantity QQ per molecule varies with height, those from below bring Q(z−λ)Q(z - \lambda) and those from above Q(z+λ)Q(z + \lambda). In a crude count where a sixth of the molecules move up and a sixth down, each at vˉ\bar v, the net flux of QQ is

JQ=16nvˉ [Q(z−λ)−Q(z+λ)]=−13nvˉλ dQdz.J_Q = \tfrac16 n\bar v\,\big[Q(z - \lambda) - Q(z + \lambda)\big] = -\tfrac13 n\bar v\lambda\,\frac{\mathrm{d}Q}{\mathrm{d}z} .

Choose QQ three ways:

Now substitute λ=1/(2 nσ)\lambda = 1/(\sqrt{2}\, n\sigma):

η≈mvˉ32 σ,κ≈cvvˉ32 σ.\eta \approx \frac{m\bar v}{3\sqrt{2}\,\sigma}, \qquad \kappa \approx \frac{c_v\bar v}{3\sqrt{2}\,\sigma} .

The density has cancelled. Halve the number of molecules and each one flies twice as far between collisions, carrying momentum from twice as far away: half as many carriers, each twice as effective. The viscosity and the thermal conductivity of a dilute gas do not depend on its pressure. Maxwell derived this in 1860, doubted it, and in 1866 measured the damping of discs swinging in air over a wide range of pressures, down to a small fraction of an atmosphere. The damping did not change. Both coefficients grow as T\sqrt{T}, through vˉ\bar v — the opposite of a liquid, whose viscosity falls on heating.

In the sign convention, heat conducted into a cold rigid slab arrives down the gradient, δQ>0\dbar Q > 0, and with no work done, dU=δQ\mathrm{d}U = \dbar Q: the slab warms. Fourier’s law says which way and how fast; the first law says where it goes.

Step 9: the assumption behind every coefficient

Steps 3 to 8 talked about “the temperature at height zz” and “the flow speed at height zz” as if a gas with a gradient in it still had a temperature at each point. That is an assumption, and every transport coefficient rests on it.

At one atmosphere and room temperature λ\lambda is about 0.1 μm0.1\ \mu\mathrm{m}, and every gradient anyone could set up in a jar is gentle. In a vacuum chamber at 10−4 Pa10^{-4}\ \mathrm{Pa} the mean free path of nitrogen is about a hundred metres, larger than any chamber. Maxwell’s flat viscosity ends there: once λ\lambda reaches the size of the apparatus, the molecules carry momentum and energy straight from wall to wall, and the drag on a moving surface and the heat carried off a hot wire both fall with the pressure. Vacuum gauges of both kinds measure pressure that way.

Verify computationally

Every number below comes from thermolab.transport and thermolab.kinetics, run with fixed seeds; the laboratory repeats each experiment. Simulated numbers are quoted with one standard error, estimated from independent batches of walkers or samples, never from the residuals of a fit.

1. A heat capacity from the noise. Module 04’s gas of 100 argon atoms, drawn canonically 104 times at 300 K300\ \mathrm{K}, has an energy whose scatter reads CV=(1.469±0.021) NkBC_V = (1.469 \pm 0.021)\, N\kB, against equipartition’s 1.5. Four atoms, with each copy’s net momentum removed, read (1.126±0.015) NkB(1.126 \pm 0.015)\, N\kB: the fluctuations count out the three frozen degrees of freedom, and 32(N−1)/N=1.125\tfrac32 (N-1)/N = 1.125. The same gas drawn microcanonically reads 9×10−30 NkB9 \times 10^{-30}\, N\kB — zero to rounding, because nothing fluctuates. For 1000 two-level systems, in units of NkBN\kB:

kBT/Δ\kB T/\Delta0.250.4213
from the noise, at one temperature0.273±0.0060.273 \pm 0.0060.440±0.0090.440 \pm 0.0090.200±0.0040.200 \pm 0.0040.0279±0.00060.0279 \pm 0.0006
by heating, ΔU/ΔT\Delta U/\Delta T over ±5%\pm 5\%0.288±0.0030.288 \pm 0.0030.446±0.0040.446 \pm 0.0040.198±0.0030.198 \pm 0.0030.0274±0.00110.0274 \pm 0.0011
module 12’s closed form0.2830.4390.1970.0270

2. A longer run measures the noise; it does not remove it. At kBT=0.42 Δ\kB T = 0.42\,\Delta, with 100, 103, 104 and 105 samples, the standard deviation of the energy is 9.64, 8.98, 8.80 and 8.81 Δ8.81\,\Delta — settling on kBT2CV=8.80 Δ\sqrt{\kB T^2 C_V} = 8.80\,\Delta — while the uncertainty of the mean energy falls from 0.96 Δ0.96\,\Delta to 0.028 Δ0.028\,\Delta, and the heat capacity read off the noise from 1.20±0.161.20 \pm 0.16 to 1.001±0.0051.001 \pm 0.005 times the exact one.

3. Large systems are steady. For NN from 16 to 4096 two-level systems at kBT=Δ\kB T = \Delta, the fitted exponent of σE/⟨E⟩\sigma_E/\langle E \rangle is -0.502; the relative fluctuation falls from 0.418 to 0.0253.

4. The diffusion coefficient, three ways. Ten thousand independent walkers of 1000 steps: the log-log slope of the mean squared displacement from 10 to 1000 steps is 1.004, and the width at 1000 steps is 1.986 times that at 250.

5. Memory. Walkers that repeat their last step with probability q=0.9q = 0.9, and otherwise step afresh at random: the log-log slope of the mean squared displacement is 1.92 over the first three steps and 1.04 from 300 to 1000, the velocity autocorrelation follows qkq^k to within 0.002, and the exact DD is (ℓ2/2τ)(1+q)/(1−q)=9.5(\ell^2/2\tau)(1+q)/(1-q) = 9.5, nineteen times the independent-step formula. One run of 5000 walkers gives 9.98±0.189.98 \pm 0.18 from the mean squared displacement, 10.06±0.3710.06 \pm 0.37 from the histogram and 9.51±0.069.51 \pm 0.06 from the velocity integral. The first is 2.7 errors high — the kind of excursion one run in a hundred produces. Six independent repeats of 2000 walkers average 9.37±0.199.37 \pm 0.19, 9.34±0.159.34 \pm 0.15 and 9.49±0.049.49 \pm 0.04. A single disagreement at two or three error bars is a reason to repeat the experiment, not yet a reason to distrust a method.

6. Module 04’s box cannot diffuse. Two hundred argon atoms in module 04’s 1 μm1\ \mu\mathrm{m} box, followed for 672 ns672\ \mathrm{ns} — about 270 box crossings: the mean squared displacement settles at 0.96 L2/60.96\,L^2/6, the velocity autocorrelation swings down to -0.44 of its starting value after 2.4 ns2.4\ \mathrm{ns}, about one crossing time, and its running integral rises to 0.11 vˉL0.11\,\bar v L and falls back to −0.01 vˉL-0.01\,\bar v L. No collisions, no diffusion.

7. Against reality: the transport coefficients of gases. The NIST Chemistry WebBook’s reference correlations — equations fitted to many measurements, with stated uncertainties of 0.5%0.5\% for the viscosity of nitrogen and argon and 10%10\% for helium — against step 8’s estimates with the van der Waals diameters of step 7, at 300 K300\ \mathrm{K} and 0.1 MPa0.1\ \mathrm{MPa}:

HeN2_2Ar
van der Waals diameter (nm)0.2660.3130.294
viscosity, estimate ÷ NIST0.450.951.01
thermal conductivity, estimate ÷ NIST0.180.490.40
NIST κ/(ηcv)\kappa/(\eta c_v), cvc_v per kilogram2.511.952.51
NIST viscosity, 0.1→1 MPa0.1 \to 1\ \mathrm{MPa}+0.16%+0.16\%+0.69%+0.69\%+0.70%+0.70\%
The viscosity of helium (orange), nitrogen (blue) and argon (black) at 300 K against pressure on a logarithmic axis from 1 kPa to 10 MPa. Each solid curve is flat up to about 1 MPa and rises above it, by about 12 per cent at 10 MPa for nitrogen and argon and by under 2 per cent for helium; the decade from 0.1 to 1 MPa is shaded. Dashed horizontal lines mark the kinetic estimates: almost on the nitrogen and argon curves, and well below the helium curve.

The viscosity of helium (orange), nitrogen (blue) and argon (black) at 300 K300\ \mathrm{K} from 1 kPa1\ \mathrm{kPa} to 10 MPa10\ \mathrm{MPa}, from the NIST Chemistry WebBook’s reference correlations, with the kinetic estimate mvˉ/(32 σ)m\bar v/(3\sqrt{2}\,\sigma) for each (dashed). Across the shaded decade from 0.1 to 1 MPa1\ \mathrm{MPa} — a tenfold change of density — each changes by less than one per cent; nitrogen and argon rise by about 12%12\% by 10 MPa10\ \mathrm{MPa}, where the gas is no longer dilute. Below 0.1 MPa0.1\ \mathrm{MPa} the curves are flat by construction, the dilute-gas form the correlations assume.

Read the table honestly. The density independence is the robust prediction, and it holds. The estimates themselves are good to a factor of order one, and their near-perfect agreement for nitrogen and argon is partly luck: the careful theory’s coefficient is about 1.5 times the crude one (advanced section), and the van der Waals diameter happens to be smaller than a collision diameter by about the amount that compensates. For helium the two errors add, and the estimate is low by half. The ratio κ/(ηcv)\kappa/(\eta c_v) is the cleaner test, because the molecular size cancels from it: the crude estimates give exactly 1, and both monatomic gases give 2.51 — the careful theory’s 52\tfrac52 — because the fastest molecules carry the most energy and also fly the furthest. The measured self-diffusion coefficients at 0 ∘C0\,{}^\circ\mathrm{C} and one atmosphere, 1.56×10−51.56 \times 10^{-5} (argon) and 1.72 to 1.85×10−5 m2 s−11.85 \times 10^{-5}\ \mathrm{m^2\,s^{-1}} (nitrogen) (Winn 1950, Hutchinson 1949 and Winter 1951, as tabulated by Hirschfelder, Curtiss and Bird), are 1.3 and 1.4 times the estimates.

8. Against reality: Perrin’s atoms. Perrin’s 1909 memoir tabulates how many of the horizontal projections of 30-second displacements of gamboge granules, radius 0.212 μm0.212\ \mu\mathrm{m}, fell between successive multiples of 1.7 μm1.7\ \mu\mathrm{m}, as counted by his student Chaudesaigues for two series of fifty granules.

Two bar charts side by side, counts of displacements against their size from 0 to 17 micrometres in ten bins of 1.7 micrometres, for Perrin's first and second series. The bars fall from about 40 in the first bins to a few in the last; a blue line with dots, the fitted Gaussian, follows them, with a fitted mean square of 50 square micrometres on the left and 37 on the right.

The sizes of the 30-second horizontal projections of gamboge granules, radius 0.212 μm0.212\ \mu\mathrm{m}, counted in bins of 1.7 μm1.7\ \mu\mathrm{m} by Chaudesaigues for Perrin’s 1909 memoir (bars): left, the first series, 221 projections in water at 17 ∘C17\,{}^\circ\mathrm{C}; right, the second, 205. The blue points are the Gaussian fitted to each table by fit_binned_gaussian_variance, the estimator that measured the walkers’ histograms.

The fit to the first series gives ⟨x2⟩=50.4±6.7 μm2\langle x^2 \rangle = 50.4 \pm 6.7\ \mu\mathrm{m}^2, the error from resampling the table. So D=(8.4±1.1)×10−13 m2 s−1D = (8.4 \pm 1.1) \times 10^{-13}\ \mathrm{m^2\,s^{-1}}, and with the viscosity Perrin gives, 0.011 poise, the Stokes–Einstein relation turns it into

NA=(6.5±0.9)×1023 mol−1,N_A = (6.5 \pm 0.9) \times 10^{23}\ \mathrm{mol^{-1}} ,

against the value fixed since 2019 by the definition of the mole, 6.022×10236.022 \times 10^{23}. The ±0.9\pm 0.9 is the counting noise of 221 numbers and nothing else, and the table supports other honest readings: its second moment, taken from the bin centres, is 42 μm242\ \mu\mathrm{m}^2, and its mean ∣x∣|x| gives 45 — Perrin himself found 50.2 from the mean length of the displacements. The least-squares fit leans on one over-full bin (35 found between 6.8 and 8.5 μm8.5\ \mu\mathrm{m}, where the fit expects 23). The three readings give NAN_A from 6.5 to 7.8×10237.8 \times 10^{23}; the second series, whose temperature Perrin does not give, fits to 37 against his 45. Two hundred and twenty-one numbers written down by hand in 1908 weigh an atom to within about 15%15\%, with a choice of estimator that matters as much as their counting noise. Perrin’s summary of seven displacement measurements (Atoms, 1916, p. 123) — granule radii from 0.21 to 5.5 μm5.5\ \mu\mathrm{m}, masses differing fifteen-thousand-fold, viscosities more than a hundredfold — gives values from 5.5 to 8.0×10238.0 \times 10^{23}, with a mean of 7.0×10237.0 \times 10^{23} and a scatter of 12%12\%. A number that does not care what it is measured with is a property of the world.

The falsifying experiments. Each misconception this module confronts has a measurement above that it cannot survive. “Fluctuations in a simulation are numerical error, which a longer run would remove”: a thousandfold longer run left σE\sigma_E at 8.80 Δ8.80\,\Delta (item 2), the value a heat capacity fixes, and the noise of a single temperature measured that heat capacity as well as heating did (item 1). “Diffusion carries particles at a steady speed”: the cloud’s width grew by 1.99 in four times the time (item 4), and a diffusion front’s position depends on x/Dtx/\sqrt{Dt} alone (step 4). “A rarefied gas is less viscous”: a tenfold change of density moved the viscosity of nitrogen by 0.7%0.7\% (item 7).

Transfer the idea

One idea — that how far things spread, and how much they carry, is fixed by how long their motion is remembered — reaches back through the whole course and out into the world.

Looking ahead — beyond this course:

Worked examples

Try each one before opening its solution.

Worked example 1 — a heat capacity from the noise. A cluster of 1000 atoms in contact with a gas at 300 K300\ \mathrm{K} has an energy that fluctuates with a standard deviation of 2.27×10−19 J2.27 \times 10^{-19}\ \mathrm{J}. What is its heat capacity per atom, in units of kB\kB? What is the relative fluctuation of its energy, if U=3NkBTU = 3N\kB T?

Solution

C=σE2/kBT2=(2.27×10−19)2/(1.381×10−23×3002)=5.15×10−38/1.243×10−18=4.15×10−20 J K−1C = \sigma_E^2/\kB T^2 = (2.27 \times 10^{-19})^2 / (1.381 \times 10^{-23} \times 300^2) = 5.15 \times 10^{-38}/1.243 \times 10^{-18} = 4.15 \times 10^{-20}\ \mathrm{J\,K^{-1}}, which is 4.15×10−23 J K−1=3.0 kB4.15 \times 10^{-23}\ \mathrm{J\,K^{-1}} = 3.0\,\kB per atom: Dulong and Petit, read off the noise. U=3NkBT=1.24×10−17 JU = 3N\kB T = 1.24 \times 10^{-17}\ \mathrm{J}, so σE/U=1.8%\sigma_E/U = 1.8\%; for a gram of the same solid it would be about 10-11.

Worked example 2 — what diffusion can supply. Oxygen in water has D≈2×10−9 m2 s−1D \approx 2 \times 10^{-9}\ \mathrm{m^2\,s^{-1}}. How long does it take to spread across a cell 10 μm10\ \mu\mathrm{m} wide, across 1 mm1\ \mathrm{mm}, and across 1 m1\ \mathrm{m}?

Solution

t≈L2/2Dt \approx L^2/2D: 10−10/4×10−9=0.025 s10^{-10}/4 \times 10^{-9} = 0.025\ \mathrm{s}; 10−6/4×10−9=250 s10^{-6}/4 \times 10^{-9} = 250\ \mathrm{s}, about four minutes; 1/4×10−9=2.5×108 s1/4 \times 10^{-9} = 2.5 \times 10^8\ \mathrm{s}, eight years. Tenfold the distance is a hundredfold the time.

Worked example 3 — a vacuum chamber. Estimate the mean free path of nitrogen at 300 K300\ \mathrm{K} and 10−4 Pa10^{-4}\ \mathrm{Pa}, with d=0.31 nmd = 0.31\ \mathrm{nm}, and the Knudsen number in a chamber 30 cm30\ \mathrm{cm} across.

Solution

n=P/kBT=10−4/(1.381×10−23×300)=2.4×1016 m−3n = P/\kB T = 10^{-4}/(1.381 \times 10^{-23} \times 300) = 2.4 \times 10^{16}\ \mathrm{m^{-3}} and σ=πd2=3.0×10−19 m2\sigma = \pi d^2 = 3.0 \times 10^{-19}\ \mathrm{m^2}, so λ=1/(2 nσ)=97 m\lambda = 1/(\sqrt{2}\, n\sigma) = 97\ \mathrm{m} and λ/L≈300\lambda/L \approx 300. A molecule crosses the chamber hundreds of times between collisions with other molecules: the gas has no viscosity in the sense of step 8, and its “flow” is molecules flying from wall to wall.

Worked example 4 — the viscosity of argon. Estimate the viscosity of argon at 300 K300\ \mathrm{K} from step 8, with m=6.63×10−26 kgm = 6.63 \times 10^{-26}\ \mathrm{kg} and the van der Waals diameter d=0.294 nmd = 0.294\ \mathrm{nm}, and compare with the measured 22.7 μPa s22.7\ \mu\mathrm{Pa\,s}.

Solution

vˉ=8kBT/πm=8×1.381×10−23×300/(π×6.63×10−26)=399 m s−1\bar v = \sqrt{8\kB T/\pi m} = \sqrt{8 \times 1.381 \times 10^{-23} \times 300/(\pi \times 6.63 \times 10^{-26})} = 399\ \mathrm{m\,s^{-1}} and σ=πd2=2.72×10−19 m2\sigma = \pi d^2 = 2.72 \times 10^{-19}\ \mathrm{m^2}, so η=mvˉ/(32 σ)=2.65×10−23/1.15×10−18=2.3×10−5 Pa s\eta = m\bar v/(3\sqrt{2}\,\sigma) = 2.65 \times 10^{-23}/1.15 \times 10^{-18} = 2.3 \times 10^{-5}\ \mathrm{Pa\,s}. Within a per cent of the measurement — more closely than the method deserves, as item 7 of the verification explains.

Worked example 5 — a bead under the microscope. A bead of radius 0.50 μm0.50\ \mu\mathrm{m} wanders in water at 293 K293\ \mathrm{K}, viscosity 1.00×10−3 Pa s1.00 \times 10^{-3}\ \mathrm{Pa\,s}. Find its DD, the root-mean-square displacement along one axis in 30 s30\ \mathrm{s}, and the time it needs to wander 1 mm1\ \mathrm{mm}.

Solution

D=kBT/6πηa=4.05×10−21/9.42×10−9=4.3×10−13 m2 s−1D = \kB T/6\pi\eta a = 4.05 \times 10^{-21}/9.42 \times 10^{-9} = 4.3 \times 10^{-13}\ \mathrm{m^2\,s^{-1}}. In 30 s30\ \mathrm{s}, 2Dt=5.1 μm\sqrt{2Dt} = 5.1\ \mu\mathrm{m} — five bead diameters, easy to see in a microscope. To wander 1 mm1\ \mathrm{mm} it needs t=x2/2D=1.2×106 st = x^2/2D = 1.2 \times 10^6\ \mathrm{s}, about two weeks.

Check your understanding

  1. A simulation of a small crystal in contact with a heat bath records its total energy, and the energy scatters by about 2% from sample to sample. A colleague proposes running the simulation ten times longer to make the scatter go away. What will the longer run do?

    A. The scatter stays at about 2%; what shrinks, by about sqrt(10), is the uncertainty of the mean energy and of the scatter itself. B. The scatter falls by about sqrt(10), because random errors average out as one over the square root of the number of samples. C. The scatter falls by about a factor of 10, since ten times as many samples are averaged. D. The scatter grows, because a longer run accumulates more rounding error.

    Check your answer

    Correct answer: A — The scatter stays at about 2%; what shrinks, by about sqrt(10), is the uncertainty of the mean energy and of the scatter itself.

    • A. Right. The scatter is sigma_E = sqrt(k_B T^2 C_V), a property of a crystal on a bath: module 12’s identity. More samples measure it more precisely -- the standard error of the mean energy falls as one over the square root of the number of samples -- but they do not change it. In the laboratory, a thousandfold longer run left sigma_E at 8.80 gap while the error of the mean fell thirtyfold. The scatter is a heat-capacity measurement, not an error.

    • B. That is true of the uncertainty of the mean, not of the scatter. The standard deviation of the samples is a property of the distribution they are drawn from; the standard error of their average is that deviation divided by sqrt(n). The distribution here is the canonical one, whose width is sqrt(k_B T^2 C_V) however long it is sampled.

    • C. Averaging shrinks the uncertainty of an average as one over the square root of the number of samples, not as one over the number -- and in any case the scatter of the individual samples is not an average at all. It stays at sqrt(k_B T^2 C_V).

    • D. Rounding error in a sampler like this one is about one part in 10^16 per number and does not accumulate into a 2% scatter. The scatter is physical: draw the same crystal with its energy fixed (microcanonically) and it vanishes; put it on a bath and it returns, at exactly the size its heat capacity fixes.

  2. One thousand independent two-level systems with gap Delta = 1.0e-21 J sit on a heat bath at T = 30.4 K. Their total energy is sampled many times and has a standard deviation of 8.80 Delta. What heat capacity per system does this imply, in units of k_B? (Give two decimal places.)

    Check your answer

    Correct answer: 0.44 (± 0.01)

    C_V = sigma_E^2/(k_B T^2) = (8.80e-21 J)^2 / (1.381e-23 J/K x 30.4^2 K^2) = 7.74e-41 / 1.276e-20 = 6.07e-21 J/K for the thousand, or 0.44 k_B per system. Module 12’s closed form at Delta/(k_B T) = 2.38 gives k_B x^2 e^x/(e^x + 1)^2 = 0.439 k_B: near the top of the Schottky peak, measured from one temperature with nothing heated.

  3. A canonical system of N independent subsystems has a relative energy fluctuation sigma_E/. You double N at the same temperature. What happens to sigma_E/, and what does that say about the canonical and microcanonical descriptions of a macroscopic body?

    A. It falls by a factor sqrt(2) -- sigma_E grows as sqrt(N) while grows as N -- so for macroscopic N the energy is sharp and the two descriptions agree. B. It halves, because the fluctuations of independent subsystems cancel in proportion to their number. C. It does not change -- both sigma_E and are proportional to N. D. It grows by a factor sqrt(2), because a larger system has more energy to fluctuate.

    Check your answer

    Correct answer: A — It falls by a factor sqrt(2) -- sigma_E grows as sqrt(N) while grows as N -- so for macroscopic N the energy is sharp and the two descriptions agree.

    • A. Right. Var(E) = k_B T^2 C_V and C_V is extensive, so sigma_E grows as N^(1/2) while grows as N: the ratio goes as N^(-1/2). For a mole of two-level systems at k_B T = Delta it is 2e-12, and no measurement can tell an energy fixed exactly from one that fluctuates by a part in 10^12. That is the equivalence of ensembles.

    • B. Independent fluctuations do not cancel in proportion to their number; their variances add. N subsystems have N times the variance, so sigma_E grows as sqrt(N), and the ratio to falls as N^(-1/2): by sqrt(2) when N doubles, not by 2.

    • C. is proportional to N, but sigma_E is not: it is the variance that adds. If sigma_E grew in proportion to N, the relative fluctuation of a macroscopic body would be as large as that of a single molecule, and no thermometer would ever settle.

    • D. The absolute fluctuation sigma_E does grow, by sqrt(2). The relative one falls, because doubles. Large bodies look steady because the relative fluctuation is what an instrument sees.

  4. A layer of dye at the bottom of a tall jar of set gelatin, in which nothing can flow, has one day after it was laid down coloured the gelatin up to 1 cm above the layer. How long after it was laid down will the same shade reach 2 cm?

    A. 4 days -- every feature of a diffusion front advances as sqrt(D t), so twice the distance takes four times as long. B. 2 days -- the dye moves up at a steady 1 cm per day. C. About 1.4 days -- a diffusion front advances as t^2, faster and faster. D. 8 days -- the volume to be filled grows as the cube of the distance.

    Check your answer

    Correct answer: A — 4 days -- every feature of a diffusion front advances as sqrt(D t), so twice the distance takes four times as long.

    • A. Right. The dye-layer solution, c/c_0 = (1/2) erfc(x / (2 sqrt(D t))), depends on x and t only through x/sqrt(D t), so any contour of fixed shade sits at a fixed multiple of sqrt(D t). To double x, t must be multiplied by 4. In a jar of plain water the experiment rarely works: small temperature differences drive convection that carries the dye far faster. Gelatin stops the flow and leaves the diffusion.

    • B. Nothing in diffusion moves at a steady speed. A dye molecule does move fast -- over a hundred metres per second -- but its velocity is forgotten after about 1e-13 s, so its displacements add like a random walk’s, as sqrt(t). The front decelerates: it covered the first centimetre in a day and needs three more days for the second.

    • C. Spreading as t^2 is ballistic motion, which a molecule shows only for times shorter than its memory of its velocity -- about 1e-13 s in water. Over days the mean squared displacement grows as t, and distances as sqrt(t).

    • D. The jar is a one-dimensional problem: the dye spreads upward from a layer that fills the whole cross-section. Even for a point source in three dimensions the width of the cloud grows as sqrt(6 D t), so doubling a distance still takes four times as long.

  5. On a log-log plot, the mean squared displacement of tracer particles has slope 2 at short times and slope 1 at long times. What does this tell you?

    A. At short times the tracers move ballistically, x = v t, keeping their velocities; at long times their velocities have been randomised and they diffuse, <x^2> = 2 D t. B. The tracers move twice as fast at short times as at long times. C. At long times the tracers have slowed to a constant speed, because x grows linearly in t. D. The slope-2 part is a numerical artefact of having too few tracers.

    Check your answer

    Correct answer: A — At short times the tracers move ballistically, x = v t, keeping their velocities; at long times their velocities have been randomised and they diffuse, <x^2> = 2 D t.

    • A. Right. <x^2> = <v^2> t^2 while a velocity is remembered, slope 2; long after, the displacement is a sum of many independent pieces and grows as 2 D t, slope 1. The crossover marks the memory time -- for a gas, the time between collisions. The laboratory’s persistent walkers show both regimes in one curve.

    • B. A slope on a log-log plot is an exponent, not a speed. Slope 2 means <x^2> grows as t^2, slope 1 that it grows as t. The tracers’ speed does not change at all; what changes is whether their successive displacements are correlated.

    • C. Slope 1 means <x^2> grows linearly in t, so x itself grows as sqrt(t) -- no constant speed. Steady-speed motion would give slope 2, the short-time regime.

    • D. Too few tracers make the curve noisy, not steeper. Slope 2 at short times is physics: over times shorter than its velocity memory a particle simply flies. It is the regime module 04’s collisionless gas never leaves until it reaches a wall.

  6. Treat nitrogen molecules as hard spheres of diameter d = 0.31 nm. At 0 C and one atmosphere the number density is n = 2.69e25 per cubic metre. Using lambda = 1/(sqrt(2) n sigma) with sigma = pi d^2, what is the mean free path, in nanometres?

    Check your answer

    Correct answer: 87 (± 5)

    sigma = pi (0.31e-9 m)^2 = 3.02e-19 m^2, so lambda = 1/(1.414 x 2.69e25 x 3.02e-19) = 8.7e-8 m = 87 nm: about 280 molecular diameters and 26 mean spacings. With a mean speed of 454 m/s the collision rate is vbar/lambda = 5.2e9 per second. The diameter here comes from the van der Waals b, which module 02 obtained from the critical point; a diameter inferred from viscosity is about 20% larger, which is the honest size of the uncertainty.

  7. A sealed container of nitrogen at room temperature and one atmosphere is pumped down to half an atmosphere, at the same temperature. What happens to the gas’s viscosity?

    A. It stays the same -- half as many molecules carry momentum, but each flies twice as far between collisions. B. It halves -- with half as many molecules there is half as much to rub. C. It doubles -- the molecules fly twice as far between collisions. D. It falls by a factor sqrt(2), like the mean speed of a gas whose density is halved.

    Check your answer

    Correct answer: A — It stays the same -- half as many molecules carry momentum, but each flies twice as far between collisions.

    • A. Right. eta = (1/3) n m vbar lambda and lambda = 1/(sqrt(2) n sigma), so the density cancels: eta = m vbar/(3 sqrt(2) sigma). Maxwell predicted this in 1860 and confirmed it with swinging discs in 1866; NIST’s reference data for nitrogen at 300 K change by less than 1% between 1 kPa and 1 MPa. It fails only when the mean free path becomes comparable with the container, in a vacuum.

    • B. Gas viscosity is not rubbing. It is momentum carried across a plane by molecules flying from a faster layer to a slower one. Halving their number halves the carriers but doubles the distance each flies, so each brings twice the momentum difference. The two effects cancel exactly in the dilute gas.

    • C. The mean free path does double, but there are half as many molecules to fly it. The viscosity is the product of the two, and it does not change.

    • D. The mean speed of the molecules depends on the temperature alone, vbar = sqrt(8 k_B T/(pi m)), not on the density. At fixed temperature nothing in eta = m vbar/(3 sqrt(2) sigma) changes.

  8. In three or four sentences: why are three independent measurements of a diffusion coefficient that agree within their error bars more convincing than one very precise fit? What would it have meant if one of them had disagreed with the other two by ten error bars?

    Check your answer

    The three use different features of the data -- the growth of the mean squared displacement (dominated by the cloud’s tails), the shape of the histogram (dominated by its middle), and the integral of the velocity autocorrelation (which uses no positions at all) -- and each rests on a different chain of assumptions. A single fit, however precise, can be wrong in a way its own error bar cannot show: a bias in the estimator, a non-Gaussian shape, a drift. Agreement across methods makes such hidden errors unlikely, because they would have to conspire. A disagreement by ten error bars would mean the methods are not measuring the same thing: for example, the histogram not Gaussian (too early, or steps of infinite variance), a drift adding to the mean squared displacement, or a cut-off of the velocity integral shorter than the memory. A strong answer adds that a two-error-bar difference in one run is not by itself a disagreement -- it happens about one time in twenty -- and that repeating the experiment under new seeds is how to tell bad luck from a bad method.

  9. Every transport coefficient in this module assumes local equilibrium. Where does that description fail first?

    A. Where the temperature, density or flow speed changes appreciably over a mean free path -- the Knudsen number lambda/L is not small, as in a vacuum chamber, a nanometre pore or a shock wave. B. At low temperature, because the molecules move too slowly to carry anything. C. At high density, because then the molecules collide too often to carry anything. D. Whenever there is any gradient at all, since a system with a gradient is not in equilibrium.

    Check your answer

    Correct answer: A — Where the temperature, density or flow speed changes appreciably over a mean free path -- the Knudsen number lambda/L is not small, as in a vacuum chamber, a nanometre pore or a shock wave.

    • A. Right. A parcel of gas has a temperature only if its molecules collide many times before meeting any appreciable change. When lambda/L is not small, molecules fly from wall to wall carrying conditions from far away, and viscosity and conductivity stop being properties of the gas. At 1e-4 Pa the mean free path of nitrogen is about a hundred metres, larger than any vacuum chamber.

    • B. Slow molecules still collide, and a cold dilute gas still has local equilibrium as long as its mean free path is short compared with its gradients. Cold matters only when quantum effects set in (module 17), which is a different failure.

    • C. Frequent collisions are what local equilibrium needs. A dense gas or a liquid is closer to local equilibrium, not further. What fails at high density is the dilute-gas estimate of the coefficients themselves -- molecules no longer fly freely between collisions -- not the assumption that each parcel has a temperature.

    • D. The whole system is not in equilibrium, but each small parcel can be, very nearly. That is the content of local equilibrium, and it holds whenever the gradients are gentle on the scale of a mean free path -- which at room conditions is 0.1 micrometre.

  10. Two spherical beads, one twice the radius of the other, wander in the same water at the same temperature. How do their diffusion coefficients compare?

A. The larger bead’s D is half the smaller one’s -- the drag 6 pi eta a doubles, and D = k_B T / zeta. B. The larger bead’s D is an eighth of the smaller one’s, since it is eight times as heavy. C. They are the same -- D depends only on the temperature. D. The larger bead’s D is a quarter of the smaller one’s, since the drag on a sphere grows as its cross-sectional area.

Check your answer

Correct answer: A — The larger bead’s D is half the smaller one’s -- the drag 6 pi eta a doubles, and D = k_B T / zeta.

  • A. Right. The Einstein relation ties D to the friction coefficient, D = k_B T/zeta, and Stokes drag makes zeta proportional to the radius. The mass, which grows eightfold, does not enter: a heavier bead remembers its velocity longer but has a smaller thermal velocity, and the two compensate exactly.

  • B. Mass cancels out of D. Green-Kubo gives D = <v_x^2> tau_c with <v_x^2> = k_B T/m and tau_c = m/zeta: the heavier bead moves more slowly but keeps its velocity longer. Only the drag remains, and it grows as the radius.

  • C. The temperature sets the size of the kicks, but how far a kick carries a bead depends on how strongly the water resists it: D = k_B T/zeta, with zeta = 6 pi eta a.

  • D. For slow, smooth flow -- which a micrometre bead in water is, by a factor of a million -- Stokes drag grows as the radius, not as the area. Drag proportional to the area is the fast, turbulent regime of a falling raindrop.

  1. A bead of radius 0.50 micrometres in water of viscosity 1.00e-3 Pa s at 293 K is tracked, and its displacements along one axis over 30 s have a mean square of 25.8 square micrometres. Using the Stokes-Einstein relation and R = 8.314 J/(mol K), what value of Avogadro’s number does this imply, in units of 1e23 per mole? (One decimal place.)

Check your answer

Correct answer: 6.0 (± 0.15)

D = <x^2>/(2t) = 25.8e-12 m^2 / 60 s = 4.30e-13 m^2/s. Then k_B = 6 pi eta a D/T = 9.42e-9 kg/s x 4.30e-13 m^2/s / 293 K = 1.38e-23 J/K, and N_A = R/k_B = 6.0e23 per mole. Perrin did this with gamboge grains in 1908-1909 and found values near 7e23; the gas constant came from balances and pressure gauges, so the beads weighed a molecule.

  1. A walker steps +/-l every tau. With probability q = 0.5 it repeats its previous step, and otherwise it takes a fresh step, left or right with equal probability (module 03’s persistent walk). By what factor is its diffusion coefficient larger than the independent-step value l^2/(2 tau)?

Check your answer

Correct answer: 3 (± 0.05)

Its velocity is correlated with the one k steps later by q^k (a fresh step is uncorrelated with everything before it), so the Green-Kubo sum is tau (l/tau)^2 (1/2 + q + q^2 + ...) = (l^2/(2 tau)) (1 + q)/(1 - q) = 3 l^2/(2 tau). The formula l^2/(2 tau) assumed independent steps; with memory it is wrong by exactly the factor module 03 found in the persistent walk’s variance.

Exam-style problems for this module — the ones worth doing with a pen — are collected in the problem set.

Explain it in your own words

Answer in a few sentences each.

  1. A skeptic says that the energy fluctuation in a simulation is numerical error and will vanish if the simulation is run long enough. Convince them otherwise, using a measurement they could make.

  2. A dye front slows down as it advances, although nothing slows the molecules. Explain why.

  3. Why does removing half of a gas leave its viscosity unchanged? Explain it in terms of what a single molecule does.

  4. The course began by asking how macroscopic order emerges from microscopic chaos. In what sense does this module say the chaos is not merely tolerated by the order but does the work?

Advanced: the Green–Kubo relation, and the careful coefficients

Where the Green–Kubo relation comes from

Write the displacement as the integral of the velocity and square it:

⟨x(t)2⟩=∫0t ⁣ ⁣∫0t⟨v(t1) v(t2)⟩ dt1 dt2.\langle x(t)^2 \rangle = \int_0^t \!\! \int_0^t \langle v(t_1)\, v(t_2) \rangle \,\mathrm{d}t_1\,\mathrm{d}t_2 .

In a steady state the correlation depends only on the separation, ⟨v(t1) v(t2)⟩=C(t1−t2)\langle v(t_1)\, v(t_2) \rangle = C(t_1 - t_2), and CC is even. The integrand is constant along every diagonal of the square [0,t]2[0, t]^2, and the diagonal at separation ss has length proportional to t−st - s, so

⟨x(t)2⟩=2∫0t(t−s) C(s) ds,d⟨x2⟩dt=2∫0tC(s) ds.\langle x(t)^2 \rangle = 2\int_0^t (t - s)\, C(s)\,\mathrm{d}s , \qquad \frac{\mathrm{d}\langle x^2 \rangle}{\mathrm{d}t} = 2\int_0^t C(s)\,\mathrm{d}s .

At short times C(s)≈C(0)=⟨v2⟩C(s) \approx C(0) = \langle v^2 \rangle and ⟨x2⟩≈⟨v2⟩t2\langle x^2 \rangle \approx \langle v^2 \rangle t^2. At long times the slope tends to 2∫0∞C(s) ds2\int_0^\infty C(s)\,\mathrm{d}s, which is 2D2D, provided the integral converges — provided the memory dies faster than 1/s1/s. For velocities that are constant over steps of length τ\tau the same argument, with sums for integrals, gives D=τ [12C(0)+C(1)+C(2)+…]D = \tau\,[\tfrac12 C(0) + C(1) + C(2) + \ldots] exactly: the trapezoid rule is no approximation there, which is why the laboratory’s third estimate needs no correction.

The proviso is not a formality. In 1970 Alder and Wainwright found, in computer simulations of hard disks and spheres, that a tagged particle’s velocity memory in a dense fluid does not die exponentially: it decays as a power, s−d/2s^{-d/2} in dd dimensions, because the particle’s own momentum, shared with the fluid around it, comes back to it as a slowly spreading vortex. In three dimensions s−3/2s^{-3/2} is integrable and DD exists. In two it is 1/s1/s, the integral diverges logarithmically, and a two-dimensional fluid strictly has no diffusion coefficient at all.

The persistent walk, exactly

For module 03’s persistent walk, C(k)=(ℓ/τ)2q∣k∣C(k) = (\ell/\tau)^2 q^{|k|}, and the double sum can be done in closed form:

⟨xn2⟩=ℓ2[n 1+q1−q−2q (1−qn)(1−q)2].\langle x_n^2 \rangle = \ell^2\left[n\,\frac{1 + q}{1 - q} - \frac{2q\,(1 - q^n)}{(1 - q)^2}\right] .

For n≪1/(1−q)n \ll 1/(1-q) it is n2ℓ2n^2\ell^2, ballistic; for n≫1/(1−q)n \gg 1/(1-q) it is a straight line of slope 2Dτ2D\tau with D=(ℓ2/2τ)(1+q)/(1−q)D = (\ell^2/2\tau)(1+q)/(1-q), offset below the origin by 2qℓ2/(1−q)22q\ell^2/(1-q)^2. That offset is why d_from_msd fits the slope of the late-time line with a free intercept rather than dividing ⟨x2⟩\langle x^2 \rangle by 2t2t, and why d_from_histogram fits the growth of the variance between snapshots rather than its value at one. The crossover from slope 2 to slope 1 sits at about twice the memory time τ/(1−q)\tau/(1-q): for q=0.9q = 0.9 the log-log slope falls through 1.5 at 21 steps.

What the careful theory changes

Step 8’s argument gives every molecule the mean speed and the mean free path. Chapman and Enskog, solving Boltzmann’s transport equation for hard spheres to first order, gave the careful results:

η=516d2mkBTπ,κ=52 η cvm,D=38nd2kBTπm.\eta = \frac{5}{16 d^2}\sqrt{\frac{m\kB T}{\pi}} , \qquad \kappa = \frac52\,\eta\, \frac{c_v}{m} , \qquad D = \frac{3}{8 n d^2}\sqrt{\frac{\kB T}{\pi m}} .

At the same diameter these are 1.47, 3.7 and 1.77 times step 8’s estimates. The viscosity keeps its independence of the density; the thermal conductivity’s extra factor 52\tfrac52 — the measured 2.51 of item 7 for helium and argon — comes from the fastest molecules carrying both the most energy and the longest flights. Fitted to the measured viscosity at 300 K300\ \mathrm{K}, the Chapman–Enskog formula gives hard-sphere diameters of 0.215 nm0.215\ \mathrm{nm} for helium, 0.370 nm0.370\ \mathrm{nm} for nitrogen and 0.358 nm0.358\ \mathrm{nm} for argon, against the van der Waals values 0.266, 0.313 and 0.294 nm0.294\ \mathrm{nm} — larger for nitrogen and argon, smaller for helium. A molecule has no single size. The van der Waals bb is fitted at the critical point, where the attraction between molecules matters as much as their repulsion; the viscosity probes the repulsive core in collisions at room-temperature energies. Neither is a hard-sphere diameter, because molecules are not hard spheres, and each measurement of dd reports the size its own process sees.