Heat Kernel and the Fundamental Solution of the Diffusion Equation
Release all the heat at a single point and a single instant, then step back and watch. What spreads out is the most important function in parabolic theory: the heat kernel, the Green's function of the diffusion equation . It is the elementary response of the medium — the answer to "what does a unit point source do?" — and because the equation is linear, that one answer builds every other by superposition. Convolve the kernel with any initial temperature, concentration, or probability profile and the Cauchy problem is solved in a single stroke. This article takes the free-space Gaussian and develops it into a complete object: its three independent derivations, its behaviour at boundaries, its limiting cases, and the surprisingly deep places it reappears. Three threads run through everything below. The first is self-similarity: the kernel has exactly one length scale, the diffusion length , and it simply rescales as time passes — the width grows as and the peak falls as , keeping the area fixed at one. The second is the semigroup structure: the blurring operators compose by adding times and have no inverse — the precise statement that diffusion smooths, forgets, and runs only forward. The third is analytic continuation: rotate time onto the imaginary axis and the same Gaussian becomes the free quantum propagator, tying the kernel to path integrals, Euclidean field theory, and — through its short-time trace — the spectral geometry that lets one almost hear the shape of a drum.
- The heat kernel is the fundamental solution of the diffusion equation: the field at later time from a unit point source released at when .
- It is a unit-area Gaussian whose width grows as , so the mean-square displacement is — the linear-in-time signature that distinguishes diffusion from ballistic wave spreading.
- Convolving the kernel with initial data solves the Cauchy problem, , and the kernel reproduces as (it is an approximate identity).
- The kernels form a semigroup, , generated by ; Wick-rotating turns it into the free Schrödinger propagator.
- On a bounded domain it becomes the spectral sum , whose short-time trace encodes the domain's volume, area, and curvature (Weyl asymptotics).
- Key idea: the fundamental solution is a self-similar Gaussian whose only length scale is the diffusion length ; convolving it with initial data solves any Cauchy problem, and the family is the smoothing semigroup generated by .
Where this lives today
The heat kernel is running inside working technology and open research right now. In machine vision and deep learning, Gaussian blurring is convolution with , and the "scale space" it generates underlies edge detection, scale-invariant feature matching, and the diffusion generative models that create images by reversing a noising process that is literally a discretized heat flow. In quantitative finance, the same Gaussian is the transition density behind the Black–Scholes equation, a heat equation in disguise. In quantum field theory, heat-kernel (Schwinger proper-time) regularization tames ultraviolet divergences and computes anomalies, while the spectral action builds Lagrangians directly from the short-time trace . And Kac's drum question has real teeth: Gordon, Webb, and Wolpert exhibited genuinely different domains with identical Laplacian spectra in 1992 (so the answer is "no, not always"), yet the heat-kernel coefficients still recover volume, boundary length, and topology — which is why the "heat kernel signature" is now a standard descriptor for matching and classifying 3D shapes.
The physical picture
Picture a droplet of dye released at one point of a perfectly still pool. Each dye molecule wanders by countless random collisions, and the probability of finding it a distance away after time is a bell curve that widens as . The heat kernel is that transition probability density; the macroscopic "flow" of dye or heat is nothing more than an enormous ensemble of these random walkers relaxing toward uniformity. There is no wind carrying them and no front sweeping outward — just a Gaussian that flattens and spreads while conserving its total. The first figure shows this spreading quantitatively for three successive times, and makes the self-similar bookkeeping visible: as the width doubles the peak halves, keeping the area pinned at one.
There is a second, equally useful way to see the same physics: in Fourier space. Each plane wave is an eigenfunction of the Laplacian with eigenvalue , so under diffusion it does nothing but decay, . Short-wavelength (large-) features die first, which is exactly why the heat equation turns jagged data into something smooth and analytic — and why running it backward is catastrophic, since those same modes would then blow up. The next figure turns the spreading into its cleanest quantitative fingerprint: the diffusion length grows sublinearly, so waiting four times as long only doubles the spread. That concave, front-less growth is the visual opposite of a wave, whose sharp front advances linearly as .
The core equations
The starting point is the diffusion equation itself, the canonical parabolic PDE. It says that the field changes in time at a rate set by its own curvature in space: where a profile is concave down (a hot bump) it cools, where it is concave up (a cold dip) it warms, and the rate is set by the single material constant .
where: — the diffusing field (temperature, concentration, or probability density); — diffusion constant, units ; — Laplacian in spatial dimensions. Reading it: the Laplacian is a local averaging operator, so the field is dragged toward the average of its neighbours at a rate set by . The heat kernel is defined as the causal Green's function of this operator — the response to a source that is a point in both space and time. Causality (the kernel vanishes before the source fires) picks out the physically forward-in-time solution and makes it unique.
where: — causal fundamental solution of the diffusion operator; — -dimensional Dirac delta (a unit point source in space); — the emission time. Reading it: constant coefficients make depend only on and , so we may set without loss. Solving that defining equation in free space (three independent ways, below) gives the Gaussian. This is the single formula the whole article orbits.
where: — number of spatial dimensions; — Euclidean source-to-field distance; the standard deviation per axis is and the diffusion length is . Reading it: the prefactor conserves total mass as the exponential widens, and collapses it to . The reason the kernel matters is that it solves every initial-value problem by a single integral: superpose the point-source responses weighted by the initial data and you have the field for all later times — the Poisson (convolution) formula.
where: — prescribed initial data ; — the solution for , equal to the convolution . Reading it: linearity plus the kernel's two properties (it solves the PDE, and ) guarantee this attains the data and evolves it correctly. Chaining two evolutions is the same as one longer evolution, because Gaussian variances add. This composition law — Chapman–Kolmogorov in probability, the semigroup property in analysis — is the algebraic heart of the object.
where: — successive evolution times whose variances and add to . Reading it: the operators form a one-parameter semigroup — closed under composition, no inverse; irreversibility written as algebra. Weight the kernel by and integrate, and you recover the defining kinematic signature of diffusion: the mean-square displacement grows linearly in time, with slope per axis.
where: — spatial dimension; per axis . Reading it: this is Einstein's Brownian-motion relation; linear growth (, not ) separates a random walk from ballistic motion. Finally, on a bounded or curved domain the free-space Gaussian is replaced by a spectral sum over the eigenfunctions of , each decaying at its own rate. The short-time behaviour of the trace of this sum then reads off the geometry of the domain.
where: — orthonormal eigenfunctions and eigenvalues of under self-adjoint boundary conditions (); — domain volume (Weyl's leading term); — geometric invariants (boundary area, integrated curvature). Reading it: the spectrum determines, and is partly determined by, the shape — the mathematics behind "hearing the shape of a drum".
The fastest honest route to the Gaussian is to diagonalize the Laplacian. Every plane wave is an eigenfunction of with eigenvalue , so the spatial Fourier transform turns the diffusion PDE into an uncoupled family of first-order ordinary differential equations, one per wavevector, each solved by a decaying exponential. Inverting the transform then reassembles the decayed modes into position space, and a single completed-square Gaussian integral delivers both the prefactor and the exponent with no guessing of the answer in advance. We do it in one dimension; the -dimensional kernel is the product of identical factors.
Step 1. Transform the defining equation (with source at the origin) over space, . The Laplacian becomes multiplication, , so the PDE collapses to the ODE . Why: the Fourier transform is precisely the change of basis in which is diagonal, converting a coupled spatial problem into independent evolution of each mode.
Step 2. Solve each mode with the point-source initial condition (the transform of is unity), giving . Why: a point source excites every wavenumber equally at , and thereafter each simply decays at its own rate — fast for short wavelengths, slow for long ones, which is the smoothing property in disguise.
Step 3. Invert the transform, . Why: superposing the decayed modes with their original phases rebuilds the position-space field; the integral is Gaussian in , which is what makes it doable in closed form.
Step 4. Complete the square in the exponent, , and use to obtain . Why: the shifted contour integral is a standard real Gaussian; taking the product of such one-dimensional factors gives the full kernel of equation (3). *Verified: substituting the Gaussian back into satisfies it identically; ; and as . Matches Arfken–Weber–Harris and Stone & Goldbart.*
Go deeper · Derivation B · 1 minThe similarity solution and why the exponent is universal
The heat equation hides a scaling symmetry: it is unchanged by together with , which forces its fundamental solution to depend on space and time only through the single dimensionless group . Feeding this self-similar ansatz into the PDE collapses a partial differential equation in two variables to an ordinary differential equation in alone, and the fact that every explicit factor of cancels is the tell-tale sign that the similarity variable was chosen correctly. This derivation needs no Fourier transform and shows why the profile must be a Gaussian rather than merely confirming that it is.
Step 1. Write the scaling ansatz with . Why: the prefactor is dictated by conservation — since a natural width scales as , the amplitude must fall as to keep constant, exactly the self-similar form the scaling symmetry permits.
Step 2. Substitute the derivatives and to get and . Why: expressing both sides of the PDE through the chain rule in is what exposes the common factor and lets time drop out entirely.
Step 3. Equate the two sides; the cancels and leaves the reduced ODE , which is exactly . Why: the total-derivative form is the gift of the correct similarity variable — it means the equation integrates once immediately, turning a second-order ODE into a first-order one.
Step 4. Integrate once to ; demanding decay as forces the constant , so and . Why: physical solutions must vanish far from the source, which kills the constant and selects the pure Gaussian branch out of the general solution.
Step 5. Fix by normalization: gives , hence . Why: conservation of total heat is the last physical input, and it pins the one free constant, reproducing the Fourier result from a completely independent argument. *Verified: the boxed 1D kernel solves by direct substitution and integrates to one; the ODE factorization is exact.*
Go deeper · Derivation C · 2 minHeat kernels on a boundary by the method of images
Real diffusion happens in domains with walls, and the free-space Gaussian must be corrected to respect them. When the boundary is a flat plane the fix is purely geometric: place a fictitious image source on the far side of the wall, choose its sign to enforce the boundary condition, and the superposition automatically solves the heat equation in the physical region while meeting the condition at the wall exactly, for all time. A minus sign builds the Dirichlet (perfectly absorbing) kernel; a plus sign builds the Neumann (perfectly insulating) one. We work the half-line with a source at .
Step 1. For the absorbing wall , add a negative image at : . Why: both terms individually satisfy the heat equation for because their singularities sit at , and a linear combination of solutions is again a solution — the image contributes no spurious source inside the domain.
Step 2. Check the wall: at , by the even symmetry of the Gaussian. Why: the two Gaussians are mirror images that coincide exactly on the boundary, so their difference cancels there identically at every instant — the Dirichlet condition holds not approximately but exactly.
Step 3. Check the start: as , for , since the image term concentrates at , outside the physical region. Why: only the true source lies in the domain, so the image leaves the initial condition untouched where it matters — the kernel still represents a unit source at .
Step 4. For the insulating wall , flip the sign: , whose -derivative vanishes at by odd symmetry of . Why: a no-flux boundary is the reflecting counterpart of an absorbing one, and adding rather than subtracting the image builds an even profile whose slope is automatically zero at the wall, conserving all the heat. *Verified: both and solve the PDE, satisfy their boundary conditions identically for all , and reduce to as ; standard in Arfken and Barton.*
Limiting cases
Reading the kernel in extreme regimes exposes what each factor is doing:
| Case | Result | Meaning |
|---|---|---|
| Short time | The Gaussian collapses to a delta: the kernel reproduces the initial data exactly and is the identity element of the semigroup at . | |
| Long time on | for all , yet pointwise | Total heat is conserved forever; the profile flattens toward zero everywhere without ever losing area — mass spreads to infinity, it does not vanish. |
| Imaginary time (Wick rotation) | With the kernel becomes the free Schrödinger propagator — same Gaussian shape, now oscillatory and unitary rather than decaying. | |
| Bounded domain, large | The lowest non-trivial eigenvalue sets the slowest relaxation; the system forgets its initial detail and settles to equilibrium at rate . |
Worked examples
1 · How far and how fast does a solute actually diffuse (fully worked)
A dye of diffusion constant (a typical small molecule in water) is released as a sharp point in one dimension. Find its spatial spread after 1 hour, the peak of its concentration profile, and how long it must wait to spread over 1 cm. Then use the answer to state the scaling law in one sentence.
Step 1. The standard deviation of the 1D kernel is . At , . So after a full hour the dye has spread only about — diffusion over macroscopic distances is astonishingly slow, which is exactly why life relies on stirring and blood flow rather than diffusion for bulk transport.
Step 2. The peak value (at ) is the prefactor (units of inverse length because the 1D kernel is a probability density per unit length). About of the total sits within , since — the ordinary Gaussian one-sigma rule.
Step 3. To spread over a half-width of we set and invert: . Compare with Step 1: the distance grew by a factor , but the time grew by .
Step 4. That is the whole story of diffusion in one line: because , covering times the distance costs times the wait — reaching 10 cm instead of 1 cm would take a hundredfold longer, roughly 58 days. Ballistic transport (a wave, a current) would cover ten times the distance in ten times the time; diffusion demands a hundred.
2 · The relaxation time of a heated rod (fully worked)
A copper rod of length (thermal diffusivity ) is held at fixed temperature at both ends (Dirichlet). After the ends are clamped, how long does it take an arbitrary initial temperature bump to relax toward the steady state?
Step 1. On with Dirichlet ends the Laplacian eigenfunctions are with eigenvalues . The spectral kernel (equation 7) evolves mode as , so every mode decays exponentially and the slowest one dominates at late times.
Step 2. The lowest eigenvalue is . Its decay rate is , so the relaxation (e-folding) time is
Step 3. Higher modes vanish far faster: the second mode has , so it decays four times as quickly, , and the -th mode as . After a few the rod's profile is essentially the single lowest sine mode, and it settles to equilibrium on that timescale. The scaling is the practical face of : double the rod and the relaxation time quadruples.
3 · From heat kernel to quantum propagator (Wick rotation)
Show that the free-particle Schrödinger propagator is the heat kernel continued to imaginary time, and check that the width scaling makes physical sense.
Step 1. Set so ; the 1D kernel is . Rotate : since , the exponent turns oscillatory, giving — exactly the standard free propagator.
Step 2. The real, decaying Gaussian has become complex and oscillatory. Diffusion dissipated probability irreversibly; the propagator redistributes it unitarily, and the smoothing semigroup has become a reversible unitary group — one sign in the exponent flips the arrow of time.
Step 3. Check the scale: the real kernel spreads as , so under a wavepacket delocalizes over — heavier particles spread more slowly, exactly the free Gaussian wavepacket of quantum mechanics. The same machinery governs a cooling rod and a spreading electron; only the reality of time differs.
Physics of the portrait
The heat kernel is one of those ideas that took two centuries and four disciplines to fully understand: born in Fourier's theory of heat, made physical by Einstein's account of Brownian motion, made rigorous by Wiener's measure on paths, and made geometric by Kac's playful question about drums.
Origins · 1 minheat kernel and how this was discovered
The heat kernel began as a computational trick and grew into a bridge between analysis, probability, geometry, and quantum physics. Joseph Fourier introduced the heat equation and the idea of building solutions by superposing elementary modes in his 1822 Théorie analytique de la chaleur; the Gaussian point-source solution is implicit there, though Fourier himself worked mostly with series on bounded intervals rather than the free-space kernel. The probabilistic meaning arrived with Einstein's 1905 analysis of Brownian motion, which identified the spreading Gaussian as the transition probability of a diffusing particle and gave — the relation Jean Perrin soon used to weigh atoms and pin down Avogadro's number. Norbert Wiener made it rigorous in 1923 by constructing Brownian motion as a genuine measure on continuous paths (the Wiener process), so the kernel became the density of an honest random object, not just a PDE solution. From there the story turned geometric: Minakshisundaram and Pleijel derived the short-time expansion of the kernel's trace on a curved manifold in 1949, reading volume, area, and curvature off its leading coefficients, and Mark Kac crystallized the circle of ideas in 1966 with "Can one hear the shape of a drum?" The same Gaussian, continued to imaginary time, is the free quantum propagator behind Feynman's path integral — one formula at the crossroads of Fourier analysis, statistical physics, spectral geometry, and quantum field theory.
Going further
Texts. Stone & Goldbart, Mathematics for Physics, chapters on Green's functions and PDEs · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Green's-function chapter · Hassani, Mathematical Physics, Green's-functions and PDE chapters · Barton, Elements of Green's Functions and Propagation · Vladimirov, Equations of Mathematical Physics; for the geometric and probabilistic sides, Kac's 1966 article "Can one hear the shape of a drum?" and Rosenberg, The Laplacian on a Riemannian Manifold.
Provenance. The free-space Gaussian, the similarity ODE , the normalization , and are verifiable in Stone & Goldbart, Arfken–Weber–Harris (7th ed.), and Hassani. A verifier should: (i) substitute the Gaussian into ; (ii) confirm the Gaussian integral ; (iii) check the image-kernel boundary cancellations and ; (iv) verify the Wick rotation reproduces the standard free propagator with . Worked numbers: solute gives at and to reach ; copper rod , gives . No non-standard constants are asserted.
Prerequisites. The Heat (Diffusion) Equation · Classification of Second-Order Linear PDEs · Boundary Conditions and Well-Posedness · Sturm–Liouville Theory and Eigenfunction Expansions · Separation of Variables in Cartesian Coordinates. Leads to. The Helmholtz Equation · Laplace's and Poisson's Equations · The Wave Equation · Method of Characteristics.
Ask the tutor: Ask me to spread a specific initial temperature or dye profile with the kernel, build the image kernel for your boundary, or Wick-rotate it into the quantum propagator step by step.
What exactly is a "fundamental solution", and how is it different from an ordinary solution?
A fundamental solution is the response of a linear differential operator to a point source — a Dirac delta in space (and, for a time-dependent problem, in time). For the diffusion operator that response is the heat kernel. Its power: once you know it you never solve the equation from scratch again, because any initial distribution is a superposition of point sources, so the solution is the same superposition of kernels — a convolution. An ordinary solution answers one initial-value problem; the fundamental solution answers all of them at once. This is why Green's functions are the organizing idea of linear PDE theory.
Why does the heat kernel have a √t width instead of growing linearly like a wave?
Because diffusion is a random walk, not a march. A walker taking independent steps has a displacement whose variance grows as (variances add), so the typical distance grows as — and since the step count is proportional to time, the spread grows as . A wave propagates coherently at fixed speed, so its front advances linearly as . The fingerprint is in the equations: the heat equation's one time derivative against two space derivatives forces by dimensional balance, whereas the wave equation's two time derivatives give .
Does the heat kernel really imply signals travel infinitely fast?
Within the pure diffusion equation, yes — and that is a genuine limitation of the model, not a paradox to explain away. The kernel is strictly positive everywhere for any , so a source is felt (exponentially faintly) arbitrarily far away immediately. This does not conflict with relativity: the heat equation is a coarse-grained approximation to an underlying microscopic dynamics (molecular collisions) that is causal. When infinite speed is unacceptable one upgrades to a hyperbolic heat equation (the Cattaneo equation), which adds a relaxation time and restores a finite propagation speed. For almost all laboratory and engineering purposes the parabolic model is superbly accurate, because the far tail carries negligible energy.
What is the semigroup property, and why can't I run diffusion backward?
Evolving for time then for time is identical to evolving once for : . The operators compose by adding time labels, exactly as Gaussian variances add. The word semigroup (not group) is the point: there is no inverse. Undoing a forward evolution would need a "negative-time" kernel, and the backward heat equation blows up its high-frequency modes as . Physically this is irreversibility — diffusion destroys information about fine initial structure, and no bounded operation recovers it.
How does the heat kernel encode the "shape" of a domain?
On a bounded domain the kernel is a sum over Laplacian eigenmodes, . Set , integrate to form the trace , and expand for small : the leading term is the volume over (Weyl's law), the next is proportional to boundary area, and further terms carry curvature and topology. So how fast heat initially escapes a point reads off the geometry — the meaning of "hearing the shape of a drum": the eigenvalue spectrum determines much, though as it turns out not quite all, of the shape.
When does the free-space Gaussian stop being the right kernel?
The Gaussian is exact only in infinite, homogeneous, isotropic space with constant . Three things break it. Boundaries: near a wall you add image sources (Dirichlet/Neumann) or, on a bounded domain, switch to the eigenfunction sum. Inhomogeneity or anisotropy: if varies in space or is a tensor, the kernel stays Gaussian-like locally but loses the simple isotropic form, and on a curved manifold it acquires Minakshisundaram–Pleijel curvature corrections. Nonlinearity or drift: an advection term or a state-dependent destroys the exact Gaussian entirely. In every case the free-space kernel remains the leading short-time, short-distance approximation, which is why it stays the right starting point.