Book 3A

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

Course 3Book 3A: Measure, Integration and LᵖChapter 7

Lᵖ Spaces and Jensen’s Inequality

Hölder, Minkowski, completeness, and convexity as the seed of entropy.

61 min read · Updated Nov 18, 2026

Tao's measure book stops before LpL^p spaces; read Tao, An Epsilon of Room I, §1.3 "LpL^p spaces" (Hölder, Minkowski, completeness, density, duality, interpolation). Stein and Shakarchi, Real Analysis, is an optional second voice for L1L^1 and L2L^2. Jensen's inequality is developed here.

In this chapter · 9 sections
  1. 7.1From one measure of size to many
  2. 7.2Which norm is your specification?
  3. 7.3LpL^pLp spaces
  4. 7.4Young, Hölder and Minkowski
  5. 7.4.1Minkowski's inequality for integrals
  6. 7.4.2Which norm sees a spike
  7. 7.5Completeness and density
  8. 7.5.1The Hilbert space L2L^2L2
  9. 7.6Jensen's inequality
  10. 7.6.1Convex functions: the facts used
  11. 7.6.2Averaging decreases convex functionals
  12. 7.6.3Entropy is never negative
  13. 7.6.4The Gaussian has the largest entropy
  14. 7.6.5Fisher information, previewed
  15. 7.6.6Which space for which problem
  16. 7.7From the size of functions to smoothing them
  17. 7.8History
  18. 7.9Exercises
  19. ↗Free resources

2B.1 Metric Spaces noticed that one space of functions can carry several natural distances: the largest difference, the area between the graphs. Measure theory now gives a whole family of them, one for each exponent p≥1p \geq 1:

∥f∥p=(∫∣f∣p dμ)1/p,∥f∥∞=the essential supremum of ∣f∣.\|f\|_p = \Big(\int|f|^p\,d\mu\Big)^{1/p}, \qquad \|f\|_\infty = \text{the essential supremum of }|f|.

Small pp cares about averages and ignores rare large values; large pp cares about the largest values and ignores averages. The spaces LpL^p of functions with ∥f∥p<∞\|f\|_p < \infty are the settings for nearly all of the PDE in Courses 4 and 6, and the inequalities proved in this chapter, Hölder's and Minkowski's, are used on almost every page from here on.

The chapter ends with Jensen's inequality: for a convex function, the function of the average is at most the average of the function. It is the source of the inequalities between means, and, applied to the logarithm, it proves that relative entropy is never negative. That is the first link of the entropy thread E, which leads through the log-Sobolev inequality (6A.12 Entropy, Information and Diffusion) to Perelman's W\mathcal{W}-entropy (12A.3 The 𝓦-Entropy).

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

  • compute LpL^p norms, and decide which LpL^p spaces a given function belongs to;
  • prove Young's, Hölder's and Minkowski's inequalities, and use Hölder to compare LpL^p norms;
  • prove that LpL^p is complete, and say which functions are dense in it;
  • prove Jensen's inequality and derive from it the AM–GM inequality and Gibbs' inequality;
  • choose the right norm for a given practical question.

From one measure of size to many

3A.6 Modes of Convergence and Differentiation sorted the ways functions converge and proved Lebesgue's differentiation theorem, with the maximal function as its tool. Throughout, it measured a function by one number, ∫∣f∣\int|f|. It ended by noticing that this is not enough: the maximal function of an integrable function is not integrable, yet it is controlled in the sense ∫∣Mf∣p≤Cp∫∣f∣p\int|Mf|^p \leq C_p\int|f|^p for every p>1p > 1, and different questions need different measures of size.

A warm-up with three functions on the line shows how much the choice matters, using only the power rule for integrals. The function f(x)=x−1/2f(x) = x^{-1/2} on (0,1)(0, 1) has ∫∣f∣=2\int|f| = 2, but ∫∣f∣2=∫01dxx=∞\int|f|^2 = \int_0^1\frac{dx}{x} = \infty: it is integrable, but its square is not, because of its singularity at 00. The function g(x)=1xg(x) = \frac1x on (1,∞)(1, \infty) has ∫∣g∣=∞\int|g| = \infty, but ∫∣g∣2=∫1∞x−2dx=1\int|g|^2 = \int_1^\infty x^{-2}dx = 1: its square is integrable and it is not, because of its slow decay at infinity. And the indicator of [0,a][0, a] has (∫∣1[0,a]∣p)1/p=a1/p\big(\int|\mathbf 1_{[0, a]}|^p\big)^{1/p} = a^{1/p}, which for a short interval, a<1a < 1, grows with pp, and for a long one, a>1a > 1, shrinks. Raising to a power pp before integrating emphasises large values when pp is large and spreads attention over the whole function when pp is small, and different exponents rank the same functions differently.

The chapter defines the whole family LpL^p, 1≤p≤∞1 \leq p \leq \infty, and proves the inequalities that make each a complete normed space. What is new in method is the systematic use of convexity: Young's inequality comes from the concavity of the logarithm, Hölder's from Young's by normalising, Minkowski's from Hölder's, and Jensen's inequality, at the end, is convexity integrated against a probability measure. These four inequalities are among the most used tools in analysis, and Jensen's, applied to the logarithm, proves that relative entropy is non-negative, which is where the entropies of Perelman's work begin.

Which norm is your specification?

In the world Data Mains voltage: RMS and peak

European mains electricity is specified as 230230 volts. That number is not the largest voltage: it is the root-mean-square (RMS) value of the alternating voltage V(t)=V0sin⁡(2πft)V(t) = V_0\sin(2\pi ft) over a cycle,

Vrms=(1T∫0TV(t)2 dt)1/2=V02,V_{\text{rms}} = \Big(\frac1T\int_0^TV(t)^2\,dt\Big)^{1/2} = \frac{V_0}{\sqrt2},

an L2L^2 average over one period, normalised by the period. The peak voltage is therefore V0=2302≈325V_0 = 230\sqrt2 \approx 325 volts, an L∞L^\infty quantity (Figure 7.1).

Both numbers matter, for different decisions. The heat a resistive appliance produces is proportional to V2/RV^2/R averaged over time, so it depends on VrmsV_{\text{rms}}, which is why RMS is the specification. A kettle on 230230 V RMS AC heats exactly as on 230230 V DC. Insulation, on the other hand, must withstand the largest instantaneous voltage, so it is rated against the peak. And the mean value, the L1L^1-type average of VV itself, is 00, which tells you nothing useful at all.

The same choice appears in forecasting and machine learning, where a model's errors e1,…,eNe_1, \ldots, e_N are summarised by the mean absolute error 1N∑∣ei∣\frac1N\sum|e_i| (an L1L^1 norm), the root-mean-square error (1N∑ei2)1/2\big(\frac1N\sum e_i^2\big)^{1/2} (L2L^2), or the worst case max⁡∣ei∣\max|e_i| (L∞L^\infty). They rank models differently. RMS error punishes occasional large errors more than mean absolute error does, and the worst case cares about nothing else. Which is right depends on the cost of an error, not on the mathematics.

Figure 7.1. One cycle of 230230 V mains. The peak, 325325 V, is the L∞L^\infty size; the RMS value, 230230 V, is the L2L^2 average, the square root of the mean of V2V^2 (lower panel). Power depends on the second; insulation on the first.

LpL^p spaces

Let (X,μ)(X, \mu) be a measure space and 0<p<∞0 < p < \infty. For measurable ff, ∥f∥p=(∫∣f∣p dμ)1/p\|f\|_p = \big(\int|f|^p\,d\mu\big)^{1/p}. The essential supremum ∥f∥∞\|f\|_\infty is the least MM with ∣f∣≤M|f| \leq M almost everywhere: the supremum, ignoring null sets.

The essential supremum, on an example. The Dirichlet function has supremum 11 and essential supremum 00: it exceeds 00 only on the rationals, a null set, so the least MM with ∣f∣≤M|f| \leq M almost everywhere is 00. The essential supremum is the supremum that integration can see, and it is the right one for L∞L^\infty, because it gives the same value to functions equal almost everywhere, as every norm on equivalence classes must. For a continuous function on an open set, the two suprema agree, since a continuous function that exceeds MM at one point exceeds it on a neighbourhood, which has positive measure.

Definition 7.1 LpL^p spaces

For 1≤p≤∞1 \leq p \leq \infty, Lp(X,μ)L^p(X, \mu) is the set of measurable ff with ∥f∥p<∞\|f\|_p < \infty, with functions equal almost everywhere identified. On Rd\mathbb{R}^d with Lebesgue measure we write Lp(Rd)L^p(\mathbb{R}^d); for counting measure on N\mathbb{N} we write ℓp\ell^p.

The identification is what makes ∥f∥p=0\|f\|_p = 0 imply f=0f = 0 (3A.3 The Lebesgue Integral). The triangle inequality is Minkowski's inequality below; with it, d(f,g)=∥f−g∥pd(f, g) = \|f - g\|_p is a metric for 1≤p≤∞1 \leq p \leq \infty. (For p<1p < 1 the triangle inequality fails, which is why p≥1p \geq 1.) The unit balls of the norms (∣x1∣p+∣x2∣p)1/p\big(|x_1|^p + |x_2|^p\big)^{1/p} on R2\mathbb{R}^2, the ℓp\ell^p norms on two points, show the family interpolating between the diamond of ℓ1\ell^1 and the square of ℓ∞\ell^\infty (Figure 7.2, extending 2B.1 Metric Spaces).

Figure 7.2. Unit balls of the ℓp\ell^p norm on R2\mathbb{R}^2 for p=1,1.5,2,4,∞p = 1, 1.5, 2, 4, \infty. All are convex for p≥1p \geq 1, which is the triangle inequality. As pp grows, the ball fills out towards the square.

Which LpL^p contains which? On R\mathbb{R}, neither inclusion holds in general: ∣x∣−a|x|^{-a} is in LpL^p near 00 when ap<1ap < 1 (small pp forgives singularities) and in LpL^p near infinity when ap>1ap > 1 (large pp forgives slow decay). So ∣x∣−1/21(0,1)|x|^{-1/2}1_{(0,1)} is in L1L^1 but not L2L^2, and ∣x∣−11(1,∞)|x|^{-1}1_{(1,\infty)} is in L2L^2 but not L1L^1. On a space of finite measure, large pp is more demanding: Lp⊆LqL^p \subseteq L^q for q≤pq \leq p (Exercise 7.10). On ℓp\ell^p it is the other way round: ℓq⊆ℓp\ell^q \subseteq \ell^p for q≤pq \leq p, since small terms raised to higher powers get smaller.

Norms of a Gaussian. Since ∫e−px2dx=π/p\int e^{-px^2}dx = \sqrt{\pi/p} by the Gaussian integral of 3A.5 Product Measures and Change of Variables,

∥e−x2∥p=(πp)1/(2p).\|e^{-x^2}\|_p = \Big(\frac\pi p\Big)^{1/(2p)} .

For p=1p = 1 this is π≈1.77\sqrt\pi \approx 1.77; for p=2p = 2, (π2)1/4≈1.12(\frac\pi2)^{1/4} \approx 1.12; and as p→∞p \to \infty it tends to 11, the maximum of e−x2e^{-x^2}. The family of norms interpolates between the area under the function and its height.

The limit p→∞p \to \infty. That convergence holds in general on a space of finite measure: ∥f∥p→∥f∥∞\|f\|_p \to \|f\|_\infty. The upper bound is immediate, ∥f∥p≤∥f∥∞μ(X)1/p→∥f∥∞\|f\|_p \leq \|f\|_\infty\mu(X)^{1/p} \to \|f\|_\infty. For the lower bound, fix ε>0\varepsilon > 0; the set E={∣f∣>∥f∥∞−ε}E = \{|f| > \|f\|_\infty - \varepsilon\} has positive measure by the definition of the essential supremum, and ∥f∥p≥(∥f∥∞−ε)μ(E)1/p\|f\|_p \geq (\|f\|_\infty - \varepsilon)\mu(E)^{1/p}, which tends to ∥f∥∞−ε\|f\|_\infty - \varepsilon. So the essential supremum is the limit of the LpL^p norms, which is why it is written ∥f∥∞\|f\|_\infty: the largest value is what survives when large values are emphasised without limit.

Sequences reverse the inclusions. On a space of finite measure, a function in LpL^p is in LqL^q for every q<pq < p, by Hölder below: large exponents are the restrictive ones, because they punish singularities. On the integers with counting measure the opposite holds: ℓp⊆ℓq\ell^p \subseteq \ell^q for p≤qp \leq q. A sequence in ℓp\ell^p has terms tending to 00, so eventually ∣an∣<1|a_n| < 1, and then ∣an∣q≤∣an∣p|a_n|^q \leq |a_n|^p; small exponents are the restrictive ones, because they punish slow decay. The two situations are the near-zero and near-infinity halves of the line in the paragraph above, and Lp(R)L^p(\mathbb{R}), which has both, satisfies neither inclusion.

Powers in several dimensions. The test on the line extends to Rd\mathbb{R}^d by polar coordinates (3A.5 Product Measures and Change of Variables): ∣x∣−a|x|^{-a} is in LpL^p of the unit ball exactly when ap<dap < d, and in LpL^p of the exterior of the ball exactly when ap>dap > d. The Newtonian potential ∣x∣2−d|x|^{2-d} in dimension d≥3d \geq 3 is therefore in LpL^p near the origin for p<dd−2p < \frac{d}{d - 2}, and its gradient, of size ∣x∣1−d|x|^{1-d}, for p<dd−1p < \frac{d}{d - 1}. Such computations decide which LpL^p space the solution of an equation can live in, and they always come down to comparing the strength of a singularity with the dimension.

Why p<1p < 1 is excluded. For 0<p<10 < p < 1 the formula (∫∣f∣p)1/p\big(\int|f|^p\big)^{1/p} still makes sense, but the triangle inequality fails. On [0,1][0, 1], take f=1[0,1/2]f = \mathbf 1_{[0, 1/2]} and g=1[1/2,1]g = \mathbf 1_{[1/2, 1]} with p=12p = \frac12. Then f+g=1f + g = 1, with "norm" 11, while each of ff and gg has "norm" (12)2=14(\frac12)^2 = \frac14, and 14+14<1\frac14 + \frac14 < 1. The unit ball for p<1p < 1 is not convex, it is a star with concave sides, and convexity, which underlies everything in this chapter, is lost. That is why LpL^p spaces in analysis start at p=1p = 1.

Young, Hölder and Minkowski

Call p,q∈[1,∞]p, q \in [1, \infty] conjugate exponents if 1p+1q=1\frac1p + \frac1q = 1: (2,2)(2, 2), (1,∞)(1, \infty), (3,32)(3, \frac32).

Lemma 7.2 Young's inequality

For a,b≥0a, b \geq 0 and conjugate 1<p,q<∞1 < p, q < \infty,   ab≤app+bqq\;ab \leq \dfrac{a^p}{p} + \dfrac{b^q}{q}, with equality if and only if ap=bqa^p = b^q.

Proof. If aa or bb is 00 there is nothing to prove. Otherwise, since log⁡\log is concave,

log⁡(app+bqq)≥1plog⁡ap+1qlog⁡bq=log⁡(ab),\log\Big(\frac{a^p}{p} + \frac{b^q}{q}\Big) \geq \frac1p\log a^p + \frac1q\log b^q = \log(ab),

with equality exactly when ap=bqa^p = b^q (strict concavity). Exponentiate.

Young's inequality, pictured. There is a geometric proof that shows where the exponents come from. Draw the curve y=xp−1y = x^{p-1} for x≥0x \geq 0; its inverse is x=yq−1x = y^{q-1}, since (p−1)(q−1)=1(p - 1)(q - 1) = 1 for conjugate exponents. The rectangle [0,a]×[0,b][0, a]\times[0, b] is covered by the region under the curve over [0,a][0, a], of area ∫0axp−1dx=app\int_0^ax^{p-1}dx = \frac{a^p}{p}, together with the region to the left of the curve over [0,b][0, b] on the vertical axis, of area ∫0byq−1dy=bqq\int_0^by^{q-1}dy = \frac{b^q}{q}. So ab≤app+bqqab \leq \frac{a^p}{p} + \frac{b^q}{q}, with equality exactly when the corner (a,b)(a, b) lies on the curve, b=ap−1b = a^{p-1}, which is ap=bqa^p = b^q. The two exponents are linked because the two areas are under one curve and its inverse.

Theorem 7.3 Hölder's inequality

For conjugate p,q∈[1,∞]p, q \in [1, \infty] and measurable f,gf, g,

∫∣fg∣ dμ≤∥f∥p ∥g∥q.\int|fg|\,d\mu \leq \|f\|_p\,\|g\|_q.

Proof. The cases p=1p = 1 or p=∞p = \infty are immediate (∣fg∣≤∣f∣ ∥g∥∞|fg| \leq |f|\,\|g\|_\infty almost everywhere). For 1<p<∞1 < p < \infty, if ∥f∥p\|f\|_p or ∥g∥q\|g\|_q is 00 or ∞\infty the inequality is trivial. Otherwise normalise: replace ff by f/∥f∥pf/\|f\|_p and gg by g/∥g∥qg/\|g\|_q, so that both norms are 11. Then apply Young pointwise and integrate:

∫∣fg∣≤∫∣f∣pp+∫∣g∣qq=1p+1q=1.\int|fg| \leq \int\frac{|f|^p}{p} + \int\frac{|g|^q}{q} = \frac1p + \frac1q = 1.

Normalising to reduce to the case of norm 11, then using a pointwise inequality, is a standard move: the inequality is homogeneous, so the normalised case is the general case. For p=q=2p = q = 2 Hölder is the Cauchy–Schwarz inequality ∣⟨f,g⟩∣≤∥f∥2∥g∥2|\langle f, g\rangle| \leq \|f\|_2\|g\|_2.

Example 7.4 Choosing the exponents

Question: for which pp does f∈Lp(0,1)f \in L^p(0, 1) guarantee that ∫01∣f(x)∣x−1/3 dx\int_0^1|f(x)|x^{-1/3}\,dx is finite, and with what bound? Answer by Hölder: ∫∣f∣x−1/3≤∥f∥p ∥x−1/3∥q\int|f|x^{-1/3} \leq \|f\|_p\,\|x^{-1/3}\|_q, and ∥x−1/3∥qq=∫01x−q/3dx\|x^{-1/3}\|_q^q = \int_0^1x^{-q/3}dx is finite exactly when q<3q < 3, that is, p>32p > \frac32. For p=2p = 2 (q=2q = 2): ∥x−1/3∥2=(∫01x−2/3)1/2=3\|x^{-1/3}\|_2 = \big(\int_0^1x^{-2/3}\big)^{1/2} = \sqrt3, so ∫∣f∣x−1/3≤3 ∥f∥2\int|f|x^{-1/3} \leq \sqrt3\,\|f\|_2. For p=32p = \frac32 the bound fails, and genuinely so: f=x−2/3(log⁡ex)−1f = x^{-2/3}(\log\frac ex)^{-1} is in L3/2L^{3/2} but ∫fx−1/3=∫dxxlog⁡(e/x)=∞\int fx^{-1/3} = \int\frac{dx}{x\log(e/x)} = \infty. The pattern, put the singular weight in the space where it just fits, and the unknown function in the dual space, is how every weighted estimate in Course 6 is set up.

When Hölder is an equality. Equality in Young's inequality holds exactly when ap=bqa^p = b^q, so after normalising, equality in Hölder holds exactly when ∣f∣p|f|^p and ∣g∣q|g|^q are proportional almost everywhere. For a given f∈Lpf \in L^p, the function g=∣f∣p−1sign⁡fg = |f|^{p-1}\operatorname{sign}f makes ∣g∣q=∣f∣(p−1)q=∣f∣p|g|^q = |f|^{(p-1)q} = |f|^p, so it attains equality: ∫fg=∥f∥p∥g∥q\int fg = \|f\|_p\|g\|_q. This is why the duality statement below holds, ∥f∥p=sup⁡{∫fg:∥g∥q≤1}\|f\|_p = \sup\{\int fg : \|g\|_q \leq 1\}, with the supremum attained at the normalised gg. It is also the first instance of a principle used constantly in variational problems: the inequality is sharp, and the extremal function can be written down.

Hölder with more factors. Applying Hölder twice gives ∫∣fgh∣≤∥f∥p∥g∥q∥h∥r\int|fgh| \leq \|f\|_p\|g\|_q\|h\|_r whenever 1p+1q+1r=1\frac1p + \frac1q + \frac1r = 1, and similarly for any number of factors with reciprocal exponents adding to 11. The exponents in such an inequality are forced by scaling, as in 3A.5 Product Measures and Change of Variables: on Rd\mathbb{R}^d, replacing every function by its dilate changes the two sides by λ−d\lambda^{-d} and λ−d(1/p+1/q+1/r)\lambda^{-d(1/p + 1/q + 1/r)}, which agree only when the reciprocals add to 11.

The interpolation inequality, proved. The second consequence of Hölder listed below has a one-line proof worth seeing. With 1r=θp+1−θq\frac1r = \frac\theta p + \frac{1 - \theta}{q}, split ∣f∣r=∣f∣rθ⋅∣f∣r(1−θ)|f|^r = |f|^{r\theta}\cdot|f|^{r(1-\theta)} and apply Hölder with the conjugate exponents prθ\frac{p}{r\theta} and qr(1−θ)\frac{q}{r(1 - \theta)}, whose reciprocals add to rθp+r(1−θ)q=1\frac{r\theta}{p} + \frac{r(1-\theta)}{q} = 1:

∫∣f∣r≤(∫∣f∣p)rθ/p(∫∣f∣q)r(1−θ)/q.\int|f|^r \leq \Big(\int|f|^p\Big)^{r\theta/p}\Big(\int|f|^q\Big)^{r(1-\theta)/q} .

Taking rr-th roots gives ∥f∥r≤∥f∥pθ∥f∥q1−θ\|f\|_r \leq \|f\|_p^\theta\|f\|_q^{1-\theta}. The inequality says that log⁡∥f∥1/s\log\|f\|_{1/s} is a convex function of s=1ps = \frac1p: the norms are log-convex in the reciprocal exponent, the simplest case of the Riesz–Thorin interpolation theorem of Book 4.

Theorem 7.5 Minkowski's inequality

For 1≤p≤∞1 \leq p \leq \infty,   ∥f+g∥p≤∥f∥p+∥g∥p\;\|f + g\|_p \leq \|f\|_p + \|g\|_p.

Proof. For p=1p = 1 and p=∞p = \infty it follows from ∣f+g∣≤∣f∣+∣g∣|f + g| \leq |f| + |g|. For 1<p<∞1 < p < \infty, first note f+g∈Lpf + g \in L^p when f,gf, g are (since ∣f+g∣p≤2pmax⁡(∣f∣,∣g∣)p≤2p(∣f∣p+∣g∣p)|f + g|^p \leq 2^p\max(|f|, |g|)^p \leq 2^p(|f|^p + |g|^p)). Then write ∣f+g∣p≤∣f∣ ∣f+g∣p−1+∣g∣ ∣f+g∣p−1|f + g|^p \leq |f|\,|f + g|^{p-1} + |g|\,|f + g|^{p-1} and apply Hölder to each term, with exponents pp and q=pp−1q = \frac{p}{p-1}:

∥f+g∥pp≤(∥f∥p+∥g∥p) ∥∣f+g∣p−1∥q=(∥f∥p+∥g∥p) ∥f+g∥pp−1.\|f + g\|_p^p \leq \big(\|f\|_p + \|g\|_p\big)\,\big\||f + g|^{p-1}\big\|_q = \big(\|f\|_p + \|g\|_p\big)\,\|f + g\|_p^{p-1}.

Divide by ∥f+g∥pp−1\|f + g\|_p^{p-1} (if it is 00 there is nothing to prove).

Two consequences of Hölder are used constantly:

  • Finite measure spaces. If μ(X)<∞\mu(X) < \infty and q≤pq \leq p, then ∥f∥q≤μ(X)1q−1p∥f∥p\|f\|_q \leq \mu(X)^{\frac1q - \frac1p}\|f\|_p (Exercise 7.10). On a probability space, ∥f∥p\|f\|_p is increasing in pp.
  • Interpolation. If p<r<qp < r < q and 1r=θp+1−θq\frac1r = \frac\theta p + \frac{1 - \theta}q, then ∥f∥r≤∥f∥pθ ∥f∥q1−θ\|f\|_r \leq \|f\|_p^\theta\,\|f\|_q^{1-\theta} (Exercise 7.11). Control at two exponents gives control at every exponent in between. This log-convexity is the simplest case of interpolation, a theme that returns in the Sobolev inequalities (4A.11 Sobolev Embeddings and Critical Exponents) and in Gagliardo–Nirenberg-type estimates for PDE.

Minkowski's inequality for integrals

The triangle inequality extends from sums to integrals, and the extension is the form most often used. If F(x,y)F(x, y) is measurable on a product of σ-finite spaces, then for 1≤p<∞1 \leq p < \infty,

∥∫F(⋅,y) dν(y)∥Lp(μ)≤∫∥F(⋅,y)∥Lp(μ) dν(y):\Big\|\int F(\cdot, y)\,d\nu(y)\Big\|_{L^p(\mu)} \leq \int\|F(\cdot, y)\|_{L^p(\mu)}\,d\nu(y) :

the norm of an average is at most the average of the norms. For p=1p = 1 it is Tonelli's theorem; for general pp it follows from the duality statement below, or from Minkowski's inequality for finite sums and a limit. Its main use is for convolutions. If f∈Lp(Rd)f \in L^p(\mathbb{R}^d) and g∈L1g \in L^1, then f∗g(x)=∫f(x−y)g(y) dyf*g(x) = \int f(x - y)g(y)\,dy is an average of translates of ff weighted by gg, each translate has the same LpL^p norm as ff, and so

∥f∗g∥p≤∥g∥1∥f∥p.\|f*g\|_p \leq \|g\|_1\|f\|_p .

This is Young's inequality for convolutions in its simplest case, and 3A.8 Convolution and Mollifiers uses it to show that smoothing by convolution never increases the LpL^p norm.

Which norm sees a spike

A worked comparison shows how differently the norms react to a rare large value. On [0,1][0, 1], let ff equal 11 everywhere except on an interval of width 10−410^{-4}, where it equals 101101: a constant signal with one narrow spike. Then

∥f∥1≈1+100×10−4=1.01,∥f∥2≈(1+1012×10−4)1/2≈1.42,∥f∥∞=101.\|f\|_1 \approx 1 + 100\times10^{-4} = 1.01, \qquad \|f\|_2 \approx \big(1 + 101^2\times10^{-4}\big)^{1/2} \approx 1.42, \qquad \|f\|_\infty = 101 .

The L1L^1 norm barely notices the spike, the L2L^2 norm notices it moderately, and the L∞L^\infty norm sees nothing else. In data analysis this is the difference between the mean absolute error, the root-mean-square error and the maximum error of the world box above; in PDE it is the difference between controlling a total amount, an energy, and a pointwise bound. A theorem that bounds a solution in L2L^2 says nothing about its peaks, and a theorem that bounds it in L∞L^\infty is much stronger and correspondingly harder.

Chebyshev in LpL^p. Markov's inequality applied to ∣f∣p|f|^p gives μ({∣f∣>λ})≤∥f∥ppλp\mu(\{|f| > \lambda\}) \leq \frac{\|f\|_p^p}{\lambda^p}: the larger pp is, the faster the measure of the set where ff is large must decay. So membership in LpL^p for large pp controls the size of the sets where ff is large, and the weak LpL^p spaces, defined by this decay alone as weak L1L^1 was in 3A.6 Modes of Convergence and Differentiation, sit just outside LpL^p.

No comparison on all of Rd\mathbb{R}^d. On Rd\mathbb{R}^d with Lebesgue measure, no inequality ∥f∥p≤C∥f∥q\|f\|_p \leq C\|f\|_q with p≠qp \neq q can hold for all functions, and scaling shows it at once. Under fλ(x)=f(λx)f_\lambda(x) = f(\lambda x), ∥fλ∥p=λ−d/p∥f∥p\|f_\lambda\|_p = \lambda^{-d/p}\|f\|_p, so the ratio ∥fλ∥p∥fλ∥q=λd/q−d/p∥f∥p∥f∥q\frac{\|f_\lambda\|_p}{\|f_\lambda\|_q} = \lambda^{d/q - d/p}\frac{\|f\|_p}{\|f\|_q} can be made as large as desired by choosing λ\lambda small or large. Comparisons between LpL^p norms need either a finite measure, as in Hölder's consequence below, or extra information about the function, such as a bound on its derivatives, which is what the Sobolev inequalities of Book 4 supply.

Completeness and density

Theorem 7.6 Riesz–Fischer

For 1≤p≤∞1 \leq p \leq \infty, Lp(X,μ)L^p(X, \mu) is complete.

Proof. For p<∞p < \infty. Let (fn)(f_n) be Cauchy in LpL^p. Choose n1<n2<⋯n_1 < n_2 < \cdots with ∥fnk+1−fnk∥p≤2−k\|f_{n_{k+1}} - f_{n_k}\|_p \leq 2^{-k}, a "fast Cauchy" subsequence (3A.6 Modes of Convergence and Differentiation). Let G=∣fn1∣+∑k∣fnk+1−fnk∣G = |f_{n_1}| + \sum_k|f_{n_{k+1}} - f_{n_k}|. By monotone convergence and Minkowski (applied to the partial sums), ∥G∥p≤∥fn1∥p+∑k2−k<∞\|G\|_p \leq \|f_{n_1}\|_p + \sum_k2^{-k} < \infty, so GG is finite almost everywhere. Where GG is finite, the series fn1+∑k(fnk+1−fnk)f_{n_1} + \sum_k(f_{n_{k+1}} - f_{n_k}) converges absolutely, so the subsequence fnkf_{n_k} converges almost everywhere, to some ff with ∣f∣≤G|f| \leq G, so f∈Lpf \in L^p.

It remains to show fn→ff_n \to f in LpL^p. Given ε\varepsilon, choose NN with ∥fn−fm∥p≤ε\|f_n - f_m\|_p \leq \varepsilon for n,m≥Nn, m \geq N. For n≥Nn \geq N, Fatou's lemma (3A.3 The Lebesgue Integral) applied to ∣fn−fnk∣p→∣fn−f∣p|f_n - f_{n_k}|^p \to |f_n - f|^p gives ∫∣fn−f∣p≤lim inf⁡k∫∣fn−fnk∣p≤εp\int|f_n - f|^p \leq \liminf_k\int|f_n - f_{n_k}|^p \leq \varepsilon^p. (The case p=∞p = \infty is simpler: a Cauchy sequence in L∞L^\infty is uniformly Cauchy off a null set.)

Two ideas from earlier chapters made this short: a fast subsequence converges almost everywhere, and Fatou passes the Cauchy bound to the limit. Completeness is the property the Riemann integral lacked (2B.2 Completeness and Contraction, 3A.3 The Lebesgue Integral); now every LpL^p has it. A complete normed vector space is a Banach space, the subject of Book 4A.

Density. For 1≤p<∞1 \leq p < \infty, the following are dense in Lp(Rd)L^p(\mathbb{R}^d): simple functions with finite-measure support; finite combinations of indicators of boxes; continuous functions with compact support; and (after 3A.8 Convolution and Mollifiers) smooth functions with compact support. So any statement that is continuous in the LpL^p norm can be proved for nice functions and extended by approximation. This fails for p=∞p = \infty: the uniform limit of continuous functions is continuous, so 1[0,∞)1_{[0,\infty)} is at distance at least 12\tfrac12 from every continuous function in L∞L^\infty.

Equivalence classes and point values. The elements of LpL^p are classes of functions equal almost everywhere, so an element of LpL^p has no value at a single point. 3A.6 Modes of Convergence and Differentiation showed what can be said instead: at almost every point, the averages over small balls converge, and their limit does not depend on the representative. In practice one works with a representative and remembers that statements about it hold only almost everywhere. When an element of LpL^p has a continuous representative, that representative is unique, since two continuous functions equal almost everywhere are equal everywhere, and then pointwise values make sense. Much of the regularity theory of Books 4 and 6 consists of proving that solutions of equations, found first as elements of LpL^p or of Sobolev spaces, have continuous or smooth representatives.

Separability, and the exception at p=∞p = \infty. For 1≤p<∞1 \leq p < \infty, Lp(Rd)L^p(\mathbb{R}^d) is separable: it has a countable dense subset, for instance finite rational combinations of indicators of boxes with rational corners. L∞L^\infty is not. The indicators 1[0,t]\mathbf 1_{[0, t]}, for t∈[0,1]t \in [0, 1], are uncountably many elements of L∞(0,1)L^\infty(0, 1), each at distance 11 from every other, so no countable set can approximate all of them. This is one of several ways in which L∞L^\infty behaves differently: continuous functions are not dense in it, its dual is larger than L1L^1, and smoothing by convolution, in 3A.8 Convolution and Mollifiers, does not converge in its norm.

Why completeness matters: minimisers exist. A typical problem of analysis asks for a function minimising an energy, such as ∫∣f−h∣2\int|f - h|^2 over ff in a closed convex set of L2L^2. Take a minimising sequence fnf_n, whose energies decrease to the infimum. In L2L^2 the parallelogram law, ∥f−g∥2=2∥f∥2+2∥g∥2−∥f+g∥2\|f - g\|^2 = 2\|f\|^2 + 2\|g\|^2 - \|f + g\|^2, applied to fn−hf_n - h and fm−hf_m - h, shows that the sequence is Cauchy, because the midpoint fn+fm2\frac{f_n + f_m}{2} is also in the convex set and so its energy is at least the infimum. Completeness then provides a limit, and the limit is a minimiser. Without completeness the minimising sequence would have nowhere to converge, which is exactly the failure of the Riemann-integrable functions in 2B.2 Completeness and Contraction. This argument, Hilbert's justification of the Dirichlet principle, is developed in 4A.5 Hilbert Spaces and Lax–Milgram and underlies the existence theory for elliptic equations.

The Hilbert space L2L^2

L2L^2 alone among the LpL^p spaces has an inner product, ⟨f,g⟩=∫fgˉ dμ\langle f, g\rangle = \int f\bar g\,d\mu, with ∥f∥22=⟨f,f⟩\|f\|_2^2 = \langle f, f\rangle. A complete inner product space is a Hilbert space (4A.5 Hilbert Spaces and Lax–Milgram), and L2L^2 is the model one. Fourier series find their natural home here: the characters ek(x)=e2πikxe_k(x) = e^{2\pi ikx} form an orthonormal basis of L2(R/Z)L^2(\mathbb{R}/\mathbb{Z}), and the map f↦(f^(k))k∈Zf \mapsto (\hat f(k))_{k\in\mathbb{Z}} is a bijection between L2(R/Z)L^2(\mathbb{R}/\mathbb{Z}) and ℓ2(Z)\ell^2(\mathbb{Z}) preserving inner products. In 2B.7 Fourier Series and the First Heat Equation only continuous ff were allowed and the map was not onto ℓ2\ell^2; with Lebesgue's integral, every square-summable sequence of coefficients is the Fourier series of some function. This was the content of the Riesz–Fischer theorem as first proved in 1907.

Uniform convexity. For 1<p<∞1 < p < \infty the unit ball of LpL^p is round in a quantitative sense: if two functions of norm 11 are far apart, their midpoint has norm definitely less than 11. This uniform convexity, proved by James Clarkson in 1936, fails for L1L^1 and L∞L^\infty, whose unit balls have flat faces, like the diamond and the square of the figure. It has a practical consequence. Minimising a norm over a convex set, as in least squares, has a unique solution in LpL^p for 1<p<∞1 < p < \infty, by the same argument as for the parallelogram law in L2L^2, while in L1L^1 the solution can fail to be unique, and in median regression, an L1L^1 problem, it sometimes is.

Completeness in action: Fourier series in L2L^2. The functions eikxe^{ikx}, k∈Zk \in \mathbb{Z}, are orthogonal in L2L^2 of the circle, and after normalisation they form an orthonormal basis. Completeness of L2L^2 is what makes every square-summable sequence of coefficients the Fourier series of an actual function: the partial sums ∑∣k∣≤Nckeikx\sum_{|k| \leq N}c_ke^{ikx} form a Cauchy sequence in L2L^2 when ∑∣ck∣2<∞\sum|c_k|^2 < \infty, by Pythagoras, and Riesz–Fischer provides the limit. Parseval's identity, 12π∫∣f∣2=∑∣ck∣2\frac{1}{2\pi}\int|f|^2 = \sum|c_k|^2, then says that the map from functions to their coefficients is an isometry between L2L^2 of the circle and ℓ2\ell^2 of the integers. So the Fourier series of every L2L^2 function converges to it in L2L^2, with no further hypothesis, a much easier statement than Carleson's pointwise theorem met in 3A.6 Modes of Convergence and Differentiation. The energy decay of the heat equation in 2B.7 Fourier Series and the First Heat Equation, computed mode by mode, is Parseval's identity applied at each time.

Cauchy–Schwarz at work. For random variables with finite variance, Cauchy–Schwarz gives ∣Cov⁡(X,Y)∣≤Var⁡XVar⁡Y|\operatorname{Cov}(X, Y)| \leq \sqrt{\operatorname{Var}X\operatorname{Var}Y}, so the correlation coefficient lies between −1-1 and 11, with equality exactly when one variable is an affine function of the other, the equality case. In L2L^2 generally, it makes ⟨f,g⟩∥f∥2∥g∥2\frac{\langle f, g\rangle}{\|f\|_2\|g\|_2} the cosine of an angle between functions, so geometry, orthogonality and projection, carries over to spaces of functions, which is the starting point of least squares, Fourier analysis and the spectral theory of 4A.5 Hilbert Spaces and Lax–Milgram.

Duality is stated now and proved in 4A.4 Hahn–Banach and Duality: for 1≤p<∞1 \leq p < \infty and conjugate qq, every continuous linear functional on LpL^p is f↦∫fgf \mapsto \int fg for a unique g∈Lqg \in L^q, and Hölder's inequality is sharp: ∥f∥p=sup⁡{∣∫fg∣:∥g∥q≤1}\|f\|_p = \sup\big\{\big|\int fg\big| : \|g\|_q \leq 1\big\}.

Jensen's inequality

Convex functions: the facts used

Jensen's inequality and its proof use a few facts about convex functions on an interval, and they are worth having in one place. A function ϕ\phi is convex if its graph lies below every chord: ϕ((1−s)a+sb)≤(1−s)ϕ(a)+sϕ(b)\phi((1 - s)a + sb) \leq (1 - s)\phi(a) + s\phi(b) for s∈[0,1]s \in [0, 1]. On an open interval a convex function is continuous, has left and right derivatives at every point, with the left derivative at most the right, and these derivatives are nondecreasing. Hence at every point there is a supporting line, a line through the point of the graph lying below the graph everywhere, which is what the proof uses. A twice differentiable function is convex exactly when ϕ′′≥0\phi'' \geq 0, which checks the examples: ete^t, t2t^2, ∣t∣p|t|^p for p≥1p \geq 1, −log⁡t-\log t and tlog⁡tt\log t on (0,∞)(0, \infty), with (tlog⁡t)′′=1t>0(t\log t)'' = \frac1t > 0. Sums of convex functions, and suprema of families of them, are convex. And a convex function is the supremum of the affine functions below it, which is the form of convexity that integrates: averaging the affine functions is trivial, and taking the supremum afterwards loses only in the direction of Jensen's inequality.

Theorem 7.7 Jensen's inequality

Let (X,μ)(X, \mu) be a probability space, f∈L1(μ)f \in L^1(\mu) real-valued, and ϕ:R→R\phi : \mathbb{R} \to \mathbb{R} convex. Then

ϕ(∫f dμ)≤∫ϕ(f) dμ.\phi\Big(\int f\,d\mu\Big) \leq \int\phi(f)\,d\mu.

If ϕ\phi is strictly convex, equality holds only when ff is constant almost everywhere.

Proof. Let m=∫f dμm = \int f\,d\mu. A convex function has a supporting line at mm: a line ℓ(t)=ϕ(m)+c(t−m)\ell(t) = \phi(m) + c(t - m) with ℓ≤ϕ\ell \leq \phi everywhere (take cc between the left and right derivatives of ϕ\phi at mm, which exist by convexity, Exercise 7.13). Then ϕ(f(x))≥ϕ(m)+c(f(x)−m)\phi(f(x)) \geq \phi(m) + c(f(x) - m) for every xx. Integrate against the probability measure μ\mu: the right side integrates to ϕ(m)+c(m−m)=ϕ(m)\phi(m) + c(m - m) = \phi(m). For strict convexity, equality forces ϕ(f(x))=ℓ(f(x))\phi(f(x)) = \ell(f(x)) almost everywhere, and a strictly convex function meets a line in at most one point, so f=mf = m almost everywhere.

Figure 7.3. Jensen's inequality. The average of ϕ\phi at two points (midpoint of the chord) lies above ϕ\phi at the average point; the supporting line at the average (dashed) lies below the graph, which is the proof.

The pattern "function of average versus average of function" is everywhere.

  • AM–GM. With ϕ=exp⁡\phi = \exp and ff taking values log⁡a1,…,log⁡an\log a_1, \ldots, \log a_n with equal probability: (a1⋯an)1/n≤a1+⋯+ann(a_1\cdots a_n)^{1/n} \leq \frac{a_1 + \cdots + a_n}{n}.

  • Power means. With ϕ(t)=tq/p\phi(t) = t^{q/p} for q≥pq \geq p: ∥f∥p≤∥f∥q\|f\|_p \leq \|f\|_q on a probability space.

  • Variance. With ϕ(t)=t2\phi(t) = t^2: (∫f)2≤∫f2\big(\int f\big)^2 \leq \int f^2, that is, variance is non-negative.

  • Exponential and logarithm. With ϕ=exp⁡\phi = \exp: e∫f≤∫efe^{\int f} \leq \int e^f. With ϕ=−log⁡\phi = -\log, for f>0f > 0: ∫log⁡f≤log⁡∫f\int\log f \leq \log\int f, the geometric mean of a function is at most its arithmetic mean.

  • Harmonic mean. With ϕ(t)=1t\phi(t) = \frac1t on (0,∞)(0, \infty): 1∫f≤∫1f\frac{1}{\int f} \leq \int\frac1f, so the harmonic mean (∫1f)−1\big(\int\frac1f\big)^{-1} is at most the arithmetic mean. Fuel consumption averages like the harmonic mean of miles per gallon, which is the source of the illusion below.

The gap in Jensen's inequality measures how spread out ff is. For ϕ(t)=t2\phi(t) = t^2 the gap is exactly the variance; for a general smooth ϕ\phi and ff concentrated near its mean mm, Taylor's theorem gives a gap of about 12ϕ′′(m)Var⁡f\frac12\phi''(m)\operatorname{Var}f. Convexity converts spread into a definite excess.

Jensen needs a probability. The inequality is stated for a probability measure, and normalisation matters. On a measure space of total mass 22, with f=1f = 1 and ϕ(t)=t2\phi(t) = t^2, the left side ϕ(∫f)=4\phi(\int f) = 4 exceeds the right side ∫ϕ(f)=2\int\phi(f) = 2. On a finite measure space the inequality holds after dividing by the total mass, which turns integrals into averages, and that is the form in which it is usually applied: the function of the average is at most the average of the function.

In the world Data The MPG illusion

In 2008, Richard Larrick and Jack Soll showed in Science that people systematically misjudge fuel savings when economy is quoted in miles per gallon. Improving a car from 1010 to 2020 mpg saves 55 gallons every 100100 miles; improving another from 2525 to 5050 mpg, a much bigger-looking jump, saves only 22. Fuel used is proportional to 1/mpg1/\text{mpg}, a convex function, so equal steps in mpg are worth less and less. The same convexity spoils averages: a car that does half its mileage at 2020 mpg and half at 4040 mpg averages not 3030 mpg but the harmonic mean, 21/20+1/40≈26.7\frac{2}{1/20 + 1/40} \approx 26.7 mpg, and by Jensen (with ϕ(t)=1/t\phi(t) = 1/t) the harmonic mean never exceeds the arithmetic one. The U.S. fuel-economy label introduced for the 2013 model year shows gallons per 100 miles alongside mpg; the regulators' final rule cited the Larrick–Soll paper in explaining why.

In the world In use Why volatility has value

A call option pays max⁡(S−K,0)\max(S - K, 0) if the asset's price SS at expiry exceeds the strike KK, and nothing otherwise. The payoff is a convex function of SS. By Jensen, its expected value is at least the payoff at the expected price: Emax⁡(S−K,0)≥max⁡(ES−K,0)\mathbb{E}\max(S - K, 0) \geq \max(\mathbb{E}S - K, 0), and the gap grows as SS becomes more spread out. So, other things equal, a more volatile asset makes the option more valuable to its holder, which is one of the basic facts of option pricing. Convexity of a payoff in this sense is called its "gamma" by traders.

Averaging decreases convex functionals

Jensen's inequality has a form that applies to averaging operators, and it is the mechanism behind every "entropy increases" statement in the guide. Suppose Ku(x)=∫k(x,y)u(y) dyKu(x) = \int k(x, y)u(y)\,dy, where for each xx the kernel k(x,⋅)k(x, \cdot) is a probability density and, for each yy, ∫k(x,y) dx=1\int k(x, y)\,dx = 1: averaging with KK preserves constants and total mass. Then for every convex ϕ\phi, Jensen applied at each xx with the probability measure k(x,y) dyk(x, y)\,dy gives ϕ(Ku(x))≤∫k(x,y)ϕ(u(y)) dy\phi(Ku(x)) \leq \int k(x, y)\phi(u(y))\,dy, and integrating in xx,

∫ϕ(Ku) dx≤∫ϕ(u) dy.\int\phi(Ku)\,dx \leq \int\phi(u)\,dy .

Convolution with a probability density, k(x,y)=ρ(x−y)k(x, y) = \rho(x - y), satisfies both conditions. So smoothing a function by convolution can only decrease ∫ϕ(u)\int\phi(u) for convex ϕ\phi: with ϕ(t)=∣t∣p\phi(t) = |t|^p it recovers ∥u∗ρ∥p≤∥u∥p\|u*\rho\|_p \leq \|u\|_p, and with ϕ(t)=tlog⁡t\phi(t) = t\log t it says that blurring a probability density decreases ∫ulog⁡u\int u\log u, that is, increases its entropy. The heat flow is convolution with the heat kernel, so heat flow increases entropy, the first instance of the monotonicity that 6A.12 Entropy, Information and Diffusion develops and that Perelman's entropy generalises.

Entropy is never negative

Let pp and qq be probability densities on Rd\mathbb{R}^d (or any measure space), with q>0q > 0 where p>0p > 0. Their relative entropy (Kullback–Leibler divergence) is

D(p ∥ q)=∫plog⁡pq dx.D(p\,\|\,q) = \int p\log\frac pq\,dx.
Corollary 7.8 Gibbs' inequality

D(p ∥ q)≥0D(p\,\|\,q) \geq 0, with equality if and only if p=qp = q almost everywhere.

Proof. Integrate against the probability measure p dxp\,dx and use Jensen with the strictly convex function ϕ(t)=−log⁡t\phi(t) = -\log t, applied to f=q/pf = q/p:

D(p ∥ q)=∫(−log⁡qp)p dx≥−log⁡∫qp p dx=−log⁡∫{p>0}q dx≥−log⁡1=0.D(p\,\|\,q) = \int\Big(-\log\frac qp\Big)p\,dx \geq -\log\int\frac qp\,p\,dx = -\log\int_{\{p > 0\}}q\,dx \geq -\log 1 = 0.

Equality forces q/pq/p to be constant pp-almost everywhere and ∫{p>0}q=1\int_{\{p>0\}}q = 1, hence p=qp = q.

Relative entropy measures how far one probability distribution is from another, in units of information. It is not a metric (it is not symmetric), but it is non-negative and vanishes only for equal distributions, which is all that is needed to use it as a measure of distance from equilibrium.

The Gaussian has the largest entropy

Gibbs' inequality answers a classical question in one line. Among all probability densities pp on R\mathbb{R} with variance σ2\sigma^2, which has the largest differential entropy h(p)=−∫plog⁡p dxh(p) = -\int p\log p\,dx? Take qq the Gaussian density with the same mean and variance, q(x)=(2πσ2)−1/2e−(x−m)2/2σ2q(x) = (2\pi\sigma^2)^{-1/2}e^{-(x - m)^2/2\sigma^2}. Then −log⁡q(x)=12log⁡(2πσ2)+(x−m)22σ2-\log q(x) = \frac12\log(2\pi\sigma^2) + \frac{(x - m)^2}{2\sigma^2}, and since pp has variance σ2\sigma^2,

−∫plog⁡q=12log⁡(2πσ2)+12=12log⁡(2πeσ2)=h(q).-\int p\log q = \frac12\log(2\pi\sigma^2) + \frac12 = \frac12\log(2\pi e\sigma^2) = h(q) .

Gibbs' inequality, ∫plog⁡pq≥0\int p\log\frac pq \geq 0, says h(p)≤−∫plog⁡qh(p) \leq -\int p\log q, so h(p)≤h(q)h(p) \leq h(q), with equality only for the Gaussian. The Gaussian is the most spread-out distribution of a given variance, in the sense of entropy. This is the deep reason the Gaussian appears in the central limit theorem, and the reason the heat kernel, which spreads heat as fast as possible, is a Gaussian. In 6A.12 Entropy, Information and Diffusion the same comparison, made along the heat flow, becomes the monotonicity of entropy.

Fisher information, previewed

Along the heat flow, the entropy of a probability density changes at a rate that has its own name. If u(x,t)>0u(x, t) > 0 solves ∂tu=Δu\partial_tu = \Delta u on Rd\mathbb{R}^d with ∫u=1\int u = 1, and decays fast enough to integrate by parts, then

ddt∫ulog⁡u dx=∫(log⁡u+1)Δu dx=−∫∣∇u∣2u dx.\frac{d}{dt}\int u\log u\,dx = \int(\log u + 1)\Delta u\,dx = -\int\frac{|\nabla u|^2}{u}\,dx .

The quantity I(u)=∫∣∇u∣2uI(u) = \int\frac{|\nabla u|^2}{u} is the Fisher information of uu, from statistics, where it measures how sharply a density determines its location. So entropy increases, −∫ulog⁡u-\int u\log u grows, at a rate equal to the Fisher information, an identity named after Nicolaas de Bruijn. The averaging inequality above gave the sign; this computation gives the rate. Perelman's functionals pair the same two quantities: his F\mathcal F contains ∫∣∇f∣2e−f\int|\nabla f|^2e^{-f}, which is the Fisher information of the density e−fe^{-f}, and his W\mathcal W combines it with the entropy ∫f dμ\int f\,d\mu of 3A.4 Measures, Probability and Weights and a scale. The log-Sobolev inequality of 6A.12 Entropy, Information and Diffusion is a bound of the entropy by the Fisher information.

Which space for which problem

space what it controls where it appears
L1L^1 total mass probability densities; conservation laws; heat flow preserves ∫u\int u
L2L^2 energy Fourier series and Parseval; energy estimates; Hilbert space methods
LpL^p, 1<p<∞1 < p < \infty size with intermediate emphasis maximal functions and singular integrals, which fail at p=1p = 1 and p=∞p = \infty
L∞L^\infty pointwise bounds maximum principles; curvature bounds

The guide's analysis uses all four. The maximum principle of Book 6 gives L∞L^\infty bounds, which are the strongest; energy methods give L2L^2 bounds, which are the easiest to obtain; and the passage from one to the other, by Sobolev inequalities and iteration, is the regularity theory of Book 4. For the Ricci flow, curvature bounds are L∞L^\infty statements and Perelman's entropy is an integral one, and much of Book 12 converts between them.

Entropy in bits. With logarithms to base 22, relative entropy has a concrete meaning in information theory. If data drawn from a distribution pp are encoded with a code designed for a distribution qq, the average length of the encoding exceeds the best possible, the one designed for pp, by D(p ∥ q)D(p\,\|\,q) bits per symbol, a result going back to Claude Shannon's information theory. Gibbs' inequality is then the statement that no code beats the one designed for the true distribution. The same quantity, with natural logarithms, measures how far a probability density is from equilibrium in statistical mechanics, and how far Perelman's measure is from the Gaussian in his entropy.

Where this goes Thread E: entropy, from Jensen to Perelman

The entropy of a probability density uu relative to the Gaussian measure, ∫ulog⁡u dγ\int u\log u\,d\gamma, is the quantity controlled by the logarithmic Sobolev inequality (6A.12 Entropy, Information and Diffusion): Gross's theorem bounds it by the Fisher information ∫∣∇u∣2udγ\int\frac{|\nabla u|^2}{u}d\gamma of 3A.4 Measures, Probability and Weights, with a constant that doesn't depend on the dimension. Under the heat flow, entropy decreases, and the log-Sobolev inequality makes it decrease exponentially fast, as Wirtinger's inequality did for the energy in 2B.7 Fourier Series and the First Heat Equation. Perelman's W\mathcal{W}-entropy (12A.3 The 𝓦-Entropy) is built so that, for flat space and the Gaussian, it reduces to exactly this log-Sobolev functional; its derivative along Ricci flow is a sum of squares, and its lower bound, a log-Sobolev inequality on the manifold, is what prevents collapsing (12A.4 κ-Noncollapsing). Gibbs' inequality is the first rung of that ladder.

From the size of functions to smoothing them

The chapter has built the spaces LpL^p: their norms, from averages at p=1p = 1 to worst cases at p=∞p = \infty; Young's, Hölder's and Minkowski's inequalities, with the equality cases and the integral form of Minkowski; completeness, by a fast subsequence and Fatou; density of simple and continuous functions; the Hilbert space L2L^2; and Jensen's inequality, with Gibbs' inequality for relative entropy and the maximal entropy of the Gaussian.

What the chapter cannot yet do is make an LpL^p function smooth. Continuous functions are dense, but continuity is far from what PDE needs: derivatives must be taken, and an LpL^p function, even a continuous one, may have none. The step function of 3A.6 Modes of Convergence and Differentiation is in every LpL^p on a bounded interval and has no derivative at its jump. Yet 3A.6 Modes of Convergence and Differentiation also showed how to tame it: its moving average Ahf(t)=12h∫t−ht+hfA_hf(t) = \frac{1}{2h}\int_{t-h}^{t+h}f is a continuous ramp, and it converges back to the step as h→0h \to 0. That moving average is a convolution, Ahf=f∗12h1[−h,h]A_hf = f*\frac{1}{2h}\mathbf 1_{[-h, h]}, and by Young's inequality above it has ∥Ahf∥p≤∥f∥p\|A_hf\|_p \leq \|f\|_p. Averaging with a smoother weight would give a smoother result.

3A.8 Convolution and Mollifiers develops this. It defines convolution in general, shows that convolving with a smooth bump produces a smooth function whose derivatives fall on the bump, and builds mollifiers, families of bumps that shrink to a point and approximate the identity, so that every LpL^p function, for p<∞p < \infty, is a limit in LpL^p of smooth functions. It then meets the most important convolution of all: convolving with the Gaussian heat kernel solves the heat equation, so Gaussian blurring of an image and the diffusion of heat are the same operation. What to carry forward from this chapter: the LpL^p norms and which functions belong to which spaces; Hölder, with its equality case and its use to compare norms; Minkowski for sums and integrals, and Young's inequality for convolutions; completeness and density; L2L^2 as a Hilbert space; Jensen, Gibbs, and the Gaussian as the maximiser of entropy.

History

Leonard James Rogers (1888) and Otto Hölder (1889) proved the inequality now named after Hölder; Hermann Minkowski's appeared in his Geometrie der Zahlen (1896). W. H. Young's inequality for products dates from 1912. Frigyes Riesz introduced the LpL^p spaces in 1910. Riesz and Ernst Fischer independently proved the completeness of L2L^2 in 1907. Johan Jensen published his inequality for convex functions in 1906. J. Willard Gibbs stated the inequality now named after him in his work on statistical mechanics (1902), and Solomon Kullback and Richard Leibler introduced relative entropy as a measure of information in 1951.

Recall Where we stand

The LpL^p norms measure functions with different emphases, from averages (p=1p = 1) to worst cases (p=∞p = \infty). Young's inequality gives Hölder's by normalisation, and Hölder gives Minkowski's triangle inequality, comparisons of norms on finite measure spaces, and interpolation. Every LpL^p is complete (Riesz–Fischer), and for p<∞p < \infty nice functions are dense; L2L^2 is a Hilbert space in which Fourier series are a perfect dictionary. Jensen's inequality, for convex functions and probability measures, gives AM–GM, power-mean inequalities and Gibbs' inequality: relative entropy is non-negative. 3A.8 Convolution and Mollifiers studies convolution, proves that smooth functions are dense in LpL^p, and shows that Gaussian blur is heat flow.

Exercises

Exercise 7.9 Which LpL^p?

For which p∈[1,∞]p \in [1, \infty] does each function belong to Lp(R)L^p(\mathbb{R})? (a) 11+∣x∣\frac{1}{1 + |x|}; (b) ∣x∣−1/31(0,1)|x|^{-1/3}1_{(0,1)}; (c) 1∣x∣(1+∣log⁡∣x∣∣)\frac{1}{\sqrt{|x|}(1 + |\log|x||)}; (d) e−x2e^{-x^2}.

Solution

(a) p>1p > 1, including ∞\infty. (b) p<3p < 3. (c) Near 00: ∣x∣−p/2∣log⁡∣x∣∣−p|x|^{-p/2}|\log|x||^{-p} is integrable iff p<2p < 2, or p=2p = 2 (the log helps: ∫dxxlog⁡2x<∞\int\frac{dx}{x\log^2x} < \infty). Near ∞\infty: integrable iff p>2p > 2, or p=2p = 2. So exactly p=2p = 2. (d) All pp.

Exercise 7.10 Comparing norms

(a) On a measure space with μ(X)<∞\mu(X) < \infty and 1≤q≤p≤∞1 \leq q \leq p \leq \infty, apply Hölder to ∣f∣q⋅1|f|^q\cdot1 with exponents pq\frac pq and its conjugate to show ∥f∥q≤μ(X)1q−1p∥f∥p\|f\|_q \leq \mu(X)^{\frac1q - \frac1p}\|f\|_p. (b) Show ∥a∥ℓp≤∥a∥ℓq\|a\|_{\ell^p} \leq \|a\|_{\ell^q} for q≤pq \leq p. (c) Show ∥f∥p→∥f∥∞\|f\|_p \to \|f\|_\infty as p→∞p \to \infty when μ(X)<∞\mu(X) < \infty.

Solution

(a) With r=pq≥1r = \frac pq \geq 1 and conjugate r′r', ∫∣f∣q⋅1≤(∫∣f∣p)q/pμ(X)1/r′\int|f|^q \cdot 1 \leq \big(\int|f|^p\big)^{q/p}\mu(X)^{1/r'}, and 1r′=1−qp\frac1{r'} = 1 - \frac qp. Take qq-th roots. (b) Normalise ∥a∥q=1\|a\|_q = 1; then every ∣ak∣≤1|a_k| \leq 1, so ∣ak∣p≤∣ak∣q|a_k|^p \leq |a_k|^q and ∑∣ak∣p≤1\sum|a_k|^p \leq 1. (c) ∥f∥p≤μ(X)1/p∥f∥∞→∥f∥∞\|f\|_p \leq \mu(X)^{1/p}\|f\|_\infty \to \|f\|_\infty. Conversely, for M<∥f∥∞M < \|f\|_\infty the set E={∣f∣>M}E = \{|f| > M\} has positive measure, and ∥f∥p≥Mμ(E)1/p→M\|f\|_p \geq M\mu(E)^{1/p} \to M.

Exercise 7.11 Interpolation

Let p<r<qp < r < q with 1r=θp+1−θq\frac1r = \frac\theta p + \frac{1-\theta}q. Apply Hölder to ∣f∣r=∣f∣θr∣f∣(1−θ)r|f|^r = |f|^{\theta r}|f|^{(1-\theta)r} with exponents pθr\frac{p}{\theta r} and q(1−θ)r\frac{q}{(1-\theta)r} to show ∥f∥r≤∥f∥pθ∥f∥q1−θ\|f\|_r \leq \|f\|_p^\theta\|f\|_q^{1-\theta}.

Solution

The exponents are conjugate because θrp+(1−θ)rq=r⋅1r=1\frac{\theta r}{p} + \frac{(1-\theta)r}{q} = r\cdot\frac1r = 1. Hölder gives ∫∣f∣r≤(∫∣f∣p)θr/p(∫∣f∣q)(1−θ)r/q=∥f∥pθr∥f∥q(1−θ)r\int|f|^r \leq \big(\int|f|^p\big)^{\theta r/p}\big(\int|f|^q\big)^{(1-\theta)r/q} = \|f\|_p^{\theta r}\|f\|_q^{(1-\theta)r}. Take rr-th roots.

Exercise 7.12 When is Hölder an equality?

For 1<p<∞1 < p < \infty, show that equality holds in Hölder's inequality (with finite non-zero norms) if and only if ∣f∣p|f|^p and ∣g∣q|g|^q are proportional almost everywhere.

Solution

After normalising, the proof integrated the pointwise inequality ∣f∣∣g∣≤∣f∣pp+∣g∣qq|f||g| \leq \frac{|f|^p}p + \frac{|g|^q}q. Equality of the integrals means the non-negative difference has integral 00, so it vanishes almost everywhere (3A.3 The Lebesgue Integral), which by Young's equality case means ∣f∣p=∣g∣q|f|^p = |g|^q almost everywhere. Undoing the normalisation, ∣f∣p/∥f∥pp=∣g∣q/∥g∥qq|f|^p/\|f\|_p^p = |g|^q/\|g\|_q^q: proportional. Conversely, if ∣g∣q=c∣f∣p|g|^q = c|f|^p, both sides of Hölder equal c1/q∥f∥ppc^{1/q}\|f\|_p^p.

Exercise 7.13 Convex functions have supporting lines

Let ϕ\phi be convex on R\mathbb{R}. (a) Show that the slope ϕ(t)−ϕ(m)t−m\frac{\phi(t) - \phi(m)}{t - m} is increasing in tt (for t≠mt \neq m). (b) Deduce that the one-sided derivatives ϕ−′(m)≤ϕ+′(m)\phi'_-(m) \leq \phi'_+(m) exist, and that any cc between them gives a supporting line. (c) Deduce that convex functions on open intervals are continuous.

Solution

(a) Convexity says that for s<t<us < t < u, the point (t,ϕ(t))(t, \phi(t)) lies on or below the chord from (s,ϕ(s))(s, \phi(s)) to (u,ϕ(u))(u, \phi(u)); rearranged, ϕ(t)−ϕ(s)t−s≤ϕ(u)−ϕ(s)u−s≤ϕ(u)−ϕ(t)u−t\frac{\phi(t) - \phi(s)}{t - s} \leq \frac{\phi(u) - \phi(s)}{u - s} \leq \frac{\phi(u) - \phi(t)}{u - t}. Applying this with mm as one of the three points, in each of the three positions, shows that the slope from mm increases with tt. (b) An increasing function has one-sided limits (2A.9 Continuous Functions); the slopes from the left are bounded above by any slope from the right, so ϕ−′(m)≤ϕ+′(m)\phi'_-(m) \leq \phi'_+(m), both finite. For cc between them, the slope from mm to tt is ≥c\geq c for t>mt > m and ≤c\leq c for t<mt < m; in both cases ϕ(t)≥ϕ(m)+c(t−m)\phi(t) \geq \phi(m) + c(t - m). (c) Choose h>0h > 0 with [m−h,m+h][m - h, m + h] inside the interval. By (a), for 0<∣t−m∣≤h0 < |t - m| \leq h the slope from mm to tt lies between the slope from mm to m−hm - h and the slope from mm to m+hm + h. So ∣ϕ(t)−ϕ(m)∣≤C∣t−m∣|\phi(t) - \phi(m)| \leq C|t - m| near mm, and ϕ\phi is continuous at mm.

Exercise 7.14 RMS of periodic signals

(a) Show that V0sin⁡(2πft)V_0\sin(2\pi ft) has RMS value V0/2V_0/\sqrt2 over a period. (b) A square wave alternating between ±V0\pm V_0 has RMS value V0V_0, and a symmetric triangle wave of amplitude V0V_0 has RMS value V0/3V_0/\sqrt3. (c) By Plancherel (2B.7 Fourier Series and the First Heat Equation), the mean square of a periodic signal is the sum of the mean squares of its harmonics. Check this for the square wave using its Fourier coefficients.

Solution

(a) 1T∫0Tsin⁡2=12\frac1T\int_0^T\sin^2 = \frac12. (b) Square: V2=V02V^2 = V_0^2 always. Triangle: by symmetry, the mean of (V0s)2(V_0 s)^2 for ss uniform on [−1,1][-1, 1], which is V02/3V_0^2/3. (c) For the square wave, the kk-th odd harmonic has amplitude 4V0πk\frac{4V_0}{\pi k} and mean square 8V02π2k2\frac{8V_0^2}{\pi^2k^2}; summing over odd kk gives 8V02π2⋅π28=V02\frac{8V_0^2}{\pi^2}\cdot\frac{\pi^2}{8} = V_0^2.

Exercise 7.15 Rehearsal: the relative entropy of two Gaussians

Let pp be the Gaussian density on R\mathbb{R} with mean 00 and variance σ2\sigma^2, and qq the standard one (σ=1\sigma = 1). Show that

D(p ∥ q)=12(σ2−1−log⁡σ2),D(p\,\|\,q) = \tfrac12\big(\sigma^2 - 1 - \log\sigma^2\big),

and check directly that it is non-negative with equality only at σ=1\sigma = 1. (Use ∫x2p=σ2\int x^2p = \sigma^2, 3A.5 Product Measures and Change of Variables.) In 6A.12 Entropy, Information and Diffusion and 12A.3 The 𝓦-Entropy, entropies are computed for densities that are Gaussian to leading order, and a computation of exactly this kind identifies which scale τ\tau the Gaussian should be measured at: the minimum over σ\sigma is attained at the matching scale.

Solution

log⁡pq=−log⁡σ−x22σ2+x22\log\frac pq = -\log\sigma - \frac{x^2}{2\sigma^2} + \frac{x^2}{2}. Integrating against pp: −log⁡σ−12+σ22-\log\sigma - \frac12 + \frac{\sigma^2}2. The function s−1−log⁡ss - 1 - \log s (with s=σ2s = \sigma^2) is convex with minimum 00 at s=1s = 1.

Free resources for this chapter

Chosen for what this chapter covers, and all free to read or watch. Where a lecture covers more than this chapter, the minutes to watch are given, and the link starts there when it can. Links checked Nov 6, 2026.

Read

Watch 3 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.