1 Geometric aspects of measure theory
1.1 Hausdorff measure and dimension
The course will assume familiarity with the content of a standard undergraduate measure theory course, such as the definition of a measure, the integral, and its basic theorems (e.g. convergence of the integral, Radon-Nikodym, Lebesgue decomposition, Egorov and Lusin). Throughout a measure will refer to a positive and countably additive set function (sometimes called an outer measure).
Definition 1.1 A measure \(\mu\) on a set \(X\) is a function \[\mu \colon \{A : A\subset X\} \to [0,\infty]\] such that
\(\mu(\emptyset)=0\);
For every \(A\subset B \subset X\), \[\mu(A)\subset \mu(B) \tag{1.1}\]
For every \(A_1,A_2,\ldots \subset X\), \[\mu(\bigcup_{i\in\mathbb N}A_i) \leq \sum_{i\in\mathbb N} \mu(A_i) \tag{1.2}\]
A function satisfying Equation 1.1 is said to be monotonic and a function satisfying Equation 1.2 is said to be countably sub-additive.
A measure \(\mu\) is finite if \(\mu(X)<\infty\).
Definition 1.2 Let \(\mu\) be a measure on a set \(X\). A set \(A\subset X\) is \(\mu\)-measurable if, for every \(E\subset X\), \[\mu(E)= \mu(E \cap A) + \mu(E \setminus A). \tag{1.3}\]
Theorem 1.1 Let \(\mu\) be a measure on a set \(X\) and let \(\mathcal M\) be the set of \(\mu\)-measurable subsets of \(X\). Then \(\mathcal M\) is a \(\sigma\)-algebra, \(\mu\) is countably additive on disjoint subsets of \(\mathcal M\), is continuous from below and from above for finite sets.
Definition 1.3 A measure for which all Borel sets are measurable is a Borel measure. It is Borel regular if for every \(A\subset X\) there exists a Borel \(B\supset A\) with \(\mu(B)=\mu(A)\).
Theorem 1.2 (Carathéodory criterion) Let \((X,d)\) be a metric space and \(\mu\) a measure on \(X\) which is additive on separated sets. That is, whenever \(A,B\subset X\) with \[\inf\{d(x,y): x\in A,\ y\in B\}>0,\] we have \[\mu(A\cup B)=\mu(A) + \mu(B).\] Then \(\mu\) is a Borel measure.
Proof. Let \(C\subset X\) be closed and \(E\subset X\) with \(\mu(E)<\infty\). We need to show \[\mu(E) \geq \mu(E\cap C)+ \mu(E\setminus C).\]
For each \(j\in \mathbb N\) let \[E_j=\{x\in E: \frac{1}{j+1}< \operatorname{dist}(x,C) \leq \frac{1}{j}\}\] and \[E_0=\{x\in E: \operatorname{dist}(x,C)>1\}.\] Since \(C\) is closed, \[E\setminus C = E_0\cup \bigcup_{j\in\mathbb N}E_j.\] Moreover, the \(E_j\) with \(j\) odd are pairwise separated so \[\mu(E)\geq \mu(\bigcup_{j \text{ odd}}E_j)=\sum_{j\text{ odd}}\mu(E_j)\] and so the sum is convergent. Similarly the sum over even indices is convergent and so \[\sum_{j\geq n}\mu(E_j)\to 0 \quad \text{as } n\to\infty.\] Therefore \[\begin{aligned} \mu(E) &\geq \mu\left(E\cap C \cup \bigcup_{j=0}^n E_j\right)\\ &= \mu(E\cap C) + \mu\left(\bigcup_{j=0}^n E_j\right)\\ &\geq \mu(E\cap C) +\mu(E\setminus C) - \sum_{j>n} \mu(E_j)\\ &\to \mu(E\cap C) + \mu(E\setminus C), \end{aligned}\] using the additivity on separated sets for the equality and countable sub-additivity for the second inequality.
Definition 1.4 (Carathéodory construction) Let \((X,d)\) be a metric space, \(F\) a set of subsets of \(X\) and \(\zeta \colon F\to [0,\infty]\). For each \(\delta>0\) and \(A\subset X\) define \[\psi_\delta(A)= \inf \sum_{S\in G}\zeta(S),\] where the infimum is taken over all countable \[G\subset \{S\in F: \operatorname{diam}(S)\}<\delta\] such that \[A \subset \bigcup_{S\in G}S.\] Finally, define \(\psi(A)=\sup_{\delta>0}\psi_\delta(A)=\lim_{\delta\to 0}\psi_\delta(A)\).
For any \(\delta>0\), \(\psi_\delta\) is a measure, as is \(\psi\). Theorem 1.2 shows that \(\psi\) is a Borel measure on \(X\). Indeed, if \(\operatorname{dist}(A,B)>\delta\) then \[\psi_\delta(A\cup B) \geq \psi_\delta(A) +\psi_\delta(B).\] If \(F\) consists only of Borel sets then \(\psi\) is Borel regular.
Definition 1.5 For \((X,d)\) a metric space and \(s \geq 0\), the \(s\)-dimensional Hausdorff measure on \(X\), denoted \(\mathcal H^s\), is defined using the Carathéodory construction with \(F\) the set of all sets and \(\zeta(S)=\operatorname{diam}(S)^s\).
It is straightforward to see that, for \(X=\mathbb R^n\), there exists a constant \(C>0\) such that \(\frac{1}{C}\mathcal L^n \leq \mathcal H^n \leq C \mathcal L^n\). In Exercise 1.16 you will see that the two measures are in fact a constant multiple of each other.
Let \(X\) be a metric space and \(A\subset X\). For \(0\leq s < t <\infty\), suppose that \(\mathcal H^{s}(A)<\infty\). Then, \[\mathcal H^{t}(A) = \lim_{\delta\to 0} \mathcal H^{t}_{\delta}(A)= \delta^{t-s} \mathcal H^{s}_\delta(A) =0.\] Thus, there exists a single \(0\leq s \leq \infty\) for which \(\mathcal H^{t}(A)=0\) for all \(t>s\) and \(\mathcal H^{t}(A)=\infty\) for all \(t<s\).
Definition 1.6 This unique value of \(s\) is called the Hausdorff dimension of \(A\), denoted \(\dim_{\mathrm H} A\).
1.1.1 Exercises
Exercise 1.1 Usually in measure theory, a measure is defined as a countably additive function defined on a \(\sigma\)-algebra. However, using our definition is simply a convenience rather than a restriction.
Indeed, suppose \(\mu\) is a countably additive function defined on a \(\sigma\)-algebra \(\Sigma\) of \(X\) with \(\mu(\emptyset)=0\). Show that it can be extended to the power set of \(X\) by \[\overline\mu(A)=\inf\{\mu(B): A\subset B\in \Sigma\}\] and that any \(B\in\Sigma\) is \(\mu\)-measurable. What about \[\underline\mu(A)=\sup\{\mu(B): A\supset B\in \Sigma\}?\]
Conversely, any measure is countably additive when restricted to any \(\sigma\)-algebra of measurable sets.
Exercise 1.2 Let \(\Omega\) be a set of subsets of a set \(X\). Show that \(\Sigma(\Omega)\) is a \(\sigma\)-algebra. Note that it is the smallest \(\sigma\)-algebra of \(X\) containing \(\Omega\).
Exercise 1.3 Show that the following sets are Borel subsets of \(\mathbb R\): \(\mathbb Q\), \([0,1)\), the set of points in \([0,1]\) whose first decimal is even.
Let \(f\colon [0,1]\to [0,1]\). Show that the set of points where \(f\) is continuous is a Borel set. What about the set of points where \(f\) is differentiable?
Exercise 1.4 Let \(X\) be a set and \(x\in X\). The Dirac measure at \(x\) is defined as \(\delta_x(A)= 1\) if \(x\in A\), \(\delta_x(A)=0\) otherwise. Show that \(\delta_x\) is a measure on \(X\). What are its measurable sets?
Define the counting measure on \(X\) to be the cardinality (finite or \(\infty\)) of any subset of \(X\). Show that this is a measure. What are its measurable sets?
Exercise 1.5
Show that, in the definition of Hausdorff measure, one may equivalently take \(F\) to be the collection of closed subsets of \(X\).
Let \(f\colon X\to Y\) be an \(L\)-Lipschitz function between two metric spaces. Show that for any \(s\geq 0\) and \(A\subset X\), \[\mathcal H^s(f(A)) \leq L^s \mathcal H^s(A).\]
For any metric space \(X\), show that \(\mathcal H^0\) is the counting measure on \(X\).
Exercise 1.6 The Cantor set \(K\subset [0,1]\) is defined as follows. Let \(K_0=[0,1]\) and for each \(i\in \mathbb N\) let \(K_i\) be obtained from deleting the “middle third” open interval from each of the intervals in \(K_{i-1}\). That is, \(K_1 = [0,1/3] \cup [2/3,1]\), \[K_2 = [0,1/9] \cup [2/9,1/3] \cup [2/3,7/9] \cup [8/9,1],\] etc. Define \(K= \bigcap_{i\in\mathbb N}K_i\). Note that \(K\) is compact and hence Borel.
Show that \(K\) is uncountable.
Let \(s=\log 2/\log 3\). Show that \(0<\mathcal H^s(K)<\infty\).
In particular, \(K\) is an uncountable subset of \(\mathbb R\) with \(\mathcal L^1(K)=0\).
Exercise 1.7 Give an examples of \(S\subset \mathbb R^2\) with \(\dim_{\mathrm H}S =1\) for which \(\mathcal H^1|_S\) is:
finite,
\(\sigma\)-finite but not finite,
not \(\sigma\)-finite.
Exercise 1.8 The fundamental properties of measures are those given in Theorem 1.1, in particular countable additivity. It is necessary for us to only require this to be true for measurable sets, as can be seen from the existence of non-measurable sets.
Define a Vitali set as follows. Consider the equivalence relation \(\sim\) on \(\mathbb R\) defined by \(x \sim y\) iff \(x-y\in\mathbb Q\). By the density of \(\mathbb Q\) in \(\mathbb R\), each equivalence class \(V_x\) intersects \([0,1]\). Therefore, by the axiom of choice(!), we may construct a set \(\mathcal V\subset [0,1]\) consisting of exactly one member of each equivalence class.
Show:
If \(p\neq q\) are rational then \(p+\mathcal V\) and \(q+\mathcal V\) are disjoint.
\([0,1] \subset \bigcup\{q+\mathcal V: q\in\mathbb Q \cap [-1,1]\} \subset [-1,2]\).
Show that \(\mathcal L^1(\mathcal V) \neq 0\).
Deduce that \(\mathcal V\) is not Lebesgue measurable.
Exercise 1.9 Show that the two extensions given in Exercise 1.1 may not agree. For example, after extending Lebesgue measure (restricted to the Borel sets), what are the values of a Vitali set?
Exercise 1.10 Let \(\mu\) be a finite Borel measure on a metric space \(X\). Prove that for every Borel \(B\subset X\), \[\mu(B)=\sup\{\mu(C): C\subset B \text{ closed}\} \tag{1.4}\] and \[\mu(B)=\inf\{\mu(U): U\supset B \text{ open}\}. \tag{1.5}\] Property Equation 1.4 is called inner regularity by closed sets and Equation 1.5 is called outer regularity by open sets.
Hint: observe that it suffices to show that all Borel sets satisfy Equation 1.4. Show that the set of \(B\subset X\) for which \(B\) and \(X\setminus B\) satisfy Equation 1.4 is a \(\sigma\)-algebra that contains all closed subsets of \(X\).
Show that a \(\sigma\)-finite \(\mu\) is inner regular by closed sets. Show that a \(\sigma\)-finite \(\mu\) is outer regular by open sets if there exist open sets \(U_i\subset X\) with \(\mu(U_i)<\infty\) for all \(i\in \mathbb N\) and \(X=\bigcup_{i\in \mathbb N}U_i\). Give an example of a \(\sigma\)-finite \(\mu\) that is not outer regular by open sets.
Exercise 1.11 Let \(X\) be a complete and separable metric space. Show that any finite Borel measure on \(X\) is a Radon measure. That is, \(\mu(A)= \sup\{\mu(K): K\subset A \text{ compact}\}\) for all Borel \(A\subset X\).
Hint: a metric space is compact if and only if it is complete and totally bounded.
1.2 Covering theorems
We will use \(B(x,r)\) to denote the closed ball in a metric space \(X\) centred at \(x\in X\) with radius \(r \geq 0\). Since the centre and radius of a ball are not uniquely defined by its elements, formally by a “ball” we mean a pair \((x,r)\in X \times (0,\infty)\), but in practice we mean the set of its elements.
Lemma 1.1 (Vitali covering lemma) Let \(X\) be a metric space and \(\mathcal B\) an arbitrary collection of closed balls of uniformly bounded radii. There exists a disjoint sub-collection \(\mathcal B'\subset \mathcal B\) such that any \(B\in \mathcal B\) intersects a ball \(B'\in\mathcal B'\) with \[\operatorname{rad}B'\geq \operatorname{rad}B/2.\] In particular, \[\bigcup_{B\in \mathcal B'}5B \supset \bigcup_{B\in \mathcal B}B.\] Here, \(5B\) denotes the ball with the same centre as \(B\) and 5 times the radius.
Proof. For each \(n\in \mathbb Z\) let \[\mathcal B_n = \{B\in \mathcal B: 2^n \leq \operatorname{rad}B < 2^{n+1}\}.\] Since the balls in \(\mathcal B\) have uniformly bounded radii, the \(\mathcal B_n\) are empty for all \(n> N\), for some \(N\in\mathbb N\). Let \(\mathcal B'_N\) be a maximal disjoint sub-collection of \(\mathcal B_N\). That is, the elements of \(\mathcal B'_N\) are disjoint elements of \(\mathcal B_N\) and if \(B\in \mathcal B_N\), there exists a \(B'\in\mathcal B'_N\) with \(B\cap B'\neq \emptyset\). (In general such a maximal collection exists by Zorn’s lemma. See also Exercise 1.12.) Let \(\mathcal B'_{N-1}\) be a maximal collection such that \(\mathcal B'_N\cup \mathcal B'_{N-1}\) is a disjoint collection. Repeat this for each \(i\in \mathbb N\), obtaining a maximal collection \(\mathcal B'_{N-i}\) such that \(\mathcal B'_N\cup \ldots \cup \mathcal B'_{N-i}\) is a disjoint collection, and set \(\mathcal B'=\bigcup_{n\leq N}\mathcal B'_n\).
Now suppose that \(B\in \mathcal B\), say \(B\in \mathcal B_n\). Then by construction there exists \(B'\in \mathcal B'_m\) for some \(m\geq n\) with \(B\cap B'\neq \emptyset\). In particular, \(\operatorname{rad}B'\geq \operatorname{rad}B/2\).
The final statement of the lemma follows from the triangle inequality.
Definition 1.7 Let \(X\) be a metric space and \(S\subset X\). A Vitali cover of \(S\) is a collection \(\mathcal B\) of closed balls such that, for each \(x\in S\) and each \(\epsilon>0\), there exists a ball \(B\in \mathcal B\) with \(\operatorname{rad}B<\epsilon\) and \(x\in B\).
Proposition 1.1 Let \(X\) be a metric space, \(S\subset X\) and suppose that \(\mathcal B\) is a Vitali cover of \(S\). Then there exists a disjoint \(\mathcal B'\subset \mathcal B\) such that, for every finite \(I\subset \mathcal B'\), \[S\setminus \bigcup_{B\in I}B \subset \bigcup_{B\in \mathcal B'\setminus I}5B.\] In particular, if \(\mathcal B'=\{B_1,B_2,\ldots\}\) is countable (for example, if \(X\) is separable), then \[S\setminus \bigcup_{i=1}^n B_i \subset \bigcup_{i>n} 5B_i\] for each \(n\in\mathbb N\).
Proof. Note that we may suppose \(\mathcal B\) consists of balls with uniformly bounded radii. Let \(\mathcal B'\) be a disjoint sub-collection of \(\mathcal B\) obtained from Lemma 1.1. If \(I\subset \mathcal B'\) is finite then \[C:=\bigcup_{B\in I}B\] is closed. Therefore, if \(x \in S\setminus C\), since \(\mathcal B\) is a Vitali cover of \(S\), there exists \(B\in \mathcal B\) with \(x\in B\) such that \(B \cap C=\emptyset\). However, \(B\) must intersect some \(B'\in\mathcal B'\) with \(\operatorname{rad}B'\geq \operatorname{rad}B/2\), and so \(x\in 5B'\). That is, \(x\) belongs to \[\bigcup_{B\in \mathcal B'\setminus I}5B,\] as required.
Definition 1.8 A Borel measure \(\mu\) on a metric space \(X\) is a doubling measure if there exists a \(C_{\mu}\geq 1\) such that \[0<\mu(2B)\leq C_{\mu}\mu(B)<\infty\] for all balls \(B\subset X\).
Remark 1.1. Note that, for any \(m\geq 2\), \[\mu(mB)\leq C_{\mu}^{\log_2 m} \mu(B).\]
Lebesgue measure is a doubling measure.
Theorem 1.3 (Vitali covering theorem) Let \(\mu\) be a doubling measure on a metric space \(X\) and let \(\mathcal B\) be a Vitali cover of a set \(S\subset X\). There exists a countable disjoint \(\mathcal B'\subset \mathcal B\) such that \[\mu\left(S\setminus \bigcup_{B\in\mathcal B'}B\right)=0.\]
Proof. First note that it suffices to prove the result for \(S\) bounded, say \(S\) is contained in some ball \(\tilde B\). We may also suppose that each \(B\in\mathcal B\) is a subset of \(2\tilde B\).
Let \(\mathcal B'\) be a disjoint sub-collection of \(\mathcal B\) obtained from Proposition 1.1. Note that \(\mathcal B'\) is countable. Indeed, for each \(m\in\mathbb N\), at most \(m\mu(2\tilde B)\) balls \(B\in\mathcal B'\) can satisfy \(\mu(B)>1/m\).
Enumerate \(\mathcal B'=\{B_1,B_2,\ldots\}\). Since the \(B_i\) are disjoint subsets of \(2\tilde B\), \[\sum_{i>n}\mu(B_i)\to 0.\] By the conclusion of Proposition 1.1, \[S \setminus \bigcup_{i=1}^n B_i \subset \bigcup_{i>n} 5B_i\] for each \(n\in\mathbb N\). Since \(\mu\) is doubling, \(\mu(5B_i) \leq C\mu(B_i)\) for each \(i\in\mathbb N\) and so \[\mu\left(S \setminus \bigcup_{i=1}^n B_i\right) \leq C\sum_{i>n} \mu(B_i)\to 0,\] as required.
Definition 1.9 Let \(\mu\) be a Borel measure on a metric space \(X\) and \(f\colon X\to\mathbb R\) \(\mu\)-measurable. Suppose that \(0<\mu(B(x,r))<\infty\) for all \(x\in X\) and all \(r>0\).
Define the Hardy–Littlewood maximal function of \(f\) by \[Mf(x) = \sup_{r>0} \frac{1}{\mu(B(x,r))} \int_{B(x,r)} |f| \, \mathrm{d}\mu.\]
By Exercise 1.14, the maximal function is a Borel function.
Theorem 1.4 (Hardly–Littlewood maximal inequality) Let \(\mu\) be a doubling measure on a metric space \(X\). There exists a \(C>0\) such that, for any \(f\colon X\to \mathbb R\) and \(\lambda>0\), \[\mu(\{x: Mf(x) > \lambda\}) \leq \frac{C}{\lambda} \int |f|\, \mathrm{d}\mu. \tag{1.6}\]
Proof. For \(\lambda>0\), let \[S=\{x\in X : Mf(x)>\lambda\}\] and, for each \(R>0\), let \(S_R\) be those \(x\in X\) for which there exists \(0<r<R\) such that \[\int_{B(x,r)} |f| \, \mathrm{d}\mu > \lambda \mu(B(x,r)). \tag{1.7}\] Similarly to Exercise 1.14, each \(S_R\) is a Borel set. Moreover, the \(S_R\) monotonically increase to \(S\). For a moment fix \(R>0\). Let \(\mathcal B\) be the collection of balls \(B(x,r)\) with \(x\in S_R\) and \(0<r<R\) that satisfy Equation 1.7 and let \(\mathcal B'\) satisfy the conclusion of Lemma 1.1. Then \[\begin{aligned} \int_{X} |f| \, \mathrm{d}\mu &\geq \sum_{B\in \mathcal B'} \int_B |f| \, \mathrm{d}\mu\\ &> \sum_{B\in \mathcal B'} \lambda \mu(B)\\ &\geq \frac{1}{C_\mu^{\log_2 5}} \sum_{B\in \mathcal B'}\lambda \mu(5B)\\ &\geq \frac{\lambda}{C_\mu^{\log_2 5}} \mu(S_R). \end{aligned}\] In particular, Equation 1.6 holds for \(C=C_\mu^{\log_2 5}\).
Theorem 1.5 (Lebesgue differentiation theorem) Let \(\mu\) be a doubling measure on a metric space \(X\) and \(f\colon X \to \mathbb R\) with \(\int f\, \mathrm{d}\mu<\infty\). For \(\mu\)-a.e. \(x\in X\), \[\frac{1}{\mu(B(x,r))}\int_{B(x,r)}|f-f(x)|\, \mathrm{d}\mu \to 0\] as \(r\to 0\). Such an \(x\) is called a Lebesgue point of \(f\).
Proof. First note that the theorem is true if \(f\) is continuous.
Fix \(\epsilon>0\) and let \(g\colon X \to \mathbb R\) be continuous with \[\int |f-g|\, \mathrm{d}\mu<\epsilon\] (such a \(g\) exists by Lusin’s theorem). Let \[B=\{x\in X: |f(x)-g(x)|\geq\sqrt{\epsilon}\},\] so that \(\mu(B) < \sqrt{\epsilon}\).
If \[S= \{x: M(f-g) > \sqrt{\epsilon}\},\] then by Theorem 1.4, \[\mu(S) \leq \frac{C}{\sqrt{\epsilon}}\|f-g\|_1 <C \sqrt{\epsilon}.\] Moreover, if \(x\not\in S\), \[\frac{1}{\mu(B(x,r))} \int_{B(x,r)} |f-g| \, \mathrm{d}\mu \leq \sqrt{\epsilon}\] for all \(r>0\). In particular, since \(g\) is continuous at \(x\), \[\limsup_{r\to 0} \frac{1}{\mu(B(x,r))} \int_{B(x,r)} |f-g(x)| \, \mathrm{d}\mu \leq \sqrt{\epsilon}.\] Therefore, if \(x\not \in B\), \[\limsup_{r\to 0} \frac{1}{\mu(B(x,r))} \int_{B(x,r)} |f-f(x)| \, \mathrm{d}\mu \leq 2\sqrt{\epsilon}.\]
We are now done; repeat the above for a countable collection of \(\epsilon\to 0\). The corresponding \(B\cup S\) monotonically decrease to a set of measure zero. The set of \(x\in X\) that does not belong to infinitely many of the \(B\cup S\) has full measure, and for such an \(x\), \[\lim_{r\to 0} \frac{1}{\mu(B(x,r))} \int_{B(x,r)} |f-f(x)| \, \mathrm{d}\mu =0.\]
Corollary 1.1 Let \(\mu\) be a doubling measure on a metric space \(X\) and let \(S\subset X\) be \(\mu\)-measurable with \(\mu(S)<\infty\). Then \[\lim_{r\to 0}\frac{\mu(S\cap B(x,r))}{\mu(B(x,r))}\] equals 1 for \(\mu\)-a.e. \(x\in S\) and 0 for \(\mu\)-a.e. \(x\not\in S\). Such an \(x\) for which the limit equals 1 is called a density point of \(S\).
1.2.1 Exercises
Exercise 1.12 Let \(X\) be a separable metric space. Show that for any collection of balls, there exists a maximal disjoint sub-collection.
Exercise 1.13 Show that the \(5r\) covering Lemma may not be true if the radii are not uniformly bounded.
Exercise 1.14 Let \(\mu\) be a finite Borel measure on a metric space \((X,d)\) and let \(x_n\to x \in X\) such that \(d(x,x_n)\) is a decreasing sequence. Let \(U(y,r)\) denote the open ball centred on \(y\) with radius \(r\).
Show that, for any \(r>0\), \[U(x,r)\setminus U(x_n,r)\] decreases to the empty set.
Deduce that \(y\mapsto \mu(U(y,r))\) is lower semi-continuous.
Give an example to show that \(y\mapsto \mu(U(y,r))\) may not be continuous.
Show that, for any \(y\in X\), \[\mu(B(y,r))= \lim_{\mathbb Q \ni q\downarrow r} \mu(U(y,q)).\]
Deduce that, for any \(r>0\), \(y\mapsto \mu(B(y,r))\) is a Borel function.
Show that the Hardy–Littlewood maximal function is equivalently defined by taking the supremum over all rational \(r>0\).
Deduce that the Hardy–Littlewood maximal function is a Borel function.
Exercise 1.15 Let \(\mu\) be a doubling measure on a metric space \(X\) and let \(S\subset X\) with \(\mu(S)<\infty\). Suppose that there exists a \(\mu\)-measurable \(S'\supset S\) with \(\mu(S')=\mu(S)\). Show that \[\lim_{r\to 0}\frac{\mu(S\cap B(x,r))}{\mu(B(x,r))}=1\] for \(\mu\)-a.e. \(x\in S\).
Exercise 1.16 Prove that on \(\mathbb R^n\), \(\mathcal L^n=c \mathcal H^n\) for some \(c>0\). There are two ways to prove this (recall Exercise 1.5).
Let \(\mu,\nu\) be two finite Borel measures on a set \(X\) with \(\mu \ll \nu\) and suppose that \(\nu\) is doubling. Show that the Radon–Nikodym derivative of \(\mu\) with respect to \(\nu\) is given by \[\lim_{r\to 0}\frac{\mu(B(x,r))}{\nu(B(x,r))}\] for \(\nu\)-a.e. \(x\in X\).
Exercise 1.17 For \(f=\chi_{[0,1]}\), show that \(Mf\) does not have finite integral.
1.3 Differentiability of Lipschitz functions
The regularity of a Lipschitz function \(f\colon \mathbb R^n\to \mathbb R\) is very interesting. Of course, Lipschitz functions are continuous, but they may not be differentiable everywhere. However, it is quite easy to convince yourself that they cannot be non-differentiable on quite a large set. The question to quantify how large the non-differentiability set of a Lipschitz function can be was one of the motivating questions of Lebesgue’s development of measure theory.
Definition 1.10 Let \(f\colon [a,b]\to \mathbb R\). The total variation of \(f\), \(Vf\colon [a,b]\to [0,\infty]\) is defined by \[Vf(x)= \sup \sum_{i=1}^n |f(t_i)-f(t_{i-1})|\] where the supremum ranges over all \(a=t_0 < t_1 <\ldots <t_n=b\).
If \(Vf(b)<\infty\), \(f\) is said to have bounded variation (BV).
Definition 1.11 A function \(f\colon [a,b]\to \mathbb R\) is absolutely continuous (AC) if for any \(\epsilon>0\) there exists a \(\delta>0\) such that, for any intervals \((a_1,b_1),(a_2,b_2)\ldots\subset [a,b]\) with \(\sum_i |b_i-a_i|<\delta\), we have \(\sum_i |f(b_i)-f(a_i)|<\epsilon\).
Note that AC functions are BV, and Lipschitz functions are AC (see Exercise 1.18). Also, if \(f\) is BV then \(Vf\) and \(Vf-f\) are non-decreasing. If \(f\) is AC then so are \(Vf\) and \(Vf-f\), see Exercise 1.19.
Theorem 1.6 (Lebesgue) Let \(f\colon [a,b]\to \mathbb R\) be absolutely continuous. Then \(f\) is differentiable \(\mathcal L^1\) almost everywhere. Moreover, for any \(x>y \in [a,b]\), \[f(x)-f(y)= \int_y^x f' \, \mathrm{d}x.\]
Proof. By Exercise 1.19 it suffices to assume that \(f\) is non-decreasing. In this case define a measure \(\mu\) on \([a,b]\) using the Carathéodory construction with \(F\) the set of compact intervals and \(\zeta([c,d])= f(d)-f(c)\). This defines a finite Borel measure such that \(\mu([c,d])=f(d)-f(c)\) for all intervals \([c,d]\subset [a,b]\). Indeed, for any \(\delta>0\), we may cover \([c,d]\) by finitely many intervals \([c,c_1],[c_1,c_2],\ldots,[c_k,d]\) of width \(\delta'\leq\delta\), showing \[\mu([c,d]) \leq \sum f(c_{i+1})-f(c_i) = f(d)-f(c).\] The reverse inequality holds because \(f\) is non-decreasing.
Note that \(\mu\ll \mathcal L^1\). Indeed, given \(\epsilon>0\), let \(\delta>0\) be given by the definition of \(f\) being absolutely continuous. If \(\mathcal L^1(N)=0\), we may cover \(N\) by countably many closed intervals \(I_i\) such that \(\sum_i\mathcal L^1(I_i)<\delta\). In particular \(\sum_i f(I_i)<\epsilon\) and hence \(\mu(N)<\epsilon\). Therefore, \[\mu = \int \frac{\, \mathrm{d}\mu}{\, \mathrm{d}\mathcal L^1}\, \mathrm{d}\mathcal L^1,\] with \(\, \mathrm{d}\mu/\, \mathrm{d}\mathcal L^1 \in L^1(\mathcal L^1)\).
By the Lebesgue differentiation theorem, for any Lebesgue point \(x\) of \(\, \mathrm{d}\mu/\, \mathrm{d}\mathcal L^1\), \[\begin{aligned} \lim_{t\to 0}\frac{f(x+t)-f(x)}{t} &=\lim_{t\to 0} \frac{\mu([x+t,x])}{t}\\ &= \lim_{t\to 0} \frac{1}{t} \int_x^{x+t} \frac{\, \mathrm{d}\mu}{\, \mathrm{d}\mathcal L^1}\, \mathrm{d}\mathcal L^1\\ &= \frac{\, \mathrm{d}\mu}{\, \mathrm{d}\mathcal L^1}(x). \end{aligned}\]
Theorem 1.7 (Rademacher) Any Lipschitz \(f\colon \mathbb R^n\to \mathbb R\) is differentiable \(\mathcal L^n\) almost everywhere.
Proof. For notational simplicity, we prove the case \(n=2\).
For each \(y\in \mathbb R\), \(x\mapsto f(x,y)\) is a Lipschitz function \(\mathbb R\to\mathbb R\) and so is differentiable \(\mathcal L^1\)-a.e. That is, for every \(y\), \(\partial_1 f(x,y)\) exists for \(\mathcal L^1\)-a.e. \(x\). By Fubini’s theorem, \(\partial_1 f\) exists \(\mathcal L^2\)-a.e. Similarly, \(\partial_2 f\) exists almost everywhere too.
Fix \(\epsilon>0\). For \(D\in \mathbb Q^2\) and \(j\in \mathbb N\) let \[X_{D,j}=\{x: |f(x+h e_i)-f(x)-D_i h|<\epsilon |h|,\ \forall 0<|h|<1/j,\ i=1,2\}.\] These are Borel sets. Further, for \(D\in\mathbb Q^2\), if \[|\partial_1f(x)-D_1|<\epsilon/2 \quad \text{and} \quad |\partial_2f(x)-D_2|<\epsilon/2,\] then \(x\in X_{D,j}\) for sufficiently large \(j\). That is, \[X^\epsilon=\bigcup_{D\in \mathbb Q}\bigcup_{j\in\mathbb N}X_{D,j}\] is a set of full measure.
Fix \(D\in \mathbb Q^2\) and \(j\in\mathbb N\). Let \(x\) be a density point of \(X_{D,j}\). Let \(R>0\) such that \[\mathcal L^n(B(x,r)\cap X_{D,j}) \geq (1-\epsilon^n)\mathcal L^n(B(x,r))\] for all \(0<r<R\). In particular, for every \(y\in B(x,r)\) there exists \(y'\in X_{D,j}\) with \[\|y-y'\|< \epsilon \|y-x\|.\]
Now let \(r<\min\{R,1/j\}\) and \(\|x-y\|<r\). Set \(h=y-x\), \(\tilde y = x + \pi_1 y\) and \(\tilde{\tilde y} \in X_{D,j}\) with \[\|\tilde y- \tilde{\tilde y}\| < \epsilon\|x-\tilde y\| \leq \epsilon \|x-y\|.\] Also let \(y',y''\) lie on the same vertical line as \(\tilde{\tilde y}\) such that \(y',\tilde y\) have the same vertical component as do \(y'',\tilde{\tilde y}\). Then, since \(x\in X_{D,j}\), \[|f(\tilde y)-f(x)-D_1 h_1| < \epsilon |h_1|=\epsilon \|x-\tilde y\|\leq \epsilon \|x-y\|; \tag{1.8}\] Since \(f\) is Lipschitz, \[|f(\tilde y)-f(y')| \leq L\|\tilde y-y'\|\leq L\epsilon \|x-y\|; \tag{1.9}\] Since \(\tilde{\tilde y}\in X_{D,j}\), \[|f(y'')-f(y')- D_2 h_2| \leq \epsilon \|y'-y''\|\leq \epsilon \|x-y\|; \tag{1.10}\] Since \(f\) is Lipschitz, \[|f(y'')-f(y)| \leq L\|y''-y\| = L\|y'-\tilde y\| \leq L \|\tilde{\tilde y}-\tilde y\| \leq \epsilon L\|x-y\|. \tag{1.11}\] By combining Equation 1.8, Equation 1.9, Equation 1.10, Equation 1.11, \[|f(y)-f(x) - D\cdot h| \leq 2(1+L) \epsilon \|x-y\|.\]
This is true for all \(y\) with \(\|x-y\|<r\) and for any density point \(x\) of the full measure set \(X^\epsilon\). That is, for \(\mathcal L^n\)-a.e \(x\). Taking a countable intersection over \(\epsilon \to 0\) concludes the proof.
1.3.1 Exercises
Exercise 1.18 Prove that Lipschitz functions are AC and that AC functions are BV.
Exercise 1.19 Let \(f\colon [a,b]\to \mathbb R\) be BV. Show that \(Vf\) and \(Vf-f\) are non-decreasing. If \(f\) is AC then show that \(Vf\) and \(Vf-f\) are AC.
Exercise 1.20 Show that any monotonic \(f\colon \mathbb R\to \mathbb R\) is continuous except at countably many points.
Exercise 1.21 In this exercise we will show that monotonic functions are differentiable almost everywhere.
Let \(f\colon [a,b]\to \mathbb R\) be non-decreasing. For each \(x\in (a,b)\) let \[D_-f(x) = \liminf_{h\to 0} \frac{f(x+h)-f(x)}{h} \quad D_+f(x) = \limsup_{h\to 0} \frac{f(x+h)-f(x)}{h}.\] Observe that the set of \(x\in(a,b)\) where \(f\) is not differentiable at \(x\) is the countable union, over \(p<q\in\mathbb Q\), of the sets \[B_{p,q} := \{x\in (a,b): D_-f(x) <p < q < D_+f(x)\}.\] We now fix \(p<q\in\mathbb Q\).
Let \[\mathcal B =\{[x,x+h]:f(x+h)-f(x) <ph\}.\] Note that \(\mathcal B\) satisfies the hypotheses of the Vitali covering theorem (recall Theorem 1.3). Let \(\mathcal B'\) be a disjoint sub-cover obtained from the Vitali covering theorem with respect to Lebesgue measure and let \(S=\cup \mathcal B'\). Prove that \[\mathcal L^1(f(B_{p,q}\cap S)) \leq p \mathcal L^1(B_{p,q}\cap S).\] Note: this is the step where we require \(f\) to be monotonic.
Similarly, prove that \(\mathcal L^1(f(B_{p,q}\cap S)) \geq q \mathcal L^1(B_{p,q} \cap S)\).
Deduce that \(f\) is differentiable almost everywhere.
Deduce that a BV function is differentiable almost everywhere.
However, BV functions do not satisfy the fundamental theorem of calculus:
Exercise 1.22 Recall the definition of the Cantor set from Exercise 1.6. Define the Cantor function \(f\colon [0,1] \to [0,1]\) as follows. For each \(n\in\mathbb N\), define \(f_n \colon [0,1] \to [0,1]\) by \[f(x) = \left(\frac{3}{2}\right)^n\mathcal L^1([0,x]\cap C_n).\]
Show that the \(f_n\) converge uniformly on \([0,1]\) to a monotonic, continuous function \(f\). For each \(x\in [0,1]\setminus C\), show that \(f'(x)=0\).
Thus, \(f\) is monotonic and hence BV, has derivative \(0\) almost everywhere, but does not satisfy the fundamental theorem of calculus.
Exercise 1.23 In lectures we proved that the derivative of any AC function is an absolutely continuous measure. Prove the converse: for any finite, absolutely continuous measure \(\mu\) on \([0,\infty)\), show that \[f(x):= \int_0^x \frac{\, \mathrm{d}\mu}{\, \mathrm{d}\mathcal L^1}\, \mathrm{d}\mathcal L^1 = \mu([0,x])\] defines an absolutely continuous function.
Up to now, we have considered points where functions are differentiable. We now consider points of non-differentiability (which are much more interesting).
Exercise 1.24 Show that the Cantor function is not differentiable at any point of the Cantor set.
Exercise 1.25 Let \(N\subset [0,1]\) satisfy \(\mathcal L^1(N)=0\).
For each \(n\in\mathbb N\), iteratively construct a countable collection of open intervals \(\mathcal O_n\) such that, for each \(n\in\mathbb N\),
\(N\) is contained in the union of \(\mathcal O_n\);
for every \(I\in \mathcal O_n\) there exists \(J\in\mathcal O_{n-1}\) with \(I\subset J\);
for each \(I\in \mathcal O_{n-1}\), \[\mathcal L^1(I\cap \cup\{J:J\in \mathcal O_n\}) < 2^{-n} |I|.\]
Let \[S= \bigcap_{n\in\mathbb N} \bigcup_{m>n} \cup\{J:J\in\mathcal O_m\},\] the “limsup" of the \(\mathcal O_n\) (\(S\) is the set of points that are contained in infinitely many intervals from the \(\mathcal O_n\)). In particular, \(S\supset N\).
For each \(x\in [0,1]\setminus S\), let \(N(x)\) be the largest \(n\) for which there exists \(I\in \mathcal O_n\) with \(x\in I\). Define \(P(x)=1\) if \(N(x)\) is even, \(P(x)=0\) otherwise. Finally, for each \(x\in[0,1]\) define \[f(x) = \mathcal L^1(\{t\in [0,x] : P(t)=1\}).\]
Show that \(f\) is Lipschitz, monotonic, and not differentiable at any point of \(N\). Hint: show that \(D_-f(x)=0\) and \(D_+f(x)=1\) for each \(x\in N\).
1.4 Hausdorff measure and densities
We are interested in the measure \(\mathcal H^s|_S\), for \(S\subset X\) some \(\mathcal H^s\)-measurable set with \(\mathcal H^s(S)<\infty\). In particular, we require some counterpart to the Lebesgue density theorem, but, of course, \(\mathcal H^s|_X\) may not be locally finite.
Definition 1.12 Let \(X\) be a metric space, \(A\subset X\) and \(s\geq 0\). The upper and lower Hausdorff densities of \(A\) are \[\Theta^{*,s}(A,x)=\limsup_{r\to 0} \frac{\mathcal H^s(A\cap B(x,r))}{(2r)^s}\] and \[\Theta^{s}_*(A,x)=\liminf_{r\to 0} \frac{\mathcal H^s(A\cap B(x,r))}{(2r)^s}.\]
Lemma 1.2 Let \(X\) be a metric space, \(s\geq 0\) and \(A\subset X\) with \(\mathcal H^s(A)<\infty\). Then \[2^{-s} \leq \Theta^{*,s}(A,x) \leq 1\] for \(\mathcal H^s\)-a.e. \(x\in A\).
Proof. The set of \(x\in A\) with \(\Theta^{*,s}(A,x)<2^{-s}\) is a countable union countable of the sets \[S_\delta:= \{x\in A : \mathcal H^s(A\cap B(x,r)) < (1-\delta) r^s\ \forall 0<r< \delta\}.\] Thus, for the first inequality, it suffices to show that \(\mathcal H^s(S_\delta)=0\) for all \(\delta>0\).
Fix \(\delta,\epsilon>0\). We may cover \(S_\delta\) by sets \(E_1,E_2,\ldots\) such that, for each \(i\in \mathbb N\), \(\operatorname{diam}E_i<\epsilon\), \(S_\delta\cap E_i\neq \emptyset\) and \[\sum_{i\in\mathbb N} \operatorname{diam}E_i^s \leq \mathcal H^s(S_\delta)+\epsilon.\] For each \(i\in \mathbb N\) let \(x_i\in S_\delta \cap E_i\) and set \(r_i =\operatorname{diam}E_i\). Then \[\begin{multline*} \mathcal H^s(S_\delta) \leq \sum_{i\in\mathbb N}\mathcal H^s(S_\delta \cap E_i) \leq \sum_{i\in\mathbb N} \mathcal H^s(A\cap B(x_i,r_i)) \\ \leq (1-\delta) \sum_{i\in\mathbb N} \operatorname{diam}E_i^s \leq (1-\delta)(\mathcal H^s(S_\delta)+\epsilon). \end{multline*}\] Since \(\epsilon>0\) is arbitrary and \(\delta>0\), this implies \(\mathcal H^s(S_\delta)=0\), as required.
For the second inequality, since \(\mathcal H^s\) is Borel regular (see Exercise 1.27), it suffices to assume that \(A\) is Borel. As before, given \(\delta>0\), it suffices to prove that \[S:= \{x\in A: \Theta^{*,s}(A,x)>1+\delta\}\] satisfies \(\mathcal H^s(S)=0\). Fix \(\epsilon>0\) and let \(U\supset S\) be open with \[\mathcal H^s(A \cap U)\leq \mathcal H^s(S)+\epsilon\] (which exists by the outer regularity of the measure \(\mathcal H^s|_A\)). Let \(\mathcal B_\epsilon\) be the collection of balls \(B\) centred at a point of \(S\) with \(\operatorname{rad}B<\epsilon\) such that \(B\subset U\) and \[\mathcal H^s(A \cap B) > (1+\delta)(2\operatorname{rad}B)^s. \tag{1.12}\] This is a Vitali cover of \(S\). Let \(\mathcal B'_\epsilon\) be obtained from Proposition 1.1.
Since \(\mathcal H^s(S)<\infty\), \(S\) is separable (see Exercise 1.29) and so \(\mathcal B'_\epsilon =\{B_1,B_2,\ldots\}\) is countable and the conclusion of Proposition 1.1 states that \[S\setminus \bigcup_{i\in\mathbb N} B_i \subset \bigcup_{i>n}5B_i\] for each \(n\in\mathbb N\). Since \(\operatorname{diam}B_i<\epsilon\) for each \(i\in \mathbb N\), the \(B_i\) and \(5B_i\) may be used to estimate \(\mathcal H^s_{10\epsilon}(S)\). For each \(n\in\mathbb N\) we obtain \[\begin{aligned} \mathcal H^s_{10\epsilon}(S) &\leq \sum_{i\in\mathbb N}(2\operatorname{rad}B_i)^s + \sum_{i>n} (10\operatorname{rad}B_i)^s\\ &\leq \sum_{i\in\mathbb N} \frac{\mathcal H^s(A\cap B_i)}{1+\delta} + 5^s\sum_{i>n} \frac{\mathcal H^s(A\cap B_i)}{1+\delta} \end{aligned}\] where the second inequality follows by Equation 1.12. Since the \(B_i\) are disjoint and \(\mathcal H^s(A)<\infty\), the second term converges to 0 as \(n \to\infty\). Since the \(B_i\) are subsets of \(U\) we obtain \[\mathcal H^s_{10\epsilon}(S) \leq \frac{\mathcal H^s(A \cap U)}{1+\delta} \leq \frac{\mathcal H^s(S)+\epsilon}{1+\delta}.\] Since \(\epsilon>0\) is arbitrary, this implies \(\mathcal H^s(S) \leq \mathcal H^s(S)/(1+\delta)\) and hence \(\mathcal H^s(S)=0\), as required.
Lemma 1.3 Let \(X\) be a metric space, \(s\geq 0\) and let \(A\subset X\) be \(\mathcal H^s\)-measurable with \(\mathcal H^s(A)<\infty\). Then \[\Theta^{*,s}(A,x) =0\] for \(\mathcal H^s\)-a.e. \(x\not\in A\).
Proof. It suffices to show that, for \(t>0\), the set \[S=\{x\in X\setminus A: \Theta^{*,n}(A,x)>t\}\] satisfies \(\mathcal H^s(S)=0\). Fix \(\epsilon>0\). Since \(A\) is \(\mathcal H^s\)-measurable, \(\mathcal H^s|_A\) is Borel regular. Therefore, since \(\mathcal H^s|_A(S)=0\), there exists an open \(U\supset S\) with \[\mathcal H^s(A\cap U)=\mathcal H^s|_A(U)<\epsilon.\]
For each \(x\in S\) and \(\delta>0\) there exists a ball \(B\) centred on \(x\) with \(\operatorname{rad}B<\delta\) such that \[\frac{\mathcal H^s(A\cap B)}{(2\operatorname{rad}B)^s}>t.\] By Lemma 1.1 there exists a disjoint collection \(\mathcal B\) of such balls such that \[S\subset \bigcup_{B\in\mathcal B}5B.\] Since \(\mathcal H^s(A)<\infty\), \(A\) is separable and each of these balls contains a point of \(A\), \(\mathcal B\) is countable. Therefore \[t\mathcal H^s_{5\delta}(S) \leq t \sum_{B\in\mathcal B} (2\operatorname{rad}5B)^s < 5^s \sum_{B\in\mathcal B} \mathcal H^s(A\cap B) \leq 5^s \mathcal H^s(A\cap U) < 5^s \epsilon.\] Since \(\delta,\epsilon>0\) are arbitrary, this completes the proof.
1.4.1 Exercises
Exercise 1.26 Let \(\mathcal V\subset [0,1]\) be a Vitali set as constructed in Exercise 1.8.
Show that, for any Borel \(B\subset \mathcal V\), \(\mathcal L^1(B)=0\).
Deduce that \(\mathcal L^1([0,1]\setminus \mathcal V)=1\) and hence, if \(C\) is a Borel set with \[[0,1]\setminus \mathcal V\subset C \subset [0,1],\] then \(\mathcal L^1(C)=1\).
Hence show that \(\mathcal L^1(\mathcal V \cap C)=\mathcal L^1(\mathcal V)>0\).
Note however that we cannot deduce the value of \(\mathcal L^1(\mathcal V)\) from our construction in Exercise 1.8. Indeed, for any \(\epsilon>0\), that construction may produce a \(\mathcal V\subset [0,\epsilon]\).
Exercise 1.27 Let \(X\) be a metric space and \(s\geq 0\).
Show that \(\mathcal H^s\) is Borel regular. Hint: first show that in the definition of \(\mathcal H^s\), we may take \(F\) to be the collection of closed sets.
We are usually interested in \(\mathcal H^s|_A\) for some \(A\subset X\). Show that for any \(A\subset X\), \(\mathcal H^s|_A\) is a Borel measure.
Now assume that \(A\subset X\) is \(\mathcal H^s\)-measurable with \(\mathcal H^s(A)<\infty\). Show that \(\mathcal H^s|_A\) is Borel regular. Hint: show that there exist Borel sets \(B\supset A \supset B'\) with \(\mathcal H^s(B\setminus B')=0\).
Show that \(\mathcal H^s|_A\) may not be Borel regular if \(A\) is not \(\mathcal H^s\) measurable. Hint: consider Exercise 1.26.
Exercise 1.28 In this exercise we construct the four corner Cantor set. Let \(K_0 = [0,1]^2\). Let \(K_1\) be the “four corners” of \(K_0\) of side length 1/4. That is \[K_1 = [0,1/4]^2 \cup [3/4,1]^2 \cup [0,1/4]\times [3/4,1] \cup [3/4,1]\cup [0,1/4].\] Inductively, \(K_n\) is constructed by taking the four corners of side length \(1/4^n\) of all the squares of \(K_{n-1}\). Finally let \(K=\bigcap_{n\in\mathbb N}K_n\), a compact set. Show that \(0<\mathcal H^1(K)<\infty\).
Exercise 1.29 For \(s\geq 0\) let \(X\) be a metric space with \(\mathcal H^s(X)<\infty\). Show that \(X\) is separable.