Unit 5: The Heat/Diffusion Equation: Maximum Principles, Fundamental Solution & Separation of Variables
Parabolic diffusion processes in continuum physics: macroscopic conservation of thermal energy and Fourier's law of conduction, weak and strong maximum/minimum principles, uniqueness and stability theorems, Fourier separation of variables under Dirichlet, Neumann, and Robin boundary conditions, Duhamel's principle for inhomogeneous source distributions, and the Gaussian fundamental solution (heat kernel) on infinite domains.
ยง5.1 Physical Derivation of the Diffusion Equation & Fourier's Law
1. Thermodynamic Conservation of Thermal Energy
Consider an arbitrary, bounded, smooth spatial domain $V \subset \mathbb{R}^3$ filled with a rigid isotropic conducting material of mass density $\rho(\mathbf{x})$, specific heat capacity $c_p(\mathbf{x})$, and thermal conductivity $k(\mathbf{x})$. Let $u(\mathbf{x}, t)$ denote the absolute temperature field at position $\mathbf{x} = (x, y, z)$ and time $t$.
The total thermal energy contained in the volume $V$ is:
By the First Law of Thermodynamics, the rate of increase of internal thermal energy equals the net rate of heat conducted inward across the boundary surface $\partial V$ plus the rate of heat generated by internal volumetric sources $Q(\mathbf{x}, t)$:
where $\mathbf{q}(\mathbf{x}, t)$ is the heat flux vector (energy per unit area per unit time) and $\mathbf{n}$ is the outward unit normal.
Applying the Divergence Theorem to the surface flux integral:
Combining all terms under a single volume integral:
Since this integral vanishes for every arbitrary subvolume $V \subset \mathbb{R}^3$, the integrand must vanish identically, yielding the continuity equation for heat energy:
2. Fourier's Law of Heat Conduction
In 1822, Joseph Fourier established the empirical constitutive law: heat flows in the direction of the steepest decrease in temperature at a rate proportional to the temperature gradient:
where $k > 0$ is the thermal conductivity of the medium. Substituting Fourier's law into the continuity equation:
For a homogeneous, isotropic medium where $\rho, c_p,$ and $k$ are uniform constants:
Defining the thermal diffusivity $\alpha = \frac{k}{\rho c_p} > 0$ (with physical dimensions $[L^2 T^{-1}]$), we obtain in the absence of internal sources ($Q = 0$):
In one spatial dimension ($x \in \mathbb{R}$), this simplifies to the 1D heat equation:
ยง5.2 The Weak & Strong Maximum Principles & Uniqueness Theorems
1. The Parabolic Cylinder and Maximum Principle
Let $\Omega \subset \mathbb{R}^n$ be an open, bounded spatial domain, and let $T > 0$ be a fixed time horizon. Define the spacetime cylinder:
and the parabolic boundary $\Gamma_T$ consisting of the base at $t = 0$ and the lateral spatial boundary:
Notice that the top lid $\Omega \times \{t = T\}$ is part of $Q_T$, not $\Gamma_T$.
Theorem 5.1 (Weak Maximum Principle for the Heat Equation): Let $u \in C^2(Q_T) \cap C(\bar{Q}_T)$ satisfy the heat equation:
Then the maximum and minimum of $u$ on the closed cylinder $\bar{Q}_T$ are attained on the parabolic boundary $\Gamma_T$:
Proof: Let $M = \max_{\Gamma_T} u$. We must show that $u(\mathbf{x}, t) \le M$ for all $(\mathbf{x}, t) \in Q_T$. Assume for contradiction that there exists a point $(\mathbf{x}_0, t_0) \in Q_T$ such that $u(\mathbf{x}_0, t_0) = M + \epsilon$ with $\epsilon > 0$. For any $\delta > 0$, construct the auxiliary perturbation function:
Choose $\delta = \frac{\epsilon}{2T} > 0$. Then on $\Gamma_T$:
While at $(\mathbf{x}_0, t_0)$:
Since $\bar{Q}_T$ is compact and $v$ is continuous, $v$ must attain its global maximum on $\bar{Q}_T$ at some point $(\mathbf{x}^, t^) \in Q_T$ (in the interior or on the top lid $t^* = T$). At this internal maximum point:
- Spatial first derivatives vanish: $\nabla v(\mathbf{x}^, t^) = \mathbf{0}$.
- Spatial second derivatives satisfy the negative semi-definite Hessian condition: $\nabla^2 v(\mathbf{x}^, t^) \le 0$.
- The time derivative must satisfy: $v_t(\mathbf{x}^, t^) \ge 0$ (if $t^ < T$, $v_t = 0$; if $t^ = T$, $v_t \ge 0$ from below).
Now compute the heat operator applied to $v$:
However, using the derivative conditions at the maximum point:
This yields the strict contradiction:
Therefore, no such point $(\mathbf{x}_0, t_0)$ can exist, proving $u(\mathbf{x}, t) \le M$ throughout $\bar{Q}_T$. Applying the same argument to $-u$ yields the minimum principle. $\blacksquare$
2. Uniqueness and Continuous Dependence
Theorem 5.2 (Uniqueness of Initial-Boundary Value Problem): There exists at most one classical solution to the Dirichlet problem:
Proof: Let $u_1$ and $u_2$ be two solutions, and let $w = u_1 - u_2$. Then $w_t - \alpha \nabla^2 w = 0$ in $Q_T$, and $w = 0$ on $\Gamma_T$. By the Weak Maximum and Minimum Principles:
Thus $w(\mathbf{x}, t) \equiv 0$, which proves $u_1 \equiv u_2$. $\blacksquare$
ยง5.3 Separation of Variables: Dirichlet, Neumann & Robin Boundaries
1. Homogeneous Dirichlet Conditions on a Finite Rod $[0, L]$
Consider the heat conduction on $[0, L]$ with both ends kept at zero temperature:
Separating variables $u(x, t) = X(x) T(t)$:
- Spatial Sturm-Liouville problem: $X'' + \lambda X = 0, X(0) = X(L) = 0$.
Eigenvalues: $\lambda_n = \left(\frac{n\pi}{L}\right)^2$, Eigenfunctions: $X_n(x) = \sin\left(\frac{n\pi x}{L}\right)$ for $n \in \mathbb{N}$.
- Temporal ODE: $T_n'(t) + \alpha \lambda_n T_n(t) = 0 \implies T_n(t) = e^{-\alpha (n\pi/L)^2 t}$.
General solution:
where the Fourier sine coefficients are:
Notice the exponential decay factor: higher Fourier harmonics damp out drastically faster ($n^2$), smoothing out initial irregularities instantly!
2. Homogeneous Neumann Conditions (Insulated Rod)
When both ends of the rod are perfectly thermally insulated:
The spatial eigenfunctions are $X_0(x) = 1$ (for $\lambda_0 = 0$) and $X_n(x) = \cos\left(\frac{n\pi x}{L}\right)$. The general solution is:
where:
As $t \to \infty$, all decaying exponential terms vanish:
The temperature asymptotically equilibrates to the exact average initial temperature of the rod, demonstrating total thermal energy conservation in an insulated system.
ยง5.4 Inhomogeneous Heat Equations & Duhamel's Principle
1. Inhomogeneous Initial-Boundary Value Problems
Consider the heat equation with an external heat source $f(x, t)$:
2. Duhamel's Principle
Jean-Marie Duhamel (1837) proved that the solution to an inhomogeneous PDE driven by a continuous source $f(x, t)$ can be constructed by integrating a family of solutions to homogeneous initial value problems.
Theorem 5.3 (Duhamel's Principle for Parabolic Equations): For each fixed parameter $\tau \ge 0$, let $w(x, t; \tau)$ be the unique solution to the homogeneous heat problem for $t > \tau$:
Then the solution $u(x, t)$ to the inhomogeneous problem with zero initial condition is given by the integral:
Proof: Differentiating $u(x, t)$ with respect to $t$ via Leibniz's rule for differentiating under the integral sign:
By the initial condition of the family $w$, $w(x, t; t) = f(x, t)$. Next, compute the spatial derivative:
Now evaluate the heat operator on $u$:
Since $w$ satisfies the homogeneous heat equation $w_t - \alpha w_{xx} = 0$, the integral vanishes identically:
Furthermore, at $t = 0$:
And along the boundaries $x = 0, L$, since $w(0, t; \tau) = w(L, t; \tau) = 0$, $u(0, t) = u(L, t) = 0$. $\blacksquare$
ยง5.5 Infinite Domain Diffusion: The Gaussian Fundamental Solution
1. Derivation of the Heat Kernel via Similarity Variables
Consider the heat equation on the unbounded line $\mathbb{R}$:
subject to a unit point source concentrated at the origin at $t = 0$:
where $\delta(x)$ is the Dirac delta distribution.
The PDE and total heat content $\int_{-\infty}^\infty u(x, t)\,dx = 1$ are invariant under the parabolic scaling transformation:
This scaling symmetry dictates that $u(x, t)$ must take the self-similar form:
Compute partial derivatives:
Substituting into $u_t = \alpha u_{xx}$:
Integrating once with respect to $\xi$:
Since $u \to 0$ and $u_x \to 0$ as $|x| \to \infty$, the constant $C = 0$:
Substituting $\xi = \frac{x}{\sqrt{\alpha t}}$:
To determine the normalization constant $A$, enforce $\int_{-\infty}^\infty u(x, t)\,dx = 1$:
Definition 5.1 (The Gaussian Heat Kernel): The fundamental solution (or heat kernel) of the 1D diffusion equation is:
For an arbitrary bounded initial temperature distribution $u(x, 0) = f(x)$, the solution is given by the convolution:
Rigorous Tiered Solved Examination Problems
Step-by-step unskipped derivations, complete proofs, and verification across Foundational, Advanced, and Honors tiers.
A uniform metal rod of length $L = \pi$ and thermal diffusivity $\alpha = 1$ has its ends held at zero temperature:
The initial temperature distribution is given by:
- Find the exact solution $u(x, t)$ for all $t > 0$.
- Compute the decay rate of each component and explain which mode dominates as $t \to \infty$.
1. General Fourier Sine Expansion
For $L = \pi$ and $\alpha = 1$, the eigenfunctions are $X_n(x) = \sin(nx)$ and the eigenvalues are $\lambda_n = n^2$. The general solution is:
At $t = 0$:
2. Identifying Fourier Coefficients
By the orthogonality of the sine basis on $[0, \pi]$, we read off the coefficients directly:
- $b_1 = 1$
- $b_2 = 0$
- $b_3 = -2$
- $b_4 = 5$
- $b_n = 0$ for all other $n \ge 5$.
Therefore, the exact solution is:
3. Asymptotic Analysis
The three components decay with exponential rates:
- $n = 1$: $e^{-t}$ (decay rate 1)
- $n = 3$: $e^{-9t}$ (decay rate 9)
- $n = 4$: $e^{-16t}$ (decay rate 16)
The $n = 4$ mode damps 16 times faster than the fundamental mode! For even moderately small times (e.g. $t = 1$), $e^{-16} \approx 1.1 \times 10^{-7}$ and $e^{-9} \approx 1.2 \times 10^{-4}$, whereas $e^{-1} \approx 0.368$. Thus, as $t \to \infty$:
The fundamental harmonic $\sin(x)$ dominates the entire thermal profile asymptotically. $\blacksquare$
A rod of length $L$ and diffusivity $\alpha$ is thermally insulated at both ends:
The initial temperature profile is parabolic:
- Find the complete Fourier cosine series solution $u(x, t)$.
- Calculate the steady-state equilibrium temperature as $t \to \infty$.
- Show that total thermal energy is conserved for all $t \ge 0$.
1. General Fourier Cosine Series
For insulated boundaries, the solution is:
2. Computation of Fourier Coefficients
1. Constant Term $a_0$:
So $a_0 = \frac{L^2}{3}$.
2. Higher Coefficients $a_n$ for $n \ge 1$:
Using integration by parts twice: Let $u = Lx - x^2 \implies u' = L - 2x \implies u'' = -2$. $dv = \cos(k x)\,dx \implies v = \frac{\sin(k x)}{k} \implies \int v = -\frac{\cos(k x)}{k^2}$, where $k = \frac{n\pi}{L}$.
The boundary term vanishes since $Lx - x^2 = 0$ at $x = 0, L$. Integrating the remaining term by parts:
The integral of $\cos(kx)$ from $0$ to $L$ is $\frac{\sin(kL)}{k} = 0$. Evaluating the boundary term:
Therefore:
Multiplying by $\frac{2}{L}$:
- If $n$ is odd: $1 + (-1)^n = 0 \implies a_n = 0$.
- If $n$ is even ($n = 2m$): $1 + (-1)^n = 2 \implies a_{2m} = -\frac{4L^2}{(2m)^2 \pi^2} = -\frac{L^2}{m^2 \pi^2}$.
The complete series solution is:
3. Steady-State Equilibrium and Energy Conservation
As $t \to \infty$, all exponential terms decay to zero:
The total thermal energy in the rod at any time $t$ is:
Since $\int_0^L \cos(2m\pi x/L)\,dx = 0$ for all $m \ge 1$:
Total thermal energy is strictly invariant. $\blacksquare$
Consider the initial-boundary value problem for the 1D heat equation with Robin boundary conditions:
- Use the energy integral method to prove that this problem has at most one $C^2$ solution.
- Establish continuous dependence on the initial data in the $L^2$-norm.
1. Homogeneous Difference System
Let $u$ and $v$ be two classical solutions, and define $w(x, t) = u(x, t) - v(x, t)$. Then $w$ satisfies:
2. Time Evolution of the $L^2$ Energy Functional
Define the total $L^2$ energy of the error:
Differentiate with respect to time:
Integrate by parts:
Substitute the Robin boundary conditions:
- At $x = L$: $w(L, t) w_x(L, t) = w(L, t) [-h_L w(L, t)] = -h_L [w(L, t)]^2$
- At $x = 0$: $w(0, t) w_x(0, t) = w(0, t) [h_0 w(0, t)] = h_0 [w(0, t)]^2$
Thus:
Substituting back into $dE/dt$:
Since $\alpha > 0, h_0 > 0, h_L > 0$, every term inside the parentheses is strictly non-negative:
3. Conclusion of Uniqueness
Integrating from $0$ to $t$:
At $t = 0$:
Since $E(t) = \frac{1}{2}\int_0^L w^2\,dx \ge 0$, we have:
Because $w^2$ is continuous and non-negative:
The solution is strictly unique.
4. Continuous Dependence on Initial Data
If initial data $\phi_1, \phi_2$ satisfy $\|\phi_1 - \phi_2\|_{L^2} < \epsilon$, then:
Since $E(t) \le E(0)$:
The solution depends continuously on initial perturbations in the $L^2$-norm. $\blacksquare$