Dirichlet's principle and its rescue
To find the equilibrium temperature in a region with prescribed boundary values, nineteenth-century physicists minimised the Dirichlet energy : a minimiser satisfies Laplace's equation . Riemann (1851) built his theory of Riemann surfaces on this "Dirichlet principle". In 1870 Weierstrass pointed out that an energy bounded below need not attain its infimum: he exhibited a similar functional whose infimum over smooth functions is never achieved. Existence was not a formality, and the principle fell from favour until Hilbert (1900) rescued it.
The rescue, completed by Sobolev, Leray, Schwartz and others in the 1930s and 1940s, is the modern theory. Its strategy has two steps. First, enlarge the space of candidates to a complete space — a Sobolev space of functions with square-integrable weak derivatives — so that minimising sequences have limits and existence follows from functional analysis. Second, prove regularity: show that the weak solution is in fact smooth. Many problems stop at the first step, because their natural solutions are not smooth: shock waves in gas dynamics, the bending of a plate with a corner, the turbulent velocity fields of the Navier–Stokes equations.
Move the derivatives onto the test function
If solves with on , multiply by any smooth vanishing near and integrate by parts:
This weak formulation makes sense when has only one derivative, and only in . Conversely, a function satisfying it for all solves the equation classically. So we may define a solution by the integral identity, look for it in the space where both sides are continuous in and , and recognise the left side as an inner product. The equation becomes: find with for all — and the Riesz representation theorem solves that instantly. Every quantitative estimate (stability, convergence of numerical schemes) comes from this Hilbert-space picture, with coercivity (here the Poincaré inequality) as the key input.
The same move — test against smooth functions, put derivatives on the test functions — defines derivatives of objects that are not functions at all: the Dirac delta, the derivative of a jump. That is the theory of distributions.
Distributions, weak derivatives and Sobolev spaces
Let be open. Multi-indices index derivatives , of order .
Definition— test functions and distributions
The test functions are the smooth functions with compact support in . A sequence in if all supports lie in one compact and uniformly for every . A distribution is a linear functional on that is continuous for this convergence. Every defines one, . The derivative of a distribution is defined by , so every distribution is infinitely differentiable.
Definition— weak derivative
. Then is the weak derivative if for every — that is, if the distributional derivative of is a function. Weak derivatives are unique up to null sets.
Definition— Sobolev spaces
is the space of whose weak first partial derivatives lie in , with inner product . More generally requires for , and . The space is the closure of in : the functions "vanishing on ".
is a Hilbert space: if is Cauchy in , then and in by Riesz–Fischer, and passing to the limit in shows . Its dual space contains every function and also distributions such as with .
Definition— weak solution and well-posedness
For (or ), a weak solution of in , on , is a with for every . A problem is well-posed in the sense of Hadamard (1902) if a solution exists, is unique, and depends continuously on the data in suitable norms.
Definition— bounded and coercive bilinear forms
A bilinear form on a real Hilbert space is bounded if and coercive if for some and all .
Examples: deltas, kinks and unbounded Sobolev functions
Example— The Heaviside function and the Dirac delta
Let on . For , . So , the Dirac delta , which is a distribution but not a function: has no weak derivative. Likewise .
Example— A kink is fine, a jump is not
on has weak derivative : split at and integrate by parts on each half; the boundary terms at vanish because is continuous. So . But has distributional derivative , so it is not in . In one dimension functions are (after modification on a null set) absolutely continuous, with and : Hölder continuous of exponent .
Example— In two dimensions, H¹ functions can be unbounded
On the disc let . Then and, in polar coordinates, . So , yet is unbounded near . The Sobolev embedding theorem says exactly when this cannot happen: when ; here is the borderline case.
Example— The fundamental solution
In , is locally integrable and satisfies in the sense of distributions (Green's identity on the region , letting ). Hence solves on for : Newton's gravitational potential of a mass density .
Weak solutions of elliptic problems
Theorem— Lax–Milgram theorem (1954)
Let be a real Hilbert space and a bounded, coercive bilinear form on with constants and . For every there is a unique with for all , and .
Proof
For fixed , is a bounded linear functional, so by the Riesz representation theorem there is a unique with for all . The map is linear and bounded, . Coercivity gives
Hence is injective, and its range is closed: if , then is Cauchy by the last inequality, so and . The range is also dense: if , then , so . So is a bijection. Given , write (Riesz) and set ; then . Uniqueness: if for all , take and use coercivity. Stability: .
∎
If is also symmetric, it is an inner product equivalent to the original one and Lax–Milgram is just the Riesz theorem; moreover is the unique minimiser of , since . That is Dirichlet's principle, now with a proof. The force of Lax–Milgram is that it also covers non-symmetric forms, such as those of convection–diffusion equations .
Theorem— Poincaré inequality
Let lie in a slab . Then for every .
Proof
First let , extended by . Writing , the fundamental theorem of calculus and the Cauchy–Schwarz inequality give
Integrating over and then over gives . Both sides are continuous in the norm, and is dense in by definition, so the inequality extends.
∎
The inequality fails in (constants have ) and on unbounded domains such as : the boundary condition and the boundedness both matter.
Theorem— Theorem (the Dirichlet problem is well-posed)
Let be bounded and . There is a unique weak solution of , on , and with depending only on .
Proof
Apply Lax–Milgram on with and . is bounded by Cauchy–Schwarz. By Poincaré (with the width of a slab containing ), , so is coercive with . Finally . Lax–Milgram gives existence, uniqueness and .
∎
The same argument handles whenever the coefficients are bounded and the form is coercive (e.g. , , ), with no smoothness of at all — the setting of composite materials, where classical solutions do not exist. Combined with the Rellich–Kondrachov theorem (the embedding is compact for bounded ), it makes the solution operator a compact self-adjoint operator on , and the spectral theorem of functional analysis yields an orthonormal basis of Dirichlet eigenfunctions with .
Theorem— Céa's lemma (1964)
Let be the Lax–Milgram solution and a closed subspace (e.g. finite elements). The Galerkin solution with for all exists, is unique, and satisfies .
Proof
Existence and uniqueness: Lax–Milgram on . Subtracting the two equations gives Galerkin orthogonality for all . For any , taking ,
Divide by and take the infimum over .
∎
So the finite element error is, up to the factor , the best approximation error of the finite element space — a question of approximation theory (for piecewise linear elements of size , of order ).
Maximum principles and energy methods
Theorem— Weak maximum principle
Let be bounded and with in ( is subharmonic). Then . In particular a harmonic function attains its maximum and minimum on the boundary.
Proof
First suppose in . If had a maximum at an interior point , the Hessian of at would be negative semidefinite, so , a contradiction. Since is compact, the maximum of is attained, hence on . For general , let , so . With ,
Let . For harmonic , apply this to and .
∎
Consequences: the classical Dirichlet problem has at most one solution (the difference of two solutions is harmonic with zero boundary values), and solutions depend continuously on the boundary data in the sup norm, . The same argument proves the weak maximum principle for the heat equation on space–time cylinders. In one dimension "subharmonic" means , i.e. convex, and the principle says a convex function on an interval lies below the larger of its endpoint values — the version formalised below.
Theorem— Energy estimates for the heat and wave equations
Let be bounded and smooth on with on .
- If , then satisfies , with the Poincaré constant. In particular the initial–boundary value problem has at most one smooth solution.
- If , then the energy is constant in time; again solutions are unique.
Proof
(1) Differentiating under the integral and integrating by parts (the boundary term vanishes since on ),
by Poincaré. So . If solve the same problem, solves it with zero initial data, so . (2) Similarly , using on . The difference of two solutions with the same data has zero energy at , hence for all , so it is constant in space and time, and zero by the boundary condition.
∎
Energy methods are robust: they extend to variable coefficients and nonlinear problems, and localised versions prove finite speed of propagation for the wave equation (a disturbance supported in a ball of radius at time stays in the ball of radius ), in contrast with the heat equation, whose kernel is positive everywhere for .
Regularity and well-posedness
Elliptic regularity. Weak solutions of elliptic equations are as smooth as the data allow. If is a weak solution of and , then ; by Sobolev embedding ( when ), implies . Weyl's lemma (1940) is the case : a distribution with is a smooth harmonic function. The proof (Evans, §6.3) differentiates the equation weakly using Nirenberg's difference quotients , which are bounded in by the energy estimate and therefore converge weakly to ; iterating gains one derivative at a time. Up to the boundary the same holds if is smooth. For nonlinear elliptic equations regularity is much harder: Hilbert's nineteenth problem, on the regularity of minimisers of variational integrals, was solved independently by De Giorgi (1957) and Nash (1958).
Well-posedness can fail. Hadamard's example: solves with Cauchy data and . The data tend to uniformly, yet . The zero data have the solution , so the Cauchy problem for Laplace's equation does not depend continuously on its data: it is ill-posed, although (by Cauchy–Kovalevskaya) it is uniquely solvable for analytic data. The right problems for elliptic equations are boundary value problems; Cauchy problems belong to hyperbolic equations such as the wave equation. Ill-posed problems are not useless — inverse problems in imaging are ill-posed — but they require regularisation.
Weak solutions can be the only solutions. For Burgers' equation , smooth initial data develop shocks in finite time, after which only weak (integral) solutions exist; an extra entropy condition restores uniqueness (Oleinik, Kružkov). And for the three-dimensional Navier–Stokes equations, Leray (1934) proved that global weak solutions exist; whether smooth data always lead to global smooth solutions is one of the Clay Millennium Prize problems, and is open.
The weak theory in Lean and Mathlib
Mathlib has the Lax–Milgram theorem in the form "the operator of the proof is a continuous linear equivalence". Combined with the Riesz representation it gives the statement of the lesson:
/-- **Lax–Milgram theorem.** Let `B` be a bounded bilinear form on a real Hilbert space `V`
which is coercive (`C ‖u‖² ≤ B(u, u)` for some `C > 0`). Then every bounded linear functional
`ℓ` is represented by `B`: there is `u` with `B(u, v) = ℓ(v)` for all `v`. This combines
Mathlib's `IsCoercive.continuousLinearEquivOfBilin` (the operator `u ↦ B(u, ·)` is an
isomorphism) with the Riesz representation `InnerProductSpace.toDual`. -/
theorem lax_milgram {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V]
{B : V →L[ℝ] V →L[ℝ] ℝ} (hB : IsCoercive B) (ℓ : StrongDual ℝ V) :
∃ u : V, ∀ v, B u v = ℓ v := by
refine ⟨hB.continuousLinearEquivOfBilin.symm ((InnerProductSpace.toDual ℝ V).symm ℓ),
fun v => ?_⟩
rw [← IsCoercive.continuousLinearEquivOfBilin_apply hB,
ContinuousLinearEquiv.apply_symm_apply, InnerProductSpace.toDual_symm_apply]Uniqueness and the stability estimate , proved from coercivity exactly as above:
/-- **Uniqueness of weak solutions.** If `B` is coercive and `B(u₁, v) = B(u₂, v)` for all `v`,
then `u₁ = u₂`: with `w = u₁ − u₂`, coercivity gives `C ‖w‖² ≤ B(w, w) = 0`. -/
theorem lax_milgram_unique {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V]
{B : V →L[ℝ] V →L[ℝ] ℝ} (hB : IsCoercive B) {u₁ u₂ : V} (h : ∀ v, B u₁ v = B u₂ v) :
u₁ = u₂ := by
obtain ⟨C, hC, hcoer⟩ := hB
have h0 : B (u₁ - u₂) (u₁ - u₂) = 0 := by
rw [map_sub B u₁ u₂, sub_apply, h, sub_self]
have hw := hcoer (u₁ - u₂)
rw [h0] at hw
have hn : ‖u₁ - u₂‖ = 0 := by
by_contra hne
have hpos : 0 < ‖u₁ - u₂‖ := lt_of_le_of_ne (norm_nonneg _) (Ne.symm hne)
have := mul_pos (mul_pos hC hpos) hpos
linarith
exact sub_eq_zero.mp (norm_eq_zero.mp hn)/-- **Stability (continuous dependence on the data).** If `C ‖u‖² ≤ B(u, u)` and
`B(u, v) = ℓ(v)` for all `v`, then `C ‖u‖ ≤ ‖ℓ‖`: indeed
`C ‖u‖² ≤ B(u, u) = ℓ(u) ≤ ‖ℓ‖ ‖u‖`; divide by `‖u‖` (the case `u = 0` is trivial). For
`−Δu = f` this is the energy estimate `‖u‖_{H¹₀} ≤ C⁻¹ ‖f‖_{H⁻¹}`. -/
theorem lax_milgram_bound {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V]
{B : V →L[ℝ] V →L[ℝ] ℝ} {C : ℝ} (hcoer : ∀ u, C * ‖u‖ * ‖u‖ ≤ B u u)
(ℓ : StrongDual ℝ V) {u : V} (hu : ∀ v, B u v = ℓ v) : C * ‖u‖ ≤ ‖ℓ‖ := by
rcases eq_or_lt_of_le (norm_nonneg u) with h | h
· rw [← h, mul_zero]
exact norm_nonneg ℓ
· have h1 : C * ‖u‖ * ‖u‖ ≤ ‖ℓ‖ * ‖u‖ :=
calc C * ‖u‖ * ‖u‖ ≤ B u u := hcoer u
_ = ℓ u := hu u
_ ≤ |ℓ u| := le_abs_self _
_ = ‖ℓ u‖ := (Real.norm_eq_abs _).symm
_ ≤ ‖ℓ‖ * ‖u‖ := ℓ.le_opNorm u
exact le_of_mul_le_mul_right h1 hThe bridge between classical and weak derivatives — integration by parts against a test function vanishing at the endpoints:
/-- **Classical derivatives are weak derivatives.** If `u` is differentiable on `[a, b]` with
integrable derivative `u'`, then for every test function `φ` vanishing at `a` and `b`,
`∫ u φ' = − ∫ u' φ`. This identity is the *definition* of "`u'` is the weak derivative of `u`",
so the weak notion extends the classical one. Proof: integration by parts (Mathlib's
`intervalIntegral.integral_mul_deriv_eq_deriv_mul`); the boundary terms vanish. -/
theorem classical_is_weak {u u' φ φ' : ℝ → ℝ} {a b : ℝ}
(hu : ∀ x ∈ uIcc a b, HasDerivAt u (u' x) x) (hφ : ∀ x ∈ uIcc a b, HasDerivAt φ (φ' x) x)
(hu' : IntervalIntegrable u' MeasureTheory.volume a b)
(hφ' : IntervalIntegrable φ' MeasureTheory.volume a b) (ha : φ a = 0) (hb : φ b = 0) :
∫ x in a..b, u x * φ' x = -∫ x in a..b, u' x * φ x := by
rw [intervalIntegral.integral_mul_deriv_eq_deriv_mul hu hφ hu' hφ', ha, hb]
ringThe one-dimensional maximum principle (subharmonic = convex), and Mathlib's mean value property for harmonic functions in the plane, from which the strong maximum principle follows:
/-- **Weak maximum principle in one dimension.** If `u'' ≥ 0` on `(a, b)` (`u` is
*subharmonic*: `−Δu ≤ 0`) and `u` is continuous on `[a, b]`, then `u ≤ max(u(a), u(b))` on
`[a, b]`: the maximum is attained on the boundary. In one dimension subharmonic means convex,
so this follows from Mathlib's `convexOn_of_deriv2_nonneg` and `ConvexOn.le_on_segment`. -/
theorem max_principle_1d {u : ℝ → ℝ} {a b : ℝ} (hab : a ≤ b)
(hc : ContinuousOn u (Icc a b)) (hd : DifferentiableOn ℝ u (Ioo a b))
(hd2 : DifferentiableOn ℝ (deriv u) (Ioo a b))
(hsub : ∀ x ∈ Ioo a b, 0 ≤ deriv^[2] u x) {x : ℝ} (hx : x ∈ Icc a b) :
u x ≤ max (u a) (u b) := by
have hconv : ConvexOn ℝ (Icc a b) u :=
convexOn_of_deriv2_nonneg (convex_Icc a b) hc (by rwa [interior_Icc])
(by rwa [interior_Icc]) (by rwa [interior_Icc])
exact hconv.le_on_segment (left_mem_Icc.2 hab) (right_mem_Icc.2 hab)
(by rwa [segment_eq_Icc hab])/-- **Mean value property.** A function harmonic on a neighbourhood of the closed disc of radius
`R` about `c` equals its average over the circle of radius `R` about `c`. (The maximum
principle for harmonic functions in the plane follows from it.) This is Mathlib's
`HarmonicOnNhd.circleAverage_eq`. -/
theorem mean_value_property {f : ℂ → ℝ} {c : ℂ} {R : ℝ}
(hf : InnerProductSpace.HarmonicOnNhd f (Metric.closedBall c |R|)) :
Real.circleAverage f c R = f c :=
hf.circleAverage_eqThe blow-up in Hadamard's example — the quantitative heart of ill-posedness:
/-- **Hadamard's example.** `uₙ(x, y) = sin(n x) sinh(n y) / n²` solves `Δuₙ = 0` with Cauchy
data `uₙ(x, 0) = 0` and `∂_y uₙ(x, 0) = sin(n x)/n`, which tends to `0` uniformly. Yet at
`x = π/(2n)`, `y = 1` the solution equals `sinh(n)/n²`, which tends to `+∞`. Proof:
`sinh n ≥ (eⁿ − 1)/2` and `eⁿ/n² → ∞` (Mathlib's `Real.tendsto_exp_div_pow_atTop`). So the
solution does not depend continuously on the data. -/
theorem hadamard_blowup :
Tendsto (fun n : ℕ => Real.sinh n / (n : ℝ) ^ 2) atTop atTop := by
have h1 : Tendsto (fun x : ℝ => Real.exp x / x ^ 2 / 2 - 1 / 2) atTop atTop :=
tendsto_atTop_add_const_right _ _
((Real.tendsto_exp_div_pow_atTop 2).atTop_div_const (by norm_num))
refine tendsto_atTop_mono' atTop ?_ (h1.comp tendsto_natCast_atTop_atTop)
filter_upwards [eventually_ge_atTop 1] with n hn
have hn' : (1 : ℝ) ≤ n := by exact_mod_cast hn
have hexp : Real.exp (-(n : ℝ)) ≤ 1 := Real.exp_le_one_iff.mpr (by linarith)
have key : Real.exp (-(n : ℝ)) / (2 * (n : ℝ) ^ 2) ≤ 1 / 2 := by
rw [div_le_div_iff₀ (by positivity) (by norm_num)]
nlinarith
have hsplit : Real.exp n / (n : ℝ) ^ 2 / 2 = Real.exp n / (2 * (n : ℝ) ^ 2) := by
rw [div_div, mul_comm]
show Real.exp (n : ℝ) / (n : ℝ) ^ 2 / 2 - 1 / 2 ≤ Real.sinh n / (n : ℝ) ^ 2
rw [hsplit]
calc Real.exp n / (2 * (n : ℝ) ^ 2) - 1 / 2
≤ Real.exp n / (2 * (n : ℝ) ^ 2) - Real.exp (-(n : ℝ)) / (2 * (n : ℝ) ^ 2) := by linarith
_ = Real.sinh n / (n : ℝ) ^ 2 := by rw [Real.sinh_eq]; ringWhat is and is not formalised. Mathlib does not yet have Sobolev spaces on domains, the Poincaré inequality, Rellich–Kondrachov or elliptic regularity (it does have distributions in development, Schwartz functions and tempered distributions, and harmonic functions). So our formalisation covers the abstract Hilbert-space core of the weak theory — which is all that Lax–Milgram and Céa's lemma use — and one-dimensional or planar instances of the other ideas. The application to on a domain is proved in the text, not in Lean. We also do not formalise that Hadamard's are harmonic (a two-line computation with , ).
Finite elements: Galerkin's method in action
The experiment solves the weak form of on with zero boundary values, using continuous piecewise-linear "hat" functions on equal elements. The Galerkin equations are the tridiagonal system . As halves, the energy error halves and the error quarters, as Céa's lemma plus interpolation estimates (and a duality argument for ) predict. In one dimension something special happens: the nodal values are exact, because the Green's function of with pole at a node is itself piecewise linear. Indeed the inverse of the stiffness matrix is the Green's function sampled at the nodes, and its positivity is a discrete maximum principle.
"""Galerkin finite elements for -u'' = f on (0, 1), u(0) = u(1) = 0.
The weak formulation asks for u in H^1_0 with int u'v' = int f v for all v.
Galerkin's method imposes this only for v in the space of continuous
piecewise-linear "hat" functions on a uniform mesh of width h = 1/N, giving
the tridiagonal system (1/h) tridiag(-1, 2, -1) U = F. For f = pi^2 sin(pi x)
(exact solution sin(pi x)) we measure the errors: the energy error falls like
h, the L^2 error like h^2, and in one dimension the nodal values are exact.
We also check the discrete maximum principle: the inverse of the stiffness
matrix has positive entries, so f >= 0 gives U >= 0.
"""
import math
import numpy as np
GAUSS_X, GAUSS_W = np.polynomial.legendre.leggauss(6)
def stiffness(n):
"""The (n-1) x (n-1) matrix int phi_i' phi_j' = (1/h) tridiag(-1, 2, -1)."""
if n < 2:
raise ValueError("need at least 2 elements")
h = 1 / n
main = 2 * np.ones(n - 1)
off = -np.ones(n - 2)
return (np.diag(main) + np.diag(off, 1) + np.diag(off, -1)) / h
def load(n):
"""F_i = int f phi_i for f = pi^2 sin(pi x), computed exactly."""
h = 1 / n
nodes = np.arange(1, n) * h
return 2 * (1 - math.cos(math.pi * h)) * np.sin(math.pi * nodes) / h
def solve(n):
"""Nodal values (including the zero boundary values) of the Galerkin
solution with n elements."""
interior = np.linalg.solve(stiffness(n), load(n))
return np.concatenate([[0.0], interior, [0.0]])
def errors(n):
"""(energy error, L^2 error) of the Galerkin solution, by Gauss
quadrature on each element; the exact solution is sin(pi x)."""
values = solve(n)
h = 1 / n
energy = l2 = 0.0
for i in range(n):
a = i * h
x = a + h * (GAUSS_X + 1) / 2
w = GAUSS_W * h / 2
slope = (values[i + 1] - values[i]) / h
uh = values[i] + slope * (x - a)
energy += np.sum(w * (math.pi * np.cos(math.pi * x) - slope) ** 2)
l2 += np.sum(w * (np.sin(math.pi * x) - uh) ** 2)
return math.sqrt(energy), math.sqrt(l2)
def nodal_error(n):
"""Largest error of the Galerkin solution at the mesh nodes."""
nodes = np.arange(n + 1) / n
return float(np.max(np.abs(solve(n) - np.sin(math.pi * nodes))))
def main():
print("-u'' = pi^2 sin(pi x) on (0, 1), u(0) = u(1) = 0; exact u = sin(pi x)")
print(f"{'N':>4} {'energy err':>11} {'ratio':>6} {'L2 err':>11} {'ratio':>6}"
f" {'nodal err':>10}")
previous = None
for n in [4, 8, 16, 32, 64]:
e1, e0 = errors(n)
r1 = f"{previous[0] / e1:6.2f}" if previous else " -"
r0 = f"{previous[1] / e0:6.2f}" if previous else " -"
print(f"{n:>4} {e1:>11.3e} {r1} {e0:>11.3e} {r0} {nodal_error(n):>10.1e}")
previous = (e1, e0)
print("Halving h halves the energy error (rate 1) and quarters the L^2")
print("error (rate 2); in 1D the nodal values are exact up to rounding.")
print()
inverse = np.linalg.inv(stiffness(16))
print("Discrete maximum principle, N = 16:")
print(f" smallest entry of the inverse stiffness matrix: {inverse.min():.4f}")
print(" all entries positive, so f >= 0 forces U >= 0")
print()
print("Epistemic status: numerical evidence for one smooth right-hand side")
print("and five meshes. That the energy error is O(h) follows from Cea's")
print("lemma (Lax-Milgram stability) plus interpolation estimates, the L^2")
print("rate from a duality argument, and positivity from the M-matrix")
print("structure; this table illustrates those theorems but proves none.")
if __name__ == "__main__":
main()This is evidence for one problem on a few meshes. The theorems — Lax–Milgram for existence and stability of both and , Céa for the error — are what make the method trustworthy for problems where no exact solution is known.
Smoothing and blow-up
The heat kernel is the solution of starting from a unit point mass, the Dirac delta. Move towards and watch it concentrate (integral always ); move it up and watch it spread. For every it is positive everywhere — infinite speed of propagation — and infinitely smooth: the heat equation smooths instantly.
The heat kernel: a delta smoothed out
Move the sliders and trace along the curves to read off values.
- heat kernel at time t
- Signed area: above the axis counts as positive, below (hatched) as negative
- heat kernel at time t: y = 0.2076
- Signed area from −5 to 5 ≈ 1 (numerical integration)
Hadamard's example, along the line : the Cauchy data shrink as grows, while the solution explodes.
Ill-posedness: small data, huge solutions
Move the sliders and trace along the curves to read off values.
- data ∂y u(x, 0) = sin(nx)/n
- solution u(x, 1)
- data ∂y u(x, 0) = sin(nx)/n: y = 0.4546
- solution u(x, 1): y = 0.8245
Exercises
1. Partial differential equations: modern theory
Warm-upHumanLet be a test function with for . Compute , where is the distributional derivative of the Dirac delta.
2. Partial differential equations: modern theory
Warm-upHumanOn , which functions belong to ? Select all that apply.
3. Partial differential equations: modern theory
CoreHumanOn (norm ), which bilinear forms are coercive? Select all that apply.
4. Partial differential equations: modern theory
CoreHumanHadamard's example shows that the Cauchy problem , , is ill-posed. Which of Hadamard's conditions fails?
5. Partial differential equations: modern theory
StretchHumanIn the proof of Lax–Milgram, is defined by . Which argument shows that the range of is closed?
6. Partial differential equations: modern theory
CoreFormalSuppose hcoer : ∀ u, C * ‖u‖ * ‖u‖ ≤ B u u and hu : ∀ v, B u v = ℓ v. Which conclusion is the stability estimate of Lax–Milgram (and is provable from these hypotheses)?
7. Partial differential equations: modern theory
CoreHumanFor a smooth solution of on with , let . Using the sharp Poincaré inequality , which bound holds?
8. Partial differential equations: modern theory
CoreComputationalSolve on , , by finite differences: with and , the unknowns satisfy with . Write solve_poisson(f, n) returning the list , solving the tridiagonal system by forward elimination and back substitution (the Thomas algorithm).
Common misconceptions
Misconception
"Every reasonable PDE has classical solutions." Burgers' equation develops shocks from smooth data; elliptic problems with rough coefficients or non-smooth domains have solutions without second derivatives; and for 3D Navier–Stokes only weak solutions are known to exist globally. The modern order is: find a weak solution, then prove as much regularity as is true.
Misconception
"If a solution exists and is unique, the problem is well-posed." Hadamard's third condition — continuous dependence on the data — can fail independently: the Cauchy problem for Laplace's equation has unique (analytic) solutions, but tiny data produce enormous solutions. Without stability, solutions cannot be computed or measured reliably.
Misconception
"A weak derivative is just the derivative almost everywhere." The Cantor function is differentiable almost everywhere with derivative , but its weak derivative is not — it is not even a function (its distributional derivative is the Cantor measure). A function has a weak derivative in exactly when it is (locally) absolutely continuous in one dimension, and the pointwise a.e. derivative then agrees with it.
Misconception
"Functions in a Sobolev space are continuous." Only above the critical exponent: for . In two dimensions is in near and unbounded; in three dimensions is in near .
Many ways of seeing
Geometry— Harmonic forms and geometric analysis
On a compact Riemannian manifold, elliptic theory proves the Hodge theorem: every de Rham cohomology class has a unique harmonic representative, , so the dimension of the space of harmonic -forms is the Betti number — a topological invariant computed by solving a PDE. The existence proof is the one above in disguise: minimise the energy in a cohomology class (a closed affine subspace of a Sobolev space), then apply elliptic regularity. Nonlinear versions drive geometric analysis: minimal surfaces (Plateau's problem, solved by Douglas and Radó around 1930), harmonic maps, the Yamabe problem of conformally deforming a metric to constant scalar curvature, and Ricci flow, a nonlinear heat equation for the metric that Perelman used to prove the Poincaré conjecture.
Topology— The index of an elliptic operator
By elliptic regularity and Rellich compactness, an elliptic operator on a compact manifold is Fredholm: its kernel and cokernel are finite-dimensional, and the index is unchanged under continuous deformations of . So the index is a topological invariant, and the Atiyah–Singer index theorem (1963) computes it from characteristic classes. For the operator on forms of even degree it gives the Euler characteristic; for the Dolbeault operator on a Riemann surface it gives the Riemann–Roch theorem . Analysis (solving equations) and topology (counting holes) meet exactly at elliptic PDE.
Probability— Brownian motion solves the Dirichlet problem
Let be Brownian motion started at and its first exit time from . Kakutani (1944) observed that solves the Dirichlet problem in , on (where the boundary is regular). The mean value property becomes the statement that Brownian motion started at the centre of a sphere exits it uniformly distributed; the maximum principle becomes the triviality that an average cannot exceed a maximum. More generally the heat equation is solved by — the heat kernel is the transition density of Brownian motion — and the Feynman–Kac formula adds potentials. These formulas also give Monte Carlo methods for PDEs in high dimension, where meshes are hopeless. See stochastic processes.
Physics— Energy, causality and turbulence
The energy identities of the wave and heat equations are conservation of energy and the second law in mathematical form, and the weak formulation is the principle of virtual work: says the internal work of the displacement against every admissible virtual displacement equals the external work. Finite speed of propagation for the wave equation is causality; the infinite speed of the heat equation is a known defect of Fourier's model, harmless at everyday scales. Shocks in gas dynamics are physical weak solutions, selected by an entropy condition that encodes the second law. And whether the Navier–Stokes equations of fluid flow can develop singularities from smooth data — whether the mathematics of turbulence can break down — is open.
History and context
- Carl Friedrich Gauss, William Thomson (Kelvin) and Peter Gustav Lejeune Dirichlet used energy minimisation for potential problems; Bernhard Riemann (1851, 1857) named and used Dirichlet's principle; Karl Weierstrass (1870) showed that minimisers need not exist; David Hilbert (1900, 1904) gave the first rescue.
- Walther Ritz (1908) and Boris Galerkin (1915) introduced the approximation methods named after them; Richard Courant, Kurt Friedrichs and Hans Lewy (1928) analysed finite differences; Jacques Hadamard (1902; lectures of 1923) formulated well-posedness.
- Sergei Sobolev (1935–1938) introduced generalised functions and the spaces that bear his name; Jean Leray (1934) constructed weak solutions of Navier–Stokes; Laurent Schwartz (1945–1950) created the theory of distributions; Hermann Weyl (1940) proved his lemma.
- Peter Lax and Arthur Milgram (1954) proved their theorem; Ennio De Giorgi (1957) and John Nash (1958) solved Hilbert's nineteenth problem, with Jürgen Moser (1960) giving a new proof; Olga Ladyzhenskaya proved global regularity for 2D Navier–Stokes and developed the theory of nonlinear elliptic and parabolic equations; Lars Hörmander transformed linear PDE theory.
- The finite element method was developed by engineers (M. J. Turner, Ray Clough, John Argyris) in the 1950s–60s, building on Courant's 1943 paper, and independently by Feng Kang and colleagues in China in the 1960s; Jean Céa (1964) proved his lemma, and the mathematical theory was developed by Ivo Babuška, Philippe Ciarlet, Gilbert Strang, George Fix and many others.
Further reading
- Lawrence C. Evans, Partial Differential Equations (1998; 2nd ed. 2010) — the standard graduate text; Chapters 5–7 cover Sobolev spaces, elliptic regularity and energy methods.
- Haim Brezis, Functional Analysis, Sobolev Spaces and Partial Differential Equations (2011) — Chapters 8–10 do the weak theory with full functional-analytic proofs.
- David Gilbarg and Neil S. Trudinger, Elliptic Partial Differential Equations of Second Order (1977; reprinted 2001) — maximum principles, Schauder theory and De Giorgi–Nash–Moser.
- Jürgen Jost, Partial Differential Equations (2002; 3rd ed. 2013) — a concise modern course linking the classical and weak theories.
- Robert S. Strichartz, A Guide to Distribution Theory and Fourier Transforms (1994) — distributions for the working analyst.
- Susanne C. Brenner and L. Ridgway Scott, The Mathematical Theory of Finite Element Methods (3rd ed., 2008) — Céa's lemma and beyond.