Book 3A

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

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

Lebesgue Measure

Outer measure, measurable sets, null sets and the Cantor set.

51 min read · Updated Nov 18, 2026

Read with Tao, An Introduction to Measure Theory, §1.2 "Lebesgue measure": properties of Lebesgue outer measure, Lebesgue measurability, and non-measurable sets. The proofs of Lemmas 1.2.5–1.2.15 are worth working through once; this chapter gives their architecture and the parts that teach a technique.

In this chapter · 10 sections
  1. 2.1From what a size should be to Lebesgue's construction
  2. 2.2Probability zero is not impossible
  3. 2.3Lebesgue outer measure
  4. 2.3.1A few outer measures by hand
  5. 2.3.2Where additivity fails, concretely
  6. 2.4Measurable sets
  7. 2.4.1Why "countable" and not "any number"
  8. 2.4.2Boxes, cubes or balls
  9. 2.4.3Carathéodory's criterion
  10. 2.5Why the measurable sets behave
  11. 2.5.1Continuity of measure
  12. 2.5.2Measurable sets are nearly simple
  13. 2.5.3Borel sets, and how measurable sets relate to them
  14. 2.5.4Completeness of Lebesgue measure
  15. 2.6Null sets and "almost everywhere"
  16. 2.6.1Measure and topology disagree
  17. 2.6.2Infinitely many coin tosses
  18. 2.6.3Measure on the circle and the torus
  19. 2.7The Cantor set, thin and fat
  20. 2.7.1The Cantor function
  21. 2.7.2How linear maps change measure
  22. 2.8From measurable sets to integrals
  23. 2.8.1Two consequences of regularity
  24. 2.9History
  25. 2.10Exercises
  26. ↗Free resources

3A.1 The Problem of Measure found the problem: Jordan measure approximates a set by finitely many boxes, so it can't see countable sets, and it can't even measure some open sets. Lebesgue's fix is a single change. Approximate from outside by countably many boxes. The resulting outer measure is defined for every set; on a very large class of sets, the Lebesgue measurable ones, it is countably additive. That class contains every open set, every closed set, every set of outer measure zero, and everything that can be built from these by countable unions, intersections and complements. In practice, every set you will meet.

Two ideas from this chapter are used constantly afterwards. The first is null sets and the phrase almost everywhere: a property that holds except on a set of measure zero is, for the purposes of integration, as good as true everywhere. The second is that measure and topology measure different things. The Cantor set is uncountable but has measure zero; a "fat" Cantor set contains no interval at all but has positive measure.

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

  • compute Lebesgue outer measures of simple sets, and prove that countable sets are null;
  • state the definition of Lebesgue measurability, list the operations under which measurable sets are closed, and prove that list;
  • use countable additivity and its consequences, continuity from below and above;
  • work with null sets and "almost everywhere", and explain why probability zero doesn't mean impossible;
  • construct the Cantor set and a fat Cantor set and compute their measures.

From what a size should be to Lebesgue's construction

3A.1 The Problem of Measure set out the wishes, a size that is countably additive, translation invariant and normalised, and proved that they cannot all hold on every subset of R\mathbb{R}. It also showed exactly where Jordan's elementary theory stops: the rationals in [0,1][0, 1] and a small dense open set are both judged to have Jordan outer measure 11, because a finite union of boxes covering a dense set must cover its closure. It ended by naming the repair, countable covers, and this chapter carries it out.

A warm-up shows how much the one change achieves, using nothing but geometric series. Take the dense open set U=(0,1)∩⋃nInU = (0, 1)\cap\bigcup_nI_n of 3A.1 The Problem of Measure, with InI_n centred at the nn-th rational and of length ε2−n\varepsilon2^{-n}. With countably many intervals allowed in a cover, the intervals InI_n themselves cover UU, with total length ∑nε2−n=ε\sum_n\varepsilon2^{-n} = \varepsilon. So the countable-cover size of UU is at most ε\varepsilon, as it should be, and the size of its complement K=[0,1]∖UK = [0, 1]\setminus U, a closed set without interior, will turn out to be at least 1−ε1 - \varepsilon. Now take the middle-thirds construction of the Cantor set, met at the end of this chapter: after nn steps the remaining set is covered by 2n2^n intervals of length 3−n3^{-n}, total (23)n(\frac23)^n, so its countable-cover size is at most (23)n(\frac23)^n for every nn, hence zero. Two sets that Jordan's theory either cannot measure or measures only with effort are measured at once.

The chapter's work is to show that the new outer measure deserves its name. It must give boxes their volumes, which needs compactness; it must be additive on a large class of sets, which needs a definition of measurability and a proof that open, closed and null sets qualify; and it must satisfy countable additivity there, which is the property everything later depends on. What is new in method is the ε2−n\varepsilon2^{-n} trick, the countable version of the ε2\frac\varepsilon2 arguments of Book 2A, and the systematic use of approximation from inside by compact sets and from outside by open ones. The proofs are longer than in 3A.1 The Problem of Measure, but each step is elementary, and the same moves recur in every later construction of a measure, including the Riemannian volume of 9A.1 Riemannian Metrics and Model Spaces.

Probability zero is not impossible

In the world Model A random point on the diagonal

Choose a point uniformly at random in the unit square [0,1]2[0, 1]^2, so that the probability of landing in a region is its area. The probability of landing exactly on the diagonal {x=y}\{x = y\} is its area, which is 00: the diagonal can be covered by NN squares of side 1N\frac1N, of total area 1N\frac1N, for every NN. Yet the diagonal is not empty, and the point can land on it. The same is true of every single point: each has probability 00, and some point is chosen.

So "probability zero" can't mean "impossible", and "probability one" can't mean "certain". It means almost surely: true except on a set of measure zero. This is the precise sense of statements like "almost every initial condition leads to the same long-run behaviour" in dynamics, "almost every number has decimal digits in which each digit occurs one tenth of the time" (Émile Borel's normal number theorem of 1909), or, in 7A.8 Smooth Topology, Sard's theorem: almost every value of a smooth map is a regular value. Measure theory turns "almost all" from an intuition into a definition, and lets you ignore the exceptional set with a clear conscience.

Lebesgue outer measure

Definition 2.1 Lebesgue outer measure

For any E⊆RdE \subseteq \mathbb{R}^d,

m∗(E)=inf⁡{∑n=1∞∣Bn∣  :  B1,B2,… boxes with E⊆⋃nBn}∈[0,+∞].m^*(E) = \inf\Big\{\sum_{n=1}^\infty|B_n| \;:\; B_1, B_2, \ldots \text{ boxes with } E \subseteq \bigcup_n B_n\Big\} \in [0, +\infty].

The only difference from Jordan outer measure is "countably many boxes" in place of "finitely many". It changes everything at once.

Example 2.2 Countable sets have outer measure zero

Let E={x1,x2,…}E = \{x_1, x_2, \ldots\} be countable and ε>0\varepsilon > 0. Cover xnx_n by a box of volume ε2−n\varepsilon 2^{-n}. The total volume is ε\varepsilon, so m∗(E)≤εm^*(E) \leq \varepsilon for every ε\varepsilon, and m∗(E)=0m^*(E) = 0. In particular m∗(Q∩[0,1])=0m^*(\mathbb{Q} \cap [0, 1]) = 0, where Jordan outer measure gave 11 (3A.1 The Problem of Measure).

Figure 2.1. Covering the rationals q1,q2,q3,…q_1, q_2, q_3, \ldots in [0,1][0, 1] by intervals of lengths ε2,ε4,ε8,…\frac\varepsilon2, \frac\varepsilon4, \frac\varepsilon8, \ldots, total ε\varepsilon. Every rational is covered, so Q∩[0,1]\mathbb{Q} \cap [0, 1] has outer measure at most ε\varepsilon, for every ε>0\varepsilon > 0.

The basic properties of m∗m^* hold for all sets.

Proposition 2.3 The outer measure axioms
  1. m∗(∅)=0m^*(\varnothing) = 0.
  2. (Monotonicity) If E⊆FE \subseteq F then m∗(E)≤m∗(F)m^*(E) \leq m^*(F).
  3. (Countable subadditivity) m∗(⋃nEn)≤∑nm∗(En)m^*\big(\bigcup_n E_n\big) \leq \sum_n m^*(E_n) for any sets E1,E2,…E_1, E_2, \ldots

Proof. (1) and (2) are immediate from the definition. For (3), we may assume the right side is finite. Given ε>0\varepsilon > 0, cover each EnE_n by boxes Bn,1,Bn,2,…B_{n,1}, B_{n,2}, \ldots with ∑k∣Bn,k∣≤m∗(En)+ε2−n\sum_k|B_{n,k}| \leq m^*(E_n) + \varepsilon 2^{-n}. All the boxes Bn,kB_{n,k} together (countably many, 2A.8 Infinite Sets) cover ⋃nEn\bigcup_nE_n, with total volume at most ∑nm∗(En)+ε\sum_nm^*(E_n) + \varepsilon.

The proof uses an ε/2ⁿ trick, splitting an error budget ε\varepsilon into countably many pieces that add up to ε\varepsilon. It is the countable version of the ε/2 trick of 2A.5 Quantifiers and the Shape of a Proof, and it appears in nearly every proof of this book.

Next, outer measure gives boxes the right size. This is not obvious, and it is where compactness enters.

Proposition 2.4 Outer measure of a box

For every box BB, m∗(B)=∣B∣m^*(B) = |B|. More generally, m∗(E)=m(E)m^*(E) = m(E) for every elementary set EE, and m∗m^* agrees with Jordan measure on Jordan measurable sets.

Proof. m∗(B)≤∣B∣m^*(B) \leq |B| since BB covers itself. For the reverse, take a closed box BB first. Suppose boxes BnB_n cover BB and fix ε>0\varepsilon > 0. Enlarge each BnB_n to an open box Bn′B_n' with ∣Bn′∣≤∣Bn∣+ε2−n|B_n'| \leq |B_n| + \varepsilon 2^{-n}. The open boxes cover the compact set BB, so finitely many of them do (2B.3 Compactness, Heine–Borel). For finitely many boxes, elementary measure is subadditive, so ∣B∣≤∑n≤N∣Bn′∣≤∑n∣Bn∣+ε|B| \leq \sum_{n \leq N}|B_n'| \leq \sum_n|B_n| + \varepsilon. Taking the infimum over covers and letting ε→0\varepsilon \to 0 gives ∣B∣≤m∗(B)|B| \leq m^*(B). A general box differs from its closure by a set of outer measure zero (its faces), and an elementary set is a finite union of disjoint boxes; the rest is Tao, Lemma 1.2.6.

Compactness converted a countable cover into a finite one, and finite covers are what elementary measure understands. Without that step there would be nothing to prevent the ε/2n\varepsilon/2^n covers of the rationals from also "covering" an interval with total length ε\varepsilon, which is exactly what happens over Q\mathbb{Q} (whose closed bounded subsets need not be compact).

Outer measure is not additive on all sets: Vitali's construction (3A.1 The Problem of Measure) produces disjoint sets AA, BB with m∗(A∪B)<m∗(A)+m∗(B)m^*(A \cup B) < m^*(A) + m^*(B) (Tao, Exercise 1.2.26). So we restrict to sets where additivity does hold.

A few outer measures by hand

The definition can be used directly on simple sets, and three computations fix the ideas. The irrationals in [0,1][0, 1]. Since the rationals have outer measure 00, and [0,1][0, 1] is the union of the rationals and the irrationals in it, subadditivity gives 1≤0+m∗(irrationals)1 \leq 0 + m^*(\text{irrationals}), so the irrationals have outer measure 11: removing a countable set changes nothing. A circle in the plane. The unit circle lies in the union of NN squares of side 2πN\frac{2\pi}{N} centred at equally spaced points on it, of total area N⋅4π2N2→0N\cdot\frac{4\pi^2}{N^2} \to 0, so the circle is null. A segment in R3\mathbb{R}^3, or a disc in R3\mathbb{R}^3. The same covering argument, with cubes, shows that every set of lower dimension, a curve or a surface, is null in the ambient space. Lebesgue measure on Rd\mathbb{R}^d sees only the dd-dimensional bulk of a set.

Where additivity fails, concretely

The failure of additivity for outer measure can be seen on the Vitali set V⊆[0,1]V \subseteq [0, 1] of 3A.1 The Problem of Measure and its disjoint rational translates Vn=V+qnV_n = V + q_n, qnq_n running through the rationals in [−1,1][-1, 1]. Outer measure is translation invariant, so every VnV_n has the same outer measure m∗(V)m^*(V). It is positive: the VnV_n cover [0,1][0, 1], so by subadditivity 1≤∑nm∗(Vn)1 \leq \sum_nm^*(V_n), which would be 00 if m∗(V)m^*(V) were 00. But the VnV_n all lie in [−1,2][-1, 2], of outer measure 33, so if outer measure were additive on them, ∑nm∗(Vn)≤3\sum_nm^*(V_n) \leq 3, impossible for infinitely many equal positive terms. So for some finite collection of the VnV_n, the outer measure of their union is strictly less than the sum of their outer measures. Outer measure overcounts when the pieces are interleaved so finely that no cover can separate them, and the measurable sets are exactly those that never interleave with anything in this way.

Measurable sets

Definition 2.5 Lebesgue measurability

A set E⊆RdE \subseteq \mathbb{R}^d is Lebesgue measurable if for every ε>0\varepsilon > 0 there is an open set U⊇EU \supseteq E with m∗(U∖E)≤εm^*(U \setminus E) \leq \varepsilon. Its Lebesgue measure is then m(E)=m∗(E)m(E) = m^*(E).

A measurable set is one that can be approximated from outside by open sets, with an error of small outer measure. This is Tao's definition, and it makes the following list, the working toolkit, natural to prove.

Theorem 2.6 What is measurable, and what measure does
  1. Open sets, closed sets and null sets (sets of outer measure zero) are measurable.
  2. The complement of a measurable set is measurable, and so are countable unions and countable intersections of measurable sets.
  3. (Countable additivity) If E1,E2,…E_1, E_2, \ldots are disjoint and measurable, then m(⋃nEn)=∑nm(En)m\big(\bigcup_nE_n\big) = \sum_nm(E_n).
  4. (Translation invariance and scaling) If EE is measurable, so are E+xE + x and λE\lambda E, with m(E+x)=m(E)m(E + x) = m(E) and m(λE)=∣λ∣dm(E)m(\lambda E) = |\lambda|^dm(E).

The proof is the subject of the next section. It is long but every step is elementary, and it is worth reading once in full because its moves (dyadic cubes, sets at positive distance, approximation from inside and outside) are the basic moves of the whole subject.

The class of measurable sets is therefore a σ-algebra: it contains ∅\varnothing and is closed under complements and countable unions. The smallest σ-algebra containing the open sets is the class of Borel sets. Every Borel set is Lebesgue measurable, but not conversely: Lebesgue measurable sets are exactly the sets that differ from a Borel set by a null set, and there are more of them.

Why "countable" and not "any number"

Every set is the union of its points, and every point is null, so additivity over uncountable unions would make every set null. The theory must stop at countable unions, and the boundary is sharp. A countable union of null sets is null, by subadditivity; an uncountable union of null sets can be anything, from the Cantor set (null) to the interval (not). This is why the Cantor set's being uncountable did not, by itself, say anything about its measure, and why its measure had to be computed from its construction. It is also why "almost everywhere" statements can be combined only countably often: if each of countably many properties holds almost everywhere, all of them hold together almost everywhere, but the same is false for uncountably many.

Boxes, cubes or balls

The definition covers sets by boxes, but the choice of shape does not matter much, and knowing this frees later arguments. Covers by dyadic cubes alone give the same outer measure: any box can be covered by finitely many dyadic cubes of a fine generation with total volume exceeding the box's by as little as desired, so an ε\varepsilon-efficient cover by boxes becomes a 2ε2\varepsilon-efficient cover by dyadic cubes. Covers by balls also give the same outer measure, though the proof is harder, since balls cannot tile space; it rests on the Vitali covering lemma of 3A.6 Modes of Convergence and Differentiation, which shows that an open set can be filled, up to a null set, by countably many disjoint balls. Dyadic cubes are convenient for proofs, because two of them are either nested or have disjoint interiors; balls are convenient for geometry, because they are defined by the metric alone, which is how measure is built on a Riemannian manifold, where boxes have no meaning.

Carathéodory's criterion

Tao's definition, approximation from outside by open sets, uses the topology of Rd\mathbb{R}^d. There is an equivalent definition that uses only the outer measure, due to Constantin Carathéodory, and it is the one that generalises to abstract measure spaces in 3A.4 Measures, Probability and Weights. A set EE is Carathéodory measurable if it splits every set additively:

m∗(A)=m∗(A∩E)+m∗(A∖E)for every A⊆Rd.m^*(A) = m^*(A\cap E) + m^*(A\setminus E)\qquad\text{for every } A \subseteq \mathbb{R}^d .

The inequality ≤\leq always holds, by subadditivity, so the condition is the reverse inequality. It says that EE cuts every test set AA cleanly, with no overlap in the outer measure of the two pieces. A Vitali set fails it: tested against a suitable interval, its two pieces have outer measures that add up to more than the interval's length.

For Lebesgue outer measure the two definitions agree, and Carathéodory's theorem says more: for any function m∗m^* on all subsets of a set that satisfies the outer measure axioms above, the Carathéodory measurable sets form a σ-algebra on which m∗m^* is countably additive. That is how measures are built in general: first an outer measure, from some notion of covering, and then the measurable sets, by Carathéodory's criterion. Hausdorff measure, the Riemannian volume and the probability measures of 3A.4 Measures, Probability and Weights all arise this way.

Why the measurable sets behave

This section proves Theorem 2.6. Three lemmas come first.

Lemma 2.7 Open sets are unions of cubes

Every open set U⊆RdU \subseteq \mathbb{R}^d is a countable union of closed cubes with pairwise disjoint interiors.

Proof. A dyadic cube of generation k≥0k \geq 0 is a cube ∏i[ji2k,ji+12k]\prod_i[\frac{j_i}{2^k}, \frac{j_i + 1}{2^k}] with integers jij_i. There are countably many, and two of them either have disjoint interiors or one contains the other (the dyadic grids are nested). Every x∈Ux \in U lies in some dyadic cube inside UU: UU contains a ball around xx, and a dyadic cube of small side containing xx fits in it. Let Q\mathcal Q be the dyadic cubes of side at most 11 that lie in UU and are maximal: not contained in a larger dyadic cube of side at most 11 lying in UU. Each cube in UU lies in a maximal one (there are only finitely many larger dyadic cubes of side at most 11 containing it), so Q\mathcal Q covers UU, and two maximal cubes can't be nested, so their interiors are disjoint.

Lemma 2.8 Almost disjoint boxes

If B1,B2,…B_1, B_2, \ldots are boxes with pairwise disjoint interiors, then m∗(⋃nBn)=∑n∣Bn∣m^*\big(\bigcup_nB_n\big) = \sum_n|B_n|.

Proof. "≤\leq" is subadditivity. For "≥\geq", fix NN. The finite union B1∪⋯∪BNB_1 \cup \cdots \cup B_N is elementary, and its elementary measure is ∑n≤N∣Bn∣\sum_{n \leq N}|B_n| (the overlaps lie in faces, which have measure zero). By Proposition 2.4 and monotonicity, m∗(⋃nBn)≥∑n≤N∣Bn∣m^*\big(\bigcup_nB_n\big) \geq \sum_{n \leq N}|B_n|. Let N→∞N \to \infty.

So the measure of an open set is the total volume of the cubes of Lemma 2.7: on the line this is the sum of the lengths of its component intervals (2B.4 Connectedness).

Lemma 2.9 Sets at positive distance add

If E,F⊆RdE, F \subseteq \mathbb{R}^d satisfy dist⁡(E,F)=inf⁡{∣x−y∣:x∈E,y∈F}>0\operatorname{dist}(E, F) = \inf\{|x - y| : x \in E, y \in F\} > 0, then m∗(E∪F)=m∗(E)+m∗(F)m^*(E \cup F) = m^*(E) + m^*(F).

Proof. "≤\leq" is subadditivity. Given a cover of E∪FE \cup F by boxes BnB_n, cut each box into finitely many smaller boxes of diameter less than dist⁡(E,F)\operatorname{dist}(E, F); the total volume doesn't change. Each small box now meets at most one of EE and FF. The small boxes meeting EE cover EE, and those meeting FF cover FF, so m∗(E)+m∗(F)≤∑n∣Bn∣m^*(E) + m^*(F) \leq \sum_n|B_n|. Take the infimum over covers.

Disjoint compact sets are at positive distance (2B.3 Compactness, nearest points), so outer measure is additive on them. Now the proof of the theorem.

Proof (The measurability theorem). Open sets and null sets. An open UU is measurable (take UU itself). If m∗(N)=0m^*(N) = 0, cover NN by boxes of total volume at most ε/2\varepsilon/2, and enlarge each slightly to an open box so the total is at most ε\varepsilon; the union UU is open, contains NN, and m∗(U∖N)≤m∗(U)≤εm^*(U \setminus N) \leq m^*(U) \leq \varepsilon.

Countable unions. Let E=⋃nEnE = \bigcup_nE_n with each EnE_n measurable, and choose open Un⊇EnU_n \supseteq E_n with m∗(Un∖En)≤ε2−nm^*(U_n \setminus E_n) \leq \varepsilon 2^{-n}. Then U=⋃UnU = \bigcup U_n is open, contains EE, and U∖E⊆⋃n(Un∖En)U \setminus E \subseteq \bigcup_n(U_n \setminus E_n), so m∗(U∖E)≤εm^*(U \setminus E) \leq \varepsilon.

Compact sets. Let KK be compact, so m∗(K)<∞m^*(K) < \infty. Cover KK by open boxes of total volume at most m∗(K)+εm^*(K) + \varepsilon, and let UU be their union: an open set with m∗(U)≤m∗(K)+εm^*(U) \leq m^*(K) + \varepsilon. By Lemma 2.7, U∖KU \setminus K (which is open) is a union of closed cubes Q1,Q2,…Q_1, Q_2, \ldots with disjoint interiors. For each NN, the cubes Q1,…,QNQ_1, \dots, Q_N form a compact set disjoint from KK, so by Lemma 2.9 and Lemma 2.8,

m∗(K)+∑n≤N∣Qn∣=m∗(K∪⋃n≤NQn)≤m∗(U)≤m∗(K)+ε.m^*(K) + \sum_{n \leq N}|Q_n| = m^*\Big(K \cup \bigcup_{n\leq N}Q_n\Big) \leq m^*(U) \leq m^*(K) + \varepsilon.

So ∑n∣Qn∣≤ε\sum_n|Q_n| \leq \varepsilon, and m∗(U∖K)≤εm^*(U \setminus K) \leq \varepsilon.

Closed sets. A closed set is the countable union of the compact sets F∩[−k,k]dF \cap [-k, k]^d, so it is measurable by the previous two steps.

Complements. Let EE be measurable. For each nn choose an open Un⊇EU_n \supseteq E with m∗(Un∖E)≤1nm^*(U_n \setminus E) \leq \frac1n. Its complement Fn=Rd∖UnF_n = \mathbb{R}^d \setminus U_n is closed and lies in EcE^c. Let F=⋃nFnF = \bigcup_nF_n, measurable as a countable union of closed sets. Then Ec∖F⊆Un∖EE^c \setminus F \subseteq U_n \setminus E for every nn, so Ec∖FE^c \setminus F is null. Hence Ec=F∪(Ec∖F)E^c = F \cup (E^c \setminus F) is a union of two measurable sets. Countable intersections follow by De Morgan's laws (2A.2 Sets, Functions and Equivalence).

Countable additivity. "≤\leq" is subadditivity. For "≥\geq", consider three cases. (i) If the EnE_n are compact, any finitely many of them are pairwise at positive distance, so by Lemma 2.9 m(⋃n≤NEn)=∑n≤Nm(En)m\big(\bigcup_{n\leq N}E_n\big) = \sum_{n \leq N}m(E_n), and monotonicity gives m(⋃nEn)≥∑n≤Nm(En)m\big(\bigcup_nE_n\big) \geq \sum_{n\leq N}m(E_n) for every NN. (ii) If the EnE_n are bounded, approximate each from inside by a compact set: if EE is bounded and measurable, put it in a closed cube QQ, choose an open V⊇Q∖EV \supseteq Q \setminus E with m∗(V∖(Q∖E))≤δm^*(V \setminus (Q \setminus E)) \leq \delta, and let K=Q∖VK = Q \setminus V; then KK is compact, K⊆EK \subseteq E, and E∖K=E∩V⊆V∖(Q∖E)E \setminus K = E \cap V \subseteq V \setminus (Q \setminus E) has measure at most δ\delta. Choosing compact Kn⊆EnK_n \subseteq E_n with m(En∖Kn)≤ε2−nm(E_n \setminus K_n) \leq \varepsilon 2^{-n}, case (i) gives m(⋃En)≥m(⋃Kn)=∑m(Kn)≥∑m(En)−εm\big(\bigcup E_n\big) \geq m\big(\bigcup K_n\big) = \sum m(K_n) \geq \sum m(E_n) - \varepsilon. (iii) In general, cut each EnE_n into the bounded pieces En∩AkE_n \cap A_k, where Ak={x:k≤∣x∣∞<k+1}A_k = \{x : k \leq |x|_\infty < k + 1\}; these form a countable disjoint family of bounded measurable sets, and sums of non-negative terms can be rearranged freely (2A.7 Series).

Translations and dilations. A box translated by xx or scaled by λ\lambda is a box, of volume ∣B∣|B| or ∣λ∣d∣B∣|\lambda|^d|B|, so covers correspond and m∗(E+x)=m∗(E)m^*(E + x) = m^*(E), m∗(λE)=∣λ∣dm∗(E)m^*(\lambda E) = |\lambda|^dm^*(E). Translating or scaling an open U⊇EU \supseteq E gives an open set containing the image, with the difference translated or scaled too, so measurability is preserved.

Case (ii) of the last step proved inner regularity: a bounded measurable set contains compact sets of almost its full measure. That is the first bullet of the next subsection, now with proof.

Continuity of measure

Countable additivity has two immediate consequences that are used more often than additivity itself.

Corollary 2.10 Continuity from below and above

Let E1,E2,…E_1, E_2, \ldots be measurable.

  1. If E1⊆E2⊆⋯E_1 \subseteq E_2 \subseteq \cdots, then m(⋃nEn)=lim⁡n→∞m(En)m\big(\bigcup_nE_n\big) = \lim_{n\to\infty}m(E_n).
  2. If E1⊇E2⊇⋯E_1 \supseteq E_2 \supseteq \cdots and m(E1)<∞m(E_1) < \infty, then m(⋂nEn)=lim⁡n→∞m(En)m\big(\bigcap_nE_n\big) = \lim_{n\to\infty}m(E_n).

Proof. (1) Write ⋃En\bigcup E_n as the disjoint union of E1,E2∖E1,E3∖E2,…E_1, E_2 \setminus E_1, E_3 \setminus E_2, \ldots By countable additivity, its measure is lim⁡N(m(E1)+∑n=2Nm(En∖En−1))=lim⁡Nm(EN)\lim_N\big(m(E_1) + \sum_{n=2}^N m(E_n \setminus E_{n-1})\big) = \lim_Nm(E_N). (2) Apply (1) to the increasing sets E1∖EnE_1 \setminus E_n, whose union is E1∖⋂EnE_1 \setminus \bigcap E_n, and subtract from m(E1)<∞m(E_1) < \infty.

The finiteness hypothesis in (2) is needed: En=[n,∞)E_n = [n, \infty) decrease to the empty set, but each has infinite measure. That is the "escape to horizontal infinity" of 3A.3 The Lebesgue Integral in its simplest form.

Measurable sets are nearly simple

Lebesgue measurable sets can be wild, but they are always close to tame ones. Measurability says they are nearly open from outside. Equally (Tao, Exercises 1.2.7, 1.2.15 and 1.2.16):

  • (Inner regularity) m(E)=sup⁡{m(K):K⊆E compact}m(E) = \sup\{m(K) : K \subseteq E \text{ compact}\};
  • (Approximation by boxes) if m(E)<∞m(E) < \infty, then for every ε>0\varepsilon > 0 there is an elementary set AA (a finite union of boxes) with m∗(E △ A)≤εm^*(E \,\triangle\, A) \leq \varepsilon, where △\triangle is the symmetric difference.

The second statement is Littlewood's first principle: every measurable set is nearly a finite union of intervals. Its companions, that every measurable function is nearly continuous and every convergent sequence of measurable functions is nearly uniformly convergent, come in 3A.3 The Lebesgue Integral and 3A.6 Modes of Convergence and Differentiation. Together they are the reason measure theory is usable: prove a statement for boxes, continuous functions or uniform convergence, then pass to the general case through a small error.

Borel sets, and how measurable sets relate to them

The Borel sets can be organised by how many countable operations are needed to build them. Open and closed sets come first. Countable intersections of open sets are called GδG_\delta sets, and countable unions of closed sets FσF_\sigma sets. The rationals form an FσF_\sigma, a countable union of points, and the irrationals a GδG_\delta, the intersection of the open sets R∖{qn}\mathbb{R}\setminus\{q_n\}. The set of points where a function is continuous is always a GδG_\delta, and the set where a sequence of continuous functions converges is built in a few more steps. The hierarchy continues, and its every level is measurable.

Every Lebesgue measurable set is a Borel set up to a null set. If EE is measurable, choose open Un⊇EU_n \supseteq E with m∗(Un∖E)≤1nm^*(U_n\setminus E) \leq \frac1n; then G=⋂nUnG = \bigcap_nU_n is a GδG_\delta containing EE with m(G∖E)=0m(G\setminus E) = 0. From the inside, the closed sets FnF_n of the complement step of the proof give an FσF_\sigma inside EE with null difference. So EE is squeezed between an FσF_\sigma and a GδG_\delta of the same measure. The measurable sets that are not Borel exist, since there are more subsets of the Cantor set, all null and so measurable, than there are Borel sets, but they differ from Borel sets only on null sets, and integrals cannot tell the difference.

Completeness of Lebesgue measure

Every subset of a null set is measurable, by the first item of the theorem, since it has outer measure zero. A measure with this property is called complete. The Borel σ-algebra, with Lebesgue measure restricted to it, is not complete: the Cantor set is a Borel null set, and it has subsets that are not Borel, for the cardinality reason above. Lebesgue measure is the completion of its restriction to Borel sets: the measurable sets are exactly the sets that differ from a Borel set by a subset of a Borel null set. Completeness is a convenience rather than a necessity, but it is the reason that statements like "f=gf = g almost everywhere and ff is measurable, so gg is measurable" need no further argument in this book.

Null sets and "almost everywhere"

A null set is a set of measure zero. Countable unions of null sets are null (subadditivity), and subsets of null sets are null (monotonicity) and measurable.

Examples beyond countable sets: a line segment in R2\mathbb{R}^2 (cover it by NN squares of side 1N\frac1N); more generally the graph of a continuous function (3A.1 The Problem of Measure); any hyperplane, or any smooth hypersurface in Rd\mathbb{R}^d; the boundary of a ball. A (d−1)(d-1)-dimensional set is always negligible for dd-dimensional volume.

Definition 2.11 Almost everywhere

A property P(x)P(x) of points x∈Rdx \in \mathbb{R}^d holds almost everywhere (a.e.) if the set of xx where it fails is contained in a null set.

Two functions are equal almost everywhere if they differ only on a null set. Dirichlet's function (11 on rationals, 00 elsewhere) equals 00 almost everywhere. In 3A.3 The Lebesgue Integral such functions have the same integral, and in 3A.7 Lᵖ Spaces and Jensen’s Inequality they are regarded as the same element of a function space. This is the identification that makes the area distance ∫∣f−g∣\int|f - g| a genuine metric (2B.1 Metric Spaces).

In the world Model A sensor that samples on a null set

Suppose a sensor reports a signal only at rational times, a countable set (a thought experiment: real sensors sample at finitely many times, which is also a null set). Then the samples are blind to anything that happens on a set of measure zero: two signals that differ only at irrational times produce identical readings, and so do signals that differ on a Cantor set. Any conclusion about the whole signal from the samples must come from an assumption such as continuity, which forces the signal to be determined by its values on a dense set (2A.9 Continuous Functions), or a bound on how fast it can oscillate (the sampling theorem). This is the measure-theoretic side of why sampling theorems always come with hypotheses.

Where this goes "Almost every" in geometry

Many theorems in this guidebook hold for almost every point or almost every value, and are proved by showing the exceptions form a null set. Sard's theorem (7A.8 Smooth Topology) says the critical values of a smooth map form a null set, so almost every value is regular and the implicit function theorem (2B.9 The Inverse and Implicit Function Theorems) applies to almost every level set. On a Riemannian manifold, the cut locus of a point is a null set, so the distance function is smooth almost everywhere, and integrals involving it can be computed ignoring the cut locus (9A.3 Geodesics and the Exponential Map). This is used in the proof of Bishop–Gromov volume comparison (9B.2 Volume Comparison) and in Perelman's reduced volume (12A.5 Reduced Distance and Reduced Volume), where the reduced distance is smooth except on a set of measure zero.

Measure and topology disagree

Two notions of smallness are in play, and they are independent. A set is small topologically if it is nowhere dense, or a countable union of nowhere dense sets (meagre, in Baire's language, 4A.2 Baire Category and Its Consequences). It is small measure-theoretically if it is null. The dense open set of total length ε\varepsilon is large topologically, being open and dense, and small in measure. Its complement, and the fat Cantor set below, are nowhere dense and of positive measure. The extreme case is a theorem: R\mathbb{R} is the union of a meagre set and a null set. Take, for each kk, an open set UkU_k containing the rationals with m(Uk)<2−km(U_k) < 2^{-k}, as in the warm-up; then G=⋂kUkG = \bigcap_kU_k is a dense GδG_\delta, so its complement is meagre, and GG is null. The line splits into a piece that is negligible for topology and a piece that is negligible for measure. Which notion of "almost every" to use depends on the question, and this book, like Perelman's work, uses measure.

Infinitely many coin tosses

The model in the world box above, a point chosen uniformly at random, is also a model of infinitely many fair coin tosses. Write x∈[0,1]x \in [0, 1] in binary, x=0.b1b2b3…x = 0.b_1b_2b_3\ldots, and read the digit bnb_n as the nn-th toss. The set of xx whose first nn digits are a given string is an interval of length 2−n2^{-n}, so under Lebesgue measure each string of nn tosses has probability 2−n2^{-n}, exactly as for a fair coin. Events about infinitely many tosses become measurable sets, and their probabilities become Lebesgue measures. Émile Borel used this in 1909 to prove that almost every number is normal in base 22: the proportion of $1$s among its first nn binary digits tends to 12\frac12. The numbers that are not normal in base 22, such as every number whose binary expansion terminates, form a null set, though there are uncountably many of them: all numbers whose binary digits in odd positions are 00, for instance, an uncountable set of measure ∏n12=0\prod_n\frac12 = 0. Kolmogorov's probability theory, in 3A.4 Measures, Probability and Weights, generalises this dictionary to arbitrary random experiments.

Measure on the circle and the torus

The same construction measures subsets of the circle and the torus, which the Fourier series of 2B.7 Fourier Series and the First Heat Equation already used informally. The circle R/2πZ\mathbb{R}/2\pi\mathbb{Z} is measured by identifying it with the interval [0,2π)[0, 2\pi), and translation invariance on the line becomes rotation invariance on the circle. The torus Rd/Zd\mathbb{R}^d/\mathbb{Z}^d is measured through the unit cube, and translations of Rd\mathbb{R}^d become translations of the torus, which preserve the measure. These are the first examples of measures on spaces that are not subsets of Euclidean space, and the method, measure in a fundamental region and check that the identifications preserve it, is a first step towards the Riemannian volume, where the fundamental regions are coordinate charts.

The Cantor set, thin and fat

Example 2.12 The middle-thirds Cantor set

Start with C0=[0,1]C_0 = [0, 1]. Remove the open middle third to get C1=[0,13]∪[23,1]C_1 = [0, \tfrac13] \cup [\tfrac23, 1]. From each remaining interval remove its open middle third, and so on: CnC_n is a union of 2n2^n closed intervals of length 3−n3^{-n} (Figure 2.2). The Cantor set is C=⋂nCnC = \bigcap_nC_n.

  • Measure zero. C⊆CnC \subseteq C_n, so m(C)≤(2/3)nm(C) \leq (2/3)^n for every nn. Equivalently, the removed intervals have total length 13+29+427+⋯=1/31−2/3=1\frac13 + \frac29 + \frac4{27} + \cdots = \frac{1/3}{1 - 2/3} = 1.
  • Uncountable. A number in [0,1][0, 1] lies in CC exactly when it has a ternary (base 33) expansion using only the digits 00 and 22. Replacing each 22 by 11 and reading the result in binary maps CC onto [0,1][0, 1], which is uncountable (2A.8 Infinite Sets).
  • Compact, with no interior. CC is an intersection of closed sets inside [0,1][0, 1], hence compact; it contains no interval, since it contains no interval longer than 3−n3^{-n} for any nn.

So a set can be uncountable, the same cardinality as [0,1][0, 1], and still have measure zero. Cardinality and measure are different notions of size. (A third notion, Hausdorff dimension from 3A.1 The Problem of Measure, gives CC dimension log⁡2/log⁡3≈0.63\log 2/\log 3 \approx 0.63, between a countable set and an interval.)

Figure 2.2. Left: the middle-thirds Cantor set, levels 00 to 55; the remaining length (2/3)n(2/3)^n tends to 00. Right: a fat Cantor set, removing at stage nn the middle intervals of length 4−n4^{-n}; the removed length totals 12\tfrac12, so the limit set has measure 12\tfrac12, yet contains no interval.
Example 2.13 A fat Cantor set

Modify the construction: at stage nn remove, from the middle of each of the 2n−12^{n-1} remaining intervals, an open interval of length 4−n4^{-n} (one can check each remaining interval is long enough). The removed length is ∑n≥12n−14−n=12\sum_{n\geq1}2^{n-1}4^{-n} = \tfrac12, so the limit set FF has measure 12\tfrac12. But each remaining interval at stage nn has length less than 2−n2^{-n}, so FF contains no interval: it is closed, nowhere dense, and has positive measure.

The fat Cantor set is topologically small (it has empty interior and is nowhere dense) and measure-theoretically large. Its indicator function 1F1_F is discontinuous at every point of FF, a set of positive measure, and so it is not Riemann integrable (a bounded function is Riemann integrable exactly when its discontinuities form a null set, Lebesgue's criterion). Its complement [0,1]∖F[0, 1] \setminus F is an open set that is not Jordan measurable. In the Lebesgue theory both are perfectly measurable, with measure 12\tfrac12.

The Cantor function

The Cantor set carries a function that shows, in advance, what 3A.6 Modes of Convergence and Differentiation must handle. Define cc on [0,1][0, 1] by setting it equal to 12\frac12 on the removed middle third (13,23)(\frac13, \frac23), to 14\frac14 and 34\frac34 on the two middle thirds removed at the next stage, and so on, each removed interval getting the dyadic value halfway between its neighbours, and extend to the Cantor set by continuity. The result, the Cantor function or devil's staircase, is continuous and nondecreasing, rises from c(0)=0c(0) = 0 to c(1)=1c(1) = 1, and is constant on every removed interval. Since the removed intervals have total length 11, the derivative c′c' exists and equals 00 almost everywhere. Yet ∫01c′=0≠1=c(1)−c(0)\int_0^1c' = 0 \neq 1 = c(1) - c(0). The fundamental theorem of calculus fails for this continuous, monotone function, and the failure is concentrated on a null set. Which functions do satisfy the fundamental theorem is the question of absolute continuity, answered in 3A.6 Modes of Convergence and Differentiation with Lebesgue's differentiation theorem.

How linear maps change measure

The theorem gave translation invariance and scaling. More generally, for an invertible linear map TT of Rd\mathbb{R}^d, m(TE)=∣det⁡T∣ m(E)m(TE) = |\det T|\,m(E) for every measurable EE. For a diagonal map this is the scaling rule applied one coordinate at a time, for a rotation it says Lebesgue measure is rotation invariant, and every linear map is a product of maps of these kinds, by the singular value decomposition, which writes any linear map as a rotation, followed by a diagonal map, followed by another rotation; 1A.3 Determinants and Volume met the determinant as the factor by which a linear map scales volume. The determinant is the factor by which a linear map changes volume, which is the content of the change of variables formula of 3A.5 Product Measures and Change of Variables at the level of sets. On a Riemannian manifold the same fact, applied to the metric in coordinates, gives the factor det⁡g\sqrt{\det g} in the volume form.

From measurable sets to integrals

The chapter has built Lebesgue measure. Outer measure, defined for every set by countable covers, gives boxes their volumes; measurable sets, those nearly open from outside, form a σ-algebra containing every open, closed and null set; and on them, measure is countably additive and continuous along monotone sequences. What the chapter has not done is integrate anything.

The Dirichlet function of 3A.1 The Problem of Measure shows how close the integral now is. The region under its graph is the comb (Q∩[0,1])×[0,1](\mathbb{Q}\cap[0, 1])\times[0, 1] in the plane, a countable union of vertical segments, each null in R2\mathbb{R}^2. So the region is null, and if the integral of a non-negative function is the measure of the region under its graph, the Dirichlet function has integral 00, as the opening of 3A.1 The Problem of Measure demanded. The same reasoning applies to any function: its integral should be the two-dimensional measure of the region under it. Lebesgue organised this differently and more usefully. Instead of cutting the domain into intervals, as Riemann did, he cut the range into intervals and measured the sets {x:f(x)>t}\{x : f(x) > t\} where the function exceeds each level. Those sets must be measurable, which defines the measurable functions.

3A.3 The Lebesgue Integral builds the integral this way, first for simple functions, which take finitely many values on measurable sets, then for non-negative functions as suprema, and then proves the limit theorems that are the point of the whole construction: monotone convergence, Fatou's lemma and dominated convergence. It also catalogues the ways in which mass can escape in a limit, the phenomenon that the continuity from above in this chapter already met as [n,∞)[n, \infty) decreasing to the empty set. What to carry forward: outer measure and the ε2−n\varepsilon2^{-n} trick; measurability, by open approximation or Carathéodory's criterion; countable additivity and continuity from below and above; null sets and "almost everywhere"; the Cantor sets; and Littlewood's first principle.

Approximating the fat Cantor set. The two approximation principles can be watched on the fat Cantor set FF of measure 12\frac12. From outside, the stage-nn set FnF_n, a finite union of closed intervals, contains FF and has measure 12+∑k>n2k−14−k\frac12 + \sum_{k > n}2^{k-1}4^{-k}, which tends to 12\frac12; slightly enlarging its intervals gives open sets containing FF with measure as close to 12\frac12 as desired. From inside, FF is itself compact. And FnF_n is an elementary set with m(Fn△F)=m(Fn∖F)→0m(F_n\triangle F) = m(F_n\setminus F) \to 0: Littlewood's first principle in action. A set with no interior is still, in measure, almost a finite union of intervals, and that is all integration will need.

Two consequences of regularity

Approximation by compact and open sets has consequences that sound surprising. Lebesgue's density theorem, proved in 3A.6 Modes of Convergence and Differentiation, says that if EE is measurable, then for almost every x∈Ex \in E,

lim⁡r→0m(E∩(x−r,x+r))2r=1.\lim_{r\to0}\frac{m(E\cap(x - r, x + r))}{2r} = 1 .

Almost every point of a measurable set is surrounded, at small scales, almost entirely by the set. In particular no measurable set can occupy exactly half of every interval: its density would have to be 12\frac12 everywhere, but it is 11 at almost every point of the set and 00 at almost every point outside it. Measurable sets, however irregular, are locally either full or empty.

Steinhaus's theorem says that if m(E)>0m(E) > 0, then the set of differences E−E={x−y:x,y∈E}E - E = \{x - y : x, y \in E\} contains an interval around 00. The proof uses inner regularity: choose a compact K⊆EK \subseteq E and an open U⊇KU \supseteq K with m(U)<2m(K)m(U) < 2m(K). For ∣t∣|t| smaller than the distance from KK to the complement of UU, the translate K+tK + t lies in UU, and if it were disjoint from KK, the two would fill measure 2m(K)>m(U)2m(K) > m(U) inside UU. So K∩(K+t)≠∅K\cap(K + t) \neq \varnothing, which says t∈K−K⊆E−Et \in K - K \subseteq E - E. A set of positive measure, however scattered, cannot avoid all its own small translates.

History

Émile Borel (1898) defined measure for sets built from intervals by countable unions and complements, the sets now named after him. Henri Lebesgue's thesis (1902) defined outer measure by countable covers and the measurable sets, and built the integral on them. Constantin Carathéodory gave an abstract criterion for measurability in 1914 (Tao, Exercise 1.2.17), which is the route to general measures (3A.4 Measures, Probability and Weights). Georg Cantor published his ternary set in 1883; Henry Smith (1875) and Vito Volterra (1881) had already constructed nowhere dense sets of positive measure, which is why fat Cantor sets are also called Smith–Volterra–Cantor sets. Borel's normal number theorem (1909) was one of the first results stated in terms of "almost all" numbers.

Recall Where we stand

Lebesgue outer measure covers sets by countably many boxes; it is defined for all sets, countably subadditive, and gives boxes their volume (by Heine–Borel). Measurable sets, those nearly open from outside, form a σ-algebra containing all open, closed and null sets, and on them Lebesgue measure is countably additive and translation invariant, continuous along increasing unions and (with finite measure) decreasing intersections. Properties that fail only on null sets hold almost everywhere. Measure differs from cardinality and from topological size: the Cantor set is uncountable and null, a fat Cantor set is nowhere dense with positive measure. 3A.3 The Lebesgue Integral builds the Lebesgue integral on this measure and proves its convergence theorems.

Exercises

Exercise 2.14 The length of [0,1][0, 1], carefully

Show directly that if open intervals I1,I2,…I_1, I_2, \ldots cover [0,1][0, 1], then ∑n∣In∣≥1\sum_n|I_n| \geq 1. (Use Heine–Borel to pass to a finite subcover, then order the finitely many intervals so that consecutive ones overlap.) Why does this argument fail for Q∩[0,1]\mathbb{Q} \cap [0, 1]?

Solution

A finite subcover In1,…,InkI_{n_1}, \ldots, I_{n_k} exists. Choose one containing 00, then one containing its right endpoint, and so on; the chain reaches past 11, and the sum of the lengths of the chain is at least 11 because consecutive intervals overlap. For Q∩[0,1]\mathbb{Q} \cap [0, 1] there is no compactness: the set is not closed, and the cover of Example 2.2 has no finite subcover.

Exercise 2.15 Lines and graphs are null

(a) Show that the segment [0,1]×{0}[0, 1] \times \{0\} has outer measure 00 in R2\mathbb{R}^2, and deduce that the whole line R×{0}\mathbb{R} \times \{0\} does too. (b) Show that Q2\mathbb{Q}^2 is null in R2\mathbb{R}^2. (c) Show that any countable union of lines in the plane is null.

Solution

(a) The single box [0,1]×[−ε,ε][0, 1] \times [-\varepsilon, \varepsilon] covers the segment and has area 2ε2\varepsilon. The line is the countable union of the segments [k,k+1]×{0}[k, k + 1] \times \{0\}, k∈Zk \in \mathbb{Z}, each null, so it is null by subadditivity. (b) Q2\mathbb{Q}^2 is countable (2A.8 Infinite Sets), so Example 2.2 applies. (c) A vertical line is handled as in (a). A non-vertical line is the graph of y=ax+by = ax + b; over [k,k+1][k, k + 1] it lies in NN boxes of width 1N\frac1N and height ∣a∣N+1N\frac{|a|}{N} + \frac1N, of total area ∣a∣+1N→0\frac{|a| + 1}{N} \to 0, so each such segment is null, and the line is a countable union of them. Countably many null lines have a null union by subadditivity.

Exercise 2.16 Borel–Cantelli

Let E1,E2,…E_1, E_2, \ldots be measurable with ∑nm(En)<∞\sum_nm(E_n) < \infty. Show that almost every xx lies in only finitely many EnE_n. (The set of xx lying in infinitely many is ⋂N⋃n≥NEn\bigcap_N\bigcup_{n\geq N}E_n; estimate its measure by subadditivity.)

Solution

For every NN, ⋂M⋃n≥MEn⊆⋃n≥NEn\bigcap_M\bigcup_{n\geq M}E_n \subseteq \bigcup_{n\geq N}E_n, whose measure is at most ∑n≥Nm(En)→0\sum_{n\geq N}m(E_n) \to 0.

Exercise 2.17 Most numbers are badly approximable by fractions, a little

Use Borel–Cantelli to show that for almost every x∈[0,1]x \in [0, 1], the inequality ∣x−pq∣<1q3\big|x - \frac pq\big| < \frac{1}{q^3} has only finitely many solutions in integers pp and q≥1q \geq 1. (For each qq, the set of xx that satisfy it for some pp is a union of at most q+1q + 1 intervals of length 2q3\frac2{q^3}.) Compare: for every irrational xx, ∣x−pq∣<1q2|x - \frac pq| < \frac1{q^2} has infinitely many solutions (Dirichlet's approximation theorem).

Solution

The set EqE_q has measure at most (q+1)2q3≤4q2(q + 1)\frac{2}{q^3} \leq \frac4{q^2}, and ∑q4q2<∞\sum_q\frac4{q^2} < \infty. By Borel–Cantelli almost every xx lies in only finitely many EqE_q, and for each qq only finitely many pp work.

Exercise 2.18 Points of the Cantor set

(a) Show that 14\tfrac14 is in the Cantor set (its ternary expansion is 0.020202…0.020202\ldots), although it is not an endpoint of any removed interval. (b) Show that C+C={x+y:x,y∈C}C + C = \{x + y : x, y \in C\} equals [0,2][0, 2]. So the sum of two null sets can be an interval, and measure is not compatible with addition of sets in any simple way.

Hint

For (b), 12C\tfrac12C consists of numbers with ternary digits 00 and 11 only. Every z∈[0,1]z \in [0, 1] is 12(x+y)\tfrac12(x + y) with x,y∈Cx, y \in C: split each ternary digit d∈{0,1,2}d \in \{0, 1, 2\} of zz as d=a+bd = a + b with a,b∈{0,1}a, b \in \{0, 1\}.

Solution

(a) 14=∑k≥12⋅9−k=2⋅1/91−1/9=14\frac14 = \sum_{k\geq1}2\cdot 9^{-k} = 2\cdot\frac{1/9}{1 - 1/9} = \frac14, which is 0.0202…0.0202\ldots in base 33, so 14∈C\frac14 \in C. It is not an endpoint, since endpoints have expansions that end in all zeros or all twos. (b) Write z∈[0,1]z \in [0, 1] in base 33 and split each digit dk=ak+bkd_k = a_k + b_k with ak,bk∈{0,1}a_k, b_k \in \{0, 1\}. Then x=∑2ak3−kx = \sum 2a_k3^{-k} and y=∑2bk3−ky = \sum 2b_k3^{-k} lie in CC, and x+y=2zx + y = 2z. As zz runs over [0,1][0, 1], 2z2z runs over [0,2][0, 2]; and C+C⊆[0,2]C + C \subseteq [0, 2] is clear.

Exercise 2.19 When continuity from above fails

Give decreasing measurable sets En⊆RE_n \subseteq \mathbb{R} with m(En)=∞m(E_n) = \infty for all nn but ⋂nEn=∅\bigcap_nE_n = \varnothing. Give another example with m(En)=∞m(E_n) = \infty but m(⋂En)=1m\big(\bigcap E_n\big) = 1.

Solution

En=[n,∞)E_n = [n, \infty); and En=[0,1]∪[n,∞)E_n = [0, 1] \cup [n, \infty), whose intersection is [0,1][0, 1]. The hypothesis m(E1)<∞m(E_1) < \infty in Corollary 2.10 is what rules these out.

Exercise 2.20 Separated sets, and what can go wrong without separation

(a) Use Lemma 2.9 to show that m∗([0,1]∪[2,3])=2m^*([0, 1] \cup [2, 3]) = 2 without knowing that intervals are measurable. (b) Show that if EE is any set and UU is open, then m∗(E)=m∗(E∩U)+m∗(E∖U)m^*(E) = m^*(E \cap U) + m^*(E \setminus U) need not follow from Lemma 2.9, because E∩UE \cap U and E∖UE \setminus U can be at distance 00. (Carathéodory's criterion, Tao's Exercise 1.2.17, shows this identity nevertheless holds for every measurable UU, and takes it as the definition of measurability for general measures.)

Solution

(a) The two intervals are at distance 11, so m∗m^* of the union is m∗([0,1])+m∗([2,3])=1+1m^*([0, 1]) + m^*([2, 3]) = 1 + 1 by Proposition 2.4. (b) Take E=[0,2]E = [0, 2] and U=(1,3)U = (1, 3): then E∩U=(1,2]E \cap U = (1, 2] and E∖U=[0,1]E \setminus U = [0, 1], at distance 00 (both have 11 as a limit point), so the lemma doesn't apply, even though the identity is true here.

Exercise 2.21 Rehearsal: integrals ignore null sets

Let N⊆RdN \subseteq \mathbb{R}^d be null and let EE be measurable. Show m(E∪N)=m(E∖N)=m(E)m(E \cup N) = m(E \setminus N) = m(E). Then explain, in a sentence, why in 12A.5 Reduced Distance and Reduced Volume the reduced distance, a function that is smooth except on a null set, can be integrated as if it were smooth everywhere, once one knows it is locally Lipschitz.

Solution

m(E)≤m(E∪N)≤m(E)+m(N)=m(E)m(E) \leq m(E \cup N) \leq m(E) + m(N) = m(E), and m(E∖N)≥m(E)−m(N)=m(E)m(E \setminus N) \geq m(E) - m(N) = m(E) by additivity on E=(E∖N)∪(E∩N)E = (E \setminus N) \cup (E \cap N). Integrals over a set are unchanged by adding or removing a null set (3A.3 The Lebesgue Integral), so the bad set contributes nothing. Local Lipschitz continuity is what guarantees that the derivatives, which exist almost everywhere, are bounded and the integration by parts formulas still hold.

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.