Diffusion All simulations

Diffusion

a patch of water 120 micrometres across, seen from above; the drop lands at the centre
the spread of the drop, measured as it grows; the pale line is the law the spread has to obey
Water temperature D from the temperature D measured from the line Water time
The options stand at the top of the page. The drop stands here, under the game.

A drop of dye lands in still water. Nothing stirs it, nothing pushes it, and yet the drop spreads, slowly and surely, until the whole patch is tinted. The spread is not a flow. It is a random walk: every dye particle is kicked about by the water molecules around it, step after blind step, and the order of the drop dissolves. The wonder of this page is the chart. Out of all that blind kicking comes a law so clean it draws itself as a straight line.

>The walk

Each particle on this page takes true random steps, drawn from the bell curve with a width set by the diffusion constant, exactly as the mathematics of the random walk prescribes. No particle knows where the centre is, and no force pulls any particle outward. The patch spreads anyway, because there are simply more ways to be spread out than to be gathered. Leave the drop long enough and the particles reach the walls; after that the spread measure bends away from the line, since a particle can wander no farther than the patch allows. That bend is honest, and the account of the law below is written for the free spread before the walls are felt.

>The law

Measure the spread as the mean of the squared sideways distance from the drop's centre, written ⟨x²⟩. The law of diffusion says that this measure grows in direct proportion to time: ⟨x²⟩ = 2Dt, where D is the diffusion constant of the dye in the water. A proportion to time is a straight line, and its slope is twice D. The chart draws your own run's measured spread in gold against the pale line of the law, and the readout under the game turns your line's slope back into a measured D. Run it again and the gold line wobbles differently, because every run is a fresh throw of the dice; the line it hugs does not change. Small scale randomness, large scale law: that trade is the whole of statistical physics in one picture.

>Temperature

Hot water diffuses faster. In the physics of it (the Stokes-Einstein relation) D grows in proportion to the absolute temperature, and this page uses that plain proportion: at 20 degrees Celsius D stands at 500 square micrometres per second, a typical figure for a small dye molecule in water, and the slider scales it by the kelvin ratio. Real water adds a second effect the page leaves out, since hot water is also thinner and kinder to the walk; the lesson stands on the one effect, stated plainly. The clock on this page runs fast on purpose: one second here is about eighteen seconds in the water, so a spread that takes minutes at the bench takes moments on the screen.

← The Lens BenchStanding Waves on a String →

Invite someone

They get an email with the page you pick, plus a personal link to step inside.