© 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.
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.
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 and list the operations under which measurable sets are closed;
- 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.
Probability zero is not impossible
Choose a point uniformly at random in the unit square , so that the probability of landing in a region is its area. The probability of landing exactly on the diagonal is its area, which is : the diagonal can be covered by squares of side , of total area , for every . Yet the diagonal is not empty, and the point can land on it. The same is true of every single point: each has probability , 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.7 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
For any ,
The only difference from Jordan outer measure is "countably many boxes" in place of "finitely many". It changes everything at once.
Let be countable and . Cover by a box of volume . The total volume is , so for every , and . In particular , where Jordan outer measure gave (3A.1 The Problem of Measure).
The basic properties of hold for all sets.
- .
- (Monotonicity) If then .
- (Countable subadditivity) for any sets
Proof. (1) and (2) are immediate from the definition. For (3), we may assume the right side is finite. Given , cover each by boxes with . All the boxes together (countably many, 2A.8 Infinite Sets) cover , with total volume at most .
The proof uses an ε/2ⁿ trick, splitting an error budget into countably many pieces that add up to . 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.
For every box , . More generally, for every elementary set , and agrees with Jordan measure on Jordan measurable sets.
Proof. since covers itself. For the reverse, take a closed box first. Suppose boxes cover and fix . Enlarge each to an open box with . The open boxes cover the compact set , so finitely many of them do (2B.3 Compactness, Heine–Borel). For finitely many boxes, elementary measure is subadditive, so . Taking the infimum over covers and letting gives . 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 covers of the rationals from also "covering" an interval with total length , which is exactly what happens over (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 , with (Tao, Exercise 1.2.26). So we restrict to sets where additivity does hold.
Measurable sets
A set is Lebesgue measurable if for every there is an open set with . Its Lebesgue measure is then .
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.
- Open sets, closed sets and null sets (sets of outer measure zero) are measurable.
- The complement of a measurable set is measurable, and so are countable unions and countable intersections of measurable sets.
- (Countable additivity) If are disjoint and measurable, then .
- (Translation invariance and scaling) If is measurable, so are and , with and .
Architecture of the proof (Tao, Lemmas 1.2.11–1.2.15, worth reading in full). The steps are: (a) every open set is a countable union of almost disjoint closed cubes (dyadic cubes inside it), so open sets are measurable and their measure is the total volume of those cubes; (b) compact sets are measurable, by approximating their complements; then closed sets, as countable unions of compact ones; (c) null sets are measurable directly from the definition; (d) countable unions by the trick; (e) complements, the hardest step, using (b) and (c); (f) countable additivity, first for compact sets, which are at positive distance from each other when disjoint, then for bounded sets by inner approximation, then in general.
The class of measurable sets is therefore a σ-algebra: it contains 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.
Continuity of measure
Countable additivity has two immediate consequences that are used more often than additivity itself.
Let be measurable.
- If , then .
- If and , then .
Proof. (1) Write as the disjoint union of By countable additivity, its measure is . (2) Apply (1) to the increasing sets , whose union is , and subtract from .
The finiteness hypothesis in (2) is needed: 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) ;
- (Approximation by boxes) if , then for every there is an elementary set (a finite union of boxes) with , where 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.
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 (cover it by squares of side ); more generally the graph of a continuous function (3A.1 The Problem of Measure); any hyperplane, or any smooth hypersurface in ; the boundary of a ball. A -dimensional set is always negligible for -dimensional volume.
A property of points holds almost everywhere (a.e.) if the set of 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 ( on rationals, elsewhere) equals 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 a genuine metric (2B.1 Metric Spaces).
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.
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.7 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.
The Cantor set, thin and fat
Start with . Remove the open middle third to get . From each remaining interval remove its open middle third, and so on: is a union of closed intervals of length (Figure 2.2). The Cantor set is .
- Measure zero. , so for every . Equivalently, the removed intervals have total length .
- Uncountable. A number in lies in exactly when it has a ternary (base ) expansion using only the digits and . Replacing each by and reading the result in binary maps onto , which is uncountable (2A.8 Infinite Sets).
- Compact, with no interior. is an intersection of closed sets inside , hence compact; it contains no interval, since it contains no interval longer than for any .
So a set can be uncountable, the same cardinality as , 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 dimension , between a countable set and an interval.)
Modify the construction: at stage remove, from the middle of each of the remaining intervals, an open interval of length (one can check each remaining interval is long enough). The removed length is , so the limit set has measure . But each remaining interval at stage has length less than , so 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 is discontinuous at every point of , 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 is an open set that is not Jordan measurable. In the Lebesgue theory both are perfectly measurable, with measure .
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.
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
Show directly that if open intervals cover , then . (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 ?
Solution
A finite subcover exists. Choose one containing , then one containing its right endpoint, and so on; the chain reaches past , and the sum of the lengths of the chain is at least because consecutive intervals overlap. For there is no compactness: the set is not closed, and the cover of Example 2.2 has no finite subcover.
(a) Show that the segment has outer measure in , and deduce that the whole line does too. (b) Show that is null in . (c) Show that any countable union of lines in the plane is null.
Let be measurable with . Show that almost every lies in only finitely many . (The set of lying in infinitely many is ; estimate its measure by subadditivity.)
Solution
For every , , whose measure is at most .
Use Borel–Cantelli to show that for almost every , the inequality has only finitely many solutions in integers and . (For each , the set of that satisfy it for some is a union of at most intervals of length .) Compare: for every irrational , has infinitely many solutions (Dirichlet's approximation theorem).
Solution
The set has measure at most , and . By Borel–Cantelli almost every lies in only finitely many , and for each only finitely many work.
(a) Show that is in the Cantor set (its ternary expansion is ), although it is not an endpoint of any removed interval. (b) Show that equals . 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), consists of numbers with ternary digits and only. Every is with : split each ternary digit of as with .
Give decreasing measurable sets with for all but . Give another example with but .
Let be null and let be measurable. Show . 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
, and by additivity on . 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.
© 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.