Convolving bounded continuous initial data with the Gaussian kernel (4 pi k t)^{-1/2} exp(-x^2/4kt) solves the heat equation on the line, reproduces the data as t tends to 0, makes the solution positive everywhere at once, and bounds its m-th derivative by t^{-m/2}.
Definition(The heat equation and its kernel)AdaptedAdapted from Strauss (2008), §2.4, Eq. (1) p. 46 and Eq. (7) p. 49; Evans (2010), §2.3.1, p. 44
Fix a constant k>0, the diffusivity. The heat equation (or diffusion equation) on the line is
ut=kuxx,x∈R,t>0.
Its heat kernel is the function
S(x,t)=4πkt1e−x2/4kt,x∈R,t>0,
extended by S(x,t)=0 for t<0. For each fixed t>0, S(⋅,t) is the Gaussian probability density of mean 0 and variance 2kt.
The same function is called the source function, the propagator, the diffusion kernel, the Gaussian kernel, and the fundamental solution of the heat equation; (Strauss (2008), p. 50) lists these names together. Evans (Evans (2010), p. 44) takes k=1 and works in Rn, where the kernel is (4πt)−n/2e−∣x∣2/4t; the n=1 case of that formula is S with k=1. The normalising constant is fixed by the requirement ∫RS(x,t)dx=1.
Theorem(Solution of the initial-value problem)AdaptedAdapted from Evans (2010), §2.3.1, Thm 1, p. 45 and pp. 46–47; Strauss (2008), §2.4, Eq. (8), p. 49
Let k>0 and let g:R→R be continuous and bounded. Define
Equation.ut(x,t)=kuxx(x,t) for all x∈R and all t>0.
Initial data. For every x0∈R,
(x,t)→(x0,0)x∈R,t>0limu(x,t)=g(x0).
Hence setting u(x,0)=g(x) makes u continuous on R×[0,∞).
Averaging and infinite propagation speed.infRg≤u(x,t)≤supRg for all x and all t>0. If moreover g≥0 and g≡0, then u(x,t)>0 for everyx∈R and every t>0, however small.
Part 4 is the statement that the heat equation propagates disturbances at infinite speed: data supported in a small interval is felt everywhere immediately.
Idea of the proofOriginal
Everything comes from three properties of the Gaussian: it solves the equation, it has total integral 1, and for small t almost all of that integral sits in a tiny interval around the origin. The first two make u a weighted average of the initial values which satisfies the equation, once differentiation under the integral sign is justified; the third makes the weight concentrate at x0, so the average tends to g(x0). The one quantitative step is to split the integral into the part where g is within ε of g(x0) and the rest, and to show that the Gaussian gives the rest almost no weight.
ProofAdaptedAdapted from Evans (2010), Thm 1, pp. 45–46
Throughout, ∥g∥∞=supR∣g∣, which is finite because g is bounded.
Step 1: S solves the equation for t>0. Differentiating the explicit formula,
so kSxx=St. By translation invariance of the equation in x, the function (x,t)↦S(x−y,t) also solves it for each fixed y.
Step 2: unit mass. Substituting x=z4kt for fixed t>0,
∫−∞∞S(x,t)dx=π1∫−∞∞e−z2dz=1,
by the Gaussian integral∫e−z2dz=π. In particular the integral defining u converges absolutely, with ∣u∣≤∥g∥∞.
Step 3: smoothness and the equation (parts 1 and 2). Fix R>0 and 0<δ<T, and let Q=[−R,R]×[δ,T]. Each partial derivative ∂tj∂xmS(x,t) is Pj,m(x,1/t)S(x,t) for a polynomial Pj,m, as Step 1 illustrates; hence on Q there is a constant C with
because t≥δ bounds the negative powers of t and t≤T bounds the Gaussian from above. For ∣y∣≥2R we have ∣x−y∣≥∣y∣−R≥∣y∣/2, so the right-hand side is at most C(1+∣y∣2j+m)e−y2/16kT; for ∣y∣≤2R it is at most a constant. In both cases the bound is independent of (x,t)∈Q and integrable in y, and so is its product with the bounded function g. By differentiation under the integral sign, u has partial derivatives of every order on the interior of Q, obtained by differentiating S inside the integral. Since R, δ, T were arbitrary, u∈C∞(R×(0,∞)), which is part 1, and
ut−kuxx=∫−∞∞(St−kSxx)(x−y,t)g(y)dy=0
by Step 1, which is part 2.
Step 4: the initial data (part 3). Fix x0 and ε>0. Since g is continuous at x0, choose ρ>0 with
∣g(y)−g(x0)∣<εwhenever ∣y−x0∣<ρ.
Let ∣x−x0∣≤ρ/2 and t>0. By Step 2 we may subtract the constant g(x0) inside the integral:
u(x,t)−g(x0)=∫−∞∞S(x−y,t)(g(y)−g(x0))dy.
Split the integral at ∣y−x0∣=ρ and bound the two pieces separately.
Near piece. On ∣y−x0∣<ρ the integrand is at most εS(x−y,t) in absolute value, by the choice of ρ, and S>0, so by Step 2 this piece is at most ε in absolute value.
Far piece. On ∣y−x0∣≥ρ we use boundedness of g: the integrand is at most 2∥g∥∞S(x−y,t). Moreover ∣y−x∣≥∣y−x0∣−ρ/2≥21∣y−x0∣, so S(x−y,t)≤(4πkt)−1/2e−(y−x0)2/16kt. Substituting y−x0=z16kt,
∫∣y−x0∣≥ρS(x−y,t)dy≤π2∫∣z∣≥ρ/(4kt)e−z2dz,
and the right-hand side tends to 0 as t→0+, because the domain of integration shrinks to the empty set while the integrand is fixed and integrable. So there is τ>0, depending on ρ and ε but not on x, with far piece <ε for 0<t<τ.
Hence ∣u(x,t)−g(x0)∣<2ε whenever ∣x−x0∣≤ρ/2 and 0<t<τ, which is part 3.
Step 5: averaging and positivity (part 4). Since S(⋅,t)>0 and integrates to 1, the number u(x,t) is a weighted average of the values of g, so it lies between infg and supg. Suppose now g≥0 and g(y0)>0 for some y0. By continuity there are c>0 and an interval [a,b]∋y0 of positive length with g≥c on [a,b]. Then, for any x and any t>0,
u(x,t)≥c∫abS(x−y,t)dy>0,
because S(x−y,t)>0 for every y. □
Theorem(Smoothing)Original
Let g be continuous and bounded and let u be as above. For every integer m≥1 and every t>0,
where φ(z)=(2π)−1/2e−z2/2 is the standard Gaussian density. The first two constants are
γ1=π2=0.797884…,γ2=4φ(1)=πe8=0.967882…,
so that ∣ux∣≤∥g∥∞/πkt. No smoothness whatever is assumed of g: the bound involves only its supremum. It degrades as t→0+ and improves without limit as t grows.
ProofOriginal
Write σ=2kt, so that S(x,t)=σ−1φ(x/σ) by the definition of S. Differentiating m times in x,
∂xmS(x,t)=σ−(m+1)φ(m)(x/σ),
and substituting x=σz gives ∫∣∂xmS(x,t)∣dx=σ−mγm, which is finite because φ(m) is a polynomial times φ. Step 3 of the previous proof allows the derivative to be taken inside the integral, so
which is the claim. For the constants: φ′(z)=−zφ(z), so γ1=∫∣z∣φ(z)dz=2∫0∞zφ(z)dz=2φ(0)=2/π. Next φ′′(z)=(z2−1)φ(z), so ∣z2−1∣φ equals φ′′ on ∣z∣>1 and −φ′′ on ∣z∣<1; integrating each of the three pieces with φ′′=(φ′)′,
The theorem says the kernel works; it does not say how to find it. The books take three routes.
Dilation invariance. If u solves ut=kuxx, so does u(ax,at) for every a>0(Strauss (2008), property (e), p. 47). Strauss therefore first solves the equation with the step initial datum Q(x,0)=1 for x>0, 0 for x<0, which is itself dilation invariant, so Q can depend on x and t only through p=x/4kt; the equation becomes the ordinary differential equation g′′+2pg′=0, whose solution is an error function, and S=∂Q/∂x(Strauss (2008), Steps 1–4, pp. 47–49). Evans instead looks for a solution invariant under u(x,t)↦λαu(λβx,λt), finds β=1/2 and α=n/2 forced, and reduces to a radial ordinary differential equation (Evans (2010), pp. 43–44).
Fourier transform. With the convention f^(ξ)=∫f(x)e−2πixξdx used by Stein and Shakarchi (Stein & Shakarchi (2003), p. 146), transforming the equation in x turns it into ∂tu^=−4π2kξ2u^ for each fixed ξ, so u^(ξ,t)=g^(ξ)e−4π2kξ2t. The transform of a Gaussian is a Gaussian, so e−4π2kξ2t is itself the transform of a Gaussian in x; inverting it gives exactly S(⋅,t), whence u=g∗S by the convolution theorem. Stakgold and Holst (Stakgold & Holst (2011), Example 12, pp. 177–178) run the same computation with the convention f^(ω)=∫f(x)eiωxdx and with a delta source in time, obtaining H(t)(4πt)−1/2e−x2/4t for k=1 as the causal fundamental solution, the one vanishing for t<0; this is why S is defined to be 0 for t<0.
As a limit of data. Equivalently, S(⋅,t) is the solution whose initial datum is a unit point mass: S→δ0 as t→0+. Both Evans and Stakgold–Holst state the problem in this form, the first by writing Φ=δ0 at t=0(Evans (2010), p. 46), the second by noting that E solves the homogeneous equation with limt→0E(x,t)=δ(x)(Stakgold & Holst (2011), p. 178).
Remark(Where the hypotheses are used)Original
Boundedness of g is used twice in Step 4: to make the far piece small, and (through Step 2) to make the integral converge at all. It can be relaxed, but not freely: against the Gaussian weight e−(x−y)2/4kt, the datum g(y)=ey2 gives an integrand whose exponent has y2-coefficient 1−1/(4kt), so the integral converges for 0<t<1/4k and diverges for every t≥1/4k. A formula that stops existing after a finite time is no solution, which is why boundedness (or at least sub-Gaussian growth) is assumed from the start.
Continuity of g only at x0 is what Step 4 actually uses; boundedness is needed globally. So part 3 holds at every point of continuity of a bounded, piecewise-continuous datum, as the second example below shows. Parts 1 and 2, and the averaging bound infg≤u≤supg of part 4, need no continuity at all — only boundedness and measurability. The strict positivity in part 4 does use continuity, at one point where g>0: for the bounded g≥0 that is 1 at y=0 and 0 elsewhere, g≡0 but u≡0.
t>0 and k>0.S is defined only for t>0: at t=0 the formula is meaningless, as (Strauss (2008), p. 50) points out, and the solution is recovered there only as a limit. The sign of k matters: replacing t by −t turns the Gaussian into e+x2/4kt, which is not integrable, so the formula gives nothing backwards in time.
Positivity in part 4 cannot be upgraded to a bound on the speed of a signal. The value u(x,t) for ∣x∣ large is positive but exponentially small, of size e−x2/4kt; see the numbers in the second example. The wave equation behaves differently and does have a finite propagation speed (d'Alembert's formula).
The theorem produces a solution; it does not say that there is only one. Uniqueness needs a restriction on the growth of u. Stein and Shakarchi prove that if u is continuous on R×[0,∞), solves the heat equation for t>0, vanishes at t=0, and u(⋅,t) lies in the Schwartz class uniformly for 0<t<T in the sense that supx,0<t<T∣x∣j∣∂xℓu(x,t)∣<∞ for all j,ℓ≥0, then u≡0; the proof differentiates the energy ∫∣u∣2dx and shows that it decreases. For merely bounded solutions, uniqueness follows instead from the maximum principle.
Example(Gaussian initial data spread as a Gaussian)Original
Take g(x)=θ0e−x2/2a2, a bell of height θ0 and width a>0. The convolution of two Gaussians is Gaussian, and the variances add: the datum has variance a2, the kernel variance 2kt, so
u(x,t)=θ0a2+2ktaexp(−2(a2+2kt)x2).
Check that this solves the problem. Write w(t)=a2+2kt, so u=θ0aw−1/2e−x2/2w. Then ut=θ0ae−x2/2w(kx2w−5/2−kw−3/2) and uxx=(x2/w2−1/w)u, so ut=kuxx; and w(0)=a2 gives u(x,0)=g(x).
Numbers. With θ0=1, a=1 and k=1 (any consistent units), the width grows as 1+2t and the peak falls as 1/1+2t. At t=1.5 the variance is 1+3=4, so the peak has halved exactly: u(0,1.5)=1/2. The product (peak) × (width) is θ0a for all t, which is Step 2 again: ∫udx=∫gdx=θ0a2π is conserved.
Smoothing bound. Here ∥g∥∞=1 and supx∣ux∣=θ0aw−1e−1/2, attained at x=±w. At t=1.5, k=1 this is e−1/2/4=0.1516, comfortably under the general bound 1/πkt=0.4607 of the smoothing statement.
Example(A box of heat, and infinite propagation speed in numbers)Original
Let g=θ0 on [−L,L] and g=0 outside: a slab of hot material, initially at temperature θ0, placed in a cold line. This g is bounded and continuous except at x=±L, so parts 1, 2 and 4 of the theorem apply as stated and part 3 applies at every x0=±L, by the second item of the remark on hypotheses.
Substituting z=(y−x)/4kt in the solution formula and using erf(s)=π2∫0se−z2dz,
u(x,t)=2θ0[erf(4ktL−x)+erf(4ktL+x)].
Take θ0=1, L=1, k=1.
Centre.u(0,1)=erf(1/2)=0.520500: after a time L2/k the centre has cooled by nearly half.
Outside the slab.u(2,1)=21[erf(−1/2)+erf(3/2)]=0.222803.
Far outside.u(10,1)=21[erf(−9/2)+erf(11/2)]=9.83×10−11. It is positive, as part 4 demands, and utterly negligible: this is what infinite propagation speed amounts to in practice.
At the jump.u(L,t)=21[erf(0)+erf(L/kt)]→21 as t→0+, the average of the two one-sided limits of g — not g(L), whatever value we assign there. Part 3 genuinely fails at a jump.
Smoothing. Differentiating, ux(x,t)=(4πkt)−1/2[e−(L+x)2/4kt−e−(L−x)2/4kt]. At t=1 its largest absolute value is 0.20604, at x=±1.54340, against the bound ∥g∥∞/πkt=0.56419. The initial datum was not even continuous; a moment later the solution is C∞ with a derivative bounded by 0.57.
ApplicationOriginal
The diffusion length. Every use of the kernel in the laboratory is really a use of its width: after a time t, matter or heat initially at a point has spread over a distance of order 2kt (one standard deviation) or 4kt (the length appearing in the exponent). Turned around, the time to spread a distance ℓ is of order ℓ2/k, quadratic in the distance, which is why diffusion is fast over micrometres and hopeless over metres.
Molecules in water. A small molecule in water has D of order 10−5cm2/s. Spreading one standard deviation of 1cm takes t=ℓ2/2D≈5×104s, about 14 hours: unstirred solutions do not mix. Across a 10μm=10−3cm cell the same estimate gives 10−6/(2×10−5)=5×10−2s, which is why diffusion suffices inside a cell and circulation is needed between cells.
Heat in metal. Copper has thermal diffusivity of order 1.1cm2/s. Heat applied to one face of a 1cm plate is felt on the other in ℓ2/4k≈0.23s; for a stainless steel of diffusivity 0.04cm2/s the same thickness takes about 6s. This single number governs quench rates, soldering times and the thermal lag of furnace walls.
Probability. The kernel is the transition density of Brownian motion. Strauss states this as: the probability that a particle starting at x lies in (a,b) at time t is ∫abS(x−y,t)dy for some constant k, so that a concentration profile and a probability density obey the same equation (Strauss (2008), p. 51). He does not fix the constant; matching the kernel's variance 2kt against the convention in which the motion has variance σ2t gives k=σ2/2, half the diffusion coefficient in that normalisation. See Brownian motion and the Fokker-Planck equation.
Smoothing, and its reverse. The derivative bound ∣∂xmu∣≤γm∥g∥∞(2kt)−m/2 says that diffusion erases detail at a rate set by t−m/2: a feature of width λ in the data is invisible once 2kt≫λ. Recovering the data from a later profile therefore amplifies small errors without bound, which is the reason inverse heat-conduction problems (inferring a surface temperature history from an interior measurement) must be regularised.
The kernel is also the building block for the inhomogeneous problem and for bounded domains: convolving it in time against a source gives Duhamel's formula (Green's functions for the wave and heat equations), and reflecting it in a boundary gives the kernel of a half-line or an interval (diffusion in bounded domains).
A solution of the heat equation in a bounded space-time cylinder takes its largest and smallest values on the initial slice or the lateral boundary, which gives uniqueness and a quantitative stability bound for the initial-boundary-value problem without solving it.
Definition(Parabolic cylinder and parabolic boundary)AdaptedAdapted from Evans (2010), §2.3.2, pp. 49–50; Stakgold & Holst (2011), §8.2, Fig. 8.8, p. 483
Let U⊂Rn be open and bounded and let T>0. The parabolic cylinder is
Ω=U×(0,T],
which contains its top face U×{t=T} but no part of the lateral surface. Its closure is Ω=U×[0,T], and the parabolic boundary is what the closure adds:
Γ=Ω∖Ω=(U×{t=0})∪(∂U×(0,T]),
the bottom together with the lateral sides. Evans (Evans (2010), pp. 49–50) writes UT and ΓT for these and stresses that UT includes the top. For n=1 and U=(0,ℓ) the picture is a rectangle in the (x,t) plane whose parabolic boundary is its bottom edge and its two vertical edges, the top edge excluded; this is the setting of Strauss (Strauss (2008), §2.3, p. 42).
A function u is a subsolution of the heat equation with diffusivity k>0 on Ω if u is continuous on Ω, has continuous ut and second spatial derivatives in Ω (the derivative in t at t=T being the left derivative), and satisfies
ut−kΔu≤0in Ω.
Physically ut−kΔu is the rate at which heat is being supplied, so a subsolution is one with no interior source.
Let U⊂Rn be open and bounded, T>0, k>0, and let u be a subsolution of the heat equation on Ω=U×(0,T]. If u≤M on the parabolic boundary Γ, then u≤M on all of Ω. Equivalently,
Ωmaxu=Γmaxu.
Applying this to −u: if ut−kΔu≥0 in Ω and u≥m on Γ, then u≥m on Ω.
The three sources state this result with different generality, and the version above is the one followed from Stakgold and Holst (Stakgold & Holst (2011), Thm 8.2.1, p. 484): a differential inequality, in n space dimensions, on a parabolic domain. Their constant is k=1; the diffusivity is carried along here, which changes nothing in the argument. Strauss (Strauss (2008), p. 42) states the equation case in one dimension on a rectangle, with the diffusivity k. Evans (Evans (2010), Thm 4, pp. 52–53) proves the sharper strong maximum principle, also for the equation: if a solution attains its maximum over UT at a point (x0,t0) of UT and U is connected, then u is constant on Ut0, that is, at all earlier times. Strauss remarks that the strong version is considerably harder to prove and refers the reader to Protter and Weinberger (Strauss (2008), p. 43); Evans derives it from a mean-value property over "heat balls" (Evans (2010), Thm 3, p. 50). Nothing below uses the strong form.
Idea of the proofOriginal
At an interior maximum of a function of x alone, calculus gives Δu≤0; at an interior maximum in t, ut=0. Together these say ut−kΔu≥0, which just fails to contradict ut−kΔu≤0: the inequality is not strict, so the maximum could sit inside. The repair is to add a small bump that makes the inequality strict, v=u+ε∣x∣2, whose Laplacian is larger than u's by the fixed amount 2nε. For v the contradiction is real, so v has no interior maximum; then let ε→0. The top face needs separate attention, because a maximum there is one-sided in t and gives only ut≥0 — which is still the wrong sign for the contradiction, so the argument survives.
Step 1: a strict subsolution has no maximum in Ω. Suppose v is continuous on Ω, has the required derivatives in Ω, and satisfies the strict inequality vt−kΔv<0 there. Assume, for contradiction, that v attains its maximum over the compact set Ω at a point P=(x0,t0)∈Ω, so that x0∈U and 0<t0≤T.
Space. Since U is open, x0 is an interior maximum of the function x↦v(x,t0) on U. Hence for each i the function of one variable s↦v(x0+sei,t0) has an interior maximum at s=0, so its second derivative there is ≤0: that is, ∂2v/∂xi2≤0 at P. Summing, Δv(P)≤0.
Time. If t0<T, then t↦v(x0,t) has an interior maximum at t0, so vt(P)=0. If t0=T, the maximum is one-sided: v(x0,T)≥v(x0,T−δ) for small δ>0, so the difference quotients (v(x0,T)−v(x0,T−δ))/δ are ≥0 and their limit, the left derivative vt(P), satisfies vt(P)≥0.
In both cases vt(P)≥0≥kΔv(P), using k>0 in the second inequality, so vt(P)−kΔv(P)≥0. This contradicts the strict inequality. Hence the maximum of v over Ω is attained only on Γ.
Step 2: from ≤ to <. Let u be as in the statement and let ε>0. Because U is bounded, there is a>0 with ∣x∣≤a for all x∈U. Put
v(x,t)=u(x,t)+ε∣x∣2.
Then vt=ut, while Δ∣x∣2=2n, so Δv=Δu+2nε and
vt−kΔv=(ut−kΔu)−2nkε≤−2nkε<0,
where the first inequality is the hypothesis on u and the second needs k>0 and ε>0. So Step 1 applies to v.
Step 3: conclusion. For any (x,t)∈Ω,
u(x,t)≤v(x,t)≤Γmaxv≤Γmaxu+εa2≤M+εa2,
the first step because ε∣x∣2≥0, the second by Step 2 and Step 1, the third because ∣x∣≤a on Γ, the fourth by hypothesis. The left-hand side does not depend on ε, so letting ε→0+ gives u(x,t)≤M. Since Γ⊂Ω, taking M=maxΓu gives the displayed equality of maxima. □
Theorem(Comparison, uniqueness and stability)AdaptedAdapted from Stakgold & Holst (2011), §8.2, Thms 8.2.2–8.2.5, pp. 485–486; Strauss (2008), §2.3, uniqueness p. 44 and Eq. (6) p. 45
Let U, T, k, Ω, Γ be as above, and let all functions named be continuous on Ω with continuous ut and second spatial derivatives in Ω.
Two-sided bound. If ut=kΔu in Ω and m≤u≤M on Γ, then m≤u≤M throughout Ω.
Comparison. If ut−kΔu≤vt−kΔv in Ω and u≤v on Γ, then u≤v throughout Ω.
Uniqueness. For given f on Ω and g on Γ there is at most one u with
ut−kΔu=f in Ω,u=g on Γ.
Stability. Let u1,u2 satisfy ∂tui−kΔui=fi in Ω, and suppose
∣f1−f2∣≤α in Ω,∣u1−u2∣≤β on Γ.
Then ∣u1−u2∣≤αT+β throughout Ω. In particular, for the same source (α=0) the solution never departs from its data by more than the data departed: maxΩ∣u1−u2∣≤maxΓ∣u1−u2∣.
ProofAdaptedAdapted from Stakgold & Holst (2011), §8.2, proofs of Thms 8.2.3–8.2.5, pp. 485–486
Each part reduces to the maximum principle applied to a suitable combination.
The principle gives u≤M; applied to −u, which satisfies (−u)t−kΔ(−u)=0≤0 and −u≤−m on Γ, it gives −u≤−m, that is, u≥m.
Let w=u−v. Then wt−kΔw≤0 in Ω by hypothesis, so w is a subsolution, and w≤0 on Γ. The principle with M=0 gives w≤0 on Ω.
If u1 and u2 both solve the problem, then each of the hypotheses of part 2 holds with (u,v)=(u1,u2) and also with (u,v)=(u2,u1), since the two differential expressions are equal and the two boundary functions are equal. Hence u1≤u2 and u2≤u1.
Let w=u1−u2, so that wt−kΔw=f1−f2 in Ω and ∣w∣≤β on Γ. Put
z(x,t)=w(x,t)−αt−β.
Then zt−kΔz=(f1−f2)−α≤0 in Ω, using the bound on f1−f2; and on Γ we have z≤β−αt−β≤0, using ∣w∣≤β and α,t≥0. By the maximum principle z≤0 on Ω, that is, w≤αt+β≤αT+β. Repeating the argument with −w in place of w (which satisfies the same two bounds) gives −w≤αT+β. □
Remark(Where the hypotheses are used)Original
U bounded is used twice: to know that the continuous function u attains a maximum on the compact set Ω at all, and in Step 3 to bound ε∣x∣2 by εa2 uniformly. On an unbounded domain the conclusion is false without a growth restriction; see the note below.
k>0 enters in Step 1 (to turn Δv≤0 into kΔv≤0) and in Step 2 (to make −2nkε negative). It cannot be dropped: for the backward equation ut=−kuxx on 0≤x≤1, the function u(x,t)=eπ2ktsinπx is a solution which vanishes on the two lateral sides and has u≤1 at t=0, yet u(21,T)=eπ2kT, which exceeds every bound as T grows. The example also shows why Γ must contain the bottom and not the top: for the backward equation the natural data sit on the top.
The top face belongs to Ω, not to Γ. This is the only delicate point of Step 1, and it works because a one-sided maximum in t gives vt≥0, which has the same sign as the two-sided conclusion vt=0 needs. Consequently the principle, applied for every T, bounds the solution for all time by its initial and lateral data.
Only an inequality is assumed. Nothing in the proof uses ut=kΔu. This is what makes the comparison and stability statements cheap: each is obtained by feeding an explicitly built subsolution, such as w−αt−β, into the same theorem.
The conclusion does not say the maximum is attained only on Γ. A solution with constant data is constant, and its maximum is attained everywhere. Stakgold and Holst (Stakgold & Holst (2011), Remark, p. 485) note that constant initial and boundary values up to the time of an interior extremum are the only way this can happen; that sharper statement is the strong maximum principle.
NoteAdaptedAdapted from Evans (2010), §2.3.3, Thm 6, pp. 55–56
On the whole space the principle needs a growth hypothesis. Evans proves that if u is continuous on Rn×[0,T], solves the heat equation (with k=1) in Rn×(0,T), equals g at t=0, and satisfies
u(x,t)≤Aea∣x∣2(x∈Rn,0≤t≤T)
for some constants A,a>0, then supRn×[0,T]u=supRng; uniqueness for the Cauchy problem follows for solutions obeying the two-sided version of that bound (Evans (2010), Thms 6 and 7, pp. 55–56). The proof compares u with the explicit solutions μ(T+ε−t)−n/2e∣x−y∣2/4(T+ε−t) on large balls, and the restriction 4aT<1 it needs is removed by stepping through short time intervals. The solution built in the heat kernel is bounded, hence covered.
Example(A decaying mode on top of a steady state)Original
Take n=1, U=(0,1), k=1, and
u(x,t)=x+21e−π2tsin(πx).
It is a solution.ut=−2π2e−π2tsinπx and uxx=−2π2e−π2tsinπx, since x is annihilated by ∂xx; so ut=uxx everywhere, and u is continuous on Ω for any T.
Its data. On the lateral sides u(0,t)=0 and u(1,t)=1; on the bottom u(x,0)=x+21sinπx.
The maximum over Γ. The bottom profile has derivative 1+2πcosπx, which vanishes where cosπx=−2/π, that is at
x∗=π1arccos(−2/π)=0.7196679…,
and there sinπx∗=1−4/π2, so the bottom maximum is
M=x∗+211−4/π2=1.1052568…
The lateral values 0 and 1 are smaller, so maxΓu=M=1.10526 and minΓu=0.
The theorem's prediction, checked. Part 1 says 0≤u≤1.10526 in the whole rectangle, for every T. Directly: u≥0 because both terms are non-negative on [0,1], and maxxu(x,t) decreases from 1.10526 at t=0 to 1.04163 at t=0.02. Beyond t∗=π−2ln(π/2)=0.045755… it equals exactly 1, attained at the end x=1: indeed ux=1+2πe−π2tcosπx≥1−2πe−π2t, which is non-negative precisely for t≥t∗, so from then on u increases in x. The maximum over the closed rectangle is therefore attained only at t=0, as the strong principle would also predict. Note that u is not monotone in x at early times, and its maximum over Γ is attained at an interior point of the bottom edge: the principle locates the maximum on the parabolic boundary, not at a corner.
Stability in numbers. Let u~ solve the same equation with the initial profile changed by at most β=10−2 and the same lateral data. Part 4 with α=0 gives ∣u−u~∣≤10−2 for all x and all t, with no computation of u~. If instead a source of size at most α=0.1 is switched on, then over T=2 the two solutions can differ by at most αT+β=0.21.
What fails for the backward equation. The function v(x,t)=eπ2tsinπx solves vt=−vxx with v=0 on both lateral sides and v≤1 at t=0; but v(21,0.1)=e0.1π2=2.6831, nearly three times the bound its parabolic data would suggest. Running diffusion backwards is a different business, and the principle genuinely needs k>0.
ApplicationOriginal
Bounds before solutions. The principle is the cheapest tool in the subject: it bounds a solution using only the data, with no formula, no series and no mesh. If a reactor wall starts between 20∘ and 300∘C and its two faces are held in that range, the interior stays in that range for ever, whatever the geometry. If a diffusing concentration is non-negative initially and at the boundary, and there are no sinks, it stays non-negative — which is what makes a concentration a concentration. For a model with a source f, part 4 converts an uncertainty α in the source and β in the data into the guaranteed error bar αT+β on the answer, a model-validation statement that holds before any numerics.
Comparison with explicit barriers. Part 2 is used by choosing v to be something one can write down. To show that a temperature in a cooled body decays at least exponentially, compare it with a multiple of the slowest decaying mode; to bound a reaction-diffusion solution, compare it with the solution of the ordinary differential equation obtained by deleting the Laplacian, which is a subsolution or supersolution according to the sign of the reaction term (see advection, diffusion and reaction).
Numerical schemes that cannot overshoot. Discretise ut=kuxx on a grid xj=jΔx, tn=nΔt by the explicit scheme
Ujn+1=λUj−1n+(1−2λ)Ujn+λUj+1n,λ=Δx2kΔt.
The three weights sum to 1, and they are all non-negative exactly when λ≤21. In that case each new value is a weighted average of three old ones, so minjUjn≤Ujn+1≤maxjUjn: the scheme obeys a discrete maximum principle and can never manufacture a temperature outside the range of the data. For λ>21 the middle weight is negative and the computed solution oscillates with growing amplitude. This is the same threshold that von Neumann's Fourier analysis of the scheme produces, reached here without any Fourier analysis. For copper, k≈1.1cm2/s, a 1mm grid forces Δt≤Δx2/2k=4.5×10−3s. See finite differences and von Neumann stability.
Uniqueness as a licence. Part 3 is what allows the separation-of-variables series, the Green's-function integral and the finite-element approximation to be called "the" solution and compared with each other: any two of them that satisfy the same initial and boundary conditions must agree (see diffusion in bounded domains).
How to solve the heat equation on an interval by separating variables: the eigenvalue problem set by the boundary condition, the exponentially decaying modes it produces, the rate at which the solution settles to its equilibrium, and two ways to handle boundary data that are not zero.
Definition(The initial-boundary-value problem and its eigenvalue problem)AdaptedAdapted from Strauss (2008), §4.1, Eqs. (13)–(16), p. 87; Strauss (2008), §4.2, Eq. (1), p. 89
On an interval 0<x<ℓ with diffusivity k>0 we consider
ut=kuxx(0<x<ℓ,t>0),u(x,0)=φ(x),
together with one boundary condition at each end. The three standard homogeneous choices are
Dirichlet (ends held at the reference value): u(0,t)=u(ℓ,t)=0;
Neumann (ends insulated, no flux): ux(0,t)=ux(ℓ,t)=0;
mixed: one of each, for instance u(0,t)=ux(ℓ,t)=0.
A separated solution is one of the form u=X(x)T(t). Substituting and dividing by kXT gives
kTT′=XX′′=−λ,
a quantity that depends on neither x nor t and so is a constant. Hence T′=−λkT, so T(t)=e−λkt up to a factor, and X solves the eigenvalue problem
−X′′=λXon (0,ℓ),plus the boundary condition.
A number λ for which this has a solution X≡0 is an eigenvalue and such an X an eigenfunction; Strauss (Strauss (2008), p. 88) notes that physicists and engineers call the eigenfunctions normal modes, since they are the shapes that persist for all time, decaying as a whole. We write λn, Xn for them.
Method(The modes of an interval)AdaptedAdapted from Strauss (2008), §4.1, Eq. (8), p. 85 and the eigenvalue terminology, p. 88; Strauss (2008), §4.2, Eqs. (2)–(4), p. 90 and Eq. (10), p. 91
For −X′′=λX on (0,ℓ):
condition
eigenvalues λn
eigenfunctions Xn(x)
X(0)=X(ℓ)=0
(nπ/ℓ)2, n=1,2,…
sin(nπx/ℓ)
X′(0)=X′(ℓ)=0
(nπ/ℓ)2, n=0,1,2,…
cos(nπx/ℓ)
X(0)=X′(ℓ)=0
((n+21)π/ℓ)2, n=0,1,2,…
sin((n+21)πx/ℓ)
In each case these are all the eigenvalues, including complex ones. The Dirichlet eigenvalues are strictly positive; the Neumann list contains λ0=0, whose eigenfunction is any constant, and its smallest positive eigenvalue is (π/ℓ)2. There are infinitely many of them, in contrast with an N×N matrix, which has at most N(Strauss (2008), p. 88).
NoteAdaptedAdapted from Strauss (2008), §4.1, p. 88; Strauss (2008), §4.2, p. 90 and Eq. (10), p. 91 with Exercises 1–2, p. 92
Strauss proves the Dirichlet claim by hand: λ=0 would force X=C+Dx with C=D=0; λ=−γ2<0 would force Dsinhγℓ=0 with sinhγℓ=0; and for complex λ, writing X=Ceγx+De−γx with γ2=−λ, the two boundary conditions give e2γℓ=1, hence γ=nπi/ℓ and λ=n2π2/ℓ2(Strauss (2008), p. 88). For the Neumann problem he verifies the positive eigenvalues and λ=0 directly and states that the exclusion of negative and complex λ goes the same way (Strauss (2008), p. 90). For the mixed case he gives the eigenvalues (n+21)2π2/ℓ2 and the eigenfunctions outright at Eq. (10) (Strauss (2008), p. 91), leaving only their derivation to Exercises 1–2 (Strauss (2008), p. 92). The general reason behind all three is that −d2/dx2 with any of these conditions is self-adjoint and non-negative, which is the subject of Sturm-Liouville theory.
Method(Separation of variables, homogeneous boundary data)AdaptedAdapted from Strauss (2008), §4.1, pp. 87–88; Strauss (2008), §4.2, Eqs. (5)–(6), p. 90
Find the modes. Solve −X′′=λX with the given boundary condition, obtaining λn and Xn from the table.
Attach the time factors. Each Xn(x)e−λnkt solves the equation and the boundary conditions. Write the candidate solution as the superposition
u(x,t)=n∑Ane−λnktXn(x).
Match the initial data. Setting t=0 requires φ=∑nAnXn, so the An are the eigenfunction coefficients of φ (eigenfunction expansions). For the interval these are Fourier sine or cosine coefficients:
An=ℓ2∫0ℓφ(x)sinℓnπxdx(Dirichlet),An=ℓ2∫0ℓφ(x)cosℓnπxdx(Neumann),
the Neumann series being written u=21A0+∑n≥1Ane−λnktcos(nπx/ℓ) so that the same formula gives A0.
Read off the long-time behaviour. The slowest-decaying mode dominates. Under Dirichlet conditions every λn>0, so u→0 at the rate e−λ1kt with λ1=(π/ℓ)2. Under Neumann conditions the n=0 mode does not decay, so u→21A0=ℓ1∫0ℓφ, the average of the initial data: nothing escapes through an insulated end, so the substance spreads out uniformly.
Check. Verify the series term by term against the equation and the boundary conditions, and bound the answer with the maximum principle, which also guarantees that no second solution continuous on the closed rectangle [0,ℓ]×[0,T] takes the same initial and boundary values.
Method(The series is a solution, and how fast it decays)Original
Let k>0, ℓ>0, let φ be square-integrable on (0,ℓ), let An be its sine coefficients and λn=(nπ/ℓ)2, and put
u(x,t)=n=1∑∞Ane−λnktsinℓnπx,t>0.
Then:
The series, and the series obtained by differentiating it term by term any number of times in x and t, converge absolutely and uniformly on [0,ℓ]×[δ,∞) for every δ>0. Hence u is infinitely differentiable on [0,ℓ]×(0,∞).
ut=kuxx for 0<x<ℓ, t>0, and u(0,t)=u(ℓ,t)=0 for every t>0.
∥u(⋅,t)−φ∥L2(0,ℓ)→0 as t→0+.
∥u(⋅,t)∥L2(0,ℓ)≤e−λ1kt∥φ∥L2(0,ℓ) for all t>0, with λ1=(π/ℓ)2. The relaxation time is therefore
τ=λ1k1=π2kℓ2.
The same statements hold for the cosine series under Neumann conditions, with part 4 applied to u−21A0 and φ−21A0, the first positive Neumann eigenvalue again being (π/ℓ)2.
Idea of the proofOriginal
Everything rests on the factor e−λnkt=e−(nπ/ℓ)2kt. For any fixed positive time it beats every power of n, so differentiating the series as often as one likes, which multiplies the n-th term by a power of n, cannot stop it converging uniformly. That makes term-by-term differentiation legal for t>0, and then each term does the work. At t=0 the factor is 1 and this argument collapses, which is why the initial condition is recovered only in the mean-square sense, from Parseval's identity rather than from any smoothness. The decay rate is Parseval again: every coefficient is multiplied by at most e−λ1kt.
ProofOriginal
Write Sn(x)=sin(nπx/ℓ) and c=kδ.
Step 1 (the coefficients are bounded). By Parseval's identity for the sine system on (0,ℓ) (eigenfunction expansions),
2ℓn≥1∑An2=∫0ℓφ2dx<∞,
so An→0; in particular ∣An∣≤C for all n, with C=supn∣An∣.
Step 2 (uniform convergence of every derived series). Differentiating the n-th term j times in t and m times in x multiplies it by (−λnk)j and by (nπ/ℓ)m up to replacing the sine by a cosine, so for t≥δ its absolute value is at most
C(kπ2/ℓ2)j(π/ℓ)mn2j+me−cn2π2/ℓ2,
using ∣An∣≤C from Step 1 and e−λnkt≤e−λnc from t≥δ. The numbers npe−cn2π2/ℓ2 are summable for every fixed p, because npe−an2≤npe−an for n≥1 and a>0. So each derived series is dominated by a convergent series of constants, hence converges absolutely and uniformly on [0,ℓ]×[δ,∞) (uniform convergence). The three hypotheses of the term-by-term differentiation theorem are therefore met in each variable separately on every closed interval inside that region — the series converges uniformly, each term is continuously differentiable, and the differentiated series converges uniformly — so the series may be differentiated term by term, once in each variable and then, by the same argument applied to the differentiated series, as often as one likes. Hence u is C∞ on [0,ℓ]×(δ,∞); as δ>0 was arbitrary, part 1 follows.
Step 3 (equation and boundary conditions). By Step 2 we may compute
ut−kuxx=n≥1∑An[(−λnk)+kλn]e−λnktSn(x)=0,
because −Sn′′=λnSn by the choice of λn. Each Sn vanishes at x=0 and x=ℓ, and the series converges uniformly up to those endpoints for t≥δ, so u(0,t)=u(ℓ,t)=0. This is part 2.
Step 4 (the initial data, in mean square). By Parseval again, applied to the function u(⋅,t)−φ whose n-th sine coefficient is An(e−λnkt−1),
∥u(⋅,t)−φ∥L22=2ℓn≥1∑An2(1−e−λnkt)2.
Let ε>0. Choose N with 2ℓ∑n>NAn2<ε/2, possible by Step 1; the tail of the sum above is then <ε/2 as well, since 0≤1−e−λnkt≤1. The remaining finite sum has at most N terms, each tending to 0 as t→0+, so it is <ε/2 for t small. This is part 3.
Step 5 (decay). Since λ1≤λn for all n and k,t>0, we have e−λnkt≤e−λ1kt, so
which is part 4. For the Neumann case, replace the sine system by the cosine system; Parseval reads ∫0ℓf2=ℓ(A0/2)2+2ℓ∑n≥1An2, the n=0 term is unaffected by the time factor e−λ0kt=1, and the estimate above applies to the remaining terms, whose eigenvalues are all at least (π/ℓ)2. □
Remark(Where the hypotheses are used, and two warnings)Original
Only square-integrability of φ is used, through Step 1. No continuity, and certainly no compatibility with the boundary conditions, is needed: the solution is smooth for every t>0 regardless, which is the smoothing already seen in the heat kernel.
t≥δ>0 is essential in Step 2, and so part 1 says nothing at t=0. If φ is continuous with φ(0)=φ(ℓ)=0 and piecewise C1, its sine series converges uniformly and then u→φ uniformly as well; without such a hypothesis part 3 is all that is available.
k>0 again. Reversing the sign of k turns every factor e−λnkt into e+λn∣k∣t, and the series diverges for every t>0 unless the coefficients decay faster than every exponential. Backwards diffusion on an interval is as ill-posed as on the line.
Uniqueness is not part of the construction. It comes from the maximum principle, which also gives the bound min{0,infφ}≤u≤max{0,supφ} under Dirichlet conditions — a useful check on a truncated series, which can oscillate. Both need more than this statement supplies: the principle is about functions continuous on the closed rectangle [0,ℓ]×[0,T] with finite data, so it applies when φ is bounded with φ(0)=φ(ℓ)=0 and u extends continuously to t=0, as in the previous bullet, and not to a merely square-integrable φ, for which infφ and supφ may be infinite and u need have no limit at t=0 at each point.
Term-by-term differentiation at the boundary.Strauss (Strauss (2008), §5.6, p. 147) makes this a cautionary tale: with inhomogeneous boundary data, inserting the sine series into the equation and differentiating twice term by term yields un′+kλnun=0, which cannot meet the boundary data at all, and he draws the moral that the differentiation step is the illegal one. The correct version is in the next method.
Method(Inhomogeneous boundary data)AdaptedAdapted from Strauss (2008), §5.6, Method of shifting the data, pp. 149–150; Strauss (2008), §5.6, Expansion method, Eqs. (2)–(10), pp. 147–148
Now let the ends be driven:
ut=kuxx,u(0,t)=h(t),u(ℓ,t)=j(t),u(x,0)=φ(x).
No separated solution can satisfy these boundary conditions, so one of two routes is needed.
Route A: shift the data. Subtract any known function that meets the boundary conditions. With
uˉ(x,t)=(1−ℓx)h(t)+ℓxj(t),
the difference v=u−uˉ has homogeneous Dirichlet conditions, initial data φ−uˉ(⋅,0), and the source term −(uˉt−kuˉxx)=−uˉt on the right-hand side. When h and j are constants this is the best possible choice: uˉ is then the steady state, uˉt=0, and v solves the homogeneous problem of the previous method exactly. The physical reading is that the solution is the equilibrium profile plus a transient that dies at the rate e−t/τ, τ=ℓ2/π2k.
Route B: expand, and keep the boundary terms. Expand the unknown itself, u(x,t)=∑n≥1un(t)sin(nπx/ℓ) with un(t)=ℓ2∫0ℓu(x,t)sin(nπx/ℓ)dx, and differentiate under the integral sign rather than term by term. Then un′=ℓ2∫0ℓutSndx=ℓ2k∫0ℓuxxSndx, and integrating by parts twice, with Sn(0)=Sn(ℓ)=0 and Sn′(0)=nπ/ℓ, Sn′(ℓ)=(−1)nnπ/ℓ:
Route B needs no guess and handles time-dependent data directly; Route A is quicker whenever the data are steady or share a single time dependence, for instance h=Hcosωt, j=Jcosωt, when one looks for uˉ=u0(x)cosωt(Strauss (2008), p. 150).
Example(A Dirichlet transient, with numbers)Original
Take ℓ=1, k=1, Dirichlet ends, and φ(x)=x(1−x).
Coefficients.An=2∫01x(1−x)sin(nπx)dx=n3π34(1−(−1)n), which is 8/(n3π3) for odd n and 0 for even n — as it must be, since φ is symmetric about x=21 and the even modes are antisymmetric.
Solution.u(x,t)=n odd∑n3π38e−n2π2tsin(nπx).
Numbers at the midpoint.u(21,0)=41. At t=0.1 the series gives u(21,0.1)=0.0961619, of which the first mode alone contributes π38e−π2/10=0.0961632: after one relaxation time the higher modes have gone, the error from truncating after one term being 1.3×10−6. At t=0.5, u(21,0.5)=0.00185559.
Decay bound, checked. Here ∥φ∥L2=1/30=0.1825742 and λ1=π2. Part 4 of the statement predicts ∥u(⋅,0.1)∥L2≤e−π2/10/30=0.0680468; the actual value from Parseval is 0.0679976, just inside, the small slack being the contribution of the third mode.
Relaxation time.τ=1/π2=0.101321. Doubling the length to ℓ=2 multiplies τ by four: a bar twice as long takes four times as long to cool, the same quadratic law as the diffusion length.
Maximum principle, checked.0≤u≤41 everywhere, consistent with the bound from the data.
Example(Insulated ends settle to the mean)Original
Same interval and diffusivity, but with insulated ends ux(0,t)=ux(1,t)=0 and the initial ramp φ(x)=x.
Cosine coefficients: A0=2∫01xdx=1 and An=2∫01xcos(nπx)dx=2((−1)n−1)/(n2π2), which is −4/(n2π2) for odd n and 0 for even n. Hence
u(x,t)=21−n odd∑n2π24e−n2π2tcos(nπx).
The n=0 term is 21A0=21=∫01xdx: the average of the data, which is conserved because no flux leaves through an insulated end. Indeed dtd∫01udx=k∫01uxxdx=k[ux]01=0.
Numbers at the cold end.u(0,t) rises from 0 towards 21: u(0,0.05)=0.252044, u(0,0.5)=0.497085. At the hot end u(1,0.05)=0.747956, and u(0,t)+u(1,t)=1 exactly for every t, by the antisymmetry of φ−21 about x=21. The deviation from the mean decays like e−π2t, so after t=3τ=3/π2=0.304 it has fallen by a factor e−3≈0.05, which is what "settled" means in practice.
Example(A driven end: the steady state plus a transient)Original
Take ℓ=1, k=1, u(0,t)=0, u(1,t)=1 (a bar with one end suddenly clamped at temperature 1), and u(x,0)=0. The boundary data are inhomogeneous but constant, so Route A applies with the steady state uˉ(x)=x.
Shift.v=u−x has v(0,t)=v(1,t)=0 and v(x,0)=−x.
Expand. The sine coefficients of −x on (0,1) are −2∫01xsin(nπx)dx=2(−1)n/(nπ).
Solution.u(x,t)=x+π2n=1∑∞n(−1)ne−n2π2tsin(nπx).
At t=0 the series is the sine series of −x, so u(x,0)=0, as required; for t>0 it decays and u→x.
Numbers at the midpoint.u(21,0.01)=0.000407, u(21,0.05)=0.113844, u(21,0.2)=0.4115664. The last value is 21−π2e−π2/5=0.5−0.0884336 to seven digits, again because only the first mode survives. The midpoint reaches 99% of its final value 21 when π2e−π2t<0.005, that is t>0.4911, about five relaxation times.
Where the modes come from. Note that the n-th coefficient decays only like 1/n, because −x does not vanish at x=1: the shifted initial data are incompatible with the boundary condition there. The series therefore converges slowly at t=0 — and converges beautifully for every t>0, which is exactly the content of part 1 of the statement.
ApplicationOriginal
Which number actually matters. For a bounded body the whole of the long-time behaviour is in the smallest eigenvalue: the solution relaxes as e−t/τ with τ=1/λ1k, and λ1 is set by the geometry alone. For an interval of length ℓ with both ends held fixed, τ=ℓ2/π2k. A 2cm copper rod (k≈1.1cm2/s) has τ=4/(π2⋅1.1)=0.37s; a 2cm layer of dry soil (k≈2×10−3cm2/s) has τ=200s. Designers of thermal insulation, annealing schedules and reactor shields quote this one number.
Mode truncation is a numerical method. Because mode n decays as e−n2t/τ, the series is its own error estimate: after one relaxation time the second mode is down by e−3=0.05 relative to the first and the third by e−8=3×10−4. Two or three terms then give several digits, as the examples show, which is why spectral methods are so efficient for diffusion and so delicate at t=0 (see spectral methods).
Insulated versus open ends. The difference between the Dirichlet and Neumann tables is a single eigenvalue, λ0=0, and it changes the physics entirely: with open ends the contents of the interval drain away to zero; with insulated ends the total amount is conserved and the profile flattens to its average. A calorimeter is designed to realise the second case, a diffusion cell with large reservoirs at both ends the first.
The same answer as the Green's function.Stakgold and Holst (Stakgold & Holst (2011), Eq. (8.2.36a), p. 482) write the Dirichlet heat Green's function for (0,ℓ) both as an image sum of Gaussians and as the eigenfunction series ℓ2∑n≥1sinℓnπxsinℓnπξe−kλnt, the two being linked by the theta-function identity. Convolving either against φ reproduces the series of this unit, so the modal method and the Green's-function method (Green's functions for the wave and heat equations) are two faces of one formula; the Gaussian form is the practical one at very early times, the modal form at late times.
Beyond the interval. Steps 1 to 5 are unchanged in higher dimensions and in other coordinate systems: only the eigenvalue problem changes, giving Bessel functions on a disc and spherical harmonics with spherical Bessel functions on a ball (separation of variables). The decay law e−λ1kt and the identification of the limit with the λ=0 mode survive verbatim.
Adding transport and reaction to the diffusion equation: the Peclet number that says which of advection and diffusion wins, the change to a moving frame that solves the linear problem exactly, and the travelling fronts that a bistable reaction term supports.
Definition(Advection, diffusion, reaction)AdaptedAdapted from Stakgold & Holst (2011), §0.1, Remark 1, Eq. (0.1.9), p. 6; Stakgold & Holst (2011), §0.3, Eq. (0.3.1), p. 12, Eq. (0.3.11), p. 14 and Eqs. (0.3.13)–(0.3.18), pp. 15–16; Strauss (2008), §1.3, p. 15
Let u(x,t) be the concentration of a substance carried along a pipe. Conservation of mass on an arbitrary interval says ut=−Jx+p, where J is the flux and p the volume rate of production. Two mechanisms contribute to J:
diffusion, by Fick's law Jdiff=−Dux with D>0 the diffusivity, as in (Strauss (2008), p. 15);
advection (also called convection), the bodily transport of the substance by a fluid moving with velocity V: Jadv=Vu. Stakgold and Holst (Stakgold & Holst (2011), Remark 1, p. 6) introduce exactly this term by replacing Fourier's law J=−kgradu with J=−kgradu+Cuv for a medium moving with velocity v, and note that for an incompressible fluid, where divv=0, this adds a term proportional to v⋅gradu to the heat equation.
With D and V constant and p=0 this gives the advection-diffusion equation
ut+Vux=Duxx.
If instead the production term depends on the concentration itself, p=f(u), the result is a reaction-diffusion equation
ut=Duxx+f(u).
Stakgold and Holst (Stakgold & Holst (2011), §0.3, Eq. (0.3.11), p. 14) derive such systems for a first-order irreversible reaction in a catalyst pellet, where f carries the Arrhenius factor e−B/u of their Eq. (0.3.1) (Stakgold & Holst (2011), p. 12); later in the same section they build an energy-balance climate model of the same shape, with f(u)=QS(x)a(u)−(A+Bu)(Stakgold & Holst (2011), Eqs. (0.3.13)–(0.3.18), pp. 15–16). Dropping D leaves the first-order equation ut+Vux=0 of characteristics; dropping V and f leaves the heat equation of the heat kernel.
Definition(The Peclet number)Original
Fix a length L characteristic of the problem — a pipe length, the width of an initial release, the size of a grid cell. Advection moves the substance across that length in the time L/V; diffusion spreads it across that length in the time L2/D. The ratio of these times is the dimensionless Peclet number
Pe=L/VL2/D=DVL.
Equivalently, scaling x=Lξ and t=(L2/D)τ in the advection-diffusion equation gives
uτ+Peuξ=uξξ,
so Pe is the only parameter left: all advection-diffusion problems with the same Peclet number and the same shaped data are the same problem. Large Pe means transport dominates and the equation is nearly the first-order one; small Pe means diffusion dominates and the velocity is a small correction.
Application(Solution in a moving frame)Original
Let D>0 and V∈R be constants, let g be continuous and bounded on R, and let
SD(x,t)=4πDt1e−x2/4Dt
be the heat kernel with diffusivity D. Then
u(x,t)=∫−∞∞SD(x−Vt−y,t)g(y)dy,t>0,
is infinitely differentiable for t>0, solves ut+Vux=Duxx, and tends to g(x0) as (x,t)→(x0,0) with t>0. In words: the profile diffuses exactly as if V were zero, while the whole pattern is carried along at speed V. Three consequences:
Mean and width. Suppose in addition that g≥0, that its total mass M=∫g is finite and positive, and that its second moment is finite, ∫y2g(y)dy<∞. Then ∫u(x,t)dx=M for all t, the centre of mass is at xˉ(t)=xˉ(0)+Vt, and the variance about it is var(t)=var(0)+2Dt. (A finite first moment need not be assumed: Cauchy-Schwarz applied to ∣y∣g⋅g gives ∫∣y∣g≤(∫y2g)1/2(∫g)1/2<∞. Some decay hypothesis is needed, and the second moment is the stronger of the two: g(y)=(1+y2)−1 is bounded, continuous and non-negative with finite mass but with neither a mean nor a variance, while g(y)=(1+∣y∣3)−1 has a finite mass and a finite mean, the integrands there decaying like ∣y∣−3 and ∣y∣−2, yet ∫y2g=∞ because there the integrand decays only like ∣y∣−1.)
Relative spread. Keep the hypotheses of part 1 and let V>0. By the time the cloud has travelled a distance L, that is at t=L/V, diffusion has added 2DL/V to the variance, so the standard deviation is
var(0)+2DL/V.
For a release that starts concentrated, meaning var(0) negligible beside 2DL/V, this is close to 2DL/V=L2/Pe with Pe=VL/D. (The hypotheses of part 1 force var(0)>0 strictly, since a continuous g≥0 of positive mass cannot be concentrated at a point; the limiting value var(0)=0 belongs to the point release of the example below, which the statement does not cover but the kernel itself handles.) The cloud therefore stays sharp relative to the distance travelled exactly when Pe is large and the initial width is small compared with L.
A linear decay term. If ut+Vux=Duxx−ru with r constant, then u=e−rtw where w solves the equation without the decay term, so the formula above acquires the factor e−rt.
Idea of the proofOriginal
The equation treats x and t asymmetrically only through the drift, and a drift is exactly what a change of observer removes. Sitting on the fluid, that is substituting y=x−Vt, the advection term and the time derivative combine into the material derivative, and what is left is the heat equation. Everything then follows from the heat kernel, read in the new coordinate.
ProofOriginal
Step 1 (change of frame). Suppose w is a solution of wt=Dwyy and set u(x,t)=w(x−Vt,t). By the chain rule, with y=x−Vt,
ut(x,t)=wt(y,t)−Vwy(y,t),ux=wy,uxx=wyy,
so ut+Vux=wt=Dwyy=Duxx: the change of variable converts solutions of the heat equation into solutions of the advection-diffusion equation. The computation is reversible, so it is a bijection between the two solution sets.
Step 2 (apply the heat kernel). Let w(y,t)=∫SD(y−z,t)g(z)dz. By the heat-kernel theorem, applied with diffusivity D, w is C∞ for t>0, solves wt=Dwyy, and w(y,t)→g(y0) as (y,t)→(y0,0). Step 1 turns this into the stated u, which is therefore C∞ and solves the equation; and since (x,t)→(x0,0) forces (x−Vt,t)→(x0,0), the initial condition carries over.
Step 3 (mass, mean, variance). Each is a property of SD transported by Step 1. ∫SD(⋅,t)=1 gives conservation of mass by Tonelli's theorem, the integrand being non-negative. Treating u(⋅,t)/M as a probability density — legitimate because M is finite and positive by hypothesis — it is the convolution of the two densities g/M and SD(⋅,t), translated by Vt. The mean and variance of g/M exist because its second moment was assumed finite, which as noted in part 1 also makes its first moment finite, and those of SD(⋅,t) are 0 and 2Dt by the definition of SD. Convolution of two densities with finite second moments adds their means and adds their variances, and a translation adds to the mean only. This is part 1. Substituting t=L/V into var(t)=var(0)+2Dt gives part 2, with 2DL/V=L2⋅2D/(VL)=2L2/Pe, so that the term diffusion contributes to the standard deviation is L2/Pe.
Step 4 (decay term). If u=e−rtw then ut+Vux−Duxx+ru=e−rt(wt−rw+Vwx−Dwxx+rw)=e−rt(wt+Vwx−Dwxx), which vanishes precisely when w solves the undecayed equation. □
Both reductions used above are the ones the books themselves point to. Strauss (Strauss (2008), Exercises 16 and 18, p. 54) sets the moving frame y=x−Vt for ut−kuxx+Vux=0 and the factor e−bt for ut−kuxx+bu=0 as exercises with exactly those hints. Stakgold and Holst (Stakgold & Holst (2011), Exercise 8.2.1, p. 486) pose the same problem for a pollutant of concentration C with constant diffusivity D and a time-dependent wind U(t), asking for the transformation t′=t, x′=x−V(t) that removes the convection term, and they call the curves x−V(t)=constantdrift curves. For V(t)=∫0tV(s)ds Step 1 goes through unchanged with Vt replaced by V(t), since ∂tV=V(t) is all that the chain rule uses: the cloud follows the drift curve through its release point while spreading as 2Dt.
Application(Travelling fronts of a bistable reaction-diffusion equation)AdaptedAdapted from Evans (2010), §4.2.1c, Eqs. (12)–(16) and (26), pp. 170–175
Consider the scalar reaction-diffusion equation
ut−uxx=f(u)in R×(0,∞),
where f:R→R is smooth and, for some point 0<a<1, satisfies
(a) f(0)=f(a)=f(1)=0;
(b) f<0 on (0,a) and f>0 on (a,1);
(c) f′(0)<0 and f′(1)<0;
(d) ∫01f(z)dz>0.
A travelling wave is a solution of the form u(x,t)=v(x−σt). Substituting into the equation gives the ordinary differential equation
v′′+σv′+f(v)=0,
and to it one imposes the conditions that make the wave a front between the two stable states, Evans' (16):
s→+∞limv(s)=1,s→−∞limv(s)=0,s→±∞limv′(s)=0.
These limits do not follow from the substitution; they are part of what is being asked for. Evans shows by a phase-plane argument that there exists a velocity σ<0 for which this problem has a solution, so the equation has a travelling wave interpolating between the two stable states 0 and 1; and he states that a more refined analysis shows this velocity is unique(Evans (2010), p. 175). Hypothesis (c) is what makes 0 and 1 stable as constant solutions, with the intermediate constant a unstable; the front is therefore an invasion of one stable state by the other. This is the existence theorem of travelling waves, restated here because the identity below and the examples need its hypotheses in front of them; that unit works Evans' argument through in detail.
NoteAdaptedAdapted from Evans (2010), §4.2.1c, pp. 171–175
No proof is given here, for two reasons. The phase-plane route — writing w=v′, reading a front as a trajectory joining the saddle at (0,0) to the saddle at (1,0), and moving σ until the unstable and stable curves meet — is set out step by step in travelling waves, and repeating it here would duplicate that unit. And the source itself stops short of a complete argument: Evans says he outlines the analysis "without complete proofs" (Evans (2010), p. 171), and the uniqueness of σ is asserted rather than demonstrated (Evans (2010), p. 175). What this unit adds is what can be settled in full: the identity below, which fixes the sign of σ from f alone, and the exact front in the second example.
Application(The velocity is fixed by the areas)AdaptedAdapted from Evans (2010), §4.2.1c, the function $E$ and its derivative, p. 173
Let f be continuous and let v solve v′′+σv′+f(v)=0 on R with v(−∞)=0, v(+∞)=1 and v′(±∞)=0, with v′∈L2(R). Then
σ∫−∞∞v′(s)2ds=−∫01f(z)dz.
In particular σ has the opposite sign to ∫01f, so Evans' hypothesis (d) forces σ<0: the state 1, the one with the greater "area" under f, advances. If ∫01f=0 the front is stationary.
the last step by the differential equation. The right-hand side is integrable on R because v′∈L2, so s↦E(v(s),v′(s)) is an antiderivative of an integrable function. It is E itself, not its derivative, that has limits at the two ends: E is continuous, and v→0, v′→0 as s→−∞ while v→1, v′→0 as s→+∞, so E(v(s),v′(s))→E(0,0)=0 and →E(1,0)=∫01f respectively. Hence, by the fundamental theorem of calculus,
∫−∞∞dsdEds=E(1,0)−E(0,0)=∫01f(z)dz,
the two end values being the limits just identified. Equating this with the integral of −σ(v′)2 gives ∫01f=−σ∫(v′)2. Since ∫(v′)2>0 (otherwise v is constant and cannot have two different limits), the sign statement follows. □
Remark(Where the hypotheses are used)Original
D>0 in the moving-frame theorem. Step 2 is the heat-kernel theorem, which needs D>0. With D=0 the solution is g(x−Vt), pure translation with no spreading, and the problem is the first-order one; the moving frame is then the characteristic (characteristics).
V constant is used only in Step 1, and only through ∂t(Vt)=V; a V depending on t alone is as easy, as the note above says. A V depending on x is a different problem: the frame change is no longer a rigid shift, the flux Vu contributes Vxu as well, and no reduction to the heat equation is available in general.
Bistability, that is Evans' (c). If f′(0)>0 the state 0 is unstable and the structure of the travelling-wave problem changes: (0,0) is then not a saddle, and the conclusion of the theorem — one wave with one velocity — need not hold. Hypotheses (a)-(d) are stated exactly as Evans gives them, and the statement above claims nothing outside them.
∫01f=0 is what makes the front move, by the identity. It is a statement about areas, not about shapes: two nonlinearities with the same ∫01f but very different profiles give fronts of the same sign of velocity, though not the same speed, because ∫(v′)2 differs.
The Peclet number needs a length.Pe is not a property of the equation alone; different choices of L give different numbers for the same physical set-up, and a statement such as "advection dominates" is meaningless until L is named.
Example(A release into a river)Original
A mass M of tracer is released at x=0, t=0 into a channel with mean speed V=0.5m/s and longitudinal dispersion coefficient D=5m2/s.
A point release is not one of the continuous bounded data the statement above admits, so we do not use its formula. What we use instead is the drifting kernel itself: by Step 1 of the proof, u(x,t)=MSD(x−Vt,t), that is
u(x,t)=4πDtMexp(−4Dt(x−Vt)2),
solves ut+Vux=Duxx for every t>0, carries mass M at every time, and concentrates at x=0 as t→0+ — the point-source reading of the kernel described in the heat kernel. It is a Gaussian of mean Vt and variance 2Dt, which is what parts 1 and 2 of the statement would say if var(0)=0 were allowed in them. It is not — those parts need a continuous g≥0, whose variance is positive — so read the point release as the limiting case they approach, and the formulas below as read off the kernel directly rather than quoted from the statement.
Take L=1000m, the distance to a water intake downstream.
Peclet number.Pe=VL/D=(0.5)(1000)/5=100. Advection dominates: the tracer arrives as a recognisable pulse, not a slow seepage.
Arrival. The maximum of the travelling profile reaches the intake at t=L/V=2000s=33.3min. The concentration measured at the intake peaks a little earlier, at t=1980.1s: the t−1/2 prefactor is still falling while the cloud arrives, and it pulls the maximum about 1% early.
Width. At t=L/V the standard deviation of the cloud is 2Dt=2⋅5⋅2000=141.4m, which is L2/Pe=10000.02=141.4m: the formula of part 2 in its var(0)=0 limit.
Peak concentration.umax=M/4πDt=M/354.5, in units of mass per metre: a release of 10kg gives 28.2g/m at the peak.
Duration. Two standard deviations either side of the centre the Gaussian factor is e−2=0.135, so the intake sees concentrations above about 14% of the peak for a time 42Dt/V=4(141.4)/0.5=1131s, about 19min. (The letter σ is reserved in this unit for the velocity of a travelling front.)
What would change at low Peclet number. Were the channel ten times slower, Pe=10 and the relative spread 2/Pe=0.45: the cloud would be nearly as long as its journey, and tracer would have reached the intake long before the peak did, since the Gaussian is positive everywhere: the leading edge of the cloud runs ahead of its centre, downstream of the peak.
Example(An exact bistable front)Original
Take the cubic f(u)=u(1−u)(u−a) with 0<a<21, so that Evans' hypotheses hold: f vanishes at 0,a,1; f<0 on (0,a) and f>0 on (a,1); f′(0)=−a<0 and f′(1)=a−1<0; and
Find the front. Try the logistic profile v(s)=(1+e−bs)−1, which satisfies v′=bv(1−v) and therefore v′′=bv′(1−2v)=b2v(1−v)(1−2v). Substituting into v′′+σv′+f(v)=0 and dividing by v(1−v), which is positive,
b2(1−2v)+σb+(v−a)=0⟺(1−2b2)v+(b2+σb−a)=0.
This holds for all v exactly when both brackets vanish:
b=21,σ=ba−b2=2(a−21).
So the front and its velocity are
u(x,t)=1+exp(−(x−σt)/2)1,σ=2(a−21)<0,
with v(−∞)=0, v(+∞)=1, v′(±∞)=0, exactly as the statement requires — and σ<0, as the area identity demands.
Check the identity. With a=41: σ=2(−41)=−0.353553 and ∫01f=241=0.0416667. For the integral of (v′)2, use v′=21v(1−v) and v(1−v)=41sech2(s/22), together with ∫sech4θdθ=34:
Then σ∫(v′)2=(−0.353553)(0.117851)=−0.0416667=−∫01f. The identity is satisfied to every digit, for every a. (The front itself, and the way the guess v′=bv(1−v) selects b and σ, is worked out at more length in travelling waves; what is new here is the check against the area identity.)
Numbers with dimensions. For ut=Duxx+ru(1−u)(u−a), scaling x=D/rξ and t=τ/r returns the equation above, so the physical speed is Dr∣σ∣ and the front thickness is D/r times the dimensionless one. The profile rises from 0.1 to 0.9 over 22ln9=6.215 dimensionless units. For a gas-phase front with D=0.2cm2/s and r=104s−1 and a=41, the speed is 2000⋅0.353553=15.8cm/s and the front is 6.2152×10−5=0.028cm thick: thin and fast, which is what a flame looks like.
ApplicationOriginal
Which term to keep. The Peclet number decides how to model, how to measure and how to compute. In a river or a ventilation duct Pe is in the hundreds, so a pollutant arrives as a translating pulse and the measurement that matters is its arrival time L/V; in a stagnant pore, a gel, or across a cell membrane Pe is far below one and the velocity can be dropped. Chromatography lives in between: the retention time is set by V and the peak width, which sets the resolution, by D — and by part 2 of the moving-frame statement the peak width relative to the distance travelled is 2/Pe, so the resolving power of a column improves only as Pe, that is as the square root of its length.
Numerical warning. When the advection-diffusion equation is discretised, the relevant Peclet number uses the cell size: Pecell=VΔx/D. Centred differences for Vux combined with centred differences for Duxx produce a scheme whose coefficients lose their sign once Pecell>2, and the computed solution then oscillates around steep fronts — the same loss of a discrete maximum principle seen in the maximum principle. The classical responses are to refine until Pecell≤2 or to use one-sided (upwind) differences for the advection term; see finite differences.
The probabilistic reading.Grimmett and Stirzaker (Grimmett & Stirzaker (2020), Example (10), p. 584) derive, for a one-dimensional Brownian particle with constant drift rate m and instantaneous variance β2, the forward equation ∂tf=−m∂yf+21β2∂yyf and observe that the corresponding process is βW(t)+mt. (They write σ for what is called β here; in this unit σ is the front velocity.) That is precisely the moving-frame theorem, in probabilistic clothing: V=m, D=21β2, and "carry the diffusing profile along at speed V" is "add a deterministic drift mt to a Wiener path". The same correspondence makes the advection-diffusion equation the simplest Fokker-Planck equation.
Fronts. The bistable front is the mechanism behind a long list of propagating transitions: the nerve impulse in the Nagumo model, where u is a membrane potential and the two stable states are rest and excitation; flame propagation, where u is a scaled temperature and the Arrhenius factor of (Stakgold & Holst (2011), §0.3, Eq. (0.3.1), p. 12) supplies the nonlinearity; the advance of an advantageous gene through a population; and phase transitions in which one phase invades another. In every case the two numbers the model has to deliver are the ones computed above: the speed, which the area identity ties to ∫01f, and the thickness D/r, which says how fine a mesh or how fast a camera is needed to see it. When a reaction is coupled to two diffusing species with different diffusivities, uniform states that are stable without diffusion can become unstable with it — the Turing instability, which Evans (Evans (2010), §4.1, pp. 165–166) analyses as a condition on the eigenvalues, and which is the standard account of biological pattern formation.