Book 3A

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

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

Modes of Convergence and Differentiation

Covering lemmas, the maximal function and Lebesgue’s differentiation theorem.

54 min read · Updated Nov 18, 2026

Read with Tao, An Introduction to Measure Theory, §1.5 "Modes of convergence" (especially the typewriter example and §1.5.4 on fast convergence) and §1.6 "Differentiation theorems", §1.6.1–1.6.2 (Lebesgue differentiation in one and several dimensions, with the Hardy–Littlewood maximal inequality and the Vitali-type covering lemma). Egorov's and Lusin's theorems are in §1.3.5. The rest of §1.6 (monotone and absolutely continuous functions in detail) can be read lightly.

In this chapter · 8 sections
  1. 6.1From computing integrals to the meaning of a point value
  2. 6.2Averages over shrinking windows
  3. 6.3Modes of convergence
  4. 6.3.1Littlewood's second and third principles
  5. 6.4Covering and the maximal function
  6. 6.4.1The maximal function of an interval
  7. 6.4.2From weak type to LpL^pLp bounds
  8. 6.4.3Filling an open set with disjoint balls
  9. 6.5Lebesgue's differentiation theorem
  10. 6.5.1The heat flow recovers a function almost everywhere
  11. 6.5.2Which shapes of window work
  12. 6.5.3Fourier series, almost everywhere
  13. 6.5.4Absolutely continuous functions
  14. 6.5.5Differentiating a measure
  15. 6.6From convergence to the size of functions
  16. 6.7History
  17. 6.8Exercises
  18. ↗Free resources

For sequences of numbers there is only one way to converge. For sequences of functions there are many, and they are genuinely different: a sequence can converge in the sense that its integrals of ∣fn−f∣|f_n - f| shrink to zero, without converging at any single point. This chapter sorts out the main modes of convergence and how they relate, a piece of bookkeeping that every later analysis chapter takes for granted.

It then proves the measure-theoretic fundamental theorem of calculus: the average of an integrable function over a small ball around xx tends to f(x)f(x), for almost every xx. The proof introduces two tools that outlive the theorem. The Vitali covering lemma selects disjoint balls from an overlapping family without losing much; the Hardy–Littlewood maximal function controls all averages of a function at once. Covering and packing arguments of exactly this kind are how Riemannian geometry turns volume bounds into compactness (9B.2 Volume Comparison, 9B.4 Convergence of Manifolds).

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

  • define convergence almost everywhere, in L1L^1, in measure and almost uniformly, and decide which imply which;
  • give the typewriter sequence and the other standard counterexamples, and extract an a.e. convergent subsequence from an L1L^1 convergent one;
  • state and prove Egorov's and Lusin's theorems and say what they mean;
  • prove the Vitali covering lemma and the Hardy–Littlewood maximal inequality;
  • prove and use the Lebesgue differentiation theorem.

From computing integrals to the meaning of a point value

3A.5 Product Measures and Change of Variables completed the tools for computing integrals: Tonelli and Fubini for iterated integrals, the change of variables formula, polar coordinates, the Gaussian integral and the volumes of balls. It ended with a question those tools cannot answer. An integrable function is defined only up to null sets, so its value at a single point carries no information, and yet analysis speaks of pointwise values all the time. Is there a canonical value at almost every point, and how is it found from integrals?

A warm-up with two functions shows what to expect, using only the averages Ahf(t)=12h∫t−ht+hfA_hf(t) = \frac{1}{2h}\int_{t-h}^{t+h}f of the world box below. Let ff be the unit step, 00 for t<0t < 0 and 11 for t≥0t \geq 0. For t>0t > 0 and h<th < t the window lies where f=1f = 1, so Ahf(t)=1A_hf(t) = 1; for t<0t < 0 and h<∣t∣h < |t| it is 00; and at t=0t = 0 the window is half in each region, so Ahf(0)=12A_hf(0) = \frac12 for every hh. The averages converge to f(t)f(t) at every t≠0t \neq 0, and at the jump they converge to the midpoint, a value that depends on nothing but the integrals. Now let ff be the Dirichlet function, 11 on the rationals. Its integral over any interval is 00, so Ahf(t)=0A_hf(t) = 0 for every tt and hh, and the averages converge to 00 everywhere. They recover ff at every irrational, and fail at every rational, a null set. In both examples the averages recover the function except on a null set, and where they fail, they produce the value the function "should" have.

The Lebesgue differentiation theorem says this always happens. Proving it needs a way to control all the averages at once, over every window size, and that is the maximal function, the main new tool of the chapter, together with a covering lemma that selects disjoint balls efficiently. Before it, the chapter sorts out the different senses in which a sequence of functions converges, since the differentiation theorem is a statement about one of them, convergence almost everywhere, and the proof passes through another, convergence in measure. The style is that of hard analysis: estimates with explicit constants, such as 3d3^d, rather than abstract structure, and the reward is a theorem that every later chapter uses without comment whenever it speaks of the value of an integrable function at a point.

Averages over shrinking windows

In the world In use Moving averages recover a signal almost everywhere

A moving average replaces a signal f(t)f(t) by its average over a window around each time,

Ahf(t)=12h∫t−ht+hf(s) ds.A_hf(t) = \frac{1}{2h}\int_{t-h}^{t+h}f(s)\,ds.

It is the simplest smoothing filter in signal processing, and the standard way of reading trends in noisy data such as daily temperatures or prices. Shrinking the window should give back the signal, and where ff is continuous it obviously does. But a recorded signal need not be continuous: it may have jumps, or be merely integrable.

The Lebesgue differentiation theorem says that Ahf(t)→f(t)A_hf(t) \to f(t) as h→0h \to 0 for almost every tt, for every locally integrable ff, however rough. Where it fails is instructive: at a jump from aa to bb, a symmetric window converges to the midpoint a+b2\frac{a+b}2 (Figure 6.1), not to either value. But jumps (of a function of bounded variation, say) occur at only countably many times, a null set. Averaging loses nothing that integration can see.

Figure 6.1. Moving averages of a unit step for window half-widths h=0.4,0.2,0.05h = 0.4, 0.2, 0.05. Away from the jump they agree with the step once hh is small; at the jump they all equal 12\tfrac12, the midpoint.

The step, quantitatively. For the unit step, the moving average at distance ∣t∣<h|t| < h from the jump is Ahf(t)=t+h2hA_hf(t) = \frac{t + h}{2h}, a ramp from 00 to 11 across the window. The set where ∣Ahf−f∣>ε|A_hf - f| > \varepsilon is an interval around the jump of length 2h(1−ε)2h(1 - \varepsilon), roughly, which tends to 00 with hh. So the moving averages converge to the step not only at every point but in measure, with an explicit rate: the bad set has measure proportional to the window. For rougher functions there is no such formula, and the maximal inequality is what replaces it, bounding the size of the bad set by an integral of the function, uniformly in the window.

Modes of convergence

Let fn,ff_n, f be measurable functions on a measure space (X,μ)(X, \mu).

Definition 6.1 Modes of convergence
  1. Uniformly: sup⁡x∣fn(x)−f(x)∣→0\sup_x|f_n(x) - f(x)| \to 0.
  2. Almost everywhere: fn(x)→f(x)f_n(x) \to f(x) for all xx outside a null set.
  3. In L1L^1 (in mean): ∫∣fn−f∣ dμ→0\int|f_n - f|\,d\mu \to 0.
  4. In measure: for every ε>0\varepsilon > 0, μ({∣fn−f∣≥ε})→0\mu(\{|f_n - f| \geq \varepsilon\}) \to 0.
  5. Almost uniformly: for every δ>0\delta > 0 there is a set EE with μ(E)<δ\mu(E) < \delta outside which fn→ff_n \to f uniformly.

Some implications are immediate. Uniform convergence implies the others (on a space of finite measure, for L1L^1). Convergence in L1L^1 implies convergence in measure, by Markov's inequality: μ({∣fn−f∣≥ε})≤1ε∫∣fn−f∣\mu(\{|f_n - f| \geq \varepsilon\}) \leq \frac1\varepsilon\int|f_n - f| (3A.3 The Lebesgue Integral). Almost uniform implies almost everywhere (intersect over δ=1k\delta = \frac1k).

The failures are given by the escapes of 3A.3 The Lebesgue Integral, plus one new example.

Example 6.2 The typewriter sequence

On [0,1][0, 1], list the indicator functions of the dyadic intervals, row by row: 1[0,1]1_{[0,1]}; then 1[0,1/2],1[1/2,1]1_{[0, 1/2]}, 1_{[1/2, 1]}; then 1[0,1/4],1[1/4,1/2],1[1/2,3/4],1[3/4,1]1_{[0, 1/4]}, 1_{[1/4, 1/2]}, 1_{[1/2, 3/4]}, 1_{[3/4, 1]}; and so on (Figure 6.2). Like a typewriter carriage, each row sweeps across the whole interval with a narrower block. Then ∫fn→0\int f_n \to 0, since the blocks shrink: the sequence converges to 00 in L1L^1 and in measure. But every point xx is covered by one block in every row, so fn(x)=1f_n(x) = 1 infinitely often and fn(x)=0f_n(x) = 0 infinitely often: the sequence converges at no point at all.

Figure 6.2. The typewriter sequence: rows of narrower and narrower blocks, each row sweeping across [0,1][0, 1]. The integrals tend to 00, but any vertical line (dashed) meets a block in every row, so the functions are 11 at that point infinitely often.

Conversely, the escapes of 3A.3 The Lebesgue Integral converge to 00 almost everywhere but not in L1L^1: horizontal escape on an infinite measure space; vertical escape, n 1[1/n,2/n]n\,1_{[1/n, 2/n]}, even on [0,1][0, 1]. The tall spike converges to 00 in measure but not in L1L^1.

The typewriter's problem is that its blocks keep returning. Passing to a subsequence removes that.

Proposition 6.3 Fast convergence and subsequences
  1. If ∑n∫∣fn−f∣ dμ<∞\sum_n\int|f_n - f|\,d\mu < \infty, then fn→ff_n \to f almost everywhere.
  2. If fn→ff_n \to f in L1L^1 (or merely in measure), then a subsequence converges to ff almost everywhere.

Proof. (1) By monotone convergence, ∫∑n∣fn−f∣=∑n∫∣fn−f∣<∞\int\sum_n|f_n - f| = \sum_n\int|f_n - f| < \infty, so ∑n∣fn(x)−f(x)∣<∞\sum_n|f_n(x) - f(x)| < \infty for almost every xx (an integrable function is finite a.e.), and then the terms tend to 00. (2) In measure, choose nkn_k increasing with μ({∣fnk−f∣≥2−k})≤2−k\mu(\{|f_{n_k} - f| \geq 2^{-k}\}) \leq 2^{-k}. By Borel–Cantelli (3A.2 Lebesgue Measure), almost every xx lies in only finitely many of these sets, and so ∣fnk(x)−f(x)∣<2−k|f_{n_k}(x) - f(x)| < 2^{-k} for all large kk.

Part 2 is used constantly: whenever a limit is known to exist in an integral sense, some subsequence also converges pointwise almost everywhere, and then pointwise arguments (Fatou, continuity) can be applied to it.

The subsequence, found. For the typewriter, the subsequence promised by part 2 can be written down: take the first block of each row, 1[0,2−k]\mathbf 1_{[0, 2^{-k}]}. At every x>0x > 0 these are eventually 00, so the subsequence converges to 00 almost everywhere, failing only at x=0x = 0. The proof chooses the subsequence so that the measures of the bad sets are summable, 2−k2^{-k} here, and then a point can lie in infinitely many bad sets only on a null set, the Borel–Cantelli argument. Any subsequence that takes one block per row, with the blocks chosen freely, would also do, since the widths are summable.

Integrability ties the modes together. The dashed arrow from convergence in measure to convergence in L1L^1 needs a hypothesis, and the sharp one is the uniform integrability of 3A.3 The Lebesgue Integral: on a space of finite measure, a sequence converges in L1L^1 exactly when it converges in measure and is uniformly integrable. Domination is the most common way to check uniform integrability, which is why the diagram labels the arrow with it. The spike fails it, which is why it converges in measure but not in L1L^1.

Figure 6.3. How the modes of convergence relate. Solid arrows always hold (on a finite measure space for the arrows out of "uniform"). Dashed arrows need the stated hypothesis: Egorov's theorem on finite measure spaces, a subsequence, or domination. Each missing arrow has a counterexample: the typewriter (no a.e. convergence) or one of the three escapes (no L1L^1 convergence).

The escapes, sorted by mode. The three escapes of 3A.3 The Lebesgue Integral behave differently under the new modes, and sorting them is good practice. The sliding block 1[n,n+1]\mathbf 1_{[n, n+1]} converges to 00 everywhere, but not in measure, since the set where it equals 11 always has measure 11. The spreading plateau 1n1[0,n]\frac1n\mathbf 1_{[0, n]} converges to 00 uniformly, hence in measure, but not in L1L^1, since its integral stays 11. The spike n1[1/n,2/n]n\mathbf 1_{[1/n, 2/n]} converges to 00 everywhere and in measure, since it is non-zero only on a set of measure 1n\frac1n, but not in L1L^1. And the typewriter converges in L1L^1 and in measure but at no point. Every implication that fails in the diagram below fails on one of these four sequences.

A distance for convergence in measure. On a space of finite measure, convergence in measure is convergence for the distance

d(f,g)=∫min⁡(1,∣f−g∣) dμ.d(f, g) = \int\min(1, |f - g|)\,d\mu .

If d(fn,f)→0d(f_n, f) \to 0, then μ({∣fn−f∣≥ε})≤d(fn,f)min⁡(1,ε)→0\mu(\{|f_n - f| \geq \varepsilon\}) \leq \frac{d(f_n, f)}{\min(1, \varepsilon)} \to 0, by Markov; conversely, splitting the integral over the sets where ∣fn−f∣|f_n - f| is smaller or larger than ε\varepsilon gives d(fn,f)≤εμ(X)+μ({∣fn−f∣≥ε})d(f_n, f) \leq \varepsilon\mu(X) + \mu(\{|f_n - f| \geq \varepsilon\}). The truncation at 11 makes the distance finite for all measurable functions, integrable or not, and it is why convergence in measure is the natural mode for functions that need not be integrable at all, such as the measurable functions of probability that have no mean.

The same modes in probability. Probability uses the same notions under other names. Convergence almost everywhere is almost sure convergence, the mode of the strong law of large numbers; convergence in measure is convergence in probability, the mode of the weak law; and convergence in L1L^1 is convergence in mean. Probability adds one more, weaker than all of these: convergence in distribution, which asks only that the laws converge weakly in the sense of 3A.4 Measures, Probability and Weights. The central limit theorem is a statement of this last kind: the normalised sum of many independent variables has a law close to a Gaussian, though the sums themselves need not converge in any of the stronger senses.

Limits of limits. Pointwise limits of continuous functions can be discontinuous, but not arbitrarily so: such a limit is continuous at the points of a dense set, a theorem of Baire. The Dirichlet function, discontinuous everywhere, is therefore not a pointwise limit of continuous functions, but it is a limit of limits:

1Q(x)=lim⁡m→∞lim⁡n→∞(cos⁡(m! πx))2n.\mathbf 1_{\mathbb{Q}}(x) = \lim_{m\to\infty}\lim_{n\to\infty}\big(\cos(m!\,\pi x)\big)^{2n} .

For rational x=pqx = \frac pq, once m≥qm \geq q the number m! xm!\,x is an integer, the cosine is ±1\pm1 and its even powers are 11; for irrational xx, ∣cos⁡(m! πx)∣<1|\cos(m!\,\pi x)| < 1 and the powers tend to 00. Measurability is preserved by every such limit, however many times it is iterated, and this is one reason measure theory, not continuity, is the right framework for functions produced by limiting procedures.

Littlewood's second and third principles

Two theorems quantify how close the measure-theoretic world is to the continuous one. Both are in Tao, §1.3.5.

Theorem 6.4 Egorov's theorem

On a space of finite measure, convergence almost everywhere implies almost uniform convergence.

Proof. Let fn→ff_n \to f off a null set NN, and fix δ>0\delta > 0. For integers k,n≥1k, n \geq 1 let Enk=⋃m≥n{∣fm−f∣≥1k}E^k_n = \bigcup_{m\geq n}\{|f_m - f| \geq \frac1k\}, the points where some later term is still 1k\frac1k away. For fixed kk these sets decrease in nn, and their intersection lies in NN (a point in all of them doesn't converge). Since μ(X)<∞\mu(X) < \infty, continuity from above (3A.2 Lebesgue Measure) gives μ(Enk)→0\mu(E^k_n) \to 0 as n→∞n \to \infty. Choose nkn_k with μ(Enkk)<δ2−k\mu(E^k_{n_k}) < \delta2^{-k} and let E=⋃kEnkkE = \bigcup_kE^k_{n_k}, so μ(E)<δ\mu(E) < \delta. Outside EE, for every kk and every m≥nkm \geq n_k, ∣fm−f∣<1k|f_m - f| < \frac1k: that is uniform convergence on X∖EX \setminus E.

The proof, in words. Egorov's argument is continuity of measure from above, applied once for each tolerance. For a tolerance 1k\frac1k, the points where the sequence is still 1k\frac1k away from its limit at some time after nn form a set that shrinks as nn grows, and whose intersection over all nn lies in the null set where convergence fails. On a space of finite measure, continuity from above makes the measure of these sets tend to zero, so for each kk an nkn_k can be chosen with the bad set of measure at most δ2−k\delta2^{-k}. Removing the union of these bad sets, of total measure at most δ\delta, leaves a set on which, for every kk, the sequence is within 1k\frac1k of its limit after time nkn_k: uniform convergence. The ε2−n\varepsilon2^{-n} trick of 3A.2 Lebesgue Measure again distributes the budget over countably many tolerances.

Finite measure matters: on R\mathbb{R}, 1[n,n+1]→01_{[n, n+1]} \to 0 everywhere, but on any set whose complement has finite measure the convergence is not uniform, since such a set meets [n,n+1][n, n + 1] for infinitely many nn.

Theorem 6.5 Lusin's theorem

Let f:Rd→Cf : \mathbb{R}^d \to \mathbb{C} be measurable and finite almost everywhere. For every ε>0\varepsilon > 0 there is a set EE with m(E)<εm(E) < \varepsilon such that the restriction of ff to Rd∖E\mathbb{R}^d \setminus E is continuous.

Proof. Treat real and imaginary parts separately, and include the null set where ff is infinite in EE. Two reductions make ff integrable without changing the conclusion. First replace ff by 2πarctan⁡f\frac{2}{\pi}\arctan f, which takes values in (−1,1)(-1, 1); since arctan⁡\arctan is a homeomorphism onto its image, ff restricted to a set is continuous exactly when arctan⁡f\arctan f is. Second, multiply by the positive continuous weight w(x)=e−∣x∣2w(x) = e^{-|x|^2}; ff restricted to a set is continuous exactly when fwfw is. Now ∣fw∣≤w|fw| \leq w, so F=fw∈L1F = fw \in L^1.

By density of continuous functions in L1L^1 (3A.3 The Lebesgue Integral), choose continuous gng_n with ∫∣F−gn∣≤4−n\int|F - g_n| \leq 4^{-n}. By Markov, m({∣F−gn∣≥2−n})≤2−nm(\{|F - g_n| \geq 2^{-n}\}) \leq 2^{-n}. Let E=⋃n≥N{∣F−gn∣≥2−n}E = \bigcup_{n \geq N}\{|F - g_n| \geq 2^{-n}\}, with NN chosen so that 21−N<ε2^{1-N} < \varepsilon; then m(E)<εm(E) < \varepsilon. On Rd∖E\mathbb{R}^d \setminus E, ∣F−gn∣<2−n|F - g_n| < 2^{-n} for all n≥Nn \geq N, so the continuous functions gng_n converge uniformly to FF there, and a uniform limit of continuous functions is continuous (2B.5 Uniform Convergence and Arzelà–Ascoli).

Egorov is Littlewood's third principle (every convergent sequence of measurable functions is nearly uniformly convergent), Lusin his second (every measurable function is nearly continuous). Note what "nearly" means in Lusin: the restriction is continuous, not ff itself. Dirichlet's function is discontinuous everywhere, but restricted to the irrationals (removing a null set) it is the constant 00.

Egorov on an example. On [0,1][0, 1], fn(x)=xnf_n(x) = x^n converges to 00 at every x<1x < 1, and not uniformly, since fnf_n is close to 11 just below x=1x = 1. Remove a small interval (1−δ,1](1 - \delta, 1], and on [0,1−δ][0, 1 - \delta] the convergence is uniform, since xn≤(1−δ)n→0x^n \leq (1 - \delta)^n \to 0. Egorov's theorem says this is always possible: the failure of uniform convergence can be confined to a set of small measure. Here it is confined to a neighbourhood of a single point.

Lusin on an example. The Dirichlet function is discontinuous at every point, yet Lusin's theorem says it is continuous after removing a set of small measure. Indeed, cover the rationals by an open set UU of measure less than ε\varepsilon, as in 3A.2 Lebesgue Measure; on the complement the function is identically 00, hence continuous there. The function restricted to the complement is continuous, though the original function, seen on all of [0,1][0, 1], is continuous nowhere. Lusin's theorem is a statement about restrictions, and this example shows how much that qualifier carries.

Covering and the maximal function

To prove that averages converge almost everywhere, we need to control the worst average around each point, uniformly over all radii. Define, for f∈L1(Rd)f \in L^1(\mathbb{R}^d), the average of ∣f∣|f| over the ball B(x,r)B(x, r) and its supremum:

⟨∣f∣⟩B(x,r)=1m(B(x,r))∫B(x,r)∣f∣ dm,Mf(x)=sup⁡r>0⟨∣f∣⟩B(x,r).\langle|f|\rangle_{B(x,r)} = \frac{1}{m(B(x, r))}\int_{B(x,r)}|f|\,dm, \qquad Mf(x) = \sup_{r > 0}\langle|f|\rangle_{B(x,r)}.

MfMf is the Hardy–Littlewood maximal function. It can be large, but not often: the set where it exceeds λ\lambda has measure at most C∥f∥1/λC\|f\|_1/\lambda, which is what Markov's inequality would give for ff itself. The proof needs a way of choosing, from many overlapping balls, a disjoint family that still accounts for most of the space they cover.

Lemma 6.6 Vitali covering lemma

Let B1,…,BnB_1, \ldots, B_n be finitely many balls in Rd\mathbb{R}^d. There is a subcollection Bi1,…,BikB_{i_1}, \ldots, B_{i_k} of pairwise disjoint balls such that

⋃j=1nBj⊆⋃l=1k3Bil,\bigcup_{j=1}^nB_j \subseteq \bigcup_{l=1}^k3B_{i_l},

where 3B3B is the ball with the same centre and three times the radius. Consequently m(⋃jBj)≤3d∑lm(Bil)m\big(\bigcup_jB_j\big) \leq 3^d\sum_lm(B_{i_l}).

Proof. The greedy algorithm. Choose the largest ball. Discard every ball that meets it. From what remains, choose the largest, discard every ball that meets it, and repeat until nothing remains. The chosen balls are disjoint by construction. Every discarded ball BB met a chosen ball B′B' that was chosen while BB was still available, so B′B' is at least as large as BB: radius r(B)≤r(B′)r(B) \leq r(B'). Two balls that meet, the first no larger than the second, satisfy B⊆3B′B \subseteq 3B': any point of BB is within 2r(B)≤2r(B′)2r(B) \leq 2r(B') of a point of B′B', hence within 3r(B′)3r(B') of the centre of B′B'. The volume bound follows from m(3B)=3dm(B)m(3B) = 3^dm(B).

Figure 6.4. The Vitali covering lemma. From overlapping balls, the greedy algorithm picks disjoint ones (shaded), largest first. Tripling their radii (dashed) covers every original ball. So the union has volume at most 3d3^d times the total volume of the chosen disjoint balls.
Theorem 6.7 Hardy–Littlewood maximal inequality

For f∈L1(Rd)f \in L^1(\mathbb{R}^d) and λ>0\lambda > 0,

m({x:Mf(x)>λ})≤3dλ∫Rd∣f∣ dm.m(\{x : Mf(x) > \lambda\}) \leq \frac{3^d}{\lambda}\int_{\mathbb{R}^d}|f|\,dm.

Proof. Let E={Mf>λ}E = \{Mf > \lambda\} (it is open, so measurable), and let K⊆EK \subseteq E be compact. Each x∈Kx \in K has a ball BxB_x centred at xx with ∫Bx∣f∣>λ m(Bx)\int_{B_x}|f| > \lambda\,m(B_x). The open balls BxB_x cover KK, so finitely many do (2B.3 Compactness). Apply Vitali to those: disjoint balls B1,…,BkB_1, \ldots, B_k among them with

m(K)≤3d∑lm(Bl)<3dλ∑l∫Bl∣f∣≤3dλ∫∣f∣,m(K) \leq 3^d\sum_lm(B_l) < \frac{3^d}{\lambda}\sum_l\int_{B_l}|f| \leq \frac{3^d}{\lambda}\int|f|,

the last step because the BlB_l are disjoint. By inner regularity (3A.2 Lebesgue Measure), m(E)m(E) is the supremum of m(K)m(K) over compact K⊆EK \subseteq E.

An estimate of the form m({∣g∣>λ})≤C∥f∥1/λm(\{|g| > \lambda\}) \leq C\|f\|_1/\lambda is called weak type (1, 1). The maximal function is not bounded in L1L^1 (for f=1B(0,1)f = 1_{B(0,1)}, Mf(x)≈∣x∣−dMf(x) \approx |x|^{-d} far away, which is not integrable), so this weaker estimate is the right one.

Weak L1L^1. Markov's inequality says that an integrable function gg satisfies m({∣g∣>λ})≤1λ∫∣g∣m(\{|g| > \lambda\}) \leq \frac1\lambda\int|g| for every λ\lambda. The maximal inequality says that MfMf satisfies the same kind of bound, with ∫∣f∣\int|f| in place of ∫∣Mf∣\int|Mf|, although MfMf itself need not be integrable. Functions with sup⁡λλ m({∣g∣>λ})<∞\sup_\lambda\lambda\,m(\{|g| > \lambda\}) < \infty form the space weak L1L^1, which contains L1L^1 and also functions like 1∣x∣\frac{1}{|x|} on the line, which is not integrable near 00 or at infinity but has m({1∣x∣>λ})=2λm(\{\frac{1}{|x|} > \lambda\}) = \frac2\lambda. The maximal operator maps L1L^1 into weak L1L^1 and no better, and the example of the interval above lands exactly on the borderline, with MfMf decaying like 1∣x∣\frac1{|x|}.

Why {Mf>λ}\{Mf > \lambda\} is open. If Mf(x)>λMf(x) > \lambda, some ball B(x,r)B(x, r) has average above λ\lambda, and for points x′x' near xx, the slightly larger ball B(x′,r+∣x−x′∣)B(x', r + |x - x'|) contains B(x,r)B(x, r) and has nearly the same volume, so its average is still above λ\lambda. So MfMf is lower semicontinuous, and in particular measurable, with no further argument.

The maximal function of an interval

The definitions can be followed through on the simplest function, f=1[−1,1]f = \mathbf 1_{[-1, 1]} on the line, with ∫∣f∣=2\int|f| = 2. Inside [−1,1][-1, 1], small intervals around xx lie in [−1,1][-1, 1], so Mf(x)=1Mf(x) = 1. For ∣x∣>1|x| > 1, the average over [x−r,x+r][x - r, x + r] is the length of its overlap with [−1,1][-1, 1] divided by 2r2r, and it is largest when the window just reaches the far end, r=∣x∣+1r = |x| + 1, giving

Mf(x)=22(∣x∣+1)=11+∣x∣.Mf(x) = \frac{2}{2(|x| + 1)} = \frac{1}{1 + |x|} .

This decays like 1∣x∣\frac{1}{|x|}, which is not integrable on the line: the maximal function of an integrable function need not be integrable, as stated above. But the set where Mf>λMf > \lambda, for λ<1\lambda < 1, is the interval ∣x∣<1λ−1|x| < \frac1\lambda - 1, of length 2λ−2≤2λ\frac2\lambda - 2 \leq \frac2\lambda, which is 1λ∫∣f∣\frac1\lambda\int|f|: the weak-type bound holds here with constant 11 instead of 33. The covering lemma's factor is the price of generality, not the true constant for every function.

From weak type to LpL^p bounds

The weak-type inequality has a strong consequence for every exponent p>1p > 1: the maximal function is bounded on LpL^p, with ∫(Mf)p≤Cp∫∣f∣p\int(Mf)^p \leq C_p\int|f|^p. The proof is a short computation with the layer cake formula of 3A.3 The Lebesgue Integral. Fix λ\lambda and split f=f1+f2f = f_1 + f_2, where f1=f1{∣f∣>λ/2}f_1 = f\mathbf 1_{\{|f| > \lambda/2\}} and ∣f2∣≤λ2|f_2| \leq \frac\lambda2. Then Mf2≤λ2Mf_2 \leq \frac\lambda2, so {Mf>λ}⊆{Mf1>λ2}\{Mf > \lambda\} \subseteq \{Mf_1 > \frac\lambda2\}, and the weak-type bound gives m({Mf>λ})≤2⋅3dλ∫{∣f∣>λ/2}∣f∣m(\{Mf > \lambda\}) \leq \frac{2\cdot3^d}{\lambda}\int_{\{|f| > \lambda/2\}}|f|. Inserting this into ∫(Mf)p=p∫0∞λp−1m({Mf>λ}) dλ\int(Mf)^p = p\int_0^\infty\lambda^{p-1}m(\{Mf > \lambda\})\,d\lambda and exchanging the order of integration by Tonelli gives a constant times ∫∣f∣p\int|f|^p, finite because p>1p > 1 makes the λ\lambda-integral converge. This is the simplest case of Marcinkiewicz interpolation: a weak bound at one end and a trivial bound at L∞L^\infty, where Mf≤sup⁡∣f∣Mf \leq \sup|f|, give strong bounds in between. The spaces LpL^p in which the bound holds are the subject of 3A.7 Lᵖ Spaces and Jensen’s Inequality.

Filling an open set with disjoint balls

The finite covering lemma has an infinite version, the Vitali covering theorem, which 3A.2 Lebesgue Measure promised. Suppose a collection of balls covers a set EE finely, in the sense that every point of EE lies in balls of the collection of arbitrarily small radius. Then there is a countable disjoint subcollection that covers almost all of EE: the uncovered part is null. The proof runs the greedy algorithm forever, choosing at each step a ball nearly as large as any still disjoint from those chosen, and shows, using the tripled balls and the finiteness of m(E)m(E) when EE is bounded, that the points never covered have measure zero. Applied to an open set and all the balls inside it, the theorem fills the set, up to a null set, with countably many disjoint balls, which is why outer measure defined with balls agrees with outer measure defined with boxes. It is also the form of the covering argument that generalises to the Riemannian setting, where balls are the only natural shapes.

Maximal functions on manifolds. The proof of the maximal inequality used one geometric fact about Euclidean space: tripling the radius of a ball multiplies its volume by 3d3^d. On a Riemannian manifold the same proof works wherever the volume is doubling, that is, Vol⁡B(x,2r)≤CVol⁡B(x,r)\operatorname{Vol}B(x, 2r) \leq C\operatorname{Vol}B(x, r) with a constant independent of xx and rr, and the constant 3d3^d is replaced by a power of CC. A lower bound on the Ricci curvature gives doubling, through the Bishop–Gromov volume comparison of 9B.2 Volume Comparison, at least on balls of bounded size. So the differentiation theorem and the maximal inequality hold on manifolds with Ricci curvature bounded below, and the Lebesgue points of a function on a manifold make sense in the same way. Much of the analysis on manifolds in Books 9 and 12 runs on exactly this mechanism: curvature bounds give volume control, and volume control gives the covering arguments of this chapter.

Lebesgue's differentiation theorem

Theorem 6.8 Lebesgue differentiation theorem

Let ff be locally integrable on Rd\mathbb{R}^d. Then for almost every xx,

lim⁡r→01m(B(x,r))∫B(x,r)∣f(y)−f(x)∣ dy=0,in particularlim⁡r→0⟨f⟩B(x,r)=f(x).\lim_{r\to0}\frac{1}{m(B(x, r))}\int_{B(x,r)}|f(y) - f(x)|\,dy = 0, \qquad\text{in particular}\qquad \lim_{r\to0}\langle f\rangle_{B(x,r)} = f(x).

Points where the first limit holds are called Lebesgue points of ff.

Proof. The question is local, so we may assume f∈L1f \in L^1 (multiply by the indicator of a large ball). For λ>0\lambda > 0 let EλE_\lambda be the set of xx where lim sup⁡r→0⟨∣f−f(x)∣⟩B(x,r)>2λ\limsup_{r\to0}\langle|f - f(x)|\rangle_{B(x,r)} > 2\lambda. It suffices to show m∗(Eλ)=0m^*(E_\lambda) = 0 for every λ\lambda.

Split ff into a nice part and a small part. Given ε>0\varepsilon > 0, choose a continuous compactly supported gg with ∥f−g∥1≤ε\|f - g\|_1 \leq \varepsilon (3A.3 The Lebesgue Integral), and write h=f−gh = f - g. For the continuous part the limit is 00 at every point. So for x∈Eλx \in E_\lambda,

2λ<lim sup⁡r→0⟨∣h−h(x)∣⟩B(x,r)≤Mh(x)+∣h(x)∣,2\lambda < \limsup_{r\to0}\langle|h - h(x)|\rangle_{B(x,r)} \leq Mh(x) + |h(x)|,

and therefore either Mh(x)>λMh(x) > \lambda or ∣h(x)∣>λ|h(x)| > \lambda.

Both happen on small sets. By the maximal inequality and Markov's inequality,

m∗(Eλ)≤m({Mh>λ})+m({∣h∣>λ})≤3dλε+1λε.m^*(E_\lambda) \leq m(\{Mh > \lambda\}) + m(\{|h| > \lambda\}) \leq \frac{3^d}{\lambda}\varepsilon + \frac1\lambda\varepsilon.

Since ε\varepsilon is arbitrary, m∗(Eλ)=0m^*(E_\lambda) = 0.

The proof is a template worth naming: a maximal inequality plus a dense class gives almost-everywhere convergence. The dense class (continuous functions) is where the convergence is easy; the maximal inequality controls the error uniformly in rr, which is what lets the approximation pass to the limit. The same template proves almost-everywhere convergence of heat-kernel averages f∗Ht→ff * H_t \to f as t→0t \to 0 (6A.3 The Heat Equation on ℝⁿ), and of many other approximate identities.

Two consequences:

  • Density points. Applying the theorem to f=1Ef = 1_E: almost every point of a measurable set EE is a point of density 1, m(E∩B(x,r))/m(B(x,r))→1m(E \cap B(x, r))/m(B(x, r)) \to 1, and almost every point outside has density 00. A measurable set looks, under a microscope at almost every point, either completely full or completely empty. (A fat Cantor set, 3A.2 Lebesgue Measure, has density 11 at almost all of its points even though it contains no interval.)
  • The fundamental theorem of calculus for Lebesgue integrals. In one dimension, if f∈L1([a,b])f \in L^1([a, b]) and F(x)=∫axfF(x) = \int_a^xf, then F′(x)=f(x)F'(x) = f(x) for almost every xx: the difference quotient F(x+h)−F(x)h\frac{F(x + h) - F(x)}{h} is a one-sided average of ff, and one-sided averages converge at Lebesgue points too.

Lebesgue points depend on the representative. For a continuous function every point is a Lebesgue point. For the unit step, every point except the jump. For the Dirichlet function, written as the indicator of the rationals, every irrational xx is a Lebesgue point, since f(x)=0f(x) = 0 and the averages of ∣f−0∣|f - 0| vanish, while no rational is, since there the averages of ∣f−1∣|f - 1| equal 11. If instead the zero function is chosen as the representative of the same element of L1L^1, every point is a Lebesgue point. The set of Lebesgue points depends on the representative, but its complement is always null, and the values at Lebesgue points are the same for every representative. That is the precise sense in which the theorem assigns an integrable function a canonical value almost everywhere: at every Lebesgue point of any representative, the value is the limit of the averages. For f(x)=∣x∣−1/2f(x) = |x|^{-1/2}, the origin is not a Lebesgue point of any representative, since the averages around it tend to infinity.

Density in a set with no interior. The density consequence is striking on the fat Cantor set FF of 3A.2 Lebesgue Measure, which has measure 12\frac12 and contains no interval. Almost every point of FF is a point of density 11: around such a point, small intervals are almost entirely filled by FF, with the removed gaps occupying a vanishing proportion of them as the interval shrinks. So FF, though it contains no interval at all, looks like a full interval under a sufficiently powerful microscope at almost every one of its points. The gaps are there at every scale, but at almost every point of FF they become relatively rare as the scale decreases.

Example 6.9 The Cantor function

The converse direction of the fundamental theorem needs care. The Cantor function (the "devil's staircase") c:[0,1]→[0,1]c : [0, 1] \to [0, 1] is continuous and increasing, constant on each interval removed in building the Cantor set CC (3A.2 Lebesgue Measure), and climbs from 00 to 11 entirely on CC. So c′=0c' = 0 at every point outside CC, which is almost every point, and yet c(1)−c(0)=1≠0=∫01c′c(1) - c(0) = 1 \neq 0 = \int_0^1c'. Functions for which F(b)−F(a)=∫abF′F(b) - F(a) = \int_a^bF' always holds are exactly the absolutely continuous ones (Tao, §1.6.4); Lipschitz functions are among them, which is the case used most in geometry.

Figure 6.5. The Cantor function, computed to six levels. It is flat on every removed interval (total length 11), so its derivative is 00 almost everywhere, yet it rises from 00 to 11. Integrating the derivative does not recover it: it is continuous but not absolutely continuous.

The heat flow recovers a function almost everywhere

The theorem has a version for every reasonable averaging procedure, and the heat flow is the one used most in this guide. For an integrable ff on Rd\mathbb{R}^d, the solution of the heat equation with initial value ff is u(x,t)=∫H(x−y,t)f(y) dyu(x, t) = \int H(x - y, t)f(y)\,dy, an average of ff weighted by the Gaussian heat kernel. Because the kernel is radial and decreasing, it is a superposition of normalised indicators of balls, and so

sup⁡t>0∣u(x,t)∣≤Mf(x):\sup_{t > 0}|u(x, t)| \leq Mf(x) :

the maximal function controls every Gaussian average at once. The template of this chapter then applies, with continuous functions as the dense class, and u(x,t)→f(x)u(x, t) \to f(x) as t→0t \to 0 at every Lebesgue point of ff, so almost everywhere. Heat flow started from an arbitrary integrable function returns to it, pointwise almost everywhere, as time goes back to zero. 3A.8 Convolution and Mollifiers develops the heat kernel as an approximate identity, and this is its pointwise convergence theorem.

Which shapes of window work

The theorem averages over balls, and any family of shapes with bounded eccentricity works as well: cubes, or balls in another norm, or any sets that contain a ball and are contained in a fixed multiple of it, because the covering lemma only needs that. Shapes without bounded eccentricity behave differently. Averaging over all rectangles in the plane containing a point, with arbitrary orientations and proportions, the analogue of the theorem fails even for some bounded functions, by constructions going back to Besicovitch and Nikodym, because thin rectangles in many directions can be arranged with a large union and a small total area. For rectangles with sides parallel to the axes it holds for functions slightly better than integrable, a theorem of Jessen, Marcinkiewicz and Zygmund. The geometry of the averaging sets matters, and the ball, with its bounded overlap property, is the simplest shape for which everything works.

Fourier series, almost everywhere

The Fourier series of 2B.7 Fourier Series and the First Heat Equation raise the same question as moving averages: does the series of a function converge to it pointwise? For continuous functions the answer is no in general, and for integrable functions Andrey Kolmogorov gave, in 1923 and 1926, examples whose Fourier series diverge almost everywhere and then everywhere. For square-integrable functions the answer is yes, almost everywhere, a theorem of Lennart Carleson from 1966 that was among the hardest results of twentieth-century analysis. Its proof follows the template of this chapter, a maximal inequality for the partial sums plus a dense class, but the maximal inequality is far deeper than Hardy and Littlewood's. Smoothed versions of the partial sums, the Fejér means or the heat flow on the circle, behave as well as moving averages, by the argument above.

Absolutely continuous functions

The Cantor function shows that continuity and monotonicity are not enough for the fundamental theorem of calculus. The right condition is absolute continuity: FF on [a,b][a, b] is absolutely continuous if for every ε>0\varepsilon > 0 there is δ>0\delta > 0 such that, for any finite collection of disjoint intervals (ai,bi)(a_i, b_i) with total length less than δ\delta, ∑i∣F(bi)−F(ai)∣<ε\sum_i|F(b_i) - F(a_i)| < \varepsilon. Then FF is differentiable almost everywhere, F′F' is integrable, and F(x)=F(a)+∫axF′F(x) = F(a) + \int_a^xF'. Conversely, every indefinite integral of an integrable function is absolutely continuous, by the continuity property of the integral in 3A.3 The Lebesgue Integral: sets of small measure carry small integral. Lipschitz functions are absolutely continuous, with δ=εL\delta = \frac\varepsilon L. The Cantor function fails: the stage-nn intervals of the Cantor set have total length (23)n(\frac23)^n, as small as desired, and the function rises by a total of 11 across them. Absolute continuity is exactly the condition that rules out mass hidden on a null set, and for measures it is the condition ν≪m\nu \ll m of the Radon–Nikodym theorem in 3A.4 Measures, Probability and Weights: an absolutely continuous function is the distribution function of a measure with a density.

Monotone functions. Lebesgue also proved that every monotone function on an interval is differentiable almost everywhere, with ∫abF′≤F(b)−F(a)\int_a^bF' \leq F(b) - F(a). The Cantor function attains strict inequality, 0<10 < 1, and the missing amount is exactly the singular part of the measure whose distribution function is FF, in the decomposition of 3A.4 Measures, Probability and Weights.

Differentiating a measure

The theorem extends from functions to measures. For a measure ν\nu on Rd\mathbb{R}^d that is finite on bounded sets, the limit

Dν(x)=lim⁡r→0ν(B(x,r))m(B(x,r))D\nu(x) = \lim_{r\to0}\frac{\nu(B(x, r))}{m(B(x, r))}

exists for almost every xx. If ν\nu has a density ρ\rho, then Dν=ρD\nu = \rho almost everywhere, by the differentiation theorem applied to ρ\rho, so the density is recovered by measuring small balls, as promised in 3A.4 Measures, Probability and Weights. If ν\nu is singular with respect to Lebesgue measure, such as a Dirac mass or the Cantor measure, then Dν=0D\nu = 0 almost everywhere, though it is infinite on the set where ν\nu lives, which is null. The Lebesgue decomposition of a measure into absolutely continuous and singular parts is visible in its derivative: the first part is seen everywhere, the second only on a null set.

The same idea in probability. The maximal inequality has a twin in probability, Doob's maximal inequality for martingales (6D.2 Martingales and the Itô Integral), which bounds the probability that a martingale ever exceeds a level by its final expectation divided by the level. The structure, a supremum over infinitely many averages controlled by a single integral, is the same, and so is its use: Doob's inequality proves that martingales converge almost surely, as the Hardy–Littlewood inequality proves that averages converge almost everywhere.

Where this goes Covering and packing in geometry

The greedy selection in Vitali's lemma has a twin that runs through Riemannian geometry: choose a maximal collection of disjoint balls of radius ε\varepsilon; then the balls of radius 2ε2\varepsilon with the same centres cover everything (Exercise 6.17). Counting how many disjoint small balls fit inside a big one is a volume comparison. On a manifold with Ricci curvature bounded below, Bishop–Gromov volume comparison (9B.2 Volume Comparison) gives exactly that count, independently of the manifold, and the resulting uniform bound on covering numbers is the total boundedness that Gromov's compactness theorem needs (2B.3 Compactness, 9B.4 Convergence of Manifolds). The same packing argument, with volumes controlled by noncollapsing, appears when Perelman's κ-solutions are shown to form a compact family (12B.3 The Structure of κ-Solutions).

From convergence to the size of functions

The chapter has sorted the modes of convergence, with the counterexamples that separate them and the subsequence that recovers almost-everywhere convergence from convergence in L1L^1; proved Egorov's and Lusin's theorems; built the maximal function and its weak-type inequality; and proved Lebesgue's differentiation theorem, with the fundamental theorem of calculus for Lebesgue integrals and the role of absolute continuity. It has measured the size of a function in one way throughout: by ∫∣f∣\int|f|, the L1L^1 norm.

That single measure of size is not enough, as the chapter's own results show. The maximal function of an integrable function is not integrable, yet it is controlled in a different sense, and for every p>1p > 1 it is bounded in the size (∫∣f∣p)1/p\big(\int|f|^p\big)^{1/p}. A familiar function makes the point again: f(x)=x−1/2f(x) = x^{-1/2} on (0,1)(0, 1) has ∫∣f∣=2\int|f| = 2, finite, but ∫∣f∣2=∫01dxx=∞\int|f|^2 = \int_0^1\frac{dx}{x} = \infty. Whether a function is "small" depends on how its size is measured, and different problems need different measures: energies are integrals of squares, maximal estimates live in LpL^p for p>1p > 1, and boundedness is the case p=∞p = \infty.

3A.7 Lᵖ Spaces and Jensen’s Inequality defines the spaces LpL^p for 1≤p≤∞1 \leq p \leq \infty, proves the inequalities that make them normed spaces, Young's, Hölder's and Minkowski's, shows that they are complete, and identifies L2L^2 as a Hilbert space. It ends with Jensen's inequality for convex functions, from which the non-negativity of relative entropy follows, the seed of the entropies of Books 6 and 12. What to carry forward from this chapter: the modes of convergence and the four separating examples; fast convergence and subsequences; Egorov and Lusin; the Vitali covering lemma and the greedy algorithm; the maximal function and its weak-type and LpL^p bounds; the template "maximal inequality plus dense class gives almost-everywhere convergence"; Lebesgue points; and absolute continuity.

History

Lebesgue proved the one-dimensional differentiation theorem in 1904 and the version for averages in several dimensions in 1910. Giuseppe Vitali's covering theorem appeared in 1908. Dmitri Egorov proved his theorem in 1911, and his student Nikolai Lusin his in 1912. G. H. Hardy and J. E. Littlewood introduced the maximal function in 1930, in a paper motivated by questions about averages of sequences, which they illustrated with a cricketer's batting averages. Cantor described his function in 1884, and Lebesgue used it as a counterexample to the fundamental theorem of calculus for continuous functions.

Recall Where we stand

Functions can converge uniformly, almost everywhere, in L1L^1, in measure or almost uniformly. L1L^1 convergence implies convergence in measure, and a subsequence then converges almost everywhere; the typewriter shows that the full sequence need not converge anywhere. Egorov and Lusin make "nearly uniform" and "nearly continuous" precise. The Vitali covering lemma gives the Hardy–Littlewood maximal inequality, and a maximal inequality plus a dense class gives the Lebesgue differentiation theorem: averages over shrinking balls recover an integrable function almost everywhere. 3A.7 Lᵖ Spaces and Jensen’s Inequality introduces the LpL^p spaces, proves the inequalities of Hölder, Minkowski and Jensen, and shows the spaces are complete.

Exercises

Exercise 6.10 Sorting the examples

For each sequence on [0,1][0, 1], decide whether it converges to 00 uniformly, almost everywhere, in L1L^1, and in measure: (a) xnx^n; (b) n 1[0,1/n]n\,1_{[0, 1/n]}; (c) n 1[0,1/n]\sqrt n\,1_{[0, 1/n]}; (d) the typewriter sequence; (e) 1[0,1/n]1_{[0, 1/n]}.

Solution

(a) a.e., L1L^1, in measure; not uniformly. (b) a.e. (except at 00), in measure; not L1L^1 (∫=1\int = 1), not uniform. (c) a.e., in measure, and in L1L^1 (∫=n−1/2\int = n^{-1/2}); not uniform. (d) L1L^1 and in measure only. (e) a.e., L1L^1, in measure; not uniform.

Exercise 6.11 A good subsequence of the typewriter

Find a subsequence of the typewriter sequence that converges to 00 almost everywhere, and identify the exceptional set.

Solution

Take the first function in each row, 1[0,2−k]1_{[0, 2^{-k}]}. It converges to 00 at every x>0x > 0; the exceptional set is {0}\{0\}.

Exercise 6.12 The maximal function isn't integrable

Let f=1[−1,1]f = 1_{[-1, 1]} on R\mathbb{R}. Compute Mf(x)Mf(x) for ∣x∣>1|x| > 1 and show it is comparable to 1∣x∣\frac{1}{|x|}. Deduce Mf∉L1Mf \notin L^1, and check the weak-type bound m({Mf>λ})≤3⋅2λm(\{Mf > \lambda\}) \leq \frac{3\cdot2}{\lambda} directly.

Solution

For x>1x > 1 and the interval of radius rr centred at xx: if r≤x−1r \leq x - 1 it misses [−1,1][-1, 1]; if x−1<r≤x+1x - 1 < r \leq x + 1 the average is r−(x−1)2r\frac{r - (x - 1)}{2r}, increasing in rr; if r≥x+1r \geq x + 1 it is 22r\frac{2}{2r}, decreasing. So the best radius is r=x+1r = x + 1 and Mf(x)=1x+1Mf(x) = \frac{1}{x + 1} (similarly for x<−1x < -1), which is not integrable. For λ<1\lambda < 1, {Mf>λ}\{Mf > \lambda\} is the interval ∣x∣<1λ−1|x| < \frac1\lambda - 1, of length less than 2λ\frac2\lambda, within the bound 6λ\frac6\lambda.

Exercise 6.13 Density points

Let E⊆RE \subseteq \mathbb{R} be measurable with m(E∩I)≤12m(I)m(E \cap I) \leq \frac12 m(I) for every interval II. Show that m(E)=0m(E) = 0. (Use density points.) Can a measurable set meet every interval in exactly half its length?

Solution

If m(E)>0m(E) > 0, almost every point of EE has density 11, so for small intervals around such a point m(E∩I)>12m(I)m(E \cap I) > \frac12m(I). Contradiction. So no: such a set would have m(E)>0m(E) > 0 and also violate the density theorem at its density points.

Exercise 6.14 The Cantor function

(a) Define cc on CC by writing x∈Cx \in C in ternary with digits 0,20, 2, halving each digit, and reading the result in binary; extend to [0,1][0, 1] by making it constant on each removed interval. Show cc is continuous and increasing. (b) Show that cc maps CC, a null set, onto [0,1][0, 1]. So a continuous function can map a set of measure zero onto a set of positive measure, which a Lipschitz function can't (Exercise 6.15).

Solution

(b) first: every y∈[0,1]y \in [0, 1] has a binary expansion 0.b1b2…0.b_1b_2\ldots, and the point x=∑2bk3−kx = \sum 2b_k3^{-k} of CC maps to it, so c(C)=[0,1]c(C) = [0, 1]. (a) For x<x′x < x' in CC, their ternary expansions (digits 0,20, 2) first differ at some place where xx has 00 and x′x' has 22; the binary images then satisfy c(x)≤c(x′)c(x) \leq c(x') (equality only for the two endpoints of a removed interval, such as 0.0222…3=130.0222\ldots_3 = \frac13 and 0.23=230.2_3 = \frac23, which both map to 12\frac12). That is also why the extension, constant on each removed interval, is well defined and increasing. An increasing function on [0,1][0, 1] whose image is the whole interval [0,1][0, 1] has no jumps (a jump would skip the values in between), so it is continuous (2A.9 Continuous Functions).

Exercise 6.15 Lipschitz maps preserve null sets

Let ϕ:Rd→Rd\phi : \mathbb{R}^d \to \mathbb{R}^d be Lipschitz with constant LL. Show that if m(N)=0m(N) = 0 then m(ϕ(N))=0m(\phi(N)) = 0. (A ball of radius rr maps into a ball of radius LrLr; cover NN by small cubes.) This is why the change-of-variables formula (3A.5 Product Measures and Change of Variables) and Sard's theorem (7A.8 Smooth Topology) can ignore null sets.

Solution

Given ε\varepsilon, cover NN by cubes QkQ_k with ∑m(Qk)<ε\sum m(Q_k) < \varepsilon (any box can be cut into cubes with nearly the same total volume). A cube of side ss lies in a ball of radius d2s\frac{\sqrt d}{2}s, whose image lies in a ball of radius Ld2s\frac{L\sqrt d}{2}s, of volume CdLdsd=CdLd m(Qk)C_dL^ds^d = C_dL^d\,m(Q_k) with Cd=ωd(d/2)dC_d = \omega_d(\sqrt d/2)^d. So m∗(ϕ(N))≤CdLdεm^*(\phi(N)) \leq C_dL^d\varepsilon for every ε\varepsilon.

Exercise 6.16 Egorov in action

On [0,1][0, 1], xn→0x^n \to 0 almost everywhere. For a given δ∈(0,1)\delta \in (0, 1), find an explicit set EE with m(E)=δm(E) = \delta outside which the convergence is uniform. Why can't EE be taken to be empty?

Solution

E=(1−δ,1]E = (1 - \delta, 1]: on [0,1−δ][0, 1 - \delta], sup⁡xn=(1−δ)n→0\sup x^n = (1 - \delta)^n \to 0. It can't be empty because the convergence fails at x=1x = 1 and is not uniform on [0,1)[0, 1) (the sup of xnx^n there is 11).

Exercise 6.17 Rehearsal: packing and covering numbers

Let XX be a subset of Rd\mathbb{R}^d, and let x1,…,xNx_1, \ldots, x_N be a maximal set of points of XX with ∣xi−xj∣≥ε|x_i - x_j| \geq \varepsilon for i≠ji \neq j (no more points of XX can be added). (a) Show that the balls B(xi,ε)B(x_i, \varepsilon) cover XX, so the points form an ε\varepsilon-net (2B.3 Compactness). (b) Show that the balls B(xi,ε/2)B(x_i, \varepsilon/2) are disjoint. (c) If X⊆B(0,R)X \subseteq B(0, R), deduce N≤(2R+εε)dN \leq \big(\frac{2R + \varepsilon}{\varepsilon}\big)^d by comparing volumes.

In 9B.2 Volume Comparison the volume comparison in (c) is replaced by Bishop–Gromov: on a manifold with Ric≥−(n−1)\mathrm{Ric} \geq -(n-1), the ratio vol B(x,R)/vol B(xi,ε/2)\mathrm{vol}\,B(x, R)/\mathrm{vol}\,B(x_i, \varepsilon/2) is bounded by a constant depending only on nn, RR and ε\varepsilon. That gives a bound on NN independent of the manifold, the uniform total boundedness behind Gromov's compactness theorem (9B.4 Convergence of Manifolds).

Solution

(a) If some x∈Xx \in X were at distance ≥ε\geq \varepsilon from all xix_i, it could be added, contradicting maximality. (b) If B(xi,ε/2)B(x_i, \varepsilon/2) and B(xj,ε/2)B(x_j, \varepsilon/2) met, ∣xi−xj∣<ε|x_i - x_j| < \varepsilon. (c) The NN disjoint balls of radius ε/2\varepsilon/2 lie in B(0,R+ε/2)B(0, R + \varepsilon/2), so Nωd(ε/2)d≤ωd(R+ε/2)dN\omega_d(\varepsilon/2)^d \leq \omega_d(R + \varepsilon/2)^d.

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