One idea, 4 fields

Diffusion

The unifying principle

Start from a random walker. In time Δt\Delta t it steps ±Δx\pm\Delta x with equal probability. The probability density p(x,t)p(x,t) obeys, in the continuum limit, the diffusion equation:

pt=D2px2,D=lim(Δx)22Δt\frac{\partial p}{\partial t} = D\,\frac{\partial^2 p}{\partial x^2}, \qquad D = \lim \frac{(\Delta x)^2}{2\,\Delta t}

Two facts fall out and reappear everywhere:

  • The spread grows as the square root of time: x2=2Dt\langle x^2\rangle = 2Dt, so σt\sigma \propto \sqrt{t}. Diffusion is slow over distance.
  • Fick's / Fourier's law: flux is proportional to the gradient, J=DpJ = -D\,\nabla p. Combined with conservation tp+ ⁣J=0\partial_t p + \nabla\!\cdot J = 0, you recover the same PDE.

The microscopic driver is the stochastic differential equation (Langevin form):

dx=U(x)dt+2D  dWtdx = -\nabla U(x)\,dt + \sqrt{2D}\; dW_t

whose density evolves by the Fokker–Planck equation. Every field below is a reading of these same two lines.

How it shows up in each field

Physics — heat and Brownian motion

Heat conduction is diffusion of thermal energy: Fourier's law q=kT\mathbf{q} = -k\nabla T gives Tt=α2T,α=kρcp.\frac{\partial T}{\partial t} = \alpha\,\nabla^2 T, \qquad \alpha = \frac{k}{\rho c_p}. Same equation, TT replacing pp, thermal diffusivity α\alpha replacing DD. Einstein (1905) tied DD to the microscopic jitter: D=μkBTD = \mu k_B T (fluctuation–dissipation). Example: a hot poker end; the temperature front reaches distance LL in time tL2/αt \sim L^2/\alpha — double the rod, quadruple the wait.

Chemistry — molecular mixing and reaction fronts

Concentration cc obeys Fick's second law tc=D2c\partial_t c = D\nabla^2 c. Couple diffusion to reaction and you get reaction–diffusion: ct=D2c+R(c).\frac{\partial c}{\partial t} = D\nabla^2 c + R(c). Example: a drop of ink in still water spreads with σ2Dt\sigma\sim\sqrt{2Dt} (small-molecule D109m2/sD\approx 10^{-9}\,\mathrm{m^2/s} — hours to cross a cup). With reaction terms, the same equation makes Turing patterns (spots, stripes).

Biology — neuron signaling and cable theory

Ions diffuse across membranes down electrochemical gradients (Nernst–Planck, a drift–diffusion law). Along a dendrite, membrane voltage VV obeys the cable equation: τVt=λ22Vx2V,\tau\frac{\partial V}{\partial t} = \lambda^2 \frac{\partial^2 V}{\partial x^2} - V, a diffusion equation (λ2\lambda^2 plays the role of DτD\tau) with a leak term V-V. Example: a passive voltage bump spreads and decays over the length constant λ\lambda; this is why axons need active regeneration (spikes) — pure diffusion of charge would die out in millimeters.

AI-ML — generative diffusion models

Add noise to data step by step until it's pure Gaussian — the forward process is exactly the Langevin SDE: dx=f(x,t)dt+g(t)dWt.dx = f(x,t)\,dt + g(t)\,dW_t. The magic: this SDE has a reverse-time SDE (Anderson) that runs it backward using the score xlogpt(x)\nabla_x \log p_t(x): dx=[fg2xlogpt(x)]dt+g(t)dWˉt.dx = \big[f - g^2\nabla_x\log p_t(x)\big]dt + g(t)\,d\bar W_t. A neural net learns the score; sampling = denoising noise back into images. Example: Stable Diffusion / DDPM start from xTN(0,I)x_T \sim \mathcal N(0,I) and integrate the reverse process to produce a photo — literally reversing diffusion.

Why this bridge matters

  • Scaling intuition transfers: the t\sqrt{t} law tells a biologist why signaling needs active amplification, a chemist how long mixing takes, an ML engineer why many small denoising steps beat few large ones.
  • The gradient view unifies: "flux flows down gradients" is Fourier's law, Fick's law, Nernst–Planck, and score-based sampling (the score logp\nabla\log p is the gradient that guides flow).
  • Reversibility is the big payoff: physics taught that diffusion is entropy-increasing and "irreversible" — yet the SDE is exactly reversible if you know the score. That physics insight (Anderson's reverse SDE, from stochastic control) is precisely what made modern generative AI work.
  • Fluctuation–dissipation (D=μkBTD = \mu k_B T) is the same bargain everywhere: the noise that mixes you is the noise that lets you explore/generate.

Connections

  • 01 Random Walks & Brownian Motion
  • 02 Fokker–Planck & Langevin Dynamics
  • 03 Heat Equation & Thermal Diffusivity
  • 04 Fick's Laws & Reaction–Diffusion
  • 05 Cable Theory & Nernst–Planck
  • 06 Score-Based Generative Models
  • 07 Turing Patterns
  • 08 Fluctuation–Dissipation Theorem

#bridge

√t scaling

gradient flux

Langevin/Fokker–Planck

reverse-time SDE

Diffusion:
∂p/∂t = D∇²p
(random spreading)

Physics: heat flow
Brownian motion

Chemistry: mixing
reaction–diffusion

Biology: neuron
signaling / cable eq.

AI-ML: generative
diffusion models

Connected notes