Fourier Transform Methods for PDEs

How does heat spread through an infinite rod with no walls to reflect off? Fourier series works well on a finite interval. But it has nowhere to anchor when the domain is all of R\mathbb{R}. The remedy is to replace a discrete sum over frequencies with a continuous integral over frequencies: the Fourier transform. This single idea converts a partial differential equation in xx and tt into an ordinary differential equation in tt alone. It is parametrized by a frequency variable ξ\xi. This works because differentiation in xx becomes multiplication by iξi\xi under the transform. This matters because unbounded domains are the natural setting for many physical problems. Examples include heat diffusing across an infinite medium, a wave pulse traveling down an idealized infinite string, and a probability density spreading in Brownian motion. In these cases boundary effects are either absent or irrelevant to the phenomenon of interest. The Fourier transform trades a hard PDE for an easy ODE plus a hard integral. That integral, evaluated explicitly for the heat equation, produces one of the most important closed-form objects in analysis: the heat kernel. The big picture is a three-step algorithm. The same algorithm appears throughout transform methods for differential equations. Transform the PDE in the spatial variable, turning ∂x\partial_x into multiplication by iξi\xi. This reduces the PDE to a first-order linear ODE in tt for each fixed ξ\xi. Solve that ODE explicitly. Invert the transform, recovering the solution u(x,t)u(x,t) as an integral over the original variable xx. This integral is often a convolution with a kernel. This article builds the Fourier transform on R\mathbb{R} from its definition. It proves the differentiation and convolution rules that make the method work. It derives and rigorously verifies the heat kernel via Fourier methods. It also proves the resulting solution formula solves the initial value problem. It closes by locating this machinery among its relatives: Laplace Transform Methods for PDEs for problems on half-lines with initial data, and the general question of Well-Posedness of PDE Problems that these explicit solutions let us examine directly.

Key takeaways
  • The Fourier transform f^(ξ)=∫−∞∞f(x)e−iξx dx\hat f(\xi) = \int_{-\infty}^{\infty} f(x)e^{-i\xi x}\,dx replaces Fourier series when the spatial domain is all of R\mathbb{R}.
  • Differentiation in xx becomes multiplication by iξi\xi in frequency space, turning PDEs into ODEs in tt for each fixed ξ\xi.
  • Applied to the heat equation ut=kuxxu_t = k u_{xx}, this yields u^(ξ,t)=f^(ξ)e−kξ2t\hat u(\xi,t) = \hat f(\xi) e^{-k\xi^2 t}, an explicit algebraic solution.
  • Inverting this product via the convolution theorem produces the heat kernel G(x,t)=14πkte−x2/(4kt)G(x,t) = \dfrac{1}{\sqrt{4\pi k t}} e^{-x^2/(4kt)}.
  • The solution formula u(x,t)=(G(⋅,t)∗f)(x)u(x,t) = (G(\cdot,t) * f)(x) is proved to solve the initial value problem, with initial data recovered in the limit t→0+t \to 0^+.
  • Key idea: transforming space turns a PDE into a solvable ODE, and inverting the transform turns that ODE solution back into an explicit spacetime formula.

Where this lives today

The Fourier transform method for PDEs is the direct ancestor of the general theory of pseudodifferential operators, where a variable-coefficient differential operator is analyzed by tracking how it acts approximately as multiplication in frequency space, generalizing the exact diagonalization seen here for constant coefficients. In probability theory, the heat kernel G(x,t)G(x,t) derived above is precisely the transition density of Brownian motion, and the Fourier-transform computation of G^(ξ,t)=e−kξ2t\hat G(\xi,t) = e^{-k\xi^2 t} is the same calculation that produces the characteristic function of a Gaussian random variable, linking PDE theory directly to the study of stochastic processes. In signal processing and engineering, the same differentiation rule f′^=iξf^\widehat{f'}=i\xi \hat f underlies the design of frequency-domain filters, since a linear time-invariant system acts on signals exactly as multiplication by a fixed "transfer function" in frequency space, mirroring how the heat semigroup acts as multiplication by e−kξ2te^{-k\xi^2 t}. In numerical analysis, spectral methods for solving PDEs on the whole line or with periodic boundary conditions use the fast Fourier transform to implement this same algebraic-diagonalization idea on a computer, achieving high accuracy for smooth solutions. In quantum mechanics, the free particle Schrödinger equation iℏψt=−ℏ22mψxxi\hbar\psi_t = -\frac{\hbar^2}{2m}\psi_{xx} is solved by an essentially identical Fourier computation, producing a complex analogue of the heat kernel that describes the spreading of a wave packet. Finally, this method is the natural bridge to Laplace Transform Methods for PDEs, which handle initial-boundary value problems on half-lines by transforming in tt instead of xx, and to the broader question of Well-Posedness of PDE Problems, since the explicit solution formula derived here makes it possible to directly check continuous dependence on initial data and hence well-posedness in the sense of Hadamard.

:::faq[What goes wrong on a bounded domain, like x∈[0,L]x \in [0, L]?] The two-sided Fourier transform integrates over all of R\mathbb{R}, so it implicitly assumes the function is defined (or extendable) on the whole line; a function only given on [0,L][0,L] has no natural such extension without imposing extra structure. This is exactly the gap that Convergence of Fourier Series Solutions fills for bounded intervals, using discrete Fourier series built from the boundary conditions (Dirichlet, Neumann, or periodic) instead of the continuous transform. The transform method of this article is the L→∞L \to \infty limit of that series method, valid precisely when there is no boundary to dictate discrete allowed frequencies.

Ask the tutor: How does the same three-step Fourier transform algorithm change when applied to the wave equation instead of the heat equation?

DefinitionThe Fourier Transform on R\mathbb{R}

Let f:R→Cf: \mathbb{R} \to \mathbb{C} be absolutely integrable, meaning f∈L1(R)f \in L^1(\mathbb{R}) with ∫−∞∞∣f(x)∣ dx<∞\int_{-\infty}^{\infty} |f(x)|\,dx < \infty. The Fourier transform of ff is the function f^:R→C\hat f: \mathbb{R} \to \mathbb{C} defined by

f^(ξ)=F[f](ξ)=∫−∞∞f(x) e−iξx dx.\hat f(\xi) = \mathcal{F}[f](\xi) = \int_{-\infty}^{\infty} f(x)\, e^{-i\xi x}\,dx.

When f^\hat f is itself absolutely integrable, the inverse Fourier transform recovers ff (at points of continuity) by

f(x)=F−1[f^](x)=12π∫−∞∞f^(ξ) eiξx dξ.f(x) = \mathcal{F}^{-1}[\hat f](x) = \frac{1}{2\pi}\int_{-\infty}^{\infty} \hat f(\xi)\, e^{i\xi x}\,d\xi.

For a function u(x,t)u(x,t) depending on a parameter tt, u^(ξ,t)\hat u(\xi, t) denotes the Fourier transform in xx alone, with tt held fixed as a parameter.

Intuition

Fourier series express a function on a bounded interval as a superposition of countably many pure oscillations einπx/Le^{in\pi x/L} with frequencies spaced π/L\pi/L apart, using the periodic boundary structure of the interval to select discrete allowed frequencies. Send L→∞L \to \infty and the spacing between allowed frequencies shrinks to zero: the discrete sum becomes a continuous integral, and the Fourier coefficients become the Fourier transform f^(ξ)\hat f(\xi), a continuous density of how much of each frequency ξ\xi is present in ff. The payoff for PDEs is algebraic. If u(x,t)=eiξxu(x,t) = e^{i\xi x} formally, then ux=iξuu_x = i\xi u and uxx=−ξ2uu_{xx} = -\xi^2 u: each spatial derivative simply multiplies by a factor of iξi\xi. A linear constant-coefficient PDE in xx and tt, applied to a superposition of such exponentials, becomes — after transforming — an ODE in tt with ξ\xi as a frozen parameter, because the transform diagonalizes constant-coefficient differential operators in xx exactly the way an eigenbasis diagonalizes a matrix. Solving that ODE for every ξ\xi and reassembling via the inverse transform is the entire method. For the heat equation this reassembly has a beautifully concrete form: the solution at time tt is the initial data convolved with a spreading Gaussian bump, the heat kernel. The kernel starts (as t→0+t \to 0^+) as a spike concentrated at a point and flattens into an ever-wider, ever-shorter bell curve as tt increases, always keeping total area 11 — a mathematical picture of a hot point cooling and diffusing its heat outward.

Figure
The heat kernel G(x,t)=14πkte−x2/(4kt)G(x,t)=\frac{1}{\sqrt{4\pi k t}}e^{-x^2/(4kt)} spreading and flattening as tt increases (values shown for k=1k=1)
x u 0 t = 0.05 (tall, narrow) t = 0.3 t = 1.5 (short, wide) Each curve encloses area 1 : ∫ G(x,t) dx = 1 for all t > 0
TheoremFourier Transform Solution of the Heat Equation on R\mathbb{R}

Let f∈L1(R)∩C(R)f \in L^1(\mathbb{R}) \cap C(\mathbb{R}) be a bounded, continuous, absolutely integrable initial condition, and let k>0k > 0. Consider the initial value problem

ut=k uxx,x∈R, t>0,lim⁡t→0+u(x,t)=f(x) for every x,u_t = k\, u_{xx}, \qquad x \in \mathbb{R},\ t > 0, \qquad \lim_{t \to 0^+} u(x,t) = f(x) \text{ for every } x,

where u(⋅,t)∈L1(R)∩C2(R)u(\cdot, t) \in L^1(\mathbb{R}) \cap C^2(\mathbb{R}) for each t>0t>0 and uu, together with its derivatives used below, decays as ∣x∣→∞|x| \to \infty fast enough that all Fourier transforms in xx exist and differentiation under the integral sign in ξ\xi is justified. Then the unique bounded solution is given by

u(x,t)=∫−∞∞G(x−y,t) f(y) dy,G(x,t)=14πkt e−x2/(4kt),u(x,t) = \int_{-\infty}^{\infty} G(x - y, t)\, f(y)\, dy, \qquad G(x,t) = \frac{1}{\sqrt{4\pi k t}}\, e^{-x^2/(4kt)},

for t>0t > 0, and u(x,t)→f(x)u(x,t) \to f(x) as t→0+t \to 0^+ at every point xx where ff is continuous. The function GG is called the heat kernel (or fundamental solution) and satisfies G(x,t)>0G(x,t) > 0, ∫−∞∞G(x,t) dx=1\int_{-\infty}^{\infty} G(x,t)\,dx = 1 for every t>0t > 0, and Gt=kGxxG_t = k G_{xx} for t>0t>0.

Proof

The proof proceeds in four stages: transform the PDE, solve the resulting ODE, invert the transform using the convolution theorem, and verify the initial condition is attained.

Step 1 (Reduction to an ODE via the transform). Take the Fourier transform of the PDE in xx, treating tt as a parameter. We first record the differentiation rule this requires. Lemma (Differentiation Rule). If g∈L1(R)g \in L^1(\mathbb{R}) is C1C^1, g′∈L1(R)g' \in L^1(\mathbb{R}), and g(x)→0g(x) \to 0 as ∣x∣→±∞|x| \to \pm\infty, then g′^(ξ)=iξ g^(ξ)\widehat{g'}(\xi) = i\xi\, \hat g(\xi). Proof of Lemma. Integrate by parts:

g′^(ξ)=∫−∞∞g′(x)e−iξx dx=[g(x)e−iξx]−∞∞+iξ∫−∞∞g(x)e−iξx dx.\widehat{g'}(\xi) = \int_{-\infty}^{\infty} g'(x) e^{-i\xi x}\,dx = \Big[g(x)e^{-i\xi x}\Big]_{-\infty}^{\infty} + i\xi \int_{-\infty}^{\infty} g(x) e^{-i\xi x}\,dx.

The boundary term vanishes because g(x)→0g(x) \to 0 as ∣x∣→∞|x| \to \infty, leaving g′^(ξ)=iξg^(ξ)\widehat{g'}(\xi) = i\xi \hat g(\xi). ■\blacksquare Applying this twice (under the standing decay hypotheses on u(⋅,t)u(\cdot,t) and its first derivative), uxx^(ξ,t)=(iξ)2u^(ξ,t)=−ξ2u^(ξ,t)\widehat{u_{xx}}(\xi,t) = (i\xi)^2 \hat u(\xi,t) = -\xi^2 \hat u(\xi,t). Since the hypotheses permit differentiating under the integral sign in tt,

ut^(ξ,t)=∂∂t∫−∞∞u(x,t)e−iξx dx=∂tu^(ξ,t).\widehat{u_t}(\xi,t) = \frac{\partial}{\partial t} \int_{-\infty}^{\infty} u(x,t) e^{-i\xi x}\,dx = \partial_t \hat u(\xi,t).

Transforming both sides of ut=kuxxu_t = k u_{xx} in xx therefore gives, for each fixed ξ∈R\xi \in \mathbb{R}, the linear first-order ODE in tt:

∂tu^(ξ,t)=−kξ2 u^(ξ,t),u^(ξ,0+)=f^(ξ).\partial_t \hat u(\xi,t) = -k\xi^2\, \hat u(\xi,t), \qquad \hat u(\xi, 0^+) = \hat f(\xi).

Step 2 (Solving the ODE). This is a separable linear ODE with constant coefficient −kξ2-k\xi^2 (constant in tt, though depending on the parameter ξ\xi). Its unique solution with the stated initial condition is

u^(ξ,t)=f^(ξ) e−kξ2t,t>0.\hat u(\xi, t) = \hat f(\xi)\, e^{-k \xi^2 t}, \qquad t > 0.

Uniqueness of this scalar linear ODE follows from the standard existence-uniqueness theorem for linear ODEs (or directly: if v(t)=u^(ξ,t)ekξ2tv(t) = \hat u(\xi,t) e^{k\xi^2 t}, then v′(t)=ekξ2t(∂tu^+kξ2u^)=0v'(t) = e^{k\xi^2 t}(\partial_t \hat u + k \xi^2 \hat u) = 0, so vv is constant, equal to f^(ξ)\hat f(\xi)).

Step 3 (Inversion via convolution). We must invert u^(ξ,t)=f^(ξ)e−kξ2t\hat u(\xi,t) = \hat f(\xi) e^{-k\xi^2 t}. Since a product of transforms corresponds to a convolution, we first identify e−kξ2te^{-k\xi^2 t} as the Fourier transform of an explicit Gaussian. Lemma (Gaussian Transform). For a>0a > 0,

F[e−x2/(4a)](ξ)=4πa  e−aξ2.\mathcal{F}\left[e^{-x^2/(4a)}\right](\xi) = \sqrt{4\pi a}\; e^{-a\xi^2}.

Proof of Lemma. Let I(ξ)=∫−∞∞e−x2/(4a)e−iξx dxI(\xi) = \int_{-\infty}^\infty e^{-x^2/(4a)} e^{-i\xi x}\,dx. Complete the square in the exponent:

−x24a−iξx=−14a(x2+4aiξx)=−14a(x+2aiξ)2−aξ2.-\frac{x^2}{4a} - i\xi x = -\frac{1}{4a}\left(x^2 + 4ai\xi x\right) = -\frac{1}{4a}\left(x + 2ai\xi\right)^2 - a\xi^2.

Thus I(ξ)=e−aξ2∫−∞∞e−14a(x+2aiξ)2 dxI(\xi) = e^{-a\xi^2} \int_{-\infty}^{\infty} e^{-\frac{1}{4a}(x+2ai\xi)^2}\,dx. The remaining integral is a Gaussian integral shifted into the complex plane; by Cauchy's theorem applied to the entire function e−z2/(4a)e^{-z^2/(4a)} on the rectangular contour with vertices ±R,±R+2aiξ\pm R, \pm R + 2ai\xi, and using that the vertical side integrals vanish as R→∞R \to \infty (the integrand decays like e−R2/(4a)e^{-R^2/(4a)} there), the contour may be shifted back to the real axis:

∫−∞∞e−14a(x+2aiξ)2 dx=∫−∞∞e−s2/(4a) ds=4πa,\int_{-\infty}^{\infty} e^{-\frac{1}{4a}(x + 2ai\xi)^2}\,dx = \int_{-\infty}^{\infty} e^{-s^2/(4a)}\,ds = \sqrt{4\pi a},

using the classical Gaussian integral ∫−∞∞e−s2/(4a) ds=4πa\int_{-\infty}^\infty e^{-s^2/(4a)}\,ds = \sqrt{4\pi a} (substitute s=4a ws = \sqrt{4a}\,w to reduce to ∫e−w2dw=π\int e^{-w^2}dw = \sqrt\pi). Hence I(ξ)=4πa e−aξ2I(\xi) = \sqrt{4\pi a}\, e^{-a\xi^2}. ■\blacksquare Set a=kta = kt. The lemma gives F[e−x2/(4kt)](ξ)=4πkt  e−kξ2t\mathcal{F}\left[e^{-x^2/(4kt)}\right](\xi) = \sqrt{4\pi k t}\; e^{-k\xi^2 t}, hence

e−kξ2t=F[14πkte−x2/(4kt)](ξ)=G^(ξ,t),e^{-k\xi^2 t} = \mathcal{F}\left[\frac{1}{\sqrt{4\pi kt}} e^{-x^2/(4kt)}\right](\xi) = \hat G(\xi, t),

where GG is exactly the heat kernel in the theorem statement. So u^(ξ,t)=f^(ξ)G^(ξ,t)\hat u(\xi,t) = \hat f(\xi)\hat G(\xi,t), a product of two Fourier transforms. Lemma (Convolution Theorem). If f,g∈L1(R)f, g \in L^1(\mathbb{R}), then f∗g^=f^⋅g^\widehat{f * g} = \hat f \cdot \hat g, where (f∗g)(x)=∫−∞∞f(y)g(x−y) dy(f*g)(x) = \int_{-\infty}^\infty f(y) g(x-y)\,dy. Proof of Lemma. By definition and Fubini's theorem (justified since ∫∫∣f(y)∣∣g(x−y)∣ dy dx=∥f∥1∥g∥1<∞\int\int |f(y)||g(x-y)|\,dy\,dx = \|f\|_1 \|g\|_1 < \infty),

f∗g^(ξ)=∫−∞∞(∫−∞∞f(y)g(x−y) dy)e−iξx dx=∫−∞∞f(y)(∫−∞∞g(x−y)e−iξx dx)dy.\widehat{f*g}(\xi) = \int_{-\infty}^\infty \left(\int_{-\infty}^\infty f(y) g(x-y)\,dy\right) e^{-i\xi x}\,dx = \int_{-\infty}^\infty f(y) \left(\int_{-\infty}^\infty g(x-y) e^{-i\xi x}\,dx\right)dy.

Substituting z=x−yz = x - y in the inner integral gives ∫g(z)e−iξ(z+y) dz=e−iξyg^(ξ)\int g(z) e^{-i\xi(z+y)}\,dz = e^{-i\xi y} \hat g(\xi), so

f∗g^(ξ)=g^(ξ)∫−∞∞f(y)e−iξy dy=f^(ξ)g^(ξ).■\widehat{f*g}(\xi) = \hat g(\xi) \int_{-\infty}^\infty f(y) e^{-i\xi y}\,dy = \hat f(\xi)\hat g(\xi). \qquad \blacksquare

Since u^(ξ,t)=f^(ξ)G^(ξ,t)=f∗G(⋅,t)^(ξ)\hat u(\xi,t) = \hat f(\xi) \hat G(\xi,t) = \widehat{f * G(\cdot,t)}(\xi) for every ξ\xi, and the Fourier transform is injective on L1L^1 functions whose transform is itself integrable (a standard fact, provable via the Fourier inversion theorem), we conclude

u(x,t)=(f∗G(⋅,t))(x)=∫−∞∞f(y) G(x−y,t) dy,u(x,t) = (f * G(\cdot,t))(x) = \int_{-\infty}^{\infty} f(y)\, G(x-y,t)\,dy,

which is exactly the claimed formula, using G(x−y,t)=G(y−x,t)G(x-y,t)=G(y-x,t) since GG is even in its spatial argument.

Step 4 (Positivity, unit mass, and recovery of the initial condition). Positivity G(x,t)>0G(x,t) > 0 is immediate from the exponential formula. For the unit mass claim, substitute x=4kt wx = \sqrt{4kt}\, w:

∫−∞∞G(x,t) dx=14πkt∫−∞∞e−x2/(4kt) dx=14πkt⋅4kt∫−∞∞e−w2 dw=4kt4πkt⋅π=1,\int_{-\infty}^{\infty} G(x,t)\,dx = \frac{1}{\sqrt{4\pi kt}} \int_{-\infty}^{\infty} e^{-x^2/(4kt)}\,dx = \frac{1}{\sqrt{4\pi kt}} \cdot \sqrt{4kt}\int_{-\infty}^{\infty} e^{-w^2}\,dw = \frac{\sqrt{4kt}}{\sqrt{4\pi kt}}\cdot\sqrt{\pi} = 1,

using the classical value ∫−∞∞e−w2 dw=π\int_{-\infty}^{\infty} e^{-w^2}\,dw = \sqrt{\pi}. That Gt=kGxxG_t = kG_{xx} for t>0t>0 is verified by direct differentiation: writing G(x,t)=(4πkt)−1/2e−x2/(4kt)G(x,t) = (4\pi kt)^{-1/2} e^{-x^2/(4kt)},

Gt=(−12t+x24kt2)G,Gx=−x2ktG,Gxx=(−12kt+x24k2t2)G,G_t = \left(-\frac{1}{2t} + \frac{x^2}{4kt^2}\right)G, \qquad G_x = -\frac{x}{2kt}G, \qquad G_{xx} = \left(-\frac{1}{2kt} + \frac{x^2}{4k^2t^2}\right)G,

and one checks kGxx=(−12t+x24kt2)G=GtkG_{xx} = \left(-\frac{1}{2t} + \frac{x^2}{4kt^2}\right)G = G_t, confirming GG solves the heat equation for t>0t > 0. Finally, we show u(x,t)→f(x)u(x,t) \to f(x) as t→0+t \to 0^+ at each continuity point xx of ff. Since ∫G(x−y,t) dy=1\int G(x-y,t)\,dy = 1 for all t>0t>0 (by the unit-mass property with a shift of variable), write

u(x,t)−f(x)=∫−∞∞G(x−y,t)(f(y)−f(x)) dy.u(x,t) - f(x) = \int_{-\infty}^{\infty} G(x-y,t)\big(f(y) - f(x)\big)\,dy.

Fix ε>0\varepsilon > 0. By continuity of ff at xx, choose δ>0\delta>0 with ∣f(y)−f(x)∣<ε|f(y)-f(x)|<\varepsilon whenever ∣y−x∣<δ|y-x|<\delta. Split the integral at ∣y−x∣=δ|y - x| = \delta. On ∣y−x∣<δ|y-x|<\delta, the integral is bounded by ε∫G(x−y,t) dy≤ε\varepsilon \int G(x-y,t)\,dy \le \varepsilon. On ∣y−x∣≥δ|y-x|\ge \delta, boundedness of ff (say ∣f∣≤M|f|\le M) gives the bound

2M∫∣y−x∣≥δG(x−y,t) dy=2M∫∣s∣≥δ14πkte−s2/(4kt) ds,2M\int_{|y-x|\ge\delta} G(x-y,t)\,dy = 2M\int_{|s|\ge\delta} \frac{1}{\sqrt{4\pi kt}} e^{-s^2/(4kt)}\,ds,

which, substituting s=4kt ws = \sqrt{4kt}\,w, equals 4Mπ∫δ/4kt∞e−w2 dw→0\frac{4M}{\sqrt\pi}\int_{\delta/\sqrt{4kt}}^{\infty} e^{-w^2}\,dw \to 0 as t→0+t \to 0^+, since the lower limit of integration →∞\to \infty. Hence for tt small enough this second piece is less than ε\varepsilon as well, giving ∣u(x,t)−f(x)∣<2ε|u(x,t) - f(x)| < 2\varepsilon for tt sufficiently small. As ε>0\varepsilon>0 was arbitrary, u(x,t)→f(x)u(x,t) \to f(x). This establishes existence of the stated solution with the stated properties. (Uniqueness among bounded solutions is a separate fact, resting on a maximum principle argument, and is not re-derived here; it is the reason the theorem specifies "the unique bounded solution.") ■\blacksquare

∎

Worked examples

Example 1: An asymmetric bump on an infinite rod. Consider a rod occupying all of R\mathbb{R}, with diffusivity k=1/4k = 1/4 and an initial temperature distribution

f(x)={3,−1≤x≤2,0,otherwise.f(x) = \begin{cases} 3, & -1 \le x \le 2, \\ 0, & \text{otherwise.} \end{cases}

Note the interval is deliberately asymmetric about x=0x=0 (width from −1-1 to 22, not −a-a to aa), so that no symmetry can be used to shortcut the computation. By the theorem, with 4kt=t4kt = t,

u(x,t)=∫−123⋅1πte−(x−y)2/t dy.u(x,t) = \int_{-1}^{2} 3 \cdot \frac{1}{\sqrt{\pi t}} e^{-(x-y)^2/t}\,dy.

Substituting η=y−xt\eta = \dfrac{y - x}{\sqrt{t}}, so dy=t dηdy = \sqrt t\, d\eta, transforms the limits to η=−1−xt\eta = \dfrac{-1-x}{\sqrt t} and η=2−xt\eta = \dfrac{2-x}{\sqrt t}:

u(x,t)=3π∫(−1−x)/t(2−x)/te−η2 dη=32[erf⁡ ⁣(2−xt)−erf⁡ ⁣(−1−xt)],u(x,t) = \frac{3}{\sqrt\pi}\int_{(-1-x)/\sqrt t}^{(2-x)/\sqrt t} e^{-\eta^2}\,d\eta = \frac{3}{2}\left[\operatorname{erf}\!\left(\frac{2-x}{\sqrt t}\right) - \operatorname{erf}\!\left(\frac{-1-x}{\sqrt t}\right)\right],

using the standard error function erf⁡(z)=2π∫0ze−η2 dη\operatorname{erf}(z) = \frac{2}{\sqrt\pi}\int_0^z e^{-\eta^2}\,d\eta and ∫abe−η2dη=π2[erf⁡(b)−erf⁡(a)]\int_a^b e^{-\eta^2}d\eta = \frac{\sqrt\pi}{2}\left[\operatorname{erf}(b)-\operatorname{erf}(a)\right]. Check the value at x=0x = 0, t=1t = 1: u(0,1)=32[erf⁡(2)−erf⁡(−1)]=32[erf⁡(2)+erf⁡(1)]u(0,1) = \frac{3}{2}\left[\operatorname{erf}(2) - \operatorname{erf}(-1)\right] = \frac{3}{2}\left[\operatorname{erf}(2) + \operatorname{erf}(1)\right]. Numerically erf⁡(2)≈0.99532\operatorname{erf}(2) \approx 0.99532 and erf⁡(1)≈0.84270\operatorname{erf}(1) \approx 0.84270, giving u(0,1)≈32(1.83802)≈2.757u(0,1) \approx \frac{3}{2}(1.83802) \approx 2.757. This is sensible: at t=1t=1 diffusion has not yet fully erased the initial bump of height 33 over x∈[−1,2]x \in [-1,2], and x=0x=0 lies inside that interval, so the temperature there has decreased only modestly from 33. As t→0+t \to 0^+, since x=0x=0 is an interior continuity point of ff (with f≡3f \equiv 3 near 00), the theorem guarantees u(0,t)→3u(0,t) \to 3; indeed as t→0+t\to0^+, erf⁡(2/t)→1\operatorname{erf}(2/\sqrt t) \to 1 and erf⁡(1/t)→1\operatorname{erf}(1/\sqrt t)\to 1, giving u(0,t)→32(1+1)=3u(0,t)\to \frac32(1+1)=3, confirming consistency.

Example 2: Verifying the transform algebra directly for a decaying exponential-type initial condition. To illustrate Step 1–2 of the proof concretely (rather than just the final formula), take k=1k=1 and f(x)=e−∣x∣f(x) = e^{-|x|}, which is continuous, bounded, and in L1(R)L^1(\mathbb{R}) (it fails to be C1C^1 at x=0x=0, but this does not affect the validity of the solution formula, only the direct differentiation-rule justification at that single point — the integral formula for uu remains valid by the convolution argument). First compute f^(ξ)\hat f(\xi) directly:

f^(ξ)=∫−∞0exe−iξx dx+∫0∞e−xe−iξx dx=11−iξ+11+iξ=21+ξ2.\hat f(\xi) = \int_{-\infty}^{0} e^{x} e^{-i\xi x}\,dx + \int_0^\infty e^{-x} e^{-i\xi x}\,dx = \frac{1}{1 - i\xi} + \frac{1}{1+i\xi} = \frac{2}{1+\xi^2}.

(Each piece is a convergent exponential integral: ∫−∞0e(1−iξ)xdx=11−iξ\int_{-\infty}^0 e^{(1-i\xi)x}dx = \frac{1}{1-i\xi} since Re⁡(1−iξ)=1>0\operatorname{Re}(1-i\xi)=1>0, and similarly for the other piece.) By Step 2 of the theorem's proof, u^(ξ,t)=21+ξ2e−ξ2t\hat u(\xi,t) = \dfrac{2}{1+\xi^2} e^{-\xi^2 t}. The solution is then, by Step 3,

u(x,t)=∫−∞∞e−∣y∣ 14πte−(x−y)2/(4t) dy,u(x,t) = \int_{-\infty}^\infty e^{-|y|}\, \frac{1}{\sqrt{4\pi t}} e^{-(x-y)^2/(4t)}\,dy,

which for general x,tx,t has no elementary closed form in terms of standard functions, but can be evaluated at a specific point to check consistency with known asymptotics. As t→∞t \to \infty, the Gaussian kernel becomes very flat and wide compared to the decay scale of ff, so u(x,t)u(x,t) should approach 00 uniformly (total heat ∫f=2\int f = 2 spreads over an infinite line, diluting to zero temperature everywhere) — consistent with u^(ξ,t)=21+ξ2e−ξ2t→0\hat u(\xi,t) = \frac{2}{1+\xi^2}e^{-\xi^2 t} \to 0 pointwise in ξ\xi as t→∞t\to\infty, matching the physical expectation that a fixed finite quantity of heat, once spread over all of R\mathbb{R}, dilutes to zero temperature at any fixed point. At x=0x=0, t=1/4t=1/4 (4kt=14kt=1): u(0,1/4)=∫−∞∞e−∣y∣1πe−y2 dy=2π∫0∞e−y−y2 dyu(0,1/4) = \int_{-\infty}^\infty e^{-|y|} \frac{1}{\sqrt\pi} e^{-y^2}\,dy = \frac{2}{\sqrt\pi}\int_0^\infty e^{-y - y^2}\,dy by evenness of the integrand. Completing the square, −y2−y=−(y+12)2+14-y^2-y = -(y+\tfrac12)^2+\tfrac14, so this equals 2πe1/4∫0∞e−(y+1/2)2dy=2e1/4π∫1/2∞e−w2dw\frac{2}{\sqrt\pi}e^{1/4}\int_0^\infty e^{-(y+1/2)^2}dy = \frac{2e^{1/4}}{\sqrt\pi}\int_{1/2}^\infty e^{-w^2}dw. Using ∫1/2∞e−w2dw=π2(1−erf⁡(1/2))\int_{1/2}^\infty e^{-w^2}dw = \frac{\sqrt\pi}{2}(1-\operatorname{erf}(1/2)) with erf⁡(0.5)≈0.5205\operatorname{erf}(0.5)\approx 0.5205, this gives u(0,1/4)≈e0.25(1−0.5205)≈1.2840×0.4795≈0.6157u(0,1/4) \approx e^{0.25}(1-0.5205) \approx 1.2840 \times 0.4795 \approx 0.6157, a modest smoothing-down from the initial peak value f(0)=1f(0)=1, as expected for early but nonzero diffusion time.

CounterexampleWhy absolute integrability of ff cannot simply be dropped

The theorem assumes f∈L1(R)f \in L^1(\mathbb{R}). Suppose instead we try to apply the same Fourier method to f(x)≡1f(x) \equiv 1 (a constant, certainly bounded and continuous, but not in L1(R)L^1(\mathbb{R}) since ∫−∞∞1 dx=∞\int_{-\infty}^\infty 1\,dx = \infty). The ordinary Fourier transform integral f^(ξ)=∫−∞∞1⋅e−iξx dx\hat f(\xi) = \int_{-\infty}^{\infty} 1 \cdot e^{-i\xi x}\,dx does not converge as an ordinary (Lebesgue or improper Riemann) integral: it oscillates without decaying. Formally one is tempted to say f^(ξ)=2πδ(ξ)\hat f(\xi) = 2\pi \delta(\xi) using distribution theory, and indeed the true bounded solution of ut=kuxxu_t = ku_{xx} with u(x,0)=1u(x,0)=1 is simply u(x,t)≡1u(x,t) \equiv 1 for all tt (constant temperature stays constant, since there is no gradient to drive any flow) — this can be checked directly: ut=0=k⋅0=kuxxu_t = 0 = k \cdot 0 = k u_{xx}. But this correct answer is not obtainable by naively running Step 1–3 of the proof as stated, because Step 1's differentiation lemma required g,g′∈L1(R)g, g' \in L^1(\mathbb{R}), and Step 3's convolution theorem required f,g∈L1(R)f, g \in L^1(\mathbb{R}) — both fail here. If one nonetheless tries to compute u(x,t)=∫−∞∞G(x−y,t)⋅1 dyu(x,t) = \int_{-\infty}^\infty G(x-y,t)\cdot 1\,dy using the formula alone (bypassing the transform derivation), it does give the correct answer 11 (since ∫G(x−y,t)dy=1\int G(x-y,t)dy=1), but this is because the convolution formula happens to still make sense as an ordinary integral for this particular ff despite f∉L1f\notin L^1; the derivation via Fourier transforms genuinely breaks down at Step 1, since f^(ξ)\hat f(\xi) is undefined as an ordinary function. More dramatically, take f(x)=xf(x) = x (also bounded neither nor integrable — actually unbounded). Then f∉L1(R)f \notin L^1(\mathbb{R}) and ff is also unbounded, violating a second hypothesis. The heat equation with this data still has the solution u(x,t)=xu(x,t) = x (check: ut=0u_t = 0, uxx=0u_{xx}=0), but also has the wildly different bounded-violating "solutions" of Tychonoff's type that solve ut=kuxxu_t=ku_{xx}, u(x,0)=0u(x,0)=0, yet are nonzero for t>0t>0 — showing that without integrability and boundedness assumptions, uniqueness itself fails, and the clean Fourier-transform machinery (which presupposes a well-defined, unique target to compute) has no meaningful foothold. This is precisely why the theorem restricts to f∈L1(R)∩C(R)f \in L^1(\mathbb{R}) \cap C(\mathbb{R}), bounded, with the solution sought among bounded functions: dropping L1L^1 integrability removes both the tool (the transform integral) and the guarantee (uniqueness) that make the method meaningful.

Scope, edge cases & common traps

SituationWhat happensCorrect handling
f∈L1∩Cf \in L^1 \cap C, boundedTheorem applies directly; unique bounded solution via heat kernel convolutionUse u=f∗G(⋅,t)u = f * G(\cdot,t)
ff bounded but not L1L^1 (e.g. f≡cf\equiv c)Ordinary Fourier transform integral divergesUse distributional Fourier transform, or solve directly if solution is obvious
ff unbounded (e.g. polynomial growth)Uniqueness among all solutions fails (Tychonoff-type non-uniqueness)Restrict to bounded solutions, or use growth-restricted uniqueness classes
Domain is a half-line x>0x>0, not all of R\mathbb{R}Ordinary two-sided Fourier transform is inapplicable; boundary condition at x=0x=0 must enterUse Fourier sine/cosine transform, or Laplace Transform Methods for PDEs in tt instead
Wave equation utt=c2uxxu_{tt}=c^2u_{xx} instead of heat equationSame transform method applies but the ODE in tt is second order, giving oscillatory (not decaying) solutions in ξ\xiSolve u^tt=−c2ξ2u^\hat u_{tt} = -c^2\xi^2\hat u as an ODE, giving d'Alembert's formula upon inversion
Checking t→0+t\to0^+ limit only at discontinuity points of ffConvergence u(x,t)→f(x)u(x,t)\to f(x) can fail or must be reinterpreted (converges to the average of left/right limits)State convergence only at continuity points, as the theorem does

The mathematician behind it

Origins · 1 minJean-Baptiste Joseph Fourier and how this was discovered
JJ
Jean-Baptiste Joseph Fourier
1768–1830 · Napoleonic-era France, applied mathematics and physics

Fourier developed his theory of trigonometric series while studying the propagation of heat in solids, publishing Théorie analytique de la chaleur in 1822. His central claim — that essentially arbitrary functions can be represented as superpositions of sines and cosines — was met with skepticism from contemporaries including Lagrange, precisely because rigorous convergence theory did not yet exist. The extension of his ideas from periodic functions on bounded intervals to the continuous transform on all of R\mathbb{R}, needed for unbounded-domain problems, was developed over the following century by mathematicians including Cauchy, Plancherel, and Wiener, who supplied the rigorous convergence and inversion theorems this article relies on.

History
- 1807: Fourier submits a memoir on heat propagation to the French Academy, introducing trigonometric series representations, met with resistance over rigor.
- 1822: Fourier publishes Théorie analytique de la chaleur, establishing the heat equation and Fourier series as tools for its solution.
- 1822: Cauchy independently develops early forms of the Fourier integral theorem for unbounded domains, extending the series idea to the transform.
- 1910: Plancherel proves the theorem bearing his name, establishing the transform as an isometry on L2(R)L^2(\mathbb{R}) and placing Fourier analysis on rigorous footing.
- 1933: Wiener's The Fourier Integral and Certain of its Applications consolidates the modern theory used to justify the inversion and convolution theorems in this article.
Why does the Fourier transform turn differentiation into multiplication?

Because eiξxe^{i\xi x} is an eigenfunction of ddx\frac{d}{dx}: differentiating it just multiplies it by iξi\xi. The Fourier transform expresses any suitable function as a continuous superposition of these exponentials, so applying ddx\frac{d}{dx} to the whole superposition amounts to multiplying each exponential's contribution by its own eigenvalue iξi\xi, which is precisely multiplication of f^(ξ)\hat f(\xi) by iξi\xi. This is the same mechanism by which diagonalizing a matrix turns a linear system into decoupled scalar equations — here the "eigenbasis" is the continuum of exponentials eiξxe^{i\xi x}, and constant-coefficient differentiation is exactly diagonal in that basis.

Why is the heat kernel Gaussian in shape?

It arises as the inverse Fourier transform of e−kξ2te^{-k\xi^2 t}, itself a Gaussian in ξ\xi. A remarkable self-duality of the Gaussian function — its Fourier transform is again Gaussian, as proved via contour shifting in the theorem's proof — means the frequency-domain Gaussian e−kξ2te^{-k\xi^2 t} inverts back to a spatial Gaussian. This is not a coincidence specific to the heat equation alone; it reflects the deep fact that Gaussians are the unique (up to scaling) fixed points of the Fourier transform among rapidly decaying functions, closely tied to the central limit theorem in probability.

Does this method work for the wave equation too?

Yes, with a modification at Step 2. Transforming utt=c2uxxu_{tt} = c^2 u_{xx} in xx gives u^tt(ξ,t)=−c2ξ2u^(ξ,t)\hat u_{tt}(\xi,t) = -c^2\xi^2 \hat u(\xi,t), a second-order ODE in tt for each ξ\xi, with general solution u^(ξ,t)=A(ξ)cos⁡(cξt)+B(ξ)sin⁡(cξt)\hat u(\xi,t) = A(\xi)\cos(c\xi t) + B(\xi)\sin(c\xi t) determined by both initial position and initial velocity. Inverting this (using that cos⁡(cξt)\cos(c\xi t) corresponds to averaging shifted copies of the initial data) recovers d'Alembert's traveling-wave formula, showing the same three-step method applies well beyond the heat equation.

How do we know the solution formula is the unique bounded solution, not just a solution?

This requires a separate argument, typically a maximum principle: if v=u1−u2v = u_1 - u_2 solves the heat equation with zero initial data and is bounded, one shows using an auxiliary comparison function that v≡0v \equiv 0. This uniqueness fact is used in the theorem but its proof (via the maximum principle rather than Fourier analysis) lies outside the transform method itself; it is flagged in the proof as a fact invoked rather than re-derived, and is closely related to the general study of Well-Posedness of PDE Problems.

Is the constant 4πkt4\pi kt under the square root in the heat kernel something to memorize, or does it come from somewhere?

It comes directly from the normalization needed to make the Gaussian transform pair consistent, as shown in the Gaussian Transform Lemma: transforming e−x2/(4a)e^{-x^2/(4a)} produces 4πa e−aξ2\sqrt{4\pi a}\, e^{-a\xi^2}, and setting a=kta = kt (to match the ODE solution e−kξ2te^{-k\xi^2 t}) forces the prefactor 14πkt\frac{1}{\sqrt{4\pi kt}} upon inversion, precisely so that ∫G dx=1\int G\,dx = 1 for all tt. Rather than memorizing it, it is more robust to rederive it from ∫e−w2dw=π\int e^{-w^2}dw = \sqrt\pi and the required unit-mass property.

Why does the problem require decay conditions on uu and its derivatives, beyond just solving the PDE?

Without decay as ∣x∣→∞|x|\to\infty, the boundary terms in the integration-by-parts step of the differentiation lemma do not vanish, and ux^=iξu^\widehat{u_x} = i\xi\hat u can fail. Decay conditions are what make the Fourier transform integrals converge in the first place and what make the algebraic manipulation (differentiation becomes multiplication) actually valid rather than merely formal. This mirrors why, in The Heat Equation and the Diffusion Model, physically reasonable boundedness or decay assumptions are imposed from the start — they are not extra technicalities but the conditions under which the governing equation has a meaningful, unique solution at all.

Before this

Where this leads