Weak Solutions and Distributional Formulation of PDEs

A second-order equation like −∇2u=f-\nabla^2 u = f seems, on its face, to demand a twice-differentiable uu. Yet the fields physics cares about most keep failing that demand. The Newtonian potential of a point mass goes like 1/∣x∣1/|\mathbf{x}|, whose Laplacian is undefined at the origin; the d'Alembert solution of the wave equation can carry a corner no classical derivative survives; a transonic gas flow, a traffic jam, a breaking wave all develop genuine discontinuities in finite time. In each case the thing we want to call a "solution" is not smooth enough to satisfy the equation pointwise — and yet it is unmistakably the right physical answer. The weak formulation is the reinterpretation that lets us keep these answers. The trick is one line of calculus used backwards. Multiply the equation by a smooth, compactly supported test function φ\varphi and integrate; because φ\varphi vanishes near the boundary, integration by parts moves every derivative off the unknown uu and onto the infinitely differentiable φ\varphi, with only a sign flip to show for it. A local pointwise statement becomes a family of global integral identities, one per probe, and they make sense even when uu is merely integrable. This is exactly Laurent Schwartz's theory of distributions: continuous linear functionals on D(Ω)=Cc∞(Ω)\mathcal{D}(\Omega)=C_c^\infty(\Omega), inside which every object is infinitely differentiable and the Dirac delta is a respectable citizen. To turn this into existence, uniqueness, and stability theorems one needs a complete space: the Sobolev space H1(Ω)H^1(\Omega), of functions whose value and first weak derivatives are square-integrable, whose inner product is the field's energy. Coercivity of the associated bilinear form then delivers a unique solution by the Lax–Milgram theorem — the backbone of variational methods and the finite element method, and the reason weak solutions sit at the crossroads of analysis, numerics, fluid dynamics, and quantum field theory.

Key takeaways
  • A classical (strong) solution must own every derivative in the equation; shock waves, kinks, Green's functions, and point-charge potentials fail this yet remain physically meaningful.
  • The weak formulation multiplies the PDE by an arbitrary smooth compactly supported test function φ\varphi and integrates, transferring all derivatives onto φ\varphi; the surviving integral identity is the solution concept.
  • Distributions are continuous linear functionals on D(Ω)=Cc∞(Ω)\mathcal{D}(\Omega)=C_c^\infty(\Omega); every locally integrable function is one, and every distribution is infinitely differentiable — so H′=δH'=\delta and ∇2(1/∣x∣)=−4πδ\nabla^2(1/|\mathbf{x}|)=-4\pi\delta.
  • Sobolev spaces Hk=Wk,2H^k=W^{k,2} collect functions with weak derivatives in L2L^2, are complete, and make Lax–Milgram and the whole variational machinery apply.
  • Weak solutions are mandatory for elliptic existence theory, the finite element method, conservation-law shocks (Rankine–Hugoniot plus an entropy condition), and quantum fields as operator-valued distributions.
  • Regularity theory then asks when a weak solution is secretly smooth — Weyl's lemma: a distributional harmonic function is real-analytic.
  • Key idea: replace "the equation holds at every point" by "the equation holds against every test function"; integration by parts throws all derivatives onto the smooth probe, so the unknown itself need only be integrable.
The core insight

Replace "the equation holds at every point" by "the equation holds when integrated against every test function"; integration by parts then transfers all derivatives onto the smooth test function, so the solution itself need only be integrable.

Where this lives today

The distributional reformulation is the quiet engine under an enormous amount of modern computation and open theory. Every finite element solver — deal.II, FEniCS, the codes that certify aircraft, chips, and MRI magnets — discretizes the weak form (6), never the strong one, precisely because it asks for only first derivatives and so tolerates the simple continuous "tent" functions that make the method cheap and robust. Shock-capturing schemes in computational fluid dynamics (Godunov, ENO/WENO) are engineered to converge to the entropy weak solution and nothing else, which is why they resolve sonic booms and supernova blast waves without spurious oscillations. And the weak formulation is where the deepest open problem in classical physics lives: Jean Leray's 1934 weak solutions of the incompressible Navier–Stokes equations are known to exist globally in three dimensions, but whether they are unique and smooth — whether turbulence can spontaneously blow up — remains unknown, one of the Clay Institute's million-dollar Millennium Prize Problems. And in quantum field theory a field is an operator-valued distribution, smeared against test functions before it means anything, with renormalization the controlled extension of singular distributions to coincident points.

The physical picture

You never read a distribution's value at a point — you interrogate it, integrating it against a smooth bump φ\varphi and recording the single number that comes back. A function is known not by its graph but by the answers it gives to all probes, and its derivative is defined by differentiating the probe instead, absorbing the minus sign integration by parts hands you. The payoff is startling: a step function, with no classical derivative at its jump, has a perfectly good distributional one — a unit-weight spike sitting exactly at the jump, the Dirac delta. The first figure is that statement in two panels.

Figure
The distributional derivative in one relation: the Heaviside step H has a jump of size 1 at the origin, and its derivative in the distributional sense is a unit-weight Dirac spike δ concentrated there — pairing gives H′ tested on φ equal to φ(0), so H′ = δ exactly
The derivative of a jump is a delta: H′(x) = δ(x), with ⟨δ, φ⟩ = φ(0) the step H(x) its derivative δ(x) H = 0 H = 1 0 weight 1 0 probe φ

Sobolev spaces are where energy lives. Demanding ∫∣∇u∣2<∞\int|\nabla u|^2<\infty is the statement that the field has finite Dirichlet energy, and minimizing that energy is precisely solving Laplace's equation weakly; the completeness of H1H^1 guarantees the minimizer exists, turning the physicist's "extremize the action" into a theorem. The same integration-by-parts move that made a step differentiable makes a discontinuity legible to the equation: integrate a conservation law across a moving jump and the boundary term you collect is the Rankine–Hugoniot condition, fixing the shock's speed from the states on either side. The weak form is the conservation law; the differential form is only its smooth-region shadow. The second figure shows this for the inviscid Burgers equation, where fast characteristics overtake slow ones and a shock forms with a speed the weak form pins to a number.

Figure
Shock formation for the inviscid Burgers equation u_t + (u²/2)_x = 0 in the x–t plane: characteristics from the left state u_L = 2 travel at speed 2 and collide with the stationary characteristics of the right state u_R = 0, forcing a shock whose speed the weak Rankine–Hugoniot relation fixes at s = (u_L + u_R)/2 = 1
Burgers shock: characteristics collide and the weak form fixes the speed s = 1 x t 0 shock x = s t, s = 1 u_L = 2 (speed 2) u_R = 0 (speed 0)

The core equations

A distribution is not a function but a rule that eats a smooth probe and returns a number, linearly and continuously. This single reinterpretation is the whole subject; everything below either defines the pairing or computes with it.

⟨T,φ⟩∈R,φ∈D(Ω)=Cc∞(Ω)(1)\langle T,\varphi\rangle \in \mathbb{R},\qquad \varphi\in\mathcal{D}(\Omega)=C_c^{\infty}(\Omega) \qquad (1)

where: TT — a distribution, i.e. a continuous linear functional; φ\varphi — a test function, smooth and compactly supported inside the open set Ω\Omega; ⟨T,φ⟩\langle T,\varphi\rangle — the action (pairing) of TT on φ\varphi; D(Ω)\mathcal{D}(\Omega) — the space of all such test functions. Compact support means φ\varphi never touches ∂Ω\partial\Omega, so every boundary term from integration by parts dies. Every ordinary function you would ever call a field already is a distribution, obtained by pairing through an integral. This is the bridge that lets distributions extend, rather than replace, classical calculus.

⟨Tf,φ⟩=∫Ωf(x) φ(x) dnx(2)\langle T_f,\varphi\rangle = \int_{\Omega} f(\mathbf{x})\,\varphi(\mathbf{x})\,\mathrm{d}^n x \qquad (2)

where: ff — a locally integrable function, f∈Lloc1(Ω)f\in L^1_{\mathrm{loc}}(\Omega); TfT_f — the distribution it induces. Because φ\varphi has compact support, the integral runs only over a bounded set where ff is integrable: mere local integrability is enough to be a distribution. Now the master move. The derivative of a distribution is defined so that integration by parts holds by fiat, the minus sign carrying the derivative from TT over to the smooth φ\varphi.

⟨∂iT,φ⟩=−⟨T,∂iφ⟩(3)\langle \partial_i T,\varphi\rangle = -\langle T,\partial_i\varphi\rangle \qquad (3)

where: ∂iT\partial_i T — the ii-th weak derivative of TT, which always exists; ∂iφ\partial_i\varphi — the ordinary derivative of the smooth probe. Since φ\varphi can be differentiated forever, so can TT: every distribution is infinitely differentiable — a clean gain over classical calculus, where differentiation destroys smoothness. Apply that definition to the humble step and the Dirac delta drops out, the prototype of a singular distribution that is no function at all.

H′(x)=δ(x),⟨δ,φ⟩=φ(0)(4)H'(x)=\delta(x),\qquad \langle\delta,\varphi\rangle=\varphi(0) \qquad (4)

where: HH — the Heaviside step, H=1H=1 for x>0x>0 and 00 otherwise; δ\delta — the Dirac delta, the functional that reads a probe's value at the origin. No locally integrable ff satisfies ∫fφ=φ(0)\int f\varphi=\varphi(0) for all φ\varphi, so δ\delta lives only in the enlarged world D′\mathcal{D}'. To do analysis — existence, uniqueness, stability — we need a complete normed space graded by how many weak derivatives stay square-integrable. That is the Sobolev space.

u∈Hk(Ω):∥u∥Hk2=∑∣α∣≤k∫Ω∣Dαu∣2 dnx<∞(5)u\in H^k(\Omega):\quad \|u\|_{H^k}^2=\sum_{|\alpha|\le k}\int_\Omega |D^\alpha u|^2\,\mathrm{d}^n x <\infty \qquad (5)

where: Hk=Wk,2H^k=W^{k,2} — functions with weak derivatives through order kk in L2L^2; α\alpha — a multi-index of order ∣α∣|\alpha|; DαuD^\alpha u — the weak derivative of order α\alpha. The norm is literally an energy, and the completeness of H1H^1 is what makes minimizers exist. Pairing −∇2u=f-\nabla^2u=f against a test function and integrating by parts once produces the symmetric weak form of Poisson's equation, requiring only one derivative of uu instead of two.

∫Ω∇u⋅∇v dnx=∫Ωf v dnx∀ v∈H01(Ω)(6)\int_\Omega \nabla u\cdot\nabla v\,\mathrm{d}^n x = \int_\Omega f\,v\,\mathrm{d}^n x \quad\forall\, v\in H_0^1(\Omega) \qquad (6)

where: uu — the sought weak solution in H01(Ω)H_0^1(\Omega); vv — an arbitrary test function in H01(Ω)H_0^1(\Omega); ff — the source, f∈L2(Ω)f\in L^2(\Omega); H01H_0^1 — the closure of Cc∞(Ω)C_c^\infty(\Omega) in the H1H^1 norm, building in homogeneous Dirichlet data u=0u=0 on ∂Ω\partial\Omega. Lowering the derivative count is why piecewise-linear finite elements work. Casting the weak form abstractly as "bilinear form equals linear functional" lets one theorem settle existence, uniqueness, and stability at a stroke.

a(u,v)=ℓ(v) ∀v∈V ⇒ ∃! u∈V,∥u∥V≤1c ∥ℓ∥V′(7)a(u,v)=\ell(v)\ \forall v\in V\ \Rightarrow\ \exists!\,u\in V,\quad \|u\|_V\le \tfrac{1}{c}\,\|\ell\|_{V'} \qquad (7)

where: a(⋅,⋅)a(\cdot,\cdot) — a bounded, coercive bilinear form with a(v,v)≥c∥v∥V2a(v,v)\ge c\|v\|_V^2 and ∣a(u,v)∣≤M∥u∥V∥v∥V|a(u,v)|\le M\|u\|_V\|v\|_V; ℓ\ell — a bounded linear functional; VV — a Hilbert space such as H01(Ω)H_0^1(\Omega); c>0c>0 — the coercivity constant. This is the Lax–Milgram theorem: coercivity is the abstract shadow of "positive energy", guaranteeing the solution exists and depends continuously on the data.

Derivation AThe Laplacian of one over r equals minus four pi times delta

The goal is to establish, distributionally, the identity behind every Green's function in three dimensions: that the Newtonian and Coulomb potential 1/r1/r, which has no classical Laplacian at the origin, satisfies Poisson's equation with a point source of exactly the right normalization. We pair ∇2(1/r)\nabla^2(1/r) against an arbitrary test function φ\varphi on R3\mathbb{R}^3, excise a shrinking ball around the singularity, push the limit through Green's second identity, and read off the coefficient −4π-4\pi that the unit-sphere area fixes once and for all.

Step 1. Move the Laplacian onto the probe. By the definition of the distributional Laplacian (two applications of (3)), ⟨∇2(1/r),φ⟩=⟨1/r,∇2φ⟩=∫R3(1/r) ∇2φ  d3x\langle\nabla^2(1/r),\varphi\rangle=\langle 1/r,\nabla^2\varphi\rangle=\int_{\mathbb{R}^3}(1/r)\,\nabla^2\varphi\;\mathrm{d}^3x. Why: 1/r1/r is locally integrable in 3D (the r2r^2 from the volume element tames the 1/r1/r), so the right-hand integral converges even though 1/r1/r itself is singular.

Step 2. Excise a small ball. Split the integral as ∫r≥ϵ\int_{r\ge\epsilon} plus a piece over BϵB_\epsilon that vanishes as ϵ→0\epsilon\to0. On r≥ϵr\ge\epsilon the function 1/r1/r is smooth and harmonic, ∇2(1/r)=0\nabla^2(1/r)=0, so Green's second identity leaves only surface integrals on the inner sphere r=ϵr=\epsilon. Why: pushing the singularity out onto a boundary of controllable size converts a divergent bulk term into a finite surface term we can evaluate exactly.

Step 3. Collect the surface terms. Green's identity gives ∫r=ϵ[(1/r) ∂rφ−φ ∂r(1/r)] dS\int_{r=\epsilon}\big[(1/r)\,\partial_r\varphi-\varphi\,\partial_r(1/r)\big]\,\mathrm{d}S with the normal pointing toward the origin. The first term scales like ϵ−1⋅ϵ2=ϵ→0\epsilon^{-1}\cdot\epsilon^2=\epsilon\to0; the second uses ∂r(1/r)=−1/r2\partial_r(1/r)=-1/r^2. Why: only the term carrying 1/r21/r^2 survives, since the sphere's area grows like ϵ2\epsilon^2 and cancels it.

Step 4. Take the limit. The surviving term is 1ϵ2∫r=ϵφ dS\tfrac{1}{\epsilon^2}\int_{r=\epsilon}\varphi\,\mathrm{d}S, an average of φ\varphi over the sphere times its area 4πϵ24\pi\epsilon^2, so it tends to 4π φ(0)4\pi\,\varphi(0); the inward normal flips the sign to −4π φ(0)-4\pi\,\varphi(0). Why: as the sphere shrinks the average of φ\varphi over it converges to its central value, and the 4π4\pi is nothing but the area of the unit sphere.

Step 5. Read off the distribution. Since ⟨∇2(1/r),φ⟩=−4π φ(0)=⟨−4πδ,φ⟩\langle\nabla^2(1/r),\varphi\rangle=-4\pi\,\varphi(0)=\langle-4\pi\delta,\varphi\rangle for every φ\varphi, the identity ∇2(1/r)=−4π δ(x)\nabla^2(1/r)=-4\pi\,\delta(\mathbf{x}) holds distributionally, and G=1/(4πr)G=1/(4\pi r) solves −∇2G=δ-\nabla^2 G=\delta. Why: equal action on all probes means equality of distributions, so the point-source Green's function is now a theorem, not a formal manipulation.

Go deeper · Derivation B · 1 minExistence and uniqueness for Poisson's equation via Lax-Milgram
Derivation BExistence and uniqueness for Poisson's equation via Lax-Milgram

The goal is to promote the weak form (6) into a hard existence-and-uniqueness theorem on a bounded domain with homogeneous Dirichlet data, exposing which analytic facts do the work: Cauchy–Schwarz for boundedness, the Poincaré inequality for coercivity, and the completeness of H01H_0^1 that makes Lax–Milgram applicable. Let Ω⊂Rn\Omega\subset\mathbb{R}^n be bounded with Lipschitz boundary and f∈L2(Ω)f\in L^2(\Omega); we seek u∈V=H01(Ω)u\in V=H_0^1(\Omega) solving a(u,v)=∫Ω∇u⋅∇v=∫Ωfv=ℓ(v)a(u,v)=\int_\Omega\nabla u\cdot\nabla v=\int_\Omega f v=\ell(v) for all v∈Vv\in V.

Step 1. Verify boundedness of the form. By Cauchy–Schwarz, ∣a(u,v)∣≤∥∇u∥L2∥∇v∥L2≤∥u∥H1∥v∥H1|a(u,v)|\le\|\nabla u\|_{L^2}\|\nabla v\|_{L^2}\le\|u\|_{H^1}\|v\|_{H^1}, so aa is continuous with constant M=1M=1. Why: continuity lets us pass to limits and extend the identity from smooth probes to the whole completed space H01H_0^1.

Step 2. Verify coercivity through Poincaré. The Poincaré inequality ∥v∥L2≤CP∥∇v∥L2\|v\|_{L^2}\le C_P\|\nabla v\|_{L^2} on H01H_0^1 upgrades the Dirichlet seminorm into control of the full norm: a(v,v)=∥∇v∥L22≥11+CP2∥v∥H12a(v,v)=\|\nabla v\|_{L^2}^2\ge\frac{1}{1+C_P^2}\|v\|_{H^1}^2, so c=1/(1+CP2)>0c=1/(1+C_P^2)>0. Why: without Poincaré coercivity would fail — it is the boundary condition, baked into H01H_0^1, that saves the day.

Step 3. Verify boundedness of the load. Again by Cauchy–Schwarz, ∣ℓ(v)∣=∣∫Ωfv∣≤∥f∥L2∥v∥L2≤∥f∥L2∥v∥H1|\ell(v)|=|\int_\Omega f v|\le\|f\|_{L^2}\|v\|_{L^2}\le\|f\|_{L^2}\|v\|_{H^1}, so ℓ∈V′\ell\in V' with ∥ℓ∥V′≤∥f∥L2\|\ell\|_{V'}\le\|f\|_{L^2}. Why: a bounded right-hand side is the last hypothesis Lax–Milgram needs, and it also delivers a stability estimate for free.

Step 4. Invoke Lax–Milgram. All three hypotheses hold, so there is a unique u∈H01(Ω)u\in H_0^1(\Omega) with a(u,v)=ℓ(v)a(u,v)=\ell(v) for all vv, obeying the a-priori bound ∥u∥H1≤(1+CP2)∥f∥L2\|u\|_{H^1}\le(1+C_P^2)\|f\|_{L^2}. Why: uniqueness plus the energy bound is precisely well-posedness — existence, uniqueness, and continuous dependence on the data, the trio a physical problem must have.

Step 5. Recover smoothness where deserved. Elliptic regularity upgrades this weak uu to H2H^2 when ∂Ω\partial\Omega is nice, and to C∞C^\infty when ff and ∂Ω\partial\Omega are smooth, so nothing physical is lost by enlarging the solution class. Why: the weak solution is not a weaker answer — it is the same classical solution whenever one exists, and a genuine extension only where the classical notion breaks.

Go deeper · Derivation C · 2 minThe Rankine-Hugoniot jump condition from the weak form
Derivation CThe Rankine-Hugoniot jump condition from the weak form

The goal is to show why a discontinuous shock solution of a scalar conservation law is not merely permitted but governed by the weak formulation, which alone relates the shock's speed to the states flanking it. No classical derivative exists across the jump, yet the integral identity survives, and forcing it to hold against every test function squeezes out an algebraic relation — Rankine–Hugoniot — that no pointwise reading of the PDE could produce. Consider ut+f(u)x=0u_t+f(u)_x=0 with a solution smooth on either side of a curve x=s(t)x=s(t) but jumping across it, states uLu_L left and uRu_R right.

Step 1. State the weak definition. Multiply by φ∈Cc∞\varphi\in C_c^\infty and integrate by parts to throw both derivatives onto φ\varphi: ∬(u φt+f(u) φx) dx dt+∫u0 φ(x,0) dx=0\iint(u\,\varphi_t+f(u)\,\varphi_x)\,\mathrm{d}x\,\mathrm{d}t+\int u_0\,\varphi(x,0)\,\mathrm{d}x=0. Why: this identity needs no derivative of uu at all, so a discontinuous uu is admissible and the initial data enter cleanly through the t=0t=0 boundary term.

Step 2. Split the plane at the shock. Write the integral as a sum over the smooth regions ΩL\Omega_L and ΩR\Omega_R. On each, uu solves the PDE classically, so integrating by parts back annihilates the interior and leaves only a line integral along the shock curve Γ:x=s(t)\Gamma:x=s(t). Why: pushing the derivatives back onto uu where it is smooth isolates the entire content of the weak statement onto the curve where it is not.

Step 3. Collect the curve integral. The line term is ∫Γ(⟦f(u)⟧ nx+⟦u⟧ nt)φ dℓ=0\int_\Gamma\big(\llbracket f(u)\rrbracket\,n_x+\llbracket u\rrbracket\,n_t\big)\varphi\,\mathrm{d}\ell=0, where the normal to Γ\Gamma is proportional to (1,−s)(1,-s) and ⟦⋅⟧=(⋅)R−(⋅)L\llbracket\cdot\rrbracket=(\cdot)_R-(\cdot)_L is the jump. Why: the geometry of the curve enters only through its normal, and the normal's slope is precisely the shock speed we are hunting.

Step 4. Use arbitrariness of the probe. Since φ\varphi is free along Γ\Gamma, the bracket must vanish pointwise: ⟦f(u)⟧−s ⟦u⟧=0\llbracket f(u)\rrbracket-s\,\llbracket u\rrbracket=0, i.e. s=f(uR)−f(uL)uR−uLs=\dfrac{f(u_R)-f(u_L)}{u_R-u_L}. Why: an integral vanishing against every probe has a vanishing integrand — the fundamental lemma of the calculus of variations — turning the identity into an algebraic jump relation.

Step 5. Restore uniqueness with entropy. Rankine–Hugoniot alone admits unphysical "rarefaction shocks"; the Lax entropy condition f′(uL)>s>f′(uR)f'(u_L)>s>f'(u_R) selects the vanishing-viscosity limit, the unique admissible shock. Why: the weak form is necessary but not sufficient — physics adds the second-law inequality that numerics must also respect.

Limiting cases

The weak framework is not bolted on beside the classical one; it contains the classical picture as a special case and reduces to familiar objects in each regime.

CaseResultMeaning
Smooth solutionu∈Ck(Ω)u\in C^k(\Omega)If a weak solution is smooth enough, integrating by parts back recovers the classical PDE at every point — weak and strong notions coincide.
Point source−∇2G=δ(x)-\nabla^2 G=\delta(\mathbf{x})The Green's function is a distributional solution; in R3\mathbb{R}^3, G=1/(4π∣x∣)G=1/(4\pi|\mathbf{x}|) with ∇2(1/∣x∣)=−4πδ\nabla^2(1/|\mathbf{x}|)=-4\pi\delta.
Elliptic regularity∇2u=0\nabla^2 u=0 weakly ⇒u∈C∞\Rightarrow u\in C^\inftyWeyl's lemma: every distributional harmonic function is in fact real-analytic — the weak/classical gap closes for Laplace's equation.
Conservation-law shocks(uR−uL)=f(uR)−f(uL)s(u_R-u_L)=f(u_R)-f(u_L)Only weak solutions admit jumps; Rankine–Hugoniot fixes the speed ss, and an entropy condition selects the physical shock.

Worked examples

1 · The weak derivatives of the absolute value (confidence builder)

The function u(x)=∣x∣u(x)=|x| has a corner at the origin and no classical derivative there. Find its first and second weak derivatives on R\mathbb{R} and identify the singular object that appears.

Step 1. Test the first derivative. By definition ⟨u′,φ⟩=−⟨u,φ′⟩=−∫−∞∞∣x∣ φ′(x) dx\langle u',\varphi\rangle=-\langle u,\varphi'\rangle=-\int_{-\infty}^\infty|x|\,\varphi'(x)\,\mathrm{d}x. Split at the origin: −∫0∞xφ′ dx−∫−∞0(−x)φ′ dx-\int_0^\infty x\varphi'\,\mathrm{d}x-\int_{-\infty}^0(-x)\varphi'\,\mathrm{d}x, and integrate each piece by parts. The boundary terms vanish because φ\varphi has compact support, leaving ∫0∞φ dx−∫−∞0φ dx=∫−∞∞sgn⁡(x) φ dx\int_0^\infty\varphi\,\mathrm{d}x-\int_{-\infty}^0\varphi\,\mathrm{d}x=\int_{-\infty}^\infty\operatorname{sgn}(x)\,\varphi\,\mathrm{d}x. Hence the first weak derivative is sgn⁡(x)=2H(x)−1\operatorname{sgn}(x)=2H(x)-1, an honest Lloc1L^1_{\mathrm{loc}} function even though uu is not differentiable at 00.

Step 2. Differentiate once more. Since sgn⁡(x)=2H(x)−1\operatorname{sgn}(x)=2H(x)-1 and constants have zero derivative, u′′=2H′(x)=2δ(x)u''=2H'(x)=2\delta(x) by equation (4). So the second weak derivative is 2δ(x)2\delta(x) — a singular distribution, twice the unit spike, sitting at the corner.

Step 3. Sanity-check the coefficient. The corner of ∣x∣|x| has slopes −1-1 left and +1+1 right, a jump in slope of +2+2; the second distributional derivative is a delta weighted by exactly that jump, so the factor 22 is the kink strength. This is the one-dimensional cousin of ∇2(1/r)=−4πδ\nabla^2(1/r)=-4\pi\delta: a non-smooth field whose top derivative is a delta whose weight is a geometric invariant of the singularity.

2 · Shock speed for the inviscid Burgers equation (fully worked)

Solve ut+(12u2)x=0u_t+\big(\tfrac12u^2\big)_x=0 with Riemann data u=2u=2 for x<0x<0 and u=0u=0 for x>0x>0. Find the shock speed, and check that the shock is the physically admissible solution.

Step 1. Identify the flux and states. Here f(u)=12u2f(u)=\tfrac12u^2, so the characteristic speed is f′(u)=uf'(u)=u: the left state uL=2u_L=2 sends characteristics right at speed 22, the right state uR=0u_R=0 holds them still. The fast left characteristics overtake the stalled right ones immediately, so no continuous solution exists and a shock forms at t=0+t=0^+.

Step 2. Apply Rankine–Hugoniot. The jump condition from the weak form gives s=f(uR)−f(uL)uR−uL=0−12(2)20−2=−2−2=1s=\dfrac{f(u_R)-f(u_L)}{u_R-u_L}=\dfrac{0-\tfrac12(2)^2}{0-2}=\dfrac{-2}{-2}=\mathbf{1}. For Burgers this is just the average of the states, s=12(uL+uR)=12(2+0)=1s=\tfrac12(u_L+u_R)=\tfrac12(2+0)=1, so the shock travels to the right at speed 11, exactly the red line of the second figure.

Step 3. Check the entropy condition. The Lax condition demands f′(uL)>s>f′(uR)f'(u_L)>s>f'(u_R), i.e. uL>s>uRu_L>s>u_R. Substituting, 2>1>02>1>0 — satisfied, so characteristics run into the shock from both sides and the discontinuity is the vanishing-viscosity limit, the unique physical solution. Had the data been reversed (uL=0u_L=0, uR=2u_R=2), Rankine–Hugoniot would still give s=1s=1, but 0>1>20>1>2 is false: that "shock" is unphysical, and the correct answer is a smooth rarefaction fan. s = 1, entropy-admissible; the weak form plus one inequality delivers the whole answer.

Physics of the portrait

The weak formulation was assembled over half a century by physicists reaching for objects their calculus could not hold. Its founder gave the delta a rigorous home and, with it, a Fields Medal.

Origins · 1 minLaurent Schwartz and how this was discovered
LS
Laurent Schwartz
1915–2002 · the theory of distributions

Laurent Schwartz did not invent the objects — Oliver Heaviside had manipulated the step function and its derivatives in his operational calculus of the 1890s, Paul Dirac had written down the delta "function" in 1927 as an indispensable tool of quantum mechanics, and Sergei Sobolev had defined generalized derivatives and the function spaces that bear his name in the 1930s. What Schwartz supplied, around 1944–1945, was the rigorous framework that made all of it legitimate: distributions as continuous linear functionals on the space of smooth compactly supported test functions. His two-volume Théorie des distributions (1950–1951) unified the delta, the principal-value integrals of physics, Green's functions, and Fourier analysis into a single calculus in which every object is infinitely differentiable and the Fourier transform is an isomorphism of tempered distributions. The framework was immediately recognized as foundational — Schwartz received the Fields Medal in 1950 — and became the native language of partial differential equations, quantum field theory, and, through Sobolev spaces, the finite element method. A generation of physicists had been computing with the delta for decades; Schwartz is why they were allowed to.

History
1893
— Heaviside's operational calculus freely differentiates the step function
1927
— Dirac introduces the delta function in the foundations of quantum mechanics
1936
— Sobolev defines generalized derivatives and the spaces now bearing his name
1945
— Schwartz formulates the rigorous theory of distributions
1950
— Théorie des distributions appears; Schwartz is awarded the Fields Medal

Going further

Texts. Stone & Goldbart, Mathematics for Physics (CUP 2009), Ch. 8–9 (distributions and Green's functions) · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 9–10 · Hassani, Mathematical Physics, 2nd ed., Ch. 6–7 · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, 3rd ed., Ch. 18–19 · L. C. Evans, Partial Differential Equations, 2nd ed. (AMS), Ch. 3, 5, 6 · R. S. Strichartz, A Guide to Distribution Theory and Fourier Transforms. Key standard results collected here for reference: H′=δH'=\delta; ∇2(1/r)=−4πδ\nabla^2(1/r)=-4\pi\delta with the 4π4\pi coming from the unit-sphere area in 3D; the Poincaré-based coercivity constant c=1/(1+CP2)c=1/(1+C_P^2) and energy estimate ∥u∥H1≤(1+CP2)∥f∥L2\|u\|_{H^1}\le(1+C_P^2)\|f\|_{L^2}; the Sobolev conjugate 1/p∗=1/p−1/n1/p^*=1/p-1/n (giving p∗=6p^*=6 for p=2p=2, n=3n=3); and the Burgers shock speed s=12(uL+uR)=1s=\tfrac12(u_L+u_R)=1 for uL=2u_L=2, uR=0u_R=0, with entropy check 2>1>02>1>0.

Prerequisites. Classification of Second-Order Linear PDEs · Laplace's and Poisson's Equations · Boundary Conditions and Well-Posedness · Sturm–Liouville Theory and Eigenfunction Expansions. Leads to. Method of Characteristics · d'Alembert's Solution and Characteristics of the Wave Equation · The Helmholtz Equation.

Ask the tutor: Ask me why ∇2(1/r)=−4πδ\nabla^2(1/r)=-4\pi\delta pins the Coulomb Green's function, or to build the weak form of any PDE and check its Lax–Milgram hypotheses.

What is the real difference between a weak and a classical solution?

A classical (strong) solution literally owns every derivative that appears in the equation and satisfies it at each point. A weak solution owns only enough weak derivatives to make an integrated identity hold against every test function. The two agree whenever the weak solution turns out smooth: integrating by parts back recovers the pointwise equation. The gain is that the weak notion still makes sense when the classical one collapses — at a point charge, a corner, or a shock — coinciding with the classical solution wherever one exists and supplying an answer where none otherwise would.

Why can the Dirac delta not be an ordinary function?

Because no locally integrable function reproduces its defining property. If some ff satisfied ∫fφ=φ(0)\int f\varphi=\varphi(0) for all φ\varphi, then probes concentrated away from the origin would force f=0f=0 almost everywhere, yet such an ff integrates to zero against every φ\varphi, contradicting φ(0)≠0\varphi(0)\ne0. The delta is therefore a singular distribution: a functional not represented by integration against any Lloc1L^1_{\mathrm{loc}} function. It lives only in D′\mathcal{D}', where it is perfectly legitimate and equals the distributional derivative of the Heaviside step.

Do I lose any physics by enlarging the solution class?

No — you almost always gain. Regularity theory shows that when a classical solution exists, the weak solution is it; nothing is lost. What enlargement buys is existence where the classical theory cannot reach: the potential of a point charge, the field with a delta source, the flow past shock formation. The one caveat is uniqueness. For linear elliptic problems Lax–Milgram hands you a unique weak solution; for nonlinear conservation laws the weak class admits unphysical solutions, so you re-impose physics through an entropy condition. A controlled trade, not a free lunch.

Why are Sobolev spaces the right setting, not just continuous functions?

Because the theorems need completeness in an energy norm. Existence proofs proceed by extracting a limit of an approximating or minimizing sequence, and that limit exists only if the space is complete; the natural energy ∫(∣u∣2+∣∇u∣2)\int(|u|^2+|\nabla u|^2) is the H1H^1 norm, and H1H^1 is complete while the space of smooth functions under this norm is not. Sobolev spaces are exactly the completion, so a Cauchy sequence of finite-energy fields has a finite-energy limit to converge to. They also encode boundary data cleanly (H01H_0^1) and grade regularity by index, which is what makes elliptic estimates and the finite element method possible.

Why do shocks need both the weak form and an entropy condition?

The weak form is what allows a discontinuity: it never differentiates uu, so a jump is admissible, and integrating across the jump yields the Rankine–Hugoniot speed. But the weak form is too permissive. For a nonlinear flux, many different weak solutions share the same initial data — the physical compression shock and various unphysical expansion shocks all satisfy Rankine–Hugoniot. The entropy condition (equivalently, the vanishing-viscosity limit, or a one-sided inequality on characteristic speeds) throws out the spurious ones by demanding that characteristics flow into the shock, restoring uniqueness and enforcing the second law of thermodynamics.

Is the finite element method really just the weak form discretized?

Essentially yes. Galerkin's method replaces H01(Ω)H_0^1(\Omega) by a finite-dimensional subspace of piecewise polynomials and imposes the weak identity a(uh,vh)=ℓ(vh)a(u_h,v_h)=\ell(v_h) over it, turning a PDE into a linear system for the nodal values. The crucial enabler is that the weak form needs only first derivatives, so simple continuous "tent" functions — not twice differentiable — are legal basis functions. This is why the finite element method dominates structural mechanics, electromagnetics, and computational fluid dynamics: the entire apparatus rests on the distributional reformulation.

Before this

Where this leads