ArticleslgStudy

mathematics

Diffusion equation

Diffusion equation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Diffusion equation rather than just read about it. In short: 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).

Key takeaways

  • Diffusion equation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Diffusion equation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Diffusion equation from memory before moving on to harder problems.

Reference excerpt

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: ∂ϕ(𝐫,t)∂t=∇⋅[D(ϕ,𝐫) ∇ϕ(𝐫,t)], 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: ∂ϕ(𝐫,t)∂t=∑i=13∑j=13∂∂xi[Dij(ϕ,𝐫)∂ϕ(𝐫,t)∂xj] The diffusion equation has numerous analytic solutions. If D is constant, then the equation reduces to the following linear parabolic partial differential equation:

∂ϕ(𝐫,t)∂t=D∇2ϕ(𝐫,t), 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: ∂ϕ∂t+∇⋅𝐣=0, 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: 𝐣=−D(ϕ,𝐫)∇ϕ(𝐫,t). If drift must be taken into account, the Fokker–Planck equation provides an appropriate generalization.

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 in image processing 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: ∂ϕ(𝐫,t)∂t=∇⋅[D(ϕ,𝐫)]∇ϕ(𝐫,t)+tr[D(ϕ,𝐫)(∇∇Tϕ(𝐫,t))] 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 Continuity equation Heat equation Self-similar solutions Reaction-diffusion equation Fokker–Planck equation Fick's laws of diffusion Maxwell–Stefan equation Radiative transfer equation and diffusion theory for photon transport in biological tissue Streamline diffusion Numerical solution of the convection–diffusion equation

References

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Diffusion equation

Start with the simplest possible case. Write down what Diffusion equation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Diffusion equation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Diffusion equation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Diffusion equation

In research
Diffusion equation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Diffusion equation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Diffusion equation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Diffusion, Functions of space and time, Parabolic partial differential equations, so understanding it makes those chapters shorter.
In everyday life
Look for Diffusion equation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Diffusion equation” →

How to study Diffusion equation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Diffusion equation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Diffusion equation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Diffusion equation in simple terms?

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).

Why does Diffusion equation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Diffusion equation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Diffusion equation.

Tags

  • Diffusion
  • Functions of space and time
  • Parabolic partial differential equations
  • Partial differential equations

Keep exploring