Book 4A

© 2026 NeckPinch · www.neckpinch.com · All rights reserved.

Course 4Book 4A: Function Spaces and Sobolev SpacesChapter 8

Distributions and Weak Derivatives

Derivatives of functions that are not differentiable, and fundamental solutions.

21 min read · Updated Oct 2, 2026

Not in Kreyszig or Brezis. Read Evans, Partial Differential Equations, §5.2.1 (weak derivatives), and, for distributions proper, Lieb and Loss, Analysis, chapter 6 ("Distributions"), or Stein and Shakarchi, Functional Analysis, chapter 3. This chapter covers only what Sobolev spaces and later PDE need.

In this chapter · 7 sections
  1. 8.1A point load on a beam
  2. 8.2Test functions and distributions
  3. 8.3Derivatives
  4. 8.4Weak derivatives
  5. 8.5Fundamental solutions
  6. 8.6History
  7. 8.7Exercises

Physics and engineering have long used derivatives of functions that have none. The density of a point mass is "infinite at one point and zero elsewhere, with total mass 11"; the derivative of a step is that density; the force on a beam from a concentrated load enters the beam equation as a spike. Paul Dirac's delta function and Oliver Heaviside's operational calculus worked, but they were not mathematics until Laurent Schwartz made them so in the late 1940s, with the theory of distributions.

The idea is to define a generalised function not by its values but by how it acts on smooth test functions, and to define its derivative by moving the derivative onto the test function, with a minus sign, as integration by parts would. With this definition every distribution is infinitely differentiable, the derivative of the step is the Dirac mass, and many functions that aren't differentiable in the classical sense have weak derivatives that are honest functions. Sobolev spaces (4A.9 Sobolev Spaces) are defined by such weak derivatives. This chapter is kept to what that needs, plus the one other idea that PDE uses everywhere: the fundamental solution, the response to a point source.

By the end of this chapter you will be able to:

  • define test functions, distributions and distributional derivatives, and compute derivatives of functions with jumps and corners;
  • decide whether a function has a weak derivative, and compute it;
  • show that log⁡∣x∣\log|x| (in the plane) and −14π∣x∣-\frac{1}{4\pi|x|} (in space) are fundamental solutions of the Laplacian;
  • read the phrase "in the sense of distributions" and know what it permits.

A point load on a beam

In the world Model The deflection of a beam under a concentrated load

A uniform beam with bending stiffness EIEI (Young's modulus times the second moment of area of the cross-section) carrying a distributed load q(x)q(x) per unit length deflects by u(x)u(x), where, in the Euler–Bernoulli theory,

EI u′′′′(x)=q(x).EI\,u''''(x) = q(x).

The derivatives have physical meanings: −EIu′′-EIu'' is the bending moment and −EIu′′′-EIu''' the shear force. Now concentrate the load: a weight PP hanging at the single point x=ax = a. There is no function qq that describes it: it is PδaP\delta_a, a Dirac mass. What happens to the beam is perfectly definite, though. The shear force jumps by PP at aa, the bending moment has a corner there, and the deflection is twice continuously differentiable but not three times (Figure 8.1).

Engineers handle exactly this with singularity functions, written with Macaulay brackets ⟨x−a⟩n\langle x - a\rangle^n (equal to (x−a)n(x - a)^n for x>ax > a and 00 otherwise), a notation W. H. Macaulay introduced in 1919: a point load is P⟨x−a⟩−1P\langle x - a\rangle^{-1}, and integrating four times gives the deflection with the right jumps automatically. That is distribution theory in practice: ⟨x−a⟩−1\langle x - a\rangle^{-1} is δa\delta_a, ⟨x−a⟩0\langle x - a\rangle^0 is the Heaviside step, and differentiating the step gives the delta. For a simply supported beam of length LL with the load at the centre, the result is the textbook maximum deflection PL348EI\frac{PL^3}{48EI} (Exercise 8.11).

Figure 8.1. A simply supported beam with a point load at its midpoint (computed, in units with EI=P=L=1EI = P = L = 1). From top: deflection uu, slope u′u', moment ∝−u′′\propto -u'' (a corner at the load) and shear ∝−u′′′\propto -u''' (a jump at the load). The fourth derivative is PδP\delta, a distribution, not a function.

Test functions and distributions

Let Ω⊆Rn\Omega \subseteq \mathbb{R}^n be open. Test functions are the smooth functions with compact support in Ω\Omega, Cc∞(Ω)C_c^\infty(\Omega); the bumps of 2B.6 Power Series, Exponentials and Bump Functions are examples, and there are plenty of them (3A.8 Convolution and Mollifiers). A sequence ϕk→ϕ\phi_k \to \phi in Cc∞(Ω)C_c^\infty(\Omega) if all supports lie in one compact set and every derivative ∂αϕk\partial^\alpha\phi_k converges uniformly to ∂αϕ\partial^\alpha\phi.

Definition 8.1 Distribution

A distribution on Ω\Omega is a linear map T:Cc∞(Ω)→RT : C_c^\infty(\Omega) \to \mathbb{R} (or C\mathbb{C}) that is continuous in the sense that ϕk→ϕ\phi_k \to \phi implies T(ϕk)→T(ϕ)T(\phi_k) \to T(\phi). We write ⟨T,ϕ⟩\langle T, \phi\rangle for T(ϕ)T(\phi). The space of distributions is D′(Ω)\mathcal{D}'(\Omega).

The examples:

  • Functions. Every locally integrable ff (integrable on compact subsets) defines a distribution ⟨Tf,ϕ⟩=∫fϕ\langle T_f, \phi\rangle = \int f\phi. Two functions give the same distribution exactly when they are equal almost everywhere (by 3A.6 Modes of Convergence and Differentiation's differentiation theorem, or by density of test functions), so we identify ff with TfT_f and say that distributions generalise functions.
  • The Dirac mass ⟨δa,ϕ⟩=ϕ(a)\langle\delta_a, \phi\rangle = \phi(a). It is not of the form TfT_f for any function ff (3A.4 Measures, Probability and Weights).
  • Measures. Any locally finite measure μ\mu gives ⟨μ,ϕ⟩=∫ϕ dμ\langle\mu, \phi\rangle = \int\phi\,d\mu.
  • Limits. If fkf_k are functions and ∫fkϕ\int f_k\phi converges for every test function ϕ\phi, the limit is a distribution. So the narrowing Gaussians of 3A.4 Measures, Probability and Weights converge to δ0\delta_0 in D′\mathcal{D}'.

Derivatives

If ff is continuously differentiable and ϕ\phi is a test function, integration by parts has no boundary terms (ϕ\phi vanishes near the boundary), so ∫∂jf ϕ=−∫f ∂jϕ\int\partial_jf\,\phi = -\int f\,\partial_j\phi. The right side makes sense for any distribution, and that is the definition.

Definition 8.2 Distributional derivative

For T∈D′(Ω)T \in \mathcal{D}'(\Omega), the derivative ∂jT\partial_jT is the distribution

⟨∂jT,ϕ⟩=−⟨T,∂jϕ⟩.\langle\partial_jT, \phi\rangle = -\langle T, \partial_j\phi\rangle.

By the computation above, for C1C^1 functions it agrees with the classical derivative. And since ∂jϕ\partial_j\phi is again a test function, it can be repeated: every distribution has derivatives of every order, ⟨∂αT,ϕ⟩=(−1)∣α∣⟨T,∂αϕ⟩\langle\partial^\alpha T, \phi\rangle = (-1)^{|\alpha|}\langle T, \partial^\alpha\phi\rangle. Differentiation is also continuous: if Tk→TT_k \to T in D′\mathcal{D}', then ∂αTk→∂αT\partial^\alpha T_k \to \partial^\alpha T, so one can differentiate limits term by term, which classical analysis can never do (2B.5 Uniform Convergence and Arzelà–Ascoli).

Example 8.3 The step, the corner and the delta

Let H=1(0,∞)H = 1_{(0,\infty)} (Heaviside). For a test function ϕ\phi on R\mathbb{R},

⟨H′,ϕ⟩=−∫0∞ϕ′(x) dx=ϕ(0),\langle H', \phi\rangle = -\int_0^\infty\phi'(x)\,dx = \phi(0),

so H′=δ0H' = \delta_0. Similarly ∣x∣′=sign⁡(x)|x|' = \operatorname{sign}(x) (a function), sign⁡′=2δ0\operatorname{sign}' = 2\delta_0, and so ∣x∣′′=2δ0|x|'' = 2\delta_0. In general, if ff is smooth except for a jump of size JJ at aa, then f′=(classical derivative)+Jδaf' = (\text{classical derivative}) + J\delta_a: the derivative of a jump is a point mass of the size of the jump (Figure 8.2, Exercise 8.6).

Figure 8.2. Mollified steps H∗ϕεH * \phi_\varepsilon (top) and their derivatives ϕε\phi_\varepsilon (bottom), for ε=0.5,0.2,0.08\varepsilon = 0.5, 0.2, 0.08. The derivatives are bumps of area 11 concentrating at 00: in D′\mathcal{D}' they converge to δ0\delta_0, which is the derivative of the step.

Multiplying a distribution by a smooth function aa is also defined, ⟨aT,ϕ⟩=⟨T,aϕ⟩\langle aT, \phi\rangle = \langle T, a\phi\rangle, and the product rule holds. But two distributions can't in general be multiplied: δ02\delta_0^2 has no meaning. That limitation is why nonlinear PDE need more than distribution theory, namely spaces in which the solutions are functions.

Weak derivatives

The cases that matter most are those where the distributional derivative of a function is again a function.

Definition 8.4 Weak derivative

A locally integrable ff on Ω\Omega has weak derivative g=∂jfg = \partial_jf if gg is locally integrable and

∫Ωf ∂jϕ dx=−∫Ωg ϕ dxfor every ϕ∈Cc∞(Ω).\int_\Omega f\,\partial_j\phi\,dx = -\int_\Omega g\,\phi\,dx \quad\text{for every } \phi \in C_c^\infty(\Omega).

A weak derivative, if it exists, is unique almost everywhere. Examples on (−1,1)(-1, 1):

  • ∣x∣|x| has weak derivative sign⁡x\operatorname{sign}x.
  • More generally, a continuous function that is C1C^1 except at finitely many corners has its classical derivative (defined except at the corners) as a weak derivative (Exercise 8.7).
  • sign⁡x\operatorname{sign}x has no weak derivative: its distributional derivative is 2δ02\delta_0, which is not a function. Functions with jumps don't have weak derivatives.
  • ∣x∣α|x|^\alpha for 0<α<10 < \alpha < 1 has weak derivative α∣x∣α−1sign⁡x\alpha|x|^{\alpha-1}\operatorname{sign}x, which is unbounded but integrable.

So having a weak derivative is a genuine regularity condition, between continuity and differentiability: corners are allowed, jumps are not. In several variables more interesting things happen. The function log⁡log⁡(1+1/∣x∣)\log\log(1 + 1/|x|) is unbounded at the origin of R2\mathbb{R}^2 but has weak derivatives in L2L^2 (4A.5 The Fourier Transform): a function with a weak gradient need not be continuous once n≥2n \geq 2.

Weak derivatives commute with mollification: ∂j(f∗ϕε)=(∂jf)∗ϕε\partial_j(f * \phi_\varepsilon) = (\partial_jf) * \phi_\varepsilon (Exercise 8.10). So a function with weak derivatives in LpL^p is the LpL^p limit of smooth functions whose derivatives converge in LpL^p too. That is the bridge to Sobolev spaces: "weak derivatives in LpL^p" and "limit of smooth functions in the norm ∥f∥p+∥∇f∥p\|f\|_p + \|\nabla f\|_p" turn out to be the same thing (4A.9 Sobolev Spaces).

Fundamental solutions

A fundamental solution of a linear differential operator LL with constant coefficients is a distribution EE with LE=δ0LE = \delta_0: the response to a unit point source. Its use is that u=E∗fu = E * f solves Lu=fLu = f, because L(E∗f)=(LE)∗f=δ0∗f=fL(E * f) = (LE) * f = \delta_0 * f = f. To solve the equation for every source it suffices to solve it for one point source.

Theorem 8.5 Fundamental solution of the Laplacian

In R3\mathbb{R}^3, E(x)=−14π∣x∣E(x) = -\dfrac{1}{4\pi|x|} satisfies ΔE=δ0\Delta E = \delta_0 in the sense of distributions. In R2\mathbb{R}^2, E(x)=12πlog⁡∣x∣E(x) = \dfrac{1}{2\pi}\log|x| does.

Proof. For R3\mathbb{R}^3. Away from the origin, EE is smooth and harmonic: for radial functions Δg(r)=g′′+2rg′\Delta g(r) = g'' + \frac2rg', and g=−14πrg = -\frac{1}{4\pi r} gives 14π(−2r3+2r3)=0\frac{1}{4\pi}(-\frac2{r^3} + \frac2{r^3}) = 0. EE is locally integrable (∫B11r dx=4π∫01r dr\int_{B_1}\frac1r\,dx = 4\pi\int_0^1r\,dr, 3A.5 Product Measures and Change of Variables). For a test function ϕ\phi, ⟨ΔE,ϕ⟩=∫EΔϕ=lim⁡ε→0∫∣x∣>εE Δϕ\langle\Delta E, \phi\rangle = \int E\Delta\phi = \lim_{\varepsilon\to0}\int_{|x|>\varepsilon}E\,\Delta\phi. On {∣x∣>ε}\{|x| > \varepsilon\} apply Green's identity (1A.10 Divergence, Curl and the Integral Theorems), ∫(EΔϕ−ϕΔE)=∫∂(E ∂νϕ−ϕ ∂νE) dS\int(E\Delta\phi - \phi\Delta E) = \int_{\partial}(E\,\partial_\nu\phi - \phi\,\partial_\nu E)\,dS, with ΔE=0\Delta E = 0 there and ν\nu pointing towards the origin. On the sphere ∣x∣=ε|x| = \varepsilon, of area 4πε24\pi\varepsilon^2: the first term is at most 14πεsup⁡∣∇ϕ∣⋅4πε2→0\frac{1}{4\pi\varepsilon}\sup|\nabla\phi|\cdot4\pi\varepsilon^2 \to 0; in the second, ∂νE=−E′(ε)=−14πε2\partial_\nu E = -E'(\varepsilon) = -\frac{1}{4\pi\varepsilon^2}, so it equals 14πε2∫∣x∣=εϕ dS→ϕ(0)\frac{1}{4\pi\varepsilon^2}\int_{|x|=\varepsilon}\phi\,dS \to \phi(0). Hence ⟨ΔE,ϕ⟩=ϕ(0)\langle\Delta E, \phi\rangle = \phi(0). The planar case is Exercise 8.9.

In the world Model The potential of a point charge

In electrostatics, the potential VV of a charge density ρ\rho satisfies Poisson's equation −ΔV=ρ/ε0-\Delta V = \rho/\varepsilon_0, with ε0\varepsilon_0 the permittivity of free space. A point charge qq at the origin has density qδ0q\delta_0, and the theorem says its potential is

V(x)=q4πε0∣x∣,V(x) = \frac{q}{4\pi\varepsilon_0|x|},

Coulomb's law in the form physicists use. The potential of any charge distribution is then the convolution V=14πε0∫ρ(y)∣x−y∣ dyV = \frac{1}{4\pi\varepsilon_0}\int\frac{\rho(y)}{|x - y|}\,dy, the superposition of point charges. The same structure governs Newtonian gravity (with mass density in place of charge and the opposite sign), steady heat conduction from a point source, and ideal fluid flow around a point vortex in the plane, where the logarithm of the planar fundamental solution appears.

The fundamental solution of the heat operator ∂t−Δ\partial_t - \Delta is the heat kernel H(x,t)H(x, t) of 3A.8 Convolution and Mollifiers, extended by 00 for t≤0t \leq 0: it is the temperature after a unit of heat is released at the origin at time 00 (6A.3 The Heat Equation on ℝⁿ).

Where this goes "In the sense of distributions" later on

Weak derivatives define Sobolev spaces (4A.9 Sobolev Spaces), and weak solutions of PDE are solutions in the sense of distributions that happen to lie in a Sobolev space (6A.5 Weak Solutions and Elliptic Regularity). In geometry, inequalities are often proved "in the distributional sense" at points where a function isn't smooth. The basic example is the Laplacian comparison theorem (9B.1 Laplacian Comparison): on a manifold with Ric≥0\mathrm{Ric} \geq 0 the distance function dd from a point satisfies Δd≤n−1d\Delta d \leq \frac{n-1}{d}, smoothly away from the cut locus, and across the cut locus in the sense of distributions, because the singular part there has a favourable sign (like the 2δ02\delta_0 in ∣x∣′′|x|'', with the sign reversed). Perelman uses a version of this for his reduced distance in the proof that reduced volume is monotone (12A.5 Reduced Distance and Reduced Volume). Exercise 8.12 computes the Euclidean case.

History

Oliver Heaviside used the step function and its derivative in his operational calculus for electrical circuits in the 1890s. Paul Dirac introduced the delta function in quantum mechanics in 1927 and in his 1930 book. Sergei Sobolev defined generalised functions and weak derivatives in 1935–36, in work on hyperbolic equations, and introduced the spaces now named after him. Laurent Schwartz built the general theory of distributions in 1945–1950 (Théorie des distributions, 1950–51), for which he received the Fields Medal in 1950. Macaulay's brackets for beam deflections date from 1919.

Recall Where we stand

Distributions are continuous linear functionals on test functions; locally integrable functions, measures and the Dirac mass are examples. Their derivatives are defined by moving the derivative onto the test function with a minus sign, so every distribution is infinitely differentiable, the step's derivative is the Dirac mass, and differentiation commutes with limits. A weak derivative is a distributional derivative that is a function: corners allow it, jumps don't. Fundamental solutions solve equations with a point source; for the Laplacian they are 12πlog⁡∣x∣\frac{1}{2\pi}\log|x| in the plane and −14π∣x∣-\frac{1}{4\pi|x|} in space. 4A.9 Sobolev Spaces defines Sobolev spaces as the functions with weak derivatives in LpL^p.

Exercises

Exercise 8.6 The jump formula

Let ff be C1C^1 on (−1,0](-1, 0] and on [0,1)[0, 1) (one-sided), with a jump J=f(0+)−f(0−)J = f(0^+) - f(0^-) at 00. Show that its distributional derivative on (−1,1)(-1, 1) is fclassical′+Jδ0f'_{\text{classical}} + J\delta_0.

Exercise 8.7 Corners are allowed

Let ff be continuous on [a,b][a, b] and C1C^1 on each of finitely many subintervals. Show that its classical derivative (defined except at the break points) is a weak derivative.

Exercise 8.8 Products with the delta

Compute xδ0x\delta_0, xδ0′x\delta_0' and x2δ0′′x^2\delta_0'' as distributions on R\mathbb{R}. (For instance ⟨xδ0′,ϕ⟩=⟨δ0′,xϕ⟩=−(xϕ)′(0)=−ϕ(0)\langle x\delta_0', \phi\rangle = \langle\delta_0', x\phi\rangle = -(x\phi)'(0) = -\phi(0), so xδ0′=−δ0x\delta_0' = -\delta_0.)

Solution

xδ0=0x\delta_0 = 0; xδ0′=−δ0x\delta_0' = -\delta_0; ⟨x2δ0′′,ϕ⟩=(x2ϕ)′′(0)=2ϕ(0)\langle x^2\delta_0'', \phi\rangle = (x^2\phi)''(0) = 2\phi(0), so x2δ0′′=2δ0x^2\delta_0'' = 2\delta_0.

Exercise 8.9 The planar fundamental solution

Show that E(x)=12πlog⁡∣x∣E(x) = \frac{1}{2\pi}\log|x| satisfies ΔE=δ0\Delta E = \delta_0 in D′(R2)\mathcal{D}'(\mathbb{R}^2), following the proof of Theorem 8.5: EE is harmonic away from 00 (use Δg(r)=g′′+1rg′\Delta g(r) = g'' + \frac1rg'), locally integrable, and the boundary terms on a circle of radius ε\varepsilon tend to 00 and ϕ(0)\phi(0).

Exercise 8.10 Mollification and weak derivatives

Let f∈Lloc1(Rn)f \in L^1_{\mathrm{loc}}(\mathbb{R}^n) have weak derivative g=∂jf∈Lloc1g = \partial_jf \in L^1_{\mathrm{loc}}. Show ∂j(f∗ϕε)=g∗ϕε\partial_j(f * \phi_\varepsilon) = g * \phi_\varepsilon, using 3A.8 Convolution and Mollifiers's formula ∂j(f∗ϕε)=f∗∂jϕε\partial_j(f * \phi_\varepsilon) = f * \partial_j\phi_\varepsilon and the definition of the weak derivative applied to the test function y↦ϕε(x−y)y \mapsto \phi_\varepsilon(x - y).

Exercise 8.11 The beam under a central load

For a simply supported beam on [0,L][0, L] (u=u′′=0u = u'' = 0 at both ends) with EIu′′′′=PδL/2EIu'''' = P\delta_{L/2}, show that uu is symmetric, solve on [0,L2][0, \frac L2] (where u′′′′=0u'''' = 0, with the shear jumping by P/EIP/EI at the centre, so u′′′=P2EIu''' = \frac{P}{2EI} just to its left, taking downward deflection as positive), and find the maximum deflection PL348EI\frac{PL^3}{48EI}.

Solution

On [0,L2][0, \frac L2], u′′′=P2EIu''' = \frac{P}{2EI} (constant), u′′(0)=0u''(0) = 0, so u′′=P2EIxu'' = \frac{P}{2EI}x, which is the moment diagram up to sign. Symmetry gives u′(L2)=0u'(\frac L2) = 0, so u′=P4EI(x2−L24)u' = \frac{P}{4EI}(x^2 - \frac{L^2}{4}), and u(0)=0u(0) = 0 gives u=P4EI(x33−L2x4)u = \frac{P}{4EI}(\frac{x^3}{3} - \frac{L^2x}{4}). At x=L2x = \frac L2: ∣u∣=P4EI(L38−L324)=PL348EI|u| = \frac{P}{4EI}\big(\frac{L^3}{8} - \frac{L^3}{24}\big) = \frac{PL^3}{48EI}.

Exercise 8.12 Rehearsal: the Laplacian of the distance function

On Rn\mathbb{R}^n with n≥2n \geq 2, let r(x)=∣x∣r(x) = |x|. (a) Show that, away from 00, ∇r=x/∣x∣\nabla r = x/|x| and Δr=n−1r\Delta r = \frac{n-1}{r}. (b) Show that n−1r\frac{n-1}{r} is locally integrable, and that Δr=n−1r\Delta r = \frac{n-1}{r} holds in D′(Rn)\mathcal{D}'(\mathbb{R}^n), with no extra term at the origin. (Use the computation of Theorem 8.5: the boundary terms on a small sphere are O(εn−1)O(\varepsilon^{n-1}).) (c) Contrast with n=1n = 1, where ∣x∣′′=2δ0|x|'' = 2\delta_0. In 9B.1 Laplacian Comparison the distance function on a manifold is singular at the cut locus, and the Laplacian comparison Δd≤n−1d\Delta d \leq \frac{n-1}{d} holds in the distributional sense because the singular part is a negative multiple of a measure there: the corner of a distance function at the cut locus points the other way from the corner of ∣x∣|x| at 00.

Solution

(a) ∂ir=xi/r\partial_i r = x_i/r, ∂i2r=1r−xi2r3\partial_i^2r = \frac1r - \frac{x_i^2}{r^3}, summing to nr−1r\frac{n}{r} - \frac1r. (b) ∫B11r dx=∣Sn−1∣∫01rn−2dr<∞\int_{B_1}\frac1r\,dx = |S^{n-1}|\int_0^1r^{n-2}dr < \infty for n≥2n \geq 2. On ∣x∣=ε|x| = \varepsilon the terms r ∂νϕr\,\partial_\nu\phi and ϕ ∂νr\phi\,\partial_\nu r are bounded, and the sphere has area ∣Sn−1∣εn−1→0|S^{n-1}|\varepsilon^{n-1} \to 0.

© 2026 NeckPinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.