Book 4A

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

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

Sobolev Spaces

Functions with derivatives in Lᵖ, approximation, and the Poincaré inequality.

40 min read · Updated Nov 6, 2026

Read with Brezis, chapter 8 (Sobolev spaces in one dimension, which shows every idea with the least machinery) and the first half of chapter 9 (definitions, approximation, extension, traces, W01,pW^{1,p}_0); Evans §5.2–5.5 is a good second voice.

In this chapter · 6 sections
  1. 10.1Computing with hat functions
  2. 10.2Definitions
  3. 10.2.1Which functions are in W1,pW^{1,p}W1,p?
  4. 10.2.2Why the threshold is 1−np1 - \frac np1−pn​: scaling
  5. 10.3Approximation, extension, traces
  6. 10.4The Poincaré inequality
  7. 10.5History
  8. 10.6Exercises
  9. ↗Free resources

A Sobolev space consists of the functions whose weak derivatives (4A.9 Distributions and Weak Derivatives), up to some order, are in LpL^p. The definition looks technical, and the reason for it is practical. The natural energies of physics and geometry, ∫∣∇u∣2\int|\nabla u|^2 for a membrane, ∫(R+∣∇f∣2)e−f\int(R + |\nabla f|^2)e^{-f} for Perelman, are integrals of squares of derivatives. To minimise them, or to solve the equations they produce, one needs a complete space in which those integrals are the norm, and C1C^1 functions with that norm are not complete. Completing them gives the Sobolev space H1H^1, just as completing the rationals gave the reals (2A.4 The Real Numbers) and completing continuous functions gave L1L^1 (3A.3 The Lebesgue Integral).

This chapter defines the spaces, shows they are complete and that smooth functions are dense in them, explains how boundary values make sense for functions that are only defined almost everywhere, and proves the most-used inequality about them, the Poincaré inequality, which says that a function vanishing on the boundary is controlled by its gradient. The anchor is the finite element method, which is Sobolev space theory turned into the main computational tool of engineering.

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

  • define Wk,pW^{k,p} and HkH^k, prove that they are complete, and decide whether a given function belongs to them;
  • state the density theorems (smooth functions are dense) and the trace and extension theorems;
  • define H01H^1_0 and explain in what sense its functions vanish on the boundary;
  • prove the Poincaré inequality and relate its constant to the lowest frequency of a drum;
  • rewrite Perelman's F\mathcal{F}-functional as a quadratic form on H1H^1.

Computing with hat functions

In the world In use The finite element method

How does a bridge deck sag under load, a turbine blade deform, or heat spread through an engine block? Engineering software answers such questions by the finite element method. The region is divided into a mesh of small triangles or tetrahedra. On the mesh, a hat function is attached to each vertex: the piecewise-linear function equal to 11 at that vertex, 00 at all the others, and linear on each triangle (Figure 10.1). The unknown (a displacement, a temperature) is approximated by a combination uh=∑iUiφiu_h = \sum_iU_i\varphi_i of hat functions, and the coefficients UiU_i are found by requiring the weak form of the equation (4A.5 Hilbert Spaces and Lax–Milgram) to hold for every hat function as test function. That gives a large, sparse, symmetric linear system, the "stiffness matrix" of structural engineering.

Hat functions are not differentiable at the edges of the mesh, so uhu_h is not a classical solution of anything. But it has weak derivatives in L2L^2: it lies in H1H^1, the space in which the problem is posed. The method's convergence theory is Sobolev-space theory. Céa's lemma (Jean Céa, 1964; 4A.5 Hilbert Spaces and Lax–Milgram's rehearsal) says the error in the energy norm is at most a constant times the best possible approximation of the true solution by piecewise-linear functions, and interpolation estimates in Sobolev norms bound that by a multiple of the mesh size. The method's roots are in a 1943 paper by Richard Courant using piecewise-linear functions on triangles, and in aircraft structural analysis at Boeing, published by Turner, Clough, Martin and Topp in 1956; Ray Clough named it the finite element method in 1960.

Figure 10.1. Top: hat functions on a one-dimensional mesh, and the piecewise-linear interpolant ∑iu(xi)φi\sum_iu(x_i)\varphi_i of a smooth function (computed). Bottom: a triangular mesh, with the hat function of one vertex shaded: 11 at that vertex, 00 at the others, linear on each triangle. Such functions are continuous with corners, so they lie in H1H^1 but not in C1C^1.

Definitions

Let Ω⊆Rn\Omega \subseteq \mathbb{R}^n be open, 1≤p≤∞1 \leq p \leq \infty and k≥0k \geq 0 an integer.

Definition 10.1 Sobolev spaces

Wk,p(Ω)W^{k,p}(\Omega) is the space of u∈Lp(Ω)u \in L^p(\Omega) whose weak derivatives ∂αu\partial^\alpha u exist and lie in Lp(Ω)L^p(\Omega) for every multi-index ∣α∣≤k|\alpha| \leq k, with the norm

∥u∥Wk,p=(∑∣α∣≤k∥∂αu∥pp)1/p(p<∞),∥u∥Wk,∞=max⁡∣α∣≤k∥∂αu∥∞.\|u\|_{W^{k,p}} = \Big(\sum_{|\alpha|\leq k}\|\partial^\alpha u\|_p^p\Big)^{1/p} \quad (p < \infty), \qquad \|u\|_{W^{k,\infty}} = \max_{|\alpha|\leq k}\|\partial^\alpha u\|_\infty.

For p=2p = 2 we write Hk(Ω)=Wk,2(Ω)H^k(\Omega) = W^{k,2}(\Omega), a Hilbert space with ⟨u,v⟩=∑∣α∣≤k∫∂αu ∂αv\langle u, v\rangle = \sum_{|\alpha|\leq k}\int\partial^\alpha u\,\partial^\alpha v.

The space used most is H1H^1, with ∥u∥H12=∫(u2+∣∇u∣2)\|u\|_{H^1}^2 = \int(u^2 + |\nabla u|^2). On Rn\mathbb{R}^n it is the space H1H^1 of 4A.6 The Fourier Transform, defined there by the Fourier transform (∫∣∇u∣2=4π2∫∣ξ∣2∣u^∣2\int|\nabla u|^2 = 4\pi^2\int|\xi|^2|\hat u|^2).

Theorem 10.2 Completeness

Wk,p(Ω)W^{k,p}(\Omega) is a Banach space.

Proof. Let (um)(u_m) be Cauchy in Wk,pW^{k,p}. Then each (∂αum)(\partial^\alpha u_m) is Cauchy in LpL^p, so by Riesz–Fischer (3A.7 Lᵖ Spaces and Jensen’s Inequality) um→uu_m \to u and ∂αum→uα\partial^\alpha u_m \to u_\alpha in LpL^p. For a test function ϕ\phi,

∫u ∂αϕ=lim⁡m∫um ∂αϕ=lim⁡m(−1)∣α∣∫∂αum ϕ=(−1)∣α∣∫uα ϕ,\int u\,\partial^\alpha\phi = \lim_m\int u_m\,\partial^\alpha\phi = \lim_m(-1)^{|\alpha|}\int\partial^\alpha u_m\,\phi = (-1)^{|\alpha|}\int u_\alpha\,\phi,

the limits being justified by Hölder's inequality. So uαu_\alpha is the weak derivative ∂αu\partial^\alpha u, and um→uu_m \to u in Wk,pW^{k,p}.

The proof shows the key property of weak derivatives: they pass to LpL^p limits. Classical derivatives don't (2B.5 Uniform Convergence and Arzelà–Ascoli), which is exactly why C1C^1 with the norm ∥u∥p+∥∇u∥p\|u\|_p + \|\nabla u\|_p is incomplete and W1,pW^{1,p} is its completion.

Which functions are in W1,pW^{1,p}?

In one dimension, a function in W1,p(a,b)W^{1,p}(a, b) has a continuous representative, with u(y)−u(x)=∫xyu′u(y) - u(x) = \int_x^yu', and by Hölder ∣u(y)−u(x)∣≤∣y−x∣1−1/p∥u′∥p|u(y) - u(x)| \leq |y - x|^{1 - 1/p}\|u'\|_p (Exercise 10.9). So in one dimension, Sobolev functions are continuous, even Hölder continuous (4A.14 Hölder Spaces).

A few quick membership tests, all on bounded intervals or domains, sharpen the picture.

  • Jumps are excluded. The step function 1(0,1)1_{(0,1)} on (−1,1)(-1, 1) is in every LpL^p but in no W1,pW^{1,p}: its distributional derivative is δ0\delta_0, not a function (4A.9 Distributions and Weak Derivatives).
  • Corners and creases are allowed. A hat function, a tent 1−∣x∣1 - |x|, a cone 1−∣x∣1 - |x| on the unit ball of Rn\mathbb{R}^n, and a crease ∣x1∣|x_1| along a hyperplane all lie in W1,∞W^{1,\infty}, hence in every W1,pW^{1,p} on bounded sets. Their weak gradients are the classical gradients away from the corners, which have measure zero. Continuous, piecewise-smooth functions are the ordinary members of W1,pW^{1,p}, which is why the finite element method can use them.
  • Second derivatives are stricter. A hat function is in H1H^1 but not in H2H^2: its derivative is a step, with deltas for second derivative. So the energy ∫∣∇u∣2\int|\nabla u|^2 of a membrane can be evaluated on piecewise-linear functions, while the bending energy ∫∣Δu∣2\int|\Delta u|^2 of a plate cannot; plate problems need smoother elements, a real constraint in engineering software.

In higher dimensions they need not be continuous. The test case is a power of the distance to a point.

Example 10.3 Powers of ∣x∣|x|

On the unit ball B⊆RnB \subseteq \mathbb{R}^n, let u(x)=∣x∣αu(x) = |x|^\alpha. Away from 00, ∣∇u∣=∣α∣ ∣x∣α−1|\nabla u| = |\alpha|\,|x|^{\alpha-1}, and in polar coordinates (3A.5 Product Measures and Change of Variables)

∫B∣∇u∣p=∣α∣p∣Sn−1∣∫01r(α−1)prn−1 dr<∞  ⟺  (α−1)p+n>0  ⟺  α>1−np.\int_B|\nabla u|^p = |\alpha|^p|S^{n-1}|\int_0^1r^{(\alpha-1)p}r^{n-1}\,dr < \infty \iff (\alpha - 1)p + n > 0 \iff \alpha > 1 - \frac np.

(One also checks that the classical gradient away from 00 is the weak gradient on all of BB, which holds when it is integrable, as in 4A.9 Distributions and Weak Derivatives's exercise on the distance function.) So u∈W1,p(B)u \in W^{1,p}(B) iff α>1−np\alpha > 1 - \frac np. For p<np < n this allows negative α\alpha: the function ∣x∣−1/4|x|^{-1/4} is in H1H^1 of the unit ball in R3\mathbb{R}^3 although it is unbounded. In R2\mathbb{R}^2 with p=2p = 2 the threshold is α>0\alpha > 0, and the borderline unbounded example is log⁡log⁡(1+1/∣x∣)\log\log(1 + 1/|x|) (4A.6 The Fourier Transform).

Why the threshold is 1−np1 - \frac np: scaling

The power computation can be predicted without integrating, by asking what happens to a function and its gradient when it is squeezed. Take any bump uu and concentrate it by a factor λ>1\lambda > 1: uλ(x)=u(λx)u_\lambda(x) = u(\lambda x). Its height is unchanged, sup⁡∣uλ∣=sup⁡∣u∣\sup|u_\lambda| = \sup|u|, but it is λ\lambda times steeper on a region λ−n\lambda^{-n} times smaller in volume. Changing variables,

∫∣∇uλ∣p dx=λp∫∣∇u∣p(λx) dx=λp−n∫∣∇u∣p dy.\int|\nabla u_\lambda|^p\,dx = \lambda^p\int|\nabla u|^p(\lambda x)\,dx = \lambda^{p - n}\int|\nabla u|^p\,dy.

Three cases, and they are the three cases of the next chapter.

  • p<np < n. Concentrating lowers the gradient energy: λp−n→0\lambda^{p-n} \to 0. So a tall, thin spike costs almost nothing, and stacking spikes at smaller and smaller scales (which is what ∣x∣−1/4|x|^{-1/4} does in R3\mathbb{R}^3) produces unbounded functions of finite energy. No bound sup⁡∣u∣≤C∥∇u∥p\sup|u| \leq C\|\nabla u\|_p is possible.
  • p>np > n. Concentrating raises the energy without limit. A function of finite energy cannot have a tall, thin spike, and in fact it is continuous: 4A.11 Sobolev Embeddings and Critical Exponents proves sup⁡∣u∣≤C∥u∥W1,p\sup|u| \leq C\|u\|_{W^{1,p}} (Morrey).
  • p=np = n. The energy does not change under concentration: the problem is scale invariant. This is the borderline, where functions are "almost bounded" (log⁡log⁡1∣x∣\log\log\frac{1}{|x|} in the plane) and the sharp results involve exponentials of the function (Trudinger–Moser).

The same counting, applied to ∥u∥q\|u\|_q instead of sup⁡∣u∣\sup|u|, gives ∫∣uλ∣q=λ−n∫∣u∣q\int|u_\lambda|^q = \lambda^{-n}\int|u|^q, and matching powers predicts the exponent q=npn−pq = \frac{np}{n - p} of the Sobolev inequality in 4A.11 Sobolev Embeddings and Critical Exponents, before any proof. Scaling arguments of this kind decide the exponents of almost every inequality in analysis: an inequality can only be true if both sides scale the same way. The Ricci flow has its own scaling (space by λ\lambda, time by λ2\lambda^2, curvature by λ−2\lambda^{-2}), and the same bookkeeping decides which quantities Perelman can control.

The number 1−np1 - \frac np measures the trade between derivatives and dimension. It is the exponent that 4A.11 Sobolev Embeddings and Critical Exponents makes the organising principle of the Sobolev embedding theorems: W1,pW^{1,p} functions are continuous when p>np > n, but can be unbounded when p≤np \leq n.

Approximation, extension, traces

Theorem 10.4 Smooth functions are dense

For 1≤p<∞1 \leq p < \infty:

  1. Cc∞(Rn)C_c^\infty(\mathbb{R}^n) is dense in Wk,p(Rn)W^{k,p}(\mathbb{R}^n);
  2. (Meyers–Serrin) C∞(Ω)∩Wk,p(Ω)C^\infty(\Omega) \cap W^{k,p}(\Omega) is dense in Wk,p(Ω)W^{k,p}(\Omega) for every open Ω\Omega;
  3. if Ω\Omega is bounded with C1C^1 (or Lipschitz) boundary, functions smooth up to the boundary, C∞(Ωˉ)C^\infty(\bar\Omega), are dense in Wk,p(Ω)W^{k,p}(\Omega).

Proof. Parts (1) and (2) are proved in full; part (3) is sketched at the end.

(1) Cut off. Fix a smooth χ\chi with χ=1\chi = 1 on B(0,1)B(0, 1), χ=0\chi = 0 outside B(0,2)B(0, 2), and put χR(x)=χ(x/R)\chi_R(x) = \chi(x/R), so that ∣∂γχR∣≤CγR−∣γ∣≤Cγ/R|\partial^\gamma\chi_R| \leq C_\gamma R^{-|\gamma|} \leq C_\gamma/R for R≥1R \geq 1 and γ≠0\gamma \neq 0. By the product rule (Exercise 10.10, applied repeatedly), ∂α(χRu)\partial^\alpha(\chi_Ru) is χR∂αu\chi_R\partial^\alpha u plus a sum of terms c ∂γχR ∂βuc\,\partial^\gamma\chi_R\,\partial^\beta u with γ≠0\gamma \neq 0, each of LpL^p norm at most CR∥u∥Wk,p\frac CR\|u\|_{W^{k,p}}. And ∥(1−χR)∂αu∥p→0\|(1 - \chi_R)\partial^\alpha u\|_p \to 0 by dominated convergence. So χRu→u\chi_Ru \to u in Wk,pW^{k,p} as R→∞R \to \infty.

(1) Mollify. For v=χRuv = \chi_Ru, which vanishes outside B(0,2R)B(0, 2R), v∗ϕεv * \phi_\varepsilon is smooth with compact support, and ∂α(v∗ϕε)=(∂αv)∗ϕε\partial^\alpha(v * \phi_\varepsilon) = (\partial^\alpha v) * \phi_\varepsilon (4A.9 Distributions and Weak Derivatives, one derivative at a time). Each (∂αv)∗ϕε→∂αv(\partial^\alpha v) * \phi_\varepsilon \to \partial^\alpha v in LpL^p (3A.8 Convolution and Mollifiers), so v∗ϕε→vv * \phi_\varepsilon \to v in Wk,pW^{k,p}.

(2) Meyers–Serrin. Mollifying uu directly fails near ∂Ω\partial\Omega, where u∗ϕεu * \phi_\varepsilon would need values of uu outside Ω\Omega. So mollify at scales that shrink towards the boundary. Let Ωj={x∈Ω:∣x∣<j, dist⁡(x,∂Ω)>1j}\Omega_j = \{x \in \Omega : |x| < j,\ \operatorname{dist}(x, \partial\Omega) > \frac1j\} for j≥1j \geq 1, with Ω0=Ω−1=∅\Omega_0 = \Omega_{-1} = \emptyset, and Vj=Ωj+1∖Ωj−1‾V_j = \Omega_{j+1}\setminus\overline{\Omega_{j-1}} for j≥0j \geq 0. The VjV_j are open, cover Ω\Omega, and each point of Ω\Omega lies in at most three of them. Take a smooth partition of unity subordinate to them: smooth ζj≥0\zeta_j \geq 0 with compact support in VjV_j and ∑jζj=1\sum_j\zeta_j = 1 on Ω\Omega (built from the bumps of 2B.6 Power Series, Exponentials and Bump Functions; Evans, Appendix C.4). By the product rule ζju∈Wk,p\zeta_ju \in W^{k,p}, and it vanishes outside a compact subset of VjV_j. Given δ>0\delta > 0, mollify it at a scale εj\varepsilon_j so small that wj=(ζju)∗ϕεjw_j = (\zeta_ju) * \phi_{\varepsilon_j} still has compact support in VjV_j and ∥wj−ζju∥Wk,p<δ2−j−1\|w_j - \zeta_ju\|_{W^{k,p}} < \delta2^{-j-1}, by part (1)'s mollification step. Let w=∑jwjw = \sum_jw_j. Near any point only finitely many terms are non-zero, so ww is smooth on Ω\Omega. Since u=∑jζjuu = \sum_j\zeta_ju, on each Ωm\Omega_m (where again only finitely many terms are non-zero)

∥w−u∥Wk,p(Ωm)≤∑j∥wj−ζju∥Wk,p<δ,\|w - u\|_{W^{k,p}(\Omega_m)} \leq \sum_j\|w_j - \zeta_ju\|_{W^{k,p}} < \delta,

and letting m→∞m \to \infty (monotone convergence) gives ∥w−u∥Wk,p(Ω)≤δ\|w - u\|_{W^{k,p}(\Omega)} \leq \delta.

(3) Smooth up to the boundary. The functions built in (2) may behave wildly at ∂Ω\partial\Omega. When ∂Ω\partial\Omega is C1C^1, cover it by finitely many patches in which Ω\Omega lies on one side of a graph; in each patch translate uu slightly inwards, u(x+ε ν)u(x + \varepsilon\,\nu) with ν\nu pointing into Ω\Omega, which is defined on a neighbourhood of the boundary piece, and then mollify at a scale smaller than the translation. Patching with a partition of unity gives approximations in C∞(Ωˉ)C^\infty(\bar\Omega) (Evans §5.3.3; Brezis, Theorem 9.2).

So the Sobolev space is the completion of smooth functions in the Sobolev norm: Meyers and Serrin's 1964 paper was titled "H=WH = W", recording that the two possible definitions, by completion (HH) and by weak derivatives (WW), agree. In practice: prove inequalities for smooth functions, then extend them by density. That is how almost every result in this chapter and the next is proved.

Two further theorems, stated without proof (Brezis, chapter 9; Evans §5.4–5.5), let functions on a domain be treated like functions on Rn\mathbb{R}^n and give them boundary values.

  • Extension. If Ω\Omega is bounded with C1C^1 boundary, there is a bounded linear extension operator E:W1,p(Ω)→W1,p(Rn)E : W^{1,p}(\Omega) \to W^{1,p}(\mathbb{R}^n) with Eu=uEu = u on Ω\Omega.
  • Trace. A function in W1,p(Ω)W^{1,p}(\Omega) is defined only almost everywhere, and ∂Ω\partial\Omega has measure zero, so "the value on the boundary" doesn't make sense directly. But if ∂Ω\partial\Omega is C1C^1 there is a bounded linear trace operator T:W1,p(Ω)→Lp(∂Ω)T : W^{1,p}(\Omega) \to L^p(\partial\Omega) with Tu=u∣∂ΩTu = u|_{\partial\Omega} whenever uu is continuous up to the boundary. Boundary values of Sobolev functions are defined by continuity from smooth functions.

Why H1H^1 functions have boundary values and L2L^2 functions do not. The trace theorem is easiest to see in one dimension, and the proof is the same slicing as for Poincaré's inequality below. For a smooth uu on [0,1][0, 1] and any xx, u(0)=u(x)−∫0xu′u(0) = u(x) - \int_0^xu', so ∣u(0)∣≤∣u(x)∣+∫01∣u′∣|u(0)| \leq |u(x)| + \int_0^1|u'|. Integrating over x∈(0,1)x \in (0, 1),

∣u(0)∣≤∫01∣u∣+∫01∣u′∣=∥u∥W1,1(0,1).|u(0)| \leq \int_0^1|u| + \int_0^1|u'| = \|u\|_{W^{1,1}(0,1)}.

The value at the end is controlled by the Sobolev norm, so it passes to limits, and every u∈W1,1u \in W^{1,1} inherits a well-defined value at 00. Nothing of the kind holds in L2L^2 alone: the functions un(x)=(1−nx)+u_n(x) = (1 - nx)_+ all have value 11 at 00, but ∥un∥2=13n→0\|u_n\|_2 = \frac{1}{\sqrt{3n}} \to 0. A function can be changed near the boundary, at almost no cost in L2L^2 norm, to have any boundary value one likes; it is the gradient term that forbids this, because a steep change costs energy. In nn dimensions the same argument along each segment normal to a flat piece of boundary gives the trace inequality, with boundary values in Lp(∂Ω)L^p(\partial\Omega).

Definition 10.5 Zero boundary values

W01,p(Ω)W^{1,p}_0(\Omega) is the closure of Cc∞(Ω)C_c^\infty(\Omega) in W1,p(Ω)W^{1,p}(\Omega), and H01(Ω)=W01,2(Ω)H^1_0(\Omega) = W^{1,2}_0(\Omega). For bounded C1C^1 domains it is exactly the kernel of the trace: the Sobolev functions that vanish on the boundary.

H01(Ω)H^1_0(\Omega) is the space of the Dirichlet problem (4A.5 Hilbert Spaces and Lax–Milgram, 4A.8 Compact Operators and Spectra): a clamped membrane, a drum fixed at its rim.

The Poincaré inequality

On a bounded domain, a function that vanishes on the boundary can't be large unless its gradient is.

Theorem 10.6 Poincaré inequality

Let Ω\Omega lie between two parallel hyperplanes at distance dd. Then for every u∈W01,p(Ω)u \in W^{1,p}_0(\Omega), 1≤p<∞1 \leq p < \infty,

∫Ω∣u∣p≤dp∫Ω∣∇u∣p.\int_\Omega|u|^p \leq d^p\int_\Omega|\nabla u|^p.

Proof. By density it suffices to take u∈Cc∞(Ω)u \in C_c^\infty(\Omega), extended by 00. Choose coordinates with Ω⊆{0<x1<d}\Omega \subseteq \{0 < x_1 < d\}. For each x=(x1,x′)x = (x_1, x'), since u(0,x′)=0u(0, x') = 0,

∣u(x1,x′)∣=∣∫0x1∂1u(s,x′) ds∣≤∫0d∣∇u(s,x′)∣ ds≤d1−1/p(∫0d∣∇u(s,x′)∣p ds)1/p|u(x_1, x')| = \Big|\int_0^{x_1}\partial_1u(s, x')\,ds\Big| \leq \int_0^d|\nabla u(s, x')|\,ds \leq d^{1 - 1/p}\Big(\int_0^d|\nabla u(s, x')|^p\,ds\Big)^{1/p}

by Hölder. Raise to the power pp, integrate over x1∈(0,d)x_1 \in (0, d) (giving a factor dd), then over x′x' (Fubini, 3A.5 Product Measures and Change of Variables).

The proof slices the domain into segments and uses the fundamental theorem of calculus on each, with the boundary value 00 to start. Without the boundary condition the inequality fails (constants have zero gradient). The version for functions with mean zero on a bounded connected domain (or on a closed manifold),

∫Ω∣u−uˉ∣p≤C∫Ω∣∇u∣p,uˉ=1∣Ω∣∫Ωu,\int_\Omega|u - \bar u|^p \leq C\int_\Omega|\nabla u|^p, \qquad \bar u = \frac{1}{|\Omega|}\int_\Omega u,

is also true, but its proof is a contradiction–compactness argument that needs Rellich's theorem (4A.11 Sobolev Embeddings and Critical Exponents, Exercise 10.12); on the circle it is Wirtinger's inequality (2B.7 Fourier Series and the First Heat Equation).

In the world Model The lowest note of a drum

For a membrane under tension TT with area density ρ\rho, clamped on the boundary of Ω\Omega, the strain energy of a small displacement uu is T2∫∣∇u∣2\frac T2\int|\nabla u|^2, an H1H^1 seminorm, and the kinetic energy is ρ2∫ut2\frac\rho2\int u_t^2. The frequencies of vibration are 12πTλk/ρ\frac{1}{2\pi}\sqrt{T\lambda_k/\rho}, where λk\lambda_k are the Dirichlet eigenvalues (4A.8 Compact Operators and Spectra). The best constant in the p=2p = 2 Poincaré inequality is exactly 1/λ11/\lambda_1: ∫u2≤1λ1∫∣∇u∣2\int u^2 \leq \frac{1}{\lambda_1}\int|\nabla u|^2, with equality for the fundamental mode. So the Poincaré inequality is the statement that a clamped drum has a lowest note, strictly above zero; the slicing proof gives λ1≥1d2\lambda_1 \geq \frac{1}{d^2} for a drum of width dd (the true value for a strip is π2d2\frac{\pi^2}{d^2}). A wider drum can have a lower note; an infinitely long thin one still has a lowest note fixed by its width.

The best constant on an interval, and why bounded width matters. On (0,1)(0, 1) with p=2p = 2, the slicing proof gives ∫u2≤∫u′2\int u^2 \leq \int u'^2, constant 11. The best constant is smaller. Expand u∈H01(0,1)u \in H^1_0(0, 1) in the sine modes, u=∑kck2sin⁡(kπx)u = \sum_kc_k\sqrt2\sin(k\pi x); then ∫u2=∑ck2\int u^2 = \sum c_k^2 and ∫u′2=∑k2π2ck2≥π2∑ck2\int u'^2 = \sum k^2\pi^2c_k^2 \geq \pi^2\sum c_k^2, so

∫01u2≤1π2∫01u′2,\int_0^1u^2 \leq \frac{1}{\pi^2}\int_0^1u'^2,

with equality for sin⁡(πx)\sin(\pi x): the best constant is 1π2≈0.101\frac{1}{\pi^2} \approx 0.101, the reciprocal of the first eigenvalue, as the box below explains. The slicing proof lost a factor of about 1010, which is typical of proofs that use only the fundamental theorem of calculus, and harmless for most purposes.

On an unbounded domain such as all of Rn\mathbb{R}^n, no Poincaré inequality can hold, and scaling shows why. Spread a fixed bump out by a factor RR, uR(x)=u(x/R)u_R(x) = u(x/R). Then ∫uR2=Rn∫u2\int u_R^2 = R^n\int u^2 while ∫∣∇uR∣2=Rn−2∫∣∇u∣2\int|\nabla u_R|^2 = R^{n-2}\int|\nabla u|^2, so the ratio ∫uR2∫∣∇uR∣2\frac{\int u_R^2}{\int|\nabla u_R|^2} grows like R2R^2. A wide, gentle function has little gradient but a lot of mass. The width dd in the theorem is exactly the length scale that stops this, and the constant dpd^p has the units it must have: lengthp\text{length}^p, the ratio of ∫∣u∣p\int|u|^p to ∫∣∇u∣p\int|\nabla u|^p.

Example 10.7 Finite elements by hand

Solve −u′′=1-u'' = 1 on (0,1)(0, 1), u(0)=u(1)=0u(0) = u(1) = 0, with N−1N - 1 interior hat functions on a mesh of spacing h=1Nh = \frac1N. The weak form, tested against the hat φi\varphi_i at node xi=ihx_i = ih, is ∫uh′φi′=∫φi\int u_h'\varphi_i' = \int\varphi_i. Each φi′\varphi_i' is 1h\frac1h on (xi−1,xi)(x_{i-1}, x_i) and −1h-\frac1h on (xi,xi+1)(x_i, x_{i+1}), so ∫φi′φj′\int\varphi_i'\varphi_j' is 2h\frac2h when j=ij = i, −1h-\frac1h when ∣i−j∣=1|i - j| = 1, and 00 otherwise; and ∫φi=h\int\varphi_i = h. With uh=∑jUjφju_h = \sum_jU_j\varphi_j the system is

1h(−Ui−1+2Ui−Ui+1)=h,i=1,…,N−1,\frac1h\big(-U_{i-1} + 2U_i - U_{i+1}\big) = h, \qquad i = 1, \dots, N - 1,

with U0=UN=0U_0 = U_N = 0: the familiar tridiagonal "stiffness matrix". The exact solution u(x)=12x(1−x)u(x) = \frac12x(1 - x) satisfies −u(x−h)+2u(x)−u(x+h)=h2-u(x - h) + 2u(x) - u(x + h) = h^2 (its second difference is exactly −h2u′′-h^2u'', since uu is quadratic), so Ui=u(xi)U_i = u(x_i) solves the system: the finite element solution is exact at the nodes, and between them it is the piecewise-linear interpolant of uu. Its energy-norm error is the interpolation error, of order hh, as Céa's lemma promises. (Exactness at the nodes is a special feature of one dimension; in two or more dimensions the nodal values are only approximately right.)

Where this goes Perelman's F\mathcal{F} is an H1H^1 quadratic form

On a closed Riemannian manifold, Perelman's functional is

F(g,f)=∫M(R+∣∇f∣2) e−f dV.\mathcal{F}(g, f) = \int_M\big(R + |\nabla f|^2\big)\,e^{-f}\,dV.

With w=e−f/2w = e^{-f/2}, so that ∣∇f∣2e−f=4∣∇w∣2|\nabla f|^2e^{-f} = 4|\nabla w|^2 (3A.4 Measures, Probability and Weights), it becomes

F=∫M(4∣∇w∣2+Rw2) dV,\mathcal{F} = \int_M\big(4|\nabla w|^2 + Rw^2\big)\,dV,

a quadratic form in ww whose natural domain is the Sobolev space H1(M)H^1(M): it is finite exactly when w∈H1w \in H^1. The constraint ∫e−fdV=1\int e^{-f}dV = 1 becomes ∫w2=1\int w^2 = 1, the unit sphere of L2L^2. Minimising gives λ(g)\lambda(g), the bottom of the spectrum of −4Δ+R-4\Delta + R (4A.8 Compact Operators and Spectra, 12A.2 Ricci Flow as a Gradient Flow); the minimiser exists because H1(M)↪L2(M)H^1(M) \hookrightarrow L^2(M) is compact on a closed manifold (4A.11 Sobolev Embeddings and Critical Exponents). When the definition appears in 12A.2 Ricci Flow as a Gradient Flow, it should look familiar.

History

Sergei Sobolev introduced the spaces in the 1930s, in work on wave equations and on the Dirichlet problem (his book Some Applications of Functional Analysis in Mathematical Physics appeared in 1950). Kurt Friedrichs studied the relation between weak and strong derivatives in 1944, and Norman Meyers and James Serrin proved "H=WH = W" in 1964. Henri Poincaré proved an inequality of this type in 1890, in work on the Dirichlet problem. Emilio Gagliardo developed the theory of traces in 1957. The finite element method grew from Courant's 1943 paper, aircraft structural analysis in the 1950s (Turner, Clough, Martin and Topp, 1956), and Clough's naming of it in 1960; its convergence theory from Céa's 1964 thesis.

Recall Where we stand

Wk,pW^{k,p} consists of LpL^p functions with weak derivatives in LpL^p up to order kk; it is complete because weak derivatives pass to LpL^p limits, and smooth functions are dense in it, so it is the completion of smooth functions in the Sobolev norm. In one dimension Sobolev functions are continuous; in higher dimensions ∣x∣α∈W1,p|x|^\alpha \in W^{1,p} iff α>1−np\alpha > 1 - \frac np, so they can be unbounded when p≤np \leq n. Extension and trace theorems handle domains and boundary values; H01H^1_0 is the space of functions vanishing on the boundary. The Poincaré inequality bounds a function vanishing on the boundary by its gradient, with best constant 1/λ11/\lambda_1 for p=2p = 2. Perelman's F\mathcal{F} is an H1H^1 quadratic form. 4A.11 Sobolev Embeddings and Critical Exponents finds exactly which LqL^q and Hölder spaces W1,pW^{1,p} embeds in, and when the embedding is compact.

Exercises

Exercise 10.8 Powers of ∣x∣|x|, in detail

Show that ∣x∣α∈H1(B)|x|^\alpha \in H^1(B) for the unit ball B⊆RnB \subseteq \mathbb{R}^n iff α>1−n2\alpha > 1 - \frac n2 (and α\alpha is not required to be positive when n≥3n \geq 3). Check the cases n=1n = 1 (must be continuous), n=2n = 2 (α>0\alpha > 0) and n=3n = 3 (α>−12\alpha > -\frac12).

Solution

Take α≠0\alpha \neq 0 (α=0\alpha = 0 is the constant 11, trivially in H1H^1). By Example 10.3 with p=2p = 2, ∫B∣∇u∣2<∞\int_B|\nabla u|^2 < \infty iff 2(α−1)+n>02(\alpha - 1) + n > 0, that is, α>1−n2\alpha > 1 - \frac n2. Then also ∫Bu2=∣Sn−1∣∫01r2α+n−1dr<∞\int_Bu^2 = |S^{n-1}|\int_0^1r^{2\alpha+n-1}dr < \infty, since 2α+n>2−n+n>02\alpha + n > 2 - n + n > 0. The classical gradient is the weak one: integrating by parts on ∣x∣>ε|x| > \varepsilon, the boundary term is at most sup⁡∣ϕ∣ εα ∣Sn−1∣εn−1\sup|\phi|\,\varepsilon^\alpha\,|S^{n-1}|\varepsilon^{n-1}, which tends to 00 because α+n−1>n2>0\alpha + n - 1 > \frac n2 > 0. The cases: n=1n = 1 gives α>12\alpha > \frac12, a continuous (indeed Hölder) function, as it must be; n=2n = 2 gives α>0\alpha > 0; n=3n = 3 gives α>−12\alpha > -\frac12, so ∣x∣−1/4|x|^{-1/4} is allowed. For n≥3n \geq 3 the threshold 1−n21 - \frac n2 is negative.

Exercise 10.9 One-dimensional Sobolev functions

Let u∈C1([a,b])u \in C^1([a, b]). Show ∣u(y)−u(x)∣≤∣y−x∣1−1/p∥u′∥Lp|u(y) - u(x)| \leq |y - x|^{1 - 1/p}\|u'\|_{L^p} for p>1p > 1, and sup⁡∣u∣≤1b−a∫∣u∣+∫∣u′∣\sup|u| \leq \frac{1}{b - a}\int|u| + \int|u'|. Deduce, by density, that every u∈W1,p(a,b)u \in W^{1,p}(a, b) has a continuous representative satisfying the same bounds.

Solution

∣u(y)−u(x)∣=∣∫xyu′∣≤∣y−x∣1/q∥u′∥p|u(y) - u(x)| = |\int_x^yu'| \leq |y - x|^{1/q}\|u'\|_p by Hölder, with 1q=1−1p\frac1q = 1 - \frac1p. For the sup bound, u(x)=u(y)+∫yxu′u(x) = u(y) + \int_y^xu'; average over yy. A Cauchy sequence of smooth functions in W1,pW^{1,p} is then uniformly Cauchy, so its limit is continuous.

Exercise 10.10 The product rule

Show that if u∈W1,p(Ω)u \in W^{1,p}(\Omega) and v∈C1(Ωˉ)v \in C^1(\bar\Omega) with bounded derivatives, then uv∈W1,puv \in W^{1,p} with ∇(uv)=v∇u+u∇v\nabla(uv) = v\nabla u + u\nabla v. (Approximate uu by smooth functions, using Meyers–Serrin.)

Solution

Choose um∈C∞(Ω)∩W1,p(Ω)u_m \in C^\infty(\Omega) \cap W^{1,p}(\Omega) with um→uu_m \to u in W1,pW^{1,p}. For a test function ϕ\phi, the classical product rule and integration by parts (no boundary terms, ϕ\phi has compact support) give

∫umv ∂jϕ=−∫(v ∂jum+um ∂jv)ϕ.\int u_mv\,\partial_j\phi = -\int\big(v\,\partial_ju_m + u_m\,\partial_jv\big)\phi.

Since vv and ∂jv\partial_jv are bounded, umv→uvu_mv \to uv, v ∂jum→v ∂juv\,\partial_ju_m \to v\,\partial_ju and um∂jv→u ∂jvu_m\partial_jv \to u\,\partial_jv in LpL^p, and integrals against the bounded, compactly supported ϕ\phi converge (Hölder). So ∫uv ∂jϕ=−∫(v ∂ju+u ∂jv)ϕ\int uv\,\partial_j\phi = -\int(v\,\partial_ju + u\,\partial_jv)\phi: the weak derivative is v ∂ju+u ∂jvv\,\partial_ju + u\,\partial_jv, which lies in LpL^p.

Exercise 10.11 Poincaré on an interval, sharply

Show that for u∈H01(0,L)u \in H^1_0(0, L), ∫0Lu2≤L2π2∫0Lu′2\int_0^Lu^2 \leq \frac{L^2}{\pi^2}\int_0^Lu'^2, using the sine expansion of 4A.8 Compact Operators and Spectra's exercise, and that the constant is attained. Compare with the constant L2L^2 from the slicing proof.

Solution

The functions sk=sin⁡(kπx/L)s_k = \sin(k\pi x/L), k≥1k \geq 1, are the Dirichlet eigenfunctions of (0,L)(0, L) and form an orthogonal basis of L2(0,L)L^2(0, L) with ∥sk∥2=L2\|s_k\|^2 = \frac L2 (4A.8 Compact Operators and Spectra, rescaled from (0,π)(0, \pi)). Write u=∑cksku = \sum c_ks_k, so ∫u2=L2∑ck2\int u^2 = \frac L2\sum c_k^2. Integrating by parts (valid for u∈H01u \in H^1_0 by density, the boundary terms vanishing),

∫0Lu′cos⁡kπxL dx=kπL∫0Lu sk=kπL⋅L2ck.\int_0^Lu'\cos\frac{k\pi x}{L}\,dx = \frac{k\pi}{L}\int_0^Lu\,s_k = \frac{k\pi}{L}\cdot\frac L2c_k.

The cosines cos⁡(kπx/L)\cos(k\pi x/L), k≥1k \geq 1, are orthogonal with squared norm L2\frac L2, so Bessel's inequality gives ∫u′2≥L2∑k(kπL)2ck2≥π2L2⋅L2∑ck2=π2L2∫u2\int u'^2 \geq \frac L2\sum_k\big(\frac{k\pi}{L}\big)^2c_k^2 \geq \frac{\pi^2}{L^2}\cdot\frac L2\sum c_k^2 = \frac{\pi^2}{L^2}\int u^2. Equality holds for u=s1u = s_1: ∫s12=L2\int s_1^2 = \frac L2 and ∫s1′2=π2L2⋅L2\int s_1'^2 = \frac{\pi^2}{L^2}\cdot\frac L2. The slicing proof gives the constant L2L^2, worse by a factor π2≈9.9\pi^2 \approx 9.9: it ignores that uu also vanishes at the far end.

Exercise 10.12 Rehearsal: Poincaré for mean-zero functions by contradiction–compactness

Let Ω\Omega be bounded, connected, with C1C^1 boundary. Prove that there is CC with ∥u−uˉ∥L2≤C∥∇u∥L2\|u - \bar u\|_{L^2} \leq C\|\nabla u\|_{L^2} for all u∈H1(Ω)u \in H^1(\Omega), assuming Rellich's theorem (4A.11 Sobolev Embeddings and Critical Exponents: bounded sequences in H1(Ω)H^1(\Omega) have subsequences converging in L2(Ω)L^2(\Omega)). Run the template of 2B.3 Compactness: suppose uku_k with uˉk=0\bar u_k = 0, ∥uk∥2=1\|u_k\|_2 = 1 (normalise) and ∥∇uk∥2<1k\|\nabla u_k\|_2 < \frac1k; extract a subsequence converging in L2L^2 and weakly in H1H^1; show the limit has ∇u=0\nabla u = 0, so is constant (connectedness), has mean 00 and norm 11. Contradiction. This proof gives no value for CC, which is typical of [CC] arguments; on a closed manifold the same proof works, and the best constant is 1/λ11/\lambda_1 for the first non-zero eigenvalue of the Laplacian.

Solution

If no CC works, for each kk there is uku_k with ∥uk−uˉk∥2>k∥∇uk∥2\|u_k - \bar u_k\|_2 > k\|\nabla u_k\|_2. Then vk=(uk−uˉk)/∥uk−uˉk∥2v_k = (u_k - \bar u_k)/\|u_k - \bar u_k\|_2 has mean 00, ∥vk∥2=1\|v_k\|_2 = 1 and ∥∇vk∥2<1k\|\nabla v_k\|_2 < \frac1k, so (vk)(v_k) is bounded in H1H^1. By Rellich a subsequence converges in L2L^2 to some vv. For a test function ϕ\phi, ∫v ∂jϕ=lim⁡∫vk ∂jϕ=−lim⁡∫∂jvk ϕ=0\int v\,\partial_j\phi = \lim\int v_k\,\partial_j\phi = -\lim\int\partial_jv_k\,\phi = 0, since ∥∂jvk∥2→0\|\partial_jv_k\|_2 \to 0. So ∇v=0\nabla v = 0 weakly. Then vv is constant: its mollifications have zero gradient, so are constant on each ball well inside Ω\Omega; hence vv is constant almost everywhere on each such ball, the constants agree where balls overlap, and since Ω\Omega is connected there is one constant. But L2L^2 convergence on a bounded set implies L1L^1 convergence, so vˉ=lim⁡vˉk=0\bar v = \lim\bar v_k = 0, while ∥v∥2=lim⁡∥vk∥2=1\|v\|_2 = \lim\|v_k\|_2 = 1. A constant with mean 00 is 00, a contradiction.

Exercise 10.13 Rehearsal: two forms of F\mathcal{F}

On a closed manifold, show ∫Δf e−f dV=∫∣∇f∣2e−f dV\int\Delta f\,e^{-f}\,dV = \int|\nabla f|^2e^{-f}\,dV (integrate by parts: ∫Δf e−f=−∫⟨∇f,∇e−f⟩\int\Delta f\,e^{-f} = -\int\langle\nabla f, \nabla e^{-f}\rangle, 2A.11 The Riemann Integral, 8A.8 Differential Forms and Stokes’ Theorem). Deduce that

F(g,f)=∫(R+∣∇f∣2)e−f dV=∫(R+2Δf−∣∇f∣2)e−f dV.\mathcal{F}(g, f) = \int(R + |\nabla f|^2)e^{-f}\,dV = \int(R + 2\Delta f - |\nabla f|^2)e^{-f}\,dV.

Perelman uses the second form because R+2Δf−∣∇f∣2R + 2\Delta f - |\nabla f|^2 is the quantity whose evolution is computed pointwise in 12A.2 Ricci Flow as a Gradient Flow, and the identity between the two forms is exactly the kind of integration by parts that the monotonicity formula consists of.

Solution

∇e−f=−e−f∇f\nabla e^{-f} = -e^{-f}\nabla f, so −∫⟨∇f,∇e−f⟩=∫∣∇f∣2e−f-\int\langle\nabla f, \nabla e^{-f}\rangle = \int|\nabla f|^2e^{-f}. Then ∫(2Δf−∣∇f∣2)e−f=∫(2∣∇f∣2−∣∇f∣2)e−f=∫∣∇f∣2e−f\int(2\Delta f - |\nabla f|^2)e^{-f} = \int(2|\nabla f|^2 - |\nabla f|^2)e^{-f} = \int|\nabla f|^2e^{-f}.

Free resources for this chapter

Chosen for what this chapter covers, and all free to read or watch. Links checked Nov 6, 2026.

Read

Watch 2 lectures and talks

© 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.