6.3 Diffusion as a random walk
The diffusion equation of the previous lesson is a macroscopic law, but its origin is microscopic and statistical: it is the smooth shadow of an underlying random walk. A particle buffeted by molecular collisions takes a long sequence of uncorrelated steps, and the probability distribution of its position obeys Fick’s law exactly. This lesson makes that connection precise.
From random steps to Fick’s law
▶ The diffusion equation from a random walk Derivation
Let be the probability density for the walker’s position. In a short time it takes a random step whose distribution has zero mean and variance . The new density is the old one convolved with the step distribution:
Expand about to second order, writing :
Insert this and use the moments of : , (no bias), and . The first moment kills the term, leaving
Divide by :
This is the diffusion equation, with diffusion coefficient . Nothing about the microscopic step distribution survives except its variance: a walk of tiny frequent steps and a walk of larger rarer ones diffuse identically if matches. This insensitivity to detail — a consequence of the central limit theorem (refresher: random walks and Brownian motion →) — is why diffusion is so universal.
Mean-squared displacement
The signature of normal diffusion is the way a walker’s spread grows with time. The variance of position increases linearly,
with one factor of per spatial dimension. The root-mean-squared displacement therefore grows only as — diffusion is slow over long distances, a fact with sharp consequences for the timescales of the final lesson.
Each walker takes an independent Gaussian step every frame; the cloud spreads, and the mean-squared distance from the origin grows linearly in time with slope 4D (in 2-D; 2D in 1-D, 6D in 3-D). This linearity — not the cloud shape, not the particle paths — is the *signature* of diffusion. Below it lies the Einstein relation D = kBT / γ that ties the diffusion constant to the microscopic friction.
Many independent walkers, each stepping randomly, collectively trace out the spreading Gaussian that solves the diffusion equation. The histogram of their positions broadens as while staying centred, exactly as requires.
Each 120-second run of the heavy particle's r²(t) is noisy (light blue). Averaged over many runs, the noise washes out (black). If the particle moved in a straight line at the thermal speed ⟨V²⟩ = 2kT/M, the average would grow as t² — the green parabola. It does not. Because each collision randomises direction, the average grows linearly in t, with slope 4D. Linearity is the signature of randomness.
A single such trajectory is Brownian motion: the erratic, never-settling path of a microscopic particle suspended in a fluid, kicked at random by the thermal motion of the molecules around it. The path is continuous but nowhere smooth — zoom in and it looks statistically the same at every scale. That a visible particle should jitter this way was the first direct evidence that the fluid around it is made of discrete, moving molecules, the subject of the Einstein relation two lessons on.