Diffusion equation

From Free net encyclopedia

The diffusion equation is a nonlinear partial differential equation, which describes the density fluctuations in a material undergoing diffusion. It is also used in population genetics to describe the 'diffusion' of alleles in a finite population.

The equation is usually written as:

<math>\frac{\partial\phi}{\partial t}=\nabla\cdot D(\phi)\nabla\phi(\vec{r},t)</math>,

where <math>\phi</math> is the density of the diffusing material, <math>t</math> is time, <math>D</math> is the collective diffusion coefficient, and <math>\vec{r}</math> the spatial coordinate. The collective diffusion coefficient depends on the density; if D is a constant, however, then the equation reduces to the following linear equation:

<math>\frac{\partial\phi}{\partial t}=D\nabla^2\phi(\vec{r},t)</math>,

also called the heat equation.

Derivation

The diffusion equation can be derived in a straightforward way from the continuity equation, which states that a change in density in any part of the system is due to inflow and outflow of material into and out of that part of the system. Effectively, no material is created or destroyed:

<math>\frac{\partial\phi}{\partial t}+\nabla\cdot\vec{j}=0</math>,

where <math>\vec{j}</math> is the flux of the diffusing material. The diffusion equation can be obtained easily from this when combined with the phenomenological Fick's first law, which assumes that the flux of the diffusing material in any part of the system is proportional to the local density gradient:

<math>\vec{j}=-D(\phi)\nabla\phi(\vec{r},t)</math>.

See also