# Diffusion equation

A second-order partial differential equation describing the process of diffusion, i.e. the process of equalization of the concentration in a medium with an initially non-homogeneous distribution of some substance. The diffusion equation has the form

$$\tag{1 } L u \equiv c \frac{\partial u }{\partial t } - \mathop{\rm div} ( D \ \mathop{\rm grad} u ) = 0 ,$$

where $c$ is the porosity coefficient, $D$ is the diffusion coefficient and $u ( x , t )$ is the concentration of the substance at a point $x$ of the medium at the moment of time $t$. The diffusion equation is derived by making up the balance of the substance using Nerst's diffusion law. It is assumed in so doing that sources of the substance and diffusion into an external medium are absent in the domain under consideration. Such a diffusion equation is said to be homogeneous. If the domain under consideration contains sources of the substance with a volume distribution density $F ( x , t )$, the diffusion process is said to be inhomogeneous with right-hand side $F ( x , t )$. If the substance falls apart or multiplies at a rate proportional to the initial concentration, a term $\pm {\lambda \partial u } / {\partial x }$ should be inserted in the right-hand side of the diffusion equation.

The diffusion equation is of parabolic type. In order to find a unique solution, initial and boundary conditions are imposed. The initial condition for a diffusion equation is to specify the concentration $u _ {0} ( x)$ of the substance at the initial moment of time:

$$\tag{2 } u ( x , 0 ) = u _ {0} ( x) .$$

If the substance then fills the entire space, one obtains the Cauchy problem (1), (2). If, on the other hand, the diffusion substance occupies a volume $V$ bounded by the side surface $S$, as well as the initial condition (2), a boundary condition is imposed on $S$. The three fundamental linear boundary conditions for a diffusion equation are listed below.

1) The concentration of the substance $\theta ( x , t )$ is specified on $S$; then

$$u ( x , t ) = \theta ( x , t )$$

is a boundary condition of the first kind.

2) The density $q ( x , t )$ of the flow of the substance entering $V$ through $S$ is given; then

$$- D \frac{\partial u ( x , t ) }{\partial n } = q ( x , t ) ,\ \ x \in S ,$$

where $n$ is the interior normal to the surface $S$, is a boundary condition of the second kind (if $S$ is impermeable, $q ( x , t ) \equiv 0$).

3) If $S$ is semi-permeable, and if the diffusion taking place into the external medium with a given concentration $\theta ( x , t )$ through $S$ is linear, then

$$\frac{\partial u ( x , t ) }{\partial n } = - h ( u ( x , t ) - \theta ( x , t ) ) ,\ x \in S ,$$

is a boundary condition of the third kind.

Other boundary conditions, including non-linear ones, may also be imposed on $S$, as well as conditions involving derivatives of a higher order than those which appear in the diffusion equation. Since a diffusion equation is a special case of a differential equation describing physical equalization processes, it is analogous to the thermal-conductance equation, the Navier–Stokes equations for the laminar flow of an incompressible liquid, the equation of pure electric conductance, etc.

How to Cite This Entry:
Diffusion equation. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Diffusion_equation&oldid=51287
This article was adapted from an original article by L.I. Kamynin (originator), which appeared in Encyclopedia of Mathematics - ISBN 1402006098. See original article