Diffusion Equation

The diffusion equation is a parabolic partial differential equation.

In physics, it describes the macroscopic behavior of many micro-particles in Brownian motion, resulting from the random movements and collisions of the particles (see Fick's laws of diffusion). In mathematics, it is related to Markov processes, such as random walks, and applied in many other fields, such as materials science, information theory, and biophysics. The diffusion equation is a special case of the convection–diffusion equation when bulk velocity is zero. It is equivalent to the heat equation under some circumstances.

Statement

The equation is usually written as:

Diffusion Equation 

where ϕ(r, t) is the density of the diffusing material at location r and time t and D(ϕ, r) is the collective diffusion coefficient for density ϕ at location r; and represents the vector differential operator del. If the diffusion coefficient depends on the density then the equation is nonlinear, otherwise it is linear.

The equation above applies when the diffusion coefficient is isotropic; in the case of anisotropic diffusion, D is a symmetric positive definite matrix, and the equation is written (for three dimensional diffusion) as:

Diffusion Equation 

If D is constant, then the equation reduces to the following linear differential equation:

    Diffusion Equation 

which is identical to the heat equation.

Historical origin

The particle diffusion equation was originally derived by Adolf Fick in 1855.

Derivation

The diffusion equation can be trivially derived 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:

Diffusion Equation 
where j 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 states that the flux of the diffusing material in any part of the system is proportional to the local density gradient:
Diffusion Equation 

If drift must be taken into account, the Fokker–Planck equation provides an appropriate generalization.

The thermodynamic view

The chemical potential of a solute in solution is given by:

Diffusion Equation 
where:
    µ: chemical potential
    µ°: chemical potential in the standard state
    R: universal gas constant
    T: absolute temperature
    c: concentration of the solute

The change in chemical potential due to a concentration gradient dc is then

Diffusion Equation 
or
Diffusion Equation 
The  chemical potential difference () represents the work done on the system when transferring a mole of solute from concentration c + dc to concentration c. This work can be expressed as the force (F) multiplied by the distance (dx), thus yielding = −Fdx. So:
Diffusion Equation 

The negative sign arises because the concentrations (c) and distances (x) increase in opposite directions.

When a molecule (or particle) experiences a driving force, its velocity increases until the frictional force acting on it balances the driving force. This frictional force (Ff) is directly proportional to the molecule's velocity, with the constant of proportionality (f) termed the frictional coefficient, denoted as:

Diffusion Equation 
Where v represents the velocity in the x direction and NA is the Avogadro constant. Hence, we have:
Diffusion Equation 
or
Diffusion Equation 
where k is the Boltzmann constant and Cv is the flux (J).
Diffusion Equation 

When the temperature is maintained constant, the proportionality (kT/f) constant relies on the molecular quantity . This constant equates to the diffusion coefficient (D), which is a macroscopic quantity measurable through experimentation.

Diffusion Equation 

This is the one-dimensional form of Fick's first law.

Discretization

The diffusion equation is continuous in both space and time. One may discretize space, time, or both space and time, which arise in application. Discretizing time alone just corresponds to taking time slices of the continuous system, and no new phenomena arise. In discretizing space alone, the Green's function becomes the discrete Gaussian kernel, rather than the continuous Gaussian kernel. In discretizing both time and space, one obtains the random walk.

Discretization (image)

The product rule is used to rewrite the anisotropic tensor diffusion equation, in standard discretization schemes, because direct discretization of the diffusion equation with only first order spatial central differences leads to checkerboard artifacts. The rewritten diffusion equation used in image filtering:

Diffusion Equation 
where "tr" denotes the trace of the 2nd rank tensor, and superscript "T" denotes transpose, in which in image filtering D(ϕ, r) are symmetric matrices constructed from the eigenvectors of the image structure tensors. The spatial derivatives can then be approximated by two first order and a second order central finite differences. The resulting diffusion algorithm can be written as an image convolution with a varying kernel (stencil) of size 3 × 3 in 2D and 3 × 3 × 3 in 3D.

See also

References

Tags:

Diffusion Equation StatementDiffusion Equation Historical originDiffusion Equation DerivationDiffusion Equation DiscretizationDiffusion Equation Discretization (image)Diffusion Equation Further readingDiffusion EquationBiophysicsBrownian motionConvection–diffusion equationFick's laws of diffusionHeat equationInformation theoryMarkov processMaterials scienceParabolic partial differential equationRandom walk

🔥 Trending searches on Wiki English:

Tom CruiseDeaths in 2024Max VerstappenList of ethnic slursNaslen K. GafoorShōgun (2024 miniseries)Jamie VardyBarbara EdenList of Stanley Cup championsCecil Williams (pastor)Unit 731Selena GomezChernobyl disasterBlink TwiceLaureus World Sports Award for Sportsman of the YearInter Miami CFWinston ChurchillBillboard Global 200Angus CloudJillian MichaelsTesla, Inc.Leicester City F.C.Ruturaj GaikwadHozier2024 NFL draftList of Spotify streaming recordsMatt Ryan (American football)Inna Lillahi wa inna ilayhi raji'unLok SabhaList of highest-grossing Malayalam filmsGukesh DCrew (film)September 11 attacksCivil War (film)Fallout 3Chennai Super KingsLate Night with the DevilRiley KeoughLarry NassarAbigail (2024 film)Cillian MurphyTerence CrawfordBrooklynSouth AfricaGeri HalliwellErik ten HagEurovision Song Contest 2024Kobe BryantGlen PowellPornnappan PornpenpipatJake PaulGeorge W. BushOpinion polling for the 2024 Indian general electionArsenal F.C.2024 United States presidential electionKanye WestChris BrownThiago SilvaDune (franchise)The Tortured Poets DepartmentLana Del ReyHouse of the DragonNikola JokićX-Men '97Taylor Swift albums discographyKim Soo-hyunU.S. stateDerby della MadonninaBenjamin BrandQuavoMrBeastMurder of Junko FurutaJalen BrunsonConor McGregorDeclan RiceTaiwanSingapore🡆 More