Lebesgue measure, the Cantor set and the Cantor function
1,892 words,
The lecture constructs the Lebesgue measure on RN from the volumes of rectangles, through Carathéodory’s construction of the previous post, and studies three examples on the real line.
Figure 1. An instance with N=2: two rectangles and their intersection, hatched, which is again a rectangle.
Figure 2. An instance with N=2: a rectangle, and four rectangles of F whose union contains it.
Definition 3 (Lebesgue measure). The Lebesgue measure on RN, denoted λ or λN, is the measure obtained by applying Carathéodory’s theorem, Theorem 18 of the previous post, to λ∗. Indeed, λ∗ is an outer measure by Theorem 14 of the previous post, applied to F∪{∅} with ∣∅∣:=0, and adding ∅ to F does not change the infimum of Definition 1. In particular, (RN,L(RN),λ) is a complete measure space, where
Theorem 4 (Properties of Lebesgue measure). Consider the measure space (RN,L(RN),λ). (1) Let R∈F and x0∈RN. Then ∂R and {x0} belong to L(RN), and λ(∂R)=λ({x0})=0. In particular, every countable subset of RN has measure 0, and λ(QN)=0. (2) For every E∈L(RN) and every x0∈RN, the set x0+E:={y+x0:y∈E} belongs to L(RN) and λ(x0+E)=λ(E):λ is invariant with respect to translations.
(3)B(RN)⊊L(RN)⊊P(RN). Moreover,
λ(i=1∏N(ai,bi))=i=1∏N(bi−ai),
and if N=1, then λ((a1,b1))=b1−a1.
(4) (Borel regularity) If E∈L(RN), then, as in Figure 3, (i)λ(E)=inf{λ(A):A open,E⊂A}; (ii)λ(E)=sup{λ(K):K compact,K⊂E}.
In particular, L(RN)=B(RN), the σ-algebra of the completion of (RN,B(RN),λ) given by Theorem 10 of the previous post.
Figure 3. Borel regularity: a set E, an open set A⊃E and a compact set K⊂E. The arrows point from A and from K towards E.
Proof (sketch). The proofs of (1), (2) and (4) (i) are sketches, and of (3) only the inclusion B(RN)⊂L(RN) is proved. (1) We show that λ∗(∂R)=0. Write R=(a1,b1)×⋯×(aN,bN). For ε>0 let, as in Figure 4,
Figure 4. An instance with N=2: the rectangle R, its boundary ∂R, and the rectangles R1 and R2 around its left and right edges, drawn with second factor (a2−ε,b2+ε), between the two rectangles at distance ε outside and inside R. The slider sets ε.
Details. The rectangle R1 contains the points x of ∂R whose coordinates satisfy x1=a1 and ai<xi<bi for i≥2. With (ai−ε,bi+ε) in place of (ai,bi) for i≥2, as drawn in Figure 4, it contains every point of ∂R with x1=a1. For 0<ε≤1 its volume is then at most C(R)ε with C(R):=2(b1−a1+2)⋯(bN−aN+2). The boundary ∂R is the union of the 2N faces {x∈R:xi=ai} and {x∈R:xi=bi}, for i=1,…,N, and each of them lies in such a rectangle, so λ∗(∂R)≤2NC(R)ε for every such ε and λ∗(∂R)=0.
A set of outer measure zero is λ∗-measurable by Step 1 of part (iii) in the proof of Theorem 18 of the previous post, so ∂R∈L(RN) and λ(∂R)=0. The set {x0} lies in the boundary of a rectangle with a corner at x0, so λ∗({x0})=0 by monotonicity, and {x0}∈L(RN) in the same way. A countable set is a countable union of points, so its measure is 0 by Proposition 7 of the previous post, and QN is countable by Example 4 and Proposition 9 (ii) of the first post.
(2) This follows from f(R)=f(x0+R) for every R∈F. Translating by x0 a sequence of rectangles that covers E gives a sequence that covers x0+E, as in Figure 5, hence λ∗(E)=λ∗(x0+E).
Figure 5. An instance with N=2: a set E covered by two rectangles, and the set x0+E covered by the same rectangles translated by x0.
Details. The map R↦x0+R is a bijection of F onto itself, with inverse R↦−x0+R, and (Rm) covers a set S if and only if (x0+Rm) covers x0+S. Hence the two infima of Definition 1 coincide, and λ∗(x0+S)=λ∗(S) for every S⊂RN. If E∈L(RN) and Z⊂RN, this equality for the sets (−x0+Z)∩E and (−x0+Z)∖E gives
where the second equality is the λ∗-measurability of E. Hence x0+E∈L(RN) and λ(x0+E)=λ∗(E)=λ(E).
(3) We claim that every rectangle R∈F belongs to L(RN). The claim implies the inclusion, because B(RN)=σ0(F) by Remark 28 of the first post, the claim gives F⊂L(RN), and the result on the generation of σ-algebras, Theorem 26 (ii) of the first post, gives σ0(F)⊂L(RN).
To prove the claim, let R∈F. We need to prove that R is λ∗-measurable, that is, that for every Z⊂RN
λ∗(Z)≥λ∗(R∩Z)+λ∗(Z∖R).
Fix ε>0 and let (Rm)⊂F be such that, as in Figure 6,
Z⊂m=0⋃∞Rmandλ∗(Z)≥m=0∑∞∣Rm∣−ε.
Without loss of generality λ∗(Z)<+∞. Indeed, the inequality to prove holds when λ∗(Z)=+∞, and when λ∗(Z)<+∞ such a sequence exists because λ∗(Z) is an infimum. The opposite inequality holds for every Z by Remark 17 of the previous post.
Figure 6. An instance with N=2: a set Z covered by rectangles R1,R2 and R3 of a sequence (Rm), and the rectangle R.
Define Qm:=Rm∩R, an open rectangle or the empty set by Remark 2 (i), and Tm:=Rm∖R, an open set. The set Tm is a finite union of rectangles, and λ∗(Tm)=∣Tm∣, where ∣Tm∣ is the sum of their volumes. In detail, the hyperplanes that contain the faces of R cut Rm into at most 3N pairwise disjoint rectangles, products of intervals that need not be open, whose volumes add up to ∣Rm∣. The set Tm is the union of all of them except Rm∩R, which has the volume of Qm, so ∣Qm∣+∣Tm∣=∣Rm∣.
Since ∂R∈L(RN) by (1), the set ∂R is λ∗-measurable. Applied to Z∖R, this gives the first equality below, and the second holds because λ∗((Z∖R)∩∂R)≤λ∗(∂R)=0 by (1):
Indeed, the first inequality follows from the two inclusions above and the σ-subadditivity of λ∗, since λ∗(Qm)≤∣Qm∣ and λ∗(Tm)≤∣Tm∣. The latter holds by σ-subadditivity, as each piece of Tm, a product of intervals with ends pi<qi, lies in the open rectangle (p1−δ,q1+δ)×⋯×(pN−δ,qN+δ) for every δ>0. Since ε>0 is arbitrary, letting ε→0 gives the claimed inequality.
(4) (i) Let E∈L(RN). Then
λ(E)=λ∗(E)=inf{m=0∑∞∣Rm∣:(Rm)⊂F,E⊂m=0⋃∞Rm}.
Every Rm is open, so ⋃mRm is open, and λ∗(⋃mRm)≤∑m∣Rm∣. Now λ∗(E)≤λ∗(⋃mRm)≤∑m∣Rm∣, and taking the infimum gives the equality.
Details. Open sets belong to L(RN) by the inclusion proved in (3), and λ(E)≤λ(A) for every open A⊃E by monotonicity, so λ(E) is at most the infimum in (i). Conversely, for every sequence (Rm) as above, the open set A:=⋃mRm contains E and satisfies λ(A)≤∑m∣Rm∣, by σ-subadditivity and λ∗(Rm)≤∣Rm∣. Taking the infimum over these sequences, the infimum in (i) is at most λ∗(E)=λ(E).
(ii) Without loss of generality, E is bounded: if E is unbounded, consider Ek:=E∩Bk(0), apply (ii) to Ek and let k→∞. In detail, the sets Ek∈L(RN) increase to E, so λ(Ek)→λ(E) by Proposition 6 (i) of the previous post, and the compact subsets of Ek are compact subsets of E, whose measures are at most λ(E).
Since E is bounded, E is closed and bounded, hence compact by the Heine–Borel theorem, Theorem 15 of the first post. Also E∖E∈L(RN), because E∈B(RN)⊂L(RN) and E∈L(RN). By (i), for every ε>0 there exists an open set U such that E∖E⊂U and λ(U)≤λ(E∖E)+ε, as in Figure 7.
Figure 7. An instance: E is an open ellipse, so E∖E is its boundary. The open set U, hatched, contains E∖E, and K=E∖U is shaded.
Choose K:=E∖U, which is compact. Then K=E∖U⊂E∖(E∖E)=E and
λ(K)≥λ(E)−λ(U)≥λ(E)−λ(E∖E)−ε=λ(E)−ε.
Indeed, K is closed and contained in the compact set E, hence compact by Lemma 20 (iii) of the first post. The first inequality holds because E⊂K∪U, and the equality is Remark 5 (ii) of the previous post, since the bounded set E has finite measure. Hence λ(K)≤λ(E)≤λ(K)+ε for every ε>0, and letting ε→0 gives the conclusion.
Moreover, it remains to prove L(RN)=B(RN). Write L and B for L(RN) and B(RN), and recall that
B={E⊂RN:there exist F1,F2∈B such that F1⊂E⊂F2 and λ(F2∖F1)=0}.
First, B⊂L:B is complete and B⊂L, and L is complete too. In detail, let E∈B with F1 and F2 as above. Then E∖F1⊂F2∖F1, a set of measure zero of B⊂L, so E∖F1∈L because L is complete, and E is the union of F1 and E∖F1.
Now take E∈L, first with λ(E)<+∞. By (i), for every m≥1 there exists an open set Am⊃E with λ(Am)≤λ(E)+1/m. By (ii), for every m≥1 there exists a compact set Km⊂E with λ(Km)≥λ(E)−1/m. Consider
F1:=m⋃Km∈B,F2:=m⋂Am∈B.
Then λ(F1)=λ(F2) and F1⊂E⊂F2. Hence λ(F2∖F1)=0 and E∈B. Indeed, λ(F1) and λ(F2) lie between λ(E)−1/m and λ(E)+1/m for every m, so both equal λ(E), and λ(F2∖F1)=λ(F2)−λ(F1) by Remark 5 (ii) of the previous post. If λ(E)=+∞, the bounded sets E∩Bk(0) have finite measure and belong to B, hence so does their union E, because B is a σ-algebra by Theorem 10 of the previous post. ■
where each Imk is a closed interval obtained from Tk−1, the union of the 2k−1 intervals Imk−1, by removing the open middle third of each Imk−1. Then ∣Imk∣=1/3k for every m and k, and Tk+1⊂Tk for every k. The Cantor set is
T=k=0⋂∞Tk.
Figure 8. The sets T0,T1,…,T6. The slider sets k and highlights Tk, the union of 2k closed intervals of length 1/3k; the sets after it are faint.
Theorem 6 (Properties of the Cantor set).(1)#T=#R. (2)T is compact. (3)λ(T)=0. (4)int(T)=∅.
In particular, T is uncountable and λ(T)=0.
Proof (sketch). Only the proof of (1) is a sketch. (1) Since T⊂R,#T≤#R. It remains to show that #T≥#R=#P(N)=#2N, where 2N is the set of the functions f:N→{0,1}, that is, of the sequences with values 0 or 1. The idea is an injective map ϕ:2N→T: a sequence such as (0,1,1,0,1,1,1,0,0,…) is sent to a point of T by reading 0 as left and 1 as right, as in Figure 9.
(0, 1, 1, 0, 1, …)
Figure 9. The first five terms of a sequence of 2N, set by the buttons, choose an interval of each of T1,…,T5:0 the left one and 1 the right one. At the start they are the terms of (0,1,1,0,1,…).
Details. Start from T0=[0,1]. For each term of f∈2N in turn, the removal of the middle third splits the current interval into two, and the term keeps the left one if it is 0 and the right one if it is 1. The first k terms choose in this way one interval of Tk, and these closed intervals are nested, with lengths 1/3k that tend to 0. Hence they have exactly one common point ϕ(f), which lies in every Tk and so in T. Two sequences that first differ at the term of index j choose disjoint intervals of Tj+1, so ϕ is injective. Then #2N≤#T, and #T=#R by the Cantor–Bernstein theorem, Remark 2 (ii) of the first post, together with Proposition 9 (i) and Proposition 8 (i) of the first post.
(2) Since T⊂[0,1],T is bounded. Moreover,
R∖T=R∖k⋂Tk=k⋃(R∖Tk),
where each R∖Tk is open because Tk is closed. Hence R∖T is open, so T is closed. Indeed, T is then compact by the Heine–Borel theorem, Theorem 15 of the first post.
(3) Since T=⋂kTk and Tk is the union of 2k intervals, each of length 1/3k,
λ(T)=k→∞limλ(Tk)=k→∞lim2k3k1=0.
In detail, the first equality is Proposition 6 (ii) of the previous post, which applies because Tk+1⊂Tk and λ(T0)=1. The second holds because the intervals of Tk are pairwise disjoint, each of measure 1/3k by (1) and (3) of Theorem 4.
(4) Suppose, by contradiction, that int(T)=∅. Then there exists a nonempty interval (a,b)⊂T, and λ(T)≥b−a>0, against (3). ■
Figure 10. The lengths 2α/2m+2 of the intervals that form A, placed end to end along a segment of length 1, with the lengths for m≥14 drawn as one piece. Together they measure α, marked below, and the rest of the segment measures 1−α. The slider sets α.
Let K:=[0,1]∖A, which is compact. The interior of K is empty: otherwise there exists a nonempty interval (a,b)⊂K, hence a rational qm0∈(a,b)⊂K, but K∩Q=∅. Moreover,
λ(K)=λ([0,1]∖A)=λ([0,1])−λ([0,1]∩A)≥1−α>0.
Indeed, Remark 5 (ii) of the previous post applies to [0,1]∩A⊂[0,1], with λ([0,1])=1, and λ([0,1]∩A)≤λ(A)≤α. Hence there exist sets without interior and with positive measure.
Example 8 (Cantor function). The Cantor function, also called the Cantor–Vitali function, comes from an inductive construction. Let v0:[0,1]→R be v0(x)=x. The functions v1,v2:[0,1]→R of Figure 11 are nondecreasing and continuous, with v1(0)=v2(0)=0 and v1(1)=v2(1)=1. In general, for m≥1,
(ii) If x∈[31,32], then ∣vm(x)−vm−1(x)∣=0. (iii) If x∈[32,1], the analogous estimate gives ∣vm(x)−vm−1(x)∣≤21Mm−1. Hence
Mm≤21Mm−1≤221Mm−2≤⋯≤2m−11M1⟹m=1∑∞Mm<+∞,
and vm converges uniformly to a limit, which we call v. Indeed, for k>m and x∈[0,1] we have ∣vk(x)−vm(x)∣≤Mm+1+⋯+Mk, and the tails of a convergent series tend to 0, so (vm) is uniformly Cauchy. By induction on m every vm is nondecreasing and continuous, with vm(0)=0 and vm(1)=1, so the uniform limit v is continuous and nondecreasing.
On each interval (a,b)⊂[0,1]∖T, where T is the Cantor set of Definition 5, the function v is constant, so v′ exists and v′=0 on [0,1]∖T. Moreover, v(0)=limmvm(0)=0 and v(1)=limmvm(1)=1. In the end, v is a continuous nondecreasing function that passes from 0 to 1 on [0,1], such that v′ exists and v′=0 on the set A:=[0,1]∖T, and λ(A)=1−λ(T)=1−0=1.