Measures#
This chapter builds up measures. First, we establish a notion of length on the real line, which we need in order to build up integration. This notion of length is described by the outer measure. The outer measure has several good properties which align with our expectations of what an appropriate definition of length on the real line should be.
However, the outer measure lacks an important property, namely additivity: the outer measure of the union of two disjoint sets is not necessarily the sum of the outer measures of the two sets. This is a problem, because we need additivity in order to prove useful theorems about integration. We will see that this is not a fundamental limitation of our definition of the outer measure, and show that any function that satisfies the good properties of the outer measure and has domain equal to the power set of \(\mathbb{R}\) cannot be additive.
A solution to this issue, which does not give up the good properties of the outer measure, is to relax the requirement that our notion of length is defined on all subsets of \(\mathbb{R},\) and instead only require that it is defined on a certain collection of subsets of \(\mathbb{R}.\) This leads us to the definitions of \(\sigma\)-algebras, measurable sets, and measurable functions. We then introduce measures, and specifically the Lebesgue measure, which we will use later to define integration.
Outer measure#
First, we define and study the outer measure, which is a notion of length on the real line. We will prove a few good properties that one would hope to hold for a notion of length on the real line. Then, we will show that the outer measure is not additive.
Definition of the outer measure#
To define the outer measure, we first need a definition of the length of an open interval.
(Length of an open interval)
The lenght \(\ell(I)\) of an open interval \(I \subseteq \mathbb{R}\) is defined by
Given lengths of open intervals, we can define the outer measure of a set as the least sum of the lengths of open intervals that cover the set.
(Outer measure)
The outer measure \(|A|\) of a subset \(A \subseteq \mathbb{R}\) is defined by
Good properties#
The outer measure has a number of good properties. First, the outer measure of countable subsets of \(\mathbb{R}\) is zero.
(Countable sets have outer measure zero)
Every countable subset of \(\mathbb{R}\) has outer measure \(0.\)
Proof: Countable sets have outer measure zero
Suppose \(A = \{ a_1, a_2, \ldots \}\) is a countable subset of \(\mathbb{R}.\) Let \(\epsilon > 0.\) For \(k \in \mathbb{Z}^+,\) let
Then \(A \subseteq \bigcup_{k=1}^\infty I_k\) is a sequence of open intervals whose union contains \(A.\) Because
we have \(|A| \leq 2\epsilon.\) Because \(\epsilon > 0\) is an arbitrary positive real number, this implies that \(|A| = 0.\)
Second, the outer measure preserves order, that is the outer measure of a subset of \(\mathbb{R}\) is less than or equal to the outer measure of any of its supersets.
(Outer measure preserves order)
If \(A\) and \(B\) are subsets of \(\mathbb{R}\) with \(A \subseteq B,\) then \(|A| \leq |B|.\)
Proof: Outer measure preserves order
Suppose \(A\) and \(B\) are subsets of \(\mathbb{R}\) with \(A \subseteq B,\) and let \(I_1, I_2, \ldots\) be a sequence of open intervals whose union contains \(B.\) Then the union of this sequence of open intervals also contains \(A.\) Therefore,
and taking the infimum of both sides, over all sequences of open intervals whose union contains \(B\) gives \(|A| \leq |B|.\)
The third good property of the outer measure is translation invariance. To establish this property, we first need a definition of the translation of a set.
(Translation invariance)
For \(A \subseteq \mathbb{R}\) and \(t \in \mathbb{R},\) the translation of \(t + A\) is defined by
With this definition in place, we can now state the translation invariance property of the outer measure. Specifically, the outer measure of a set is the same as the outer measure of its translation.
(Outer measure is translation invariant)
For every subset \(A\) of \(\mathbb{R}\) and every \(t \in \mathbb{R},\) we have \(|t + A| = |A|.\)
Proof: Outer measure is translation invariant
Suppose \(A\) is a subset of \(\mathbb{R}\) and \(t \in \mathbb{R}.\) Let \(I_1, I_2, \ldots\) be a sequence of open intervals whose union contains \(A.\) Then \(t + I_1, t + I_2, \ldots\) is a sequence of open intervals whose union contains \(t + A.\) Thus,
and taking the infimum of both sides, over all sequences of open intervals whose union contains \(A\) gives \(|t + A| \leq |A|.\) Conversely, we can apply the same argument by noting that \(A = -t + (t + A)\) to obtain
Putting these two inequalities together gives \(|A| = |t + A|.\)
Another useful property of the outer measure is countable subadditivity. This property will also turn out to be true of more general measures which we will define later.
(Outer measure is countably subadditive)
Suppose \(A_1, A_2, \ldots\) are subsets of \(\mathbb{R}.\) Then
Proof: Outer measure is countably subadditive
If \(|A_k| = \infty\) for some \(k \in \mathbb{Z}^+,\) then the inequality holds. Suppose instead that \(|A_k| < \infty\) for all \(k \in \mathbb{Z}^+.\) Let \(\epsilon > 0.\) By the definition of infimum, for each \(k \in \mathbb{Z}^+,\) there exists a sequence \(I_{k, 1}, I_{k, 2}, \ldots\) whose union contains \(A_k\) and
Therefore
Now, note that the doubly indexed sum above can be rearranged as a single indexed sum, in the order
From this we conclude that
and since \(\epsilon > 0\) is arbitrary, this implies that
Heine-Borel theorem#
Another important property that we want to show for the outer measure is that its value on a closed (rather than open) value on a bounded interval is equal to the difference between the endpoints of the interval, that is \(|[a, b]| = b - a\) for \(a, b \in \mathbb{R}\) with \(a < b.\) To show this, we will use the Heine-Borel theorem, which is a theorem of independent interest beyond measure theory. The Heine-Borel theorem is a statement about open covers, an idea which we now define.
(Open cover, finite subcover)
Suppose \(A \subseteq \mathbb{R}.\) A collection \(\mathcal{C}\) of open intervals is called an open cover of \(A\) if \(A\) is contained in the union of the intervals in \(\mathcal{C}.\) An open cover \(\mathcal{C}\) of \(A\) is said to have a finite subcover if \(A\) is contained in the union of some finite list of sets in \(\mathcal{C}.\)
The Heine-Borel theorem states that every open cover of a closed bounded subset of \(\mathbb{R}\) has a finite subcover.
(Heine-Borel)
Every open cover of a closed bounded subset of \(\mathbb{R}\) has a finite subcover.
Proof: Heine-Borel
This proof goes in two parts. The first part shows the result for the special case of a closed bounded interval \([a, b].\) The second part then extends this result to any closed bounded subset of \(\mathbb{R}.\)
Part 1: Suppose \(F = [a, b]\) is a closed bounded interval and \(\mathcal{C}\) is an open cover of \(F.\) Let
First, \(a \in D\) because \([a, a] = \{ a \}\) has a finite subcover of \(\mathcal{C},\) since \(a \in G\) for some \(G \in \mathcal{C}.\) Thus \(D\) is nonempty. Let \(s = \sup D,\) and note that \(s \in [a, b].\) Since \(s \in [a, b],\) there exists an open set \(G \in \mathcal{C}\) such that \(s \in G.\) Let \(\delta > 0\) be such that \((s - \delta, s + \delta) \subseteq G.\) Because \(s = \sup D,\) there exist \(d \in (s - \delta, s]\) and \(n \in \mathbb{Z}^+\) and \(G_1, \ldots, G_n \in \mathcal{C}\) such that
Now, adding \(G\) to this union gives
for all \(d' \in [s, s + \delta),\) so \(d' \in D\) for all \(d' \in [s, s + \delta) \cap [a, b],\) which implies that \(s = b,\) because otherwise we end up with a contradiction. Therefore, \(F = [a, b]\) has a finite subcover of \(\mathcal{C}.\)
Part 2: Suppose \(F\) is a closed bounded subset of \(\mathbb{R}\) and \(\mathcal{C}\) is an open cover of \(F.\) Because \(F\) is bounded, there exist \(a, b \in \mathbb{R}\) such that \(F \subseteq [a, b].\) The collection of open sets \(\mathcal{C} \cup (\mathbb{R} \setminus F)\) is an open cover of \([a, b],\) so by Part 1, there exists a finite subcover \(\mathcal{C}'\) of \([a, b]\) from \(\mathcal{C} \cup (\mathbb{R} \setminus F),\) say
where \(G_1, \ldots, G_n \in \mathcal{C}.\) Thus
which shows that \(F\) has a finite subcover from \(\mathcal{C}.\)
Using the Heine-Borel theorem, we can now show that the outer measure of a closed interval is equal to the difference between the endpoints of the interval.
(Outer measure of a closed interval)
Suppose \(a, b \in \mathbb{R}\) with \(a < b.\) Then \(|[a, b]| = b - a.\)
Proof: Outer measure of a closed interval
We will show the equality above via two inequalities, namely
First inequality: For the first inequality, consider that \([a, b] \subseteq (a - \epsilon, b + \epsilon)\) for all \(\epsilon > 0,\) so using the order preserving property of the outer measure, we have
and since \(\epsilon > 0\) is arbitrary, this implies that \(|[a, b]| \leq b - a.\)
Second inequality: For the second inequality, suppose that \(I_1, I_2, \ldots\) is a sequence of open intervals whose union contains \([a, b].\) Then \(I_1, I_2, \ldots\) is an open cover of \([a, b],\) so by the Heine-Borel theorem, there exists an \(n \in \mathbb{Z}^+\) such that
We will prove by induction that
which will yield the result after taking the infimum over all sequences of open intervals whose union contains \([a, b].\) To show (2), we first note that the base case \(n = 1\) holds, because if \([a, b] \subseteq I_1,\) then by the order preserving property of the outer measure, we have \(|[a, b]| \leq \ell(I_1).\) Now, suppose that (2) holds for some \(n \in \mathbb{Z}^+.\) Suppose also that \([a, b] \subseteq I_1 \cup \cdots \cup I_{n+1}.\) Then, \(b\) is in at least one of these open intervals which, after relabelling, we can assume is \(I_{n+1}.\) Let us write \(I_{n+1} = (c, d),\) and note that \(b < d.\) Then if \(c \leq a,\) we have that \(\ell(I_{n+1}) = d - c \geq b - a,\) which shows the inductive step. If \(c > a,\) then \(a < c < b < d.\) Since \([a, b]\) is has \(I_1, \ldots, I_n, I_{n+1}\) as an open cover, it follows that \([a, c]\) has \(I_1, \ldots, I_n,\) as an open cover, that is
Therefore, by the inductive hypothesis, we have
Adding \(\ell(I_{n+1}) = d - c\) to both sides of this inequality gives
which completes the inductive step.
Putting the two inequalities in (1) together gives the result.
A nice result from the previous theorems is that nontrivial intervals in \(\mathbb{R}\) are uncountable. Interestingly, this proof does not use the diagonal argument, which is the argument that is usually used to show that the real numbers are uncountable.
(Nontrivial intervals are uncountable)
Every inverval in \(\mathbb{R}\) that contains at least two distinct elements is uncountable.
Proof: Nontrivial intervals are uncountable
Suppose \(I\) is an interval that contains \(a, b \in \mathbb{R}\) with \(a < b.\) Then
where the first inequality follows by the order preserving property of the outer measure, and the equality follows by the previous theorem on the outer measure of a closed interval.
Since every countable subset of $\mathbb{R}$ has outer measure zero
and \(I\) has nonzero measure, it follows that \(I\) is uncountable.
Nonadditivity of the outer measure#
Now we come to the negative result of the outer measure, namely that it is not additive. Additivity is an important property that we would like our notion of length to have, because it allows us to prove good theorems about integration.
The proof of nonadditivity of the outer measure relies on defining a subset of a closed interval. Similar sets are used beyond the subadditivity of the outer measure, so we give it a special name.
(Rational difference equivalence relation)
Suppose \(S \in \mathbb{R}.\) Let \(\sim\) be the equivalence relation defined by \(x \sim y \iff x - y \in \mathbb{Q},\) for any \(\mathbb{R}.\) We call this the rational difference equivalence relation.
Detail: Rational difference is an equivalence relation
Let \(\sim\) be the binary relation defined by
Note that \(\sim\) is an equivalence relation on \(\mathbb{R},\) because it is:
reflexive: \(a - a = 0 \in \mathbb{Q};\)
symmetric: If \(a - b \in \mathbb{Q},\) then \(b - a = -(a - b) \in \mathbb{Q};\)
transitive: If \(a - b \in \mathbb{Q}\) and \(b - c \in \mathbb{Q},\) then \(a - c = (a - b) + (b - c) \in \mathbb{Q}.\)
(Nonadditivity of the outer measure)
There exist disjoint subsets \(A, B\) of \(\mathbb{R}\) such that
Proof: Nonadditivity of the outer measure
Proof idea: We will show this result as follows. We will define a countable collection of disjoint sets. We will set up these sets so that their union is contained in an closed bounded interval of \(\mathbb{R},\) and they all have equal outer measure. Then, we will show that the outer measure of each of these sets is nonzero, which leads to a contradiction.
Proof: Let \(\sim\) be the equivalence class of \(a\) under the rational difference equivalence relation, and for each \(a \in [-1, 1]\) let \(\mathtilde{a}\) be the equivalence class of \(a\) under \(\sim.\) Then
Now, let \(V\) be a representer set, containing exactly one element from each equivalence class of \(\tilde\) on \([-1, 1].\) Let also \(r_1, r_2, \ldots\) be a sequence which contains all the rational numbers in \([-2, 2]\) exactly once. Then
because for each \(a \in [-1, 1],\) there is a unique element \(v \in V\) that is in the same equivalence class as \(a,\) namely \(v = \tilde{a} \cap V,\) so \(a - v \in \mathbb{Q},\) from which it follows that \(a - v = r_k\) for some \(k \in \mathbb{Z}^+,\) and therefore \(a \in r_k + V.\) The set inclusion above together with the order preserving property of the outer measure, and the translation invariance of the outer measure imply that
Thus \(|V| > 0.\) Now, note that the sets \((r_1 + V), (r_2 + V), \ldots, (r_K + V)\) are disjoint for any \(K \in \mathbb{Z}^+.\) Note also that for any \(K \in \mathbb{Z}^+,\) we have
Now, suppose that the outer measure is additive. Then, applying the additivity property \(K - 1\) times gives
reaching a contradiction, because \(|V| > 0,\) so the above inequality cannot hold for any \(K.\)
Shortly, we will show that this negative result is not a fundamental limitation of our definition of the outer measure. Before doing so however, we will give a positive result that is useful in some contexts. Specifically, we will show that given a sequence of sets that are contained by disjoint open intervals, the outer measure of the union of the sets is equal to the sum of the outer measures of the sets.
(Outer measure is additive if sets are contained by disjoint open intervals)
Suppose \(S_1, S_2, \ldots\) is a sequence of sets and \(A_1, A_2, \ldots\) is a sequence of disjoint open intervals with \(S_k \subseteq A_k,\) then
Proof: Outer measure is additive if sets are contained by disjoint open intervals
First, by the subadditivity of the outer measure, we have
We will now show the inequality in the other direction. Suppose that \(I_1, I_2, \ldots\) is a sequence of open intervals whose union contains \(\cup_{n=1}^\infty S_n.\) Since the sets \(A_n\) are disjoint, for each \(k \in \mathbb{N},\) we have
Therefore, we have
where the last equality follows from the fact that for a fixed \(n \in \mathbb{N},\) the sets \(I_1 \cap A_n, I_2 \cap A_n, \ldots\) are open intervals whose union contains \(S_n.\) Taking the infimum over all sequences of all open intervals whose union contains \(\cup_{n=1}^\infty S_n,\) we have
completing the result.
This result highlights that if there is a sequence of sets on which the outer measure is not additive, then the sets cannot be separable in the sense described above.
Measurable spaces and functions#
A natural question is whether the nonadditivity of the outer measure is due to a flaw in our definition. However, this next result shows that any notion of length that satisfies certain intuitive properties cannot be additive.
\(\mathbb{R}\))
(Nonexistence of extension of length to all subsets ofThere does not exist a function \(\mu\) with the following properties:
(a) \(\mu\) is a function from the set of subsets of \(\mathbb{R}\) to \([0, \infty],\)
(b) \(\mu(I) = \ell(I)\) for all open intervals \(I \subseteq \mathbb{R},\)
(c) For every disjoint sequence \(A_1, A_2, \ldots\) of subsets of \(\mathbb{R},\) \(\mu \left( \cup_{k=1}^\infty A_k \right) = \sum_{k=1}^\infty \mu(A_k),\)
(d) \(\mu(t + A) = \mu(A)\) for all \(A \subseteq \mathbb{R}\) and \(t \in \mathbb{R}.\)
Proof: Nonexistence of extension of length to all subsets of \(~\mathbb{R}\)
Suppose there exists a function \(\mu\) with all the properties listed in the statement of this theorem. We will show that \(\mu\) has all the properties that were used in our proof of the nonadditivity of the outer measure, and we can then repeat the argument used there.
Showing the relevant properties: First, observe that \(\mu(\emptyset) = 0,\) because \(\emptyset\) is an open interval with length \(0.\) Now, \(\mu\) has the order preserving property, bevause if \(A \subseteq B \subseteq \mathbb{R},\) then \(\mu(A) \subseteq \mu(B),\) because considering the sequence \(A, B \setminus A, \emptyset, \emptyset, \ldots\) and applying property (c), we arrive at
In addition, if \(a, b \in \mathbb{R}\) with \(a < b,\) then
for every \(\epsilon > 0,\) so
and since \(\epsilon > 0\) is arbitrary, this implies that
Finally, if \(A_1, A_2, \ldots\) is a sequence of disjoint subsets of \(\mathbb{R},\) then
is a sequence of disjoint subsets of \(\mathbb{R},\) so by property (c), we have
Therefore \(\mu\) is countably subadditive.
Repeating the argument: Now, define the set \(V\) in the same way that it was defined in the proof of the nonadditivity of the outer measure. Specifically, let \(\sim\) be the equivalence relation such that for \(x, y \in [-1, 1]\) we have \(x \sim y\) if \(x\) and \(y\) differ by a rational number. Let \(V\) be the set which contains exactly one representative from each equivalence clss of \(\sim.\) Let \(r_1, r_2, \ldots\) be a sequence that contains each rational number in \([-2, 2]\) exactly once. Then, by properties (3) and (4) of \(\mu,\) as well as the translation invariance of \(\mu\), property (d), we have
Thus \(\mu(V) > 0.\) Now, note that the sets \((r_1 + V), (r_2 + V), \ldots, (r_K + V)\) are disjoint for any \(K \in \mathbb{Z}^+.\) Note also that for any \(K \in \mathbb{Z}^+,\) we have
Now, using the additivity and the translation invariance of \(\mu\), properties (c) and (d), we have
reaching a contradiction, because \(|V| > 0,\) so the above inequality cannot hold for any \(K.\)
Sigma algebras#
Theorem 69 shows that there does not exist a notion of length that satisfies all four intuitive properties that we would like length to satisfy. We therefore need to relax at least one of these properties to proceed. We cannot relax (b), because we want all open intervals to have the length one would expect. We also cannot give up (c), because we want length to be additive. Finally, we cannot give up (d) either, because we want length to be translation invariant. Therefore, our only option is to relax (a). This is where \(\sigma\)-algebras come in: instead of using all subsets of \(\mathbb{R}\) as the domain of \(\mu,\) we will restrict the domain to be a certain collection of subsets, which circumvents the issue of non-measurable sets.
\(\sigma\)-algebra)
(Suppose \(X\) is a set and \(\mathcal{S}\) is a set of subsets of \(X.\) Then \(\mathcal{S}\) is called a \(\sigma\)-algebra on \(X\) if it satisfies:
\(\emptyset \in \mathcal{S},\)
if \(E \in \mathcal{S},\) then \(X \setminus E \in \mathcal{S},\)
if \(E_1, E_2, \ldots\) is a sequnece of elements of \(\mathcal{S},\) then \(\bigcup_{k=1}^\infty E_k \in S.\)
From this definition, a number of basic properties of \(\sigma\) algebras follow immediately.
\(\sigma\)-algebras)
(Other properties ofSuppose \(\mathcal{S}\) is a \(\sigma\)-algebra on a set \(X.\) Then
(a) \(X \in \mathcal{S},\)
(b) if \(D, E \in \mathcal{S},\) then \(D \cup E \in \mathcal{S}, D \cap E \in \mathcal{S}\) and \(D \setminus E \in \mathcal{S},\)
(c) if \(E_1, E_2, \ldots\) is a sequence of elements of \(\mathcal{S},\) then \(\cap_{k = 1}^\infty E_k \in \mathcal{S}.\)
Proof: Other properties of \(~\sigma\)-algebras
Because \(\emptyset \in S\) and \(X = X \setminus \emptyset,\) we have \(X \in S.\) Suppose \(D, E \in S.\) Then \(D \cup E \in S\) because this is the union of the sequence \(D, E, \emptyset, \emptyset, \ldots \in S.\) In addition,
and also \(D \setminus (X \setminus E) = D \cap E \in S.\) Lastly, if \(E_1, E_2, \ldots\) is a sequence of elements of \(S,\) then
We will later define measures, which will be functions that take values on \(\sigma\)-algebras over sets rather than entire powersets. The fact that \(\sigma\)-algebras are closed under complements, as well as countable unions and intersections will allow us to prove useful theorems about limits of measures. For this, we first define measurable spaces and measurable sets.
(Measurable space, measurable set)
A measurable space is an ordered pair \((X, S),\) where \(X\) is a set and \(S\) is a \(\sigma\)-algebra on \(X.\) An element of \(S\) is called a \(S\)-measurable set, or simply a measurable set if \(S\) is clear from the context.
One very useful theorem for proving results about \(\sigma\)-algebras is that given a set \(X\) and a set of subsets of \(X,\) say \(A,\) the intersection of all \(\sigma\)-algebras on \(X\) that contain \(A\) is also a sigma algebra.
\(\sigma\)-algebra containing a collection of subsets)
(SmallestSuppose \(X\) is a set and \(A\) is a set of subsets of \(X.\) Then, the intersection of all \(\sigma\)-algebras on \(X\) that contain \(A\) is a \(\sigma\)-algebra on \(X.\)
Proof: Smallest \(~\sigma\)-algebra containing a collection of subsets
There is at least one \(\sigma\)-algebra on \(X\) that contains \(A,\) because the power set of \(X\) is a \(\sigma\)-algebra on \(X\) that contains \(A.\) Let \(S\) be the intersection of all \(\sigma\)-algebras on \(X\) that contain \(A.\)
First, \(\emptyset \in S,\) because \(\emptyset\) is in every \(\sigma\)-algebra on \(X.\)
Second, if \(E \in S,\) then \(E\) is in every \(\sigma\)-algebra on \(X\) that contains \(A,\) so \(X \setminus E\) is in every \(\sigma\)-algebra on \(X\) that contains \(A,\) so \(X \setminus E \in S.\)
Third, if \(E_1, E_2, \ldots\) is a sequence of elements of \(S,\) then \(E_1, E_2, \ldots\) is a sequence of elements of every \(\sigma\)-algebra on \(X\) that contains \(A,\) so \(\bigcup_{k=1}^\infty E_k\) is in every \(\sigma\)-algebra on \(X\) that contains \(A,\) so \(\bigcup_{k=1}^\infty E_k \in S.\)
The intersection of all \(\sigma\)-algebras containing a collection of sets \(A\) is sometimes also referred to as the \(\sigma\)-algebra generated by \(A.\) We now come to the definition of an important \(\sigma\)-algebra, the Borel \(\sigma\)-algebra over \(\mathbb{R}.\) This is the \(\sigma\)-algebra generated by the open subsets of \(\mathbb{R}.\)
(Borel set)
The smallest \(\sigma\)-algebra on \(\mathbb{R}\) that contains all the open subsets of \(\mathbb{R}\) is called the collection of Borel subsets on \(\mathbb{R}.\) An element of this \(\sigma\)-algebra is called a Borel set.
Before moving to measurable functions, we will define inverse images of functions.
(Inverse image)
If \(f: X \in Y\) is a function and \(A \subseteq Y,\) then the inverse image of \(A\) under \(f\) is defined by
We now prove certain useful properties that inverse images have This will allow us to prove some very useful results about measurable functions.
(Algebra of inverse images)
Suppose \(f: X \to Y\) is a function. Then
(a) \(f^{-1}(Y \setminus A) = X \setminus f^{-1}(A)\) for all \(A \subseteq Y,\)
(b) \(f^{-1}(\cup_{A \in \mathcal{A}} A) = \cup_{A \in \mathcal{A}} f^{-1}(A)\) for all \(\mathcal{A} \subseteq \mathcal{P}(Y),\)
(c) \(f^{-1}(\cap_{A \in \mathcal{A}} A) = \cap_{A \in \mathcal{A}} f^{-1}(A)\) for all \(\mathcal{A} \subseteq \mathcal{P}(Y).\)
Proof: Algebra of inverse images
Part (a): Suppose \(A \subseteq Y.\) For \(x \in X\) we have
Thus \(f^{-1}(Y \setminus A) = X \setminus f^{-1}(A).\)
Part (b): Suppose \(\mathcal{A} \subseteq \mathcal{P}(Y).\) Then
Thus \(f^{-1}\left(\bigcup_{A \in \mathcal{A}} A\right) = \bigcup_{A \in \mathcal{A}} f^{-1}(A).\)
Part (c): Suppose \(\mathcal{A} \subseteq \mathcal{P}(Y).\) Then
Thus \(f^{-1}\left(\bigcap_{A \in \mathcal{A}} A\right) = \bigcap_{A \in \mathcal{A}} f^{-1}(A).\)
(Inverse image of a composition)
Suppose \(f: X \to Y\) and \(g: Y \to Z\) are functions. Then
for all \(A \subseteq Z.\)
Proof: Inverse image of a composition
Suppose \(A \subseteq Z.\) For \(x \in X\) we have
Thus \((g \circ f)^{-1}(A) = f^{-1}(g^{-1}(A)).\)
Measurable functions#
Now we introduce measurable functions. As the name suggests, measurable functions are functions such that the inverse images of Borel sets under these functions are measurable sets.
(Measurable function)
Suppose \((X, S)\) is a measurable space. A function \(f: X \to \mathbb{R}\) is called \(S\)-measurable if
for all Borel sets \(B \subseteq \mathbb{R}.\)
One important kind of function is the characteristic function, a function which is equal to one on a given set and zero everywhere else.
Conditions for measurable functions#
Now we show one very useful result on measurable functions. Naively showing a function to be measurable would be tricky because we would have to check that the inverse image of any Borel set under the function is measurable. Since there are lots of Borel sets, this approach would not be possible. The following result gives a sufficient condition for a function to be measurable, which is far easier to work with.
(Condition for measurable function)
Suppose \((X, S)\) is a measurable space and \(f: X \to \mathbb{R}\) is a function such that
for all \(a \in \mathbb{R}.\) Then \(f\) is \(S\)-measurable.
Proof: Condition for measurable function
Consider the set
We will show that every Borel subset of \(\mathbb{R}\) is in \(T.\) To do this, we will first show that \(T\) is a \(\sigma\)-algebra on \(\mathbb{R}.\) Then, we will show that \(T\) contains all the open intervals of \(\mathbb{R},\) which will imply that \(T\) contains all the Borel subsets of \(\mathbb{R}.\)
\(T\) is a \(\sigma\)-algebra on \(\mathbb{R}\): First, \(\emptyset \in T,\) because \(f^{-1}(\emptyset) = \emptyset \in S.\) Second, if \(A \in T,\) then \(f^{-1}(A) \in S,\) so \(f^{-1}(X \setminus A) = X \setminus f^{-1}(A) \in S,\) so \(X \setminus A \in T.\) Third, if \(A_1, A_2, \ldots \in T,\) then \(f^{-1}(A_1), f^{-1}(A_2), \ldots \in S,\) so
so \(\cup_{k=1}^\infty A_k \in T.\) Thus \(T\) is a \(\sigma\)-algebra on \(\mathbb{R}.\)
Every open interval is in \(T\): By the hypothesis in the theorem statement, it follows that \(f^{-1}((a, \infty)) \in S\) for all \(a \in \mathbb{R},\) so \((a, \infty) \in T\) for all \(a \in \mathbb{R}.\) Since \(T\) is a \(\sigma\)-algebra on \(\mathbb{R},\) it is closed under complementation and intersection so \((-\infty, b] \in T\) for all \(b \in \mathbb{R},\) and \((a, b) \in T\) for all \(a, b \in \mathbb{R}.\) Therefore \(T\) contains all the open intervals of \(\mathbb{R},\) so \(T\) contains all the Borel subsets of \(\mathbb{R}.\)
Properties of measurable functions#
In the special case that \(X\) is a subset of \(\mathbb{R}\) and \(S\) is the set of Borel subsets of \(\mathbb{R},\) we use the term Borel measurable to refer to \(S\)-measurable functions.
(Borel measurable function)
Suppose \(X \subseteq \mathbb{R}.\) A function \(f: X \to \mathbb{R}\) is called Borel measurable if \(f^{-1}(B)\) is a Borel set for every Borel set \(B \subseteq \mathbb{R}.\)
Now we prove a number a few results on sufficient conditions for Borel measurable functions.
(Every continuous function is Borel measurable)
Every continuous real-valued function defined on a Borel subset of \(\mathbb{R}\) is a Borel measurable function.
Proof: Every continuous function is Borel measurable
Suppose that \(X \subseteq \mathbb{R}\) is a Borel set and \(f: X \to \mathbb{R}\) is a Borel measurable function. Suppose \(a \in \mathbb{R}.\) If \(x \in X\) such that \(f(x) > a,\) then by the continuity of \(f,\) there exists \(\delta_x > 0\) such that \(f(y) > a\) for all \(y \in (x - \delta_x, x + \delta_x).\) Thus, we have
The above union is a union of open sets, which is therefore also open, so its intersection with \(X\) is a Bore set. By our earlier condition for measurable functions, \(f\) is Borel measurable.
(Every increasing function is Borel measurable)
Every increasing function defined on a Borel subset of \(\mathbb{R}\) is a Borel measurable function.
Proof: Every increasing function is Borel measurable
Suppose that \(X \subseteq \mathbb{R}\) is a Borel set and \(f: X \to \mathbb{R}\) is an increasing function. Suppose \(a \in \mathbb{R}.\) Let \(b = \inf f^{-1}((a, \infty)).\) Then
holds. Since \(X\) is a Borel set, and both \((b, \infty)\) and \([b, \infty)\) are Borel sets, it follows that \(f^{-1}((a, \infty))\) is a Borel set. By our earlier condition for measurable functions, \(f\) is Borel measurable.
(Composition of measurable functions)
Suppose \((X, S)\) is a measurable space and \(f: X \to \mathbb{R}\) is a measurable function. Suppose that \(g\) is a real-valued Borel measurable function defined on a subset of \(\mathbb{R}\) that includes the range of \(f.\) Then \(g \circ f: X \to \mathbb{R}\) is a measurable function.
Proof: Composition of measurable functions
Suppose \((X, S)\) is a measurable space and \(f: X \to \mathbb{R}\) is a measurable function. Suppose that \(g\) is a real-valued Borel measurable function defined on a subset of \(\mathbb{R}\) that includes the range of \(f.\) Let \(B \subseteq \mathbb{R}\) be a Borel set. Because \(g\) is a Borel measurable function, and \(B\) is a Borel set, \(g^{-1}(B)\) is also a Borel set. Because \(f\) is a measurable function, and \(g^{-1}(B)\) is a Borel set, \(f^{-1}(g^{-1}(B))\) is in \(S,\) so \(g \circ f\) is Borel measurable.
Measurable functions also satisfy intuitive algebraic properties that are very useful for proving measurability.
(Algebraic operations with measurable functions)
Suppose \((X, S)\) is a measurable space and \(f, g: X \to \mathbb{R}\) are \(S\)-measurable functions. Then
(a) \(f + g, f - g, f g\) are \(S\)-measurable functions,
(b) if \(g(x) \neq 0\) for all \(x \in X,\) then \(f / g\) is a \(S\)-measurable function.
Proof: Algebraic operations with measurable functions
Suppose \((X, S)\) is a measurable space and \(f, g: X \to \mathbb{R}\) are \(S\)-measurable functions.
Part (a): Fix \(a \in \mathbb{R}.\) We will first show that
Suppose \(x \in (f+g)^{-1}((a, \infty)).\) Then \(f(x) + g(x) > a,\) so the open interval \((a - g(x), f(x))\) is non-empty, and thus it contains a rational number \(q.\) This implies that \(q < f(x)\) and \(a - q < g(x),\) so \(x \in f^{-1}((q, \infty)) \cap g^{-1}((a - q, \infty)).\) So \(x\) is in the right hand side of the equation above. Conversely, if \(x \in \left( f^{-1}((q, \infty)) \cap g^{-1}((a - q, \infty)) \right)\) for some \(q \in \mathbb{Q},\) then \(f(x) > q\) and \(g(x) > a - q,\) so \(f(x) + g(x) > a,\) so \(x \in (f + g)^{-1}((a, \infty)).\) We conclude that \((f + g)^{-1}((a, \infty))\) is a countable union of intersections of pairs of Borel sets, so it is a Borel set, so \(f + g\) is a Borel measurable function.
Noting that if \(g\) is a Borel measurable function, then \(-g\) is also a Borel measurable function, we have that \(f - g = f + (-g)\) is a Borel measurable function. To show that \(fg\) is a Borel measurable function, consider that
and that \((f+g)^2, f^2, g^2\) are all Borel measurable functions because they are compositions of Borel measurable functions with the function \(s: \mathbb{R} \to \mathbb{R}\) where \(s(x) = x^2,\) which is a Borel measurable function. Therefore, also considering that halfing is a Borel measurable function, we have that \(fg\) is a Borel measurable function.
Part (b): Suppose \(g(x) \neq 0\) for all \(x \in X.\) Note that the function \(r: \mathbb{R} \setminus \{0\} \to \mathbb{R}\) defined by \(r(x) = 1/x\) is a Borel measurable function, because it is continuous on its domain. Then \(1/g = r \circ g\) is a composition of Borel measurable functions, so it is a Borel measurable function. Lastly, \(f/g\) is a product of two Borel measurable functions, \(f\) and \(1 / g,\) so it is a Borel measurable function.
We now prove a very useful result, namely that pointwise limits of measurable functions are measurable. This is a highly desirable property, and perhaps somewhat surprising that it holds: recall that the pointwise limit of Riemann integrable functions on some interval is not closed under taking pointwise limits.
\(S\)-measurable functions is \(S\)-measurable)
(Pointwise limit ofSuppose \((X, S)\) is a measurable space and \(f_1, f_2, \ldots\) are \(S\)-measurable functions from \(X\) to \(\mathbb{R}.\) Suppose \(\lim_{k \to \infty} f_k(x)\) exists for each \(x \in X.\) Define \(f: X \to \mathbb{R}\) by
Then \(f\) is a \(S\)-measurable function.
Proof: Pointwise limit of \(~S\)-measurable functions is \(~S\)-measurable
Suppose \((X, S)\) is a measurable space and \(f_1, f_2, \ldots\) are \(S\)-measurable functions from \(X\) to \(\mathbb{R}.\) Suppose \(\lim_{k \to \infty} f_k(x)\) exists for each \(x \in X.\) Define \(f: X \to \mathbb{R}\) by
Suppose \(a \in \mathbb{R}.\) We will show that
Suppose \(x \in f^{-1}((a, \infty)).\) Then \(f(x) > a,\) so there exists \(j \in \mathbb{Z}^+\) such that \(f(x) > a + 1/j.\) Then, by the definition of limits, there exists \(m \in \mathbb{Z}^+\) such that \(f_k(x) > a + 1/j\) for all \(k \geq m.\) Thus \(x\) is in the right hand side of the equation above. Conversely, suppose \(x\) is in the right hand side of the equation above. Then there exists \(j \in \mathbb{Z}^+\) and \(m \in \mathbb{Z}^+\) such that \(f_k(x) > a + 1/j\) for all \(k \geq m.\) Taking the limit as \(k \to \infty,\) we have \(f(x) \geq a + 1/j > a,\) so \(x \in f^{-1}((a, \infty)).\)
We conclude that \(f^{-1}((a, \infty))\) is a Borel set and by our earlier condition for measurable functions, \(f\) is a Borel measurable function.
Sometimes, we may need to consider functions which take values in \([-\infty, \infty].\) We therefore extend the notion of Vorel sets to subsets of \([-\infty, \infty]\) in the following way.
\([-\infty, \infty]\))
(Borel subsets ofA subset of \([-\infty, \infty]\) is called a Borel subset if its intersection with \(\mathbb{R}\) is a Borel set.
With the above definition in place, we can also extend the definition of measurable functions.
\([-\infty, \infty]\))
(Measurable function onSuppose \((X, \mathcal{S})\) is a measurable space. A function \(f: X \to [-\infty, \infty]\) is \(\mathcal{S}\)-measurable if
\(f^{-1}(B) \in \mathcal{S}\)
for every Borel set \(B \subseteq [-\infty, \infty].\)
The following result is the counterpart of our earlier sufficient condition for measurability, but with infinities included in the range of the function.
(Sufficient condition for measurable function)
Suppose \((X, \mathcal{S})\) is a measurable space and \(f: X \to [-\infty, \infty]\) is a function such that
for all \(a \in \mathbb{R}.\) Then \(f\) is \(\mathcal{S}\)-measurable.
Proof: Sufficient condition for measurable function
Suppose \((X, \mathcal{S})\) is a measurable space and \(f: X \to [-\infty, \infty]\) is a function such that
for all \(a \in \mathbb{R}.\) Note that
and also similarly \(f^{-1}(\{-\infty\}) \in \mathcal{S}.\) From these it follows that
Let \(B\) be a Borel set in \([-\infty, \infty].\) From our earlier condition for measurable functions, it follows that \(f^{-1}(B \cap \mathbb{R}) \in \mathcal{S}\) for any Borel set \(B \subseteq [-\infty, \infty].\) We therefore have
so \(f\) is \(\mathcal{S}\)-measurable.
Concluding this section, we show that pointwise infimuma and pointwise supremuma of measurable functions are measurable. Note that this result would not have made sense before modifying the definition of measurability to include infinity, because the supremum and infimum can be \(\infty\) and \(- \infty.\)
(Infimum and supremum of a sequence of measurable functions is measurable)
Suppose \((X, \mathcal{S})\) is a measurable space and \(f_1, f_2, \ldots\) is a sequence of \(\mathcal{S}\)-measurable functions from \(X\) to \([-\infty, \infty].\) Define \(g, h: X \to [-\infty, \infty]\) by
Then \(g\) and \(h\) are \(\mathcal{S}\)-measurable functions.
Proof: Infimum and supremum of a sequence of measurable functions is measurable
Let \(a \in \mathbb{R}.\) The definition of the supremum implies that
which, together with the earlier sufficient condition for measurable function, implies that \(h\) is \(\mathcal{S}\)-measurable, that is, the supremum of a sequence of measurable functions is measurable. Now, note that
so \(g\) is the supremum of a sequence of measurable functions, and is therefore measurable. Therefore, the infimum of a sequence of measurable functions is measurable.
Measures and their properties#
Now we come to the definition of measures. Our original motivation for the following definition came from trying to extend the notion of the length of an interval to the length of more general sets. However, the following definition is allows us to generalise a notion of size to other contexts, such as areas or volumes and beyond.
(Measure)
Suppose \(X\) is a set and \(\mathcal{S}\) is a \(\sigma\)-algebra on \(X.\) A measure on \((X, \mathcal{S})\) is a function \(\mu: \mathcal{S} \to [0, \infty]\) such that \(\mu(\emptyset) = 0\) and \(\mu\) is countably additive, that is
for every disjoint sequence \(E_1, E_2, \ldots\) of sets in \(\mathcal{S}.\)
Countable additivity of measures is a key property that allows us to prove useful limit theorems. Note that countable additvity implies finite additivity, that is, if \(\mu\) is a measure on \((X, \mathcal{S})\) and \(E_1, \ldots, E_n\) are disjoint sets in \(\mathcal{S},\) then
The following terminology is often very useful.
(Measure space)
A measure space is an ordered triple \((X, \mathcal{S}, \mu),\) where \(X\) is a set, \(\mathcal{S}\) is a \(\sigma\)-algebra on \(X\) and \(\mu\) is a measure on \((X, \mathcal{S}).\)
Properties of measures#
Now we discuss several useful properties of measures.
(Measure preserves order; measure of a set difference)
Suppose \((X, \mathcal{S}, \mu)\) is a measure space and \(D, E \in \mathcal{S}\) with \(D \subseteq E.\) Then
(a) \(\mu(D) \leq \mu(E),\)
(b) \(\mu(E \setminus D) = \mu(E) - \mu(D)\) provided that \(\mu(D) < \infty.\)
Proof: Measure preserves order; measure of a set difference
Note that \(E = D \cup (E \setminus D)\) is a disjoint union, so by countable additivity of measures
, we have
which proves part (a). If \(\mu(D) < \infty,\) then part (b) follows by subtracting \(\mu(D)\) from both sides of the equation above.
The countable additivity property of measures applies to disjoint countable unions. The following countable subadditivity property applies to countable unions that may not be disjoint unions.
(Countable subadditivity)
Suppose \((X, \mathcal{S}, \mu)\) is a measure space and \(E_1, E_2, \ldots \in \mathcal{S}.\) Then
Proof: Countable subadditivity
Suppose \(E_1, E_2, \ldots \in \mathcal{S}.\) Let \(D_1 = \emptyset\) and \(D_k = E_1 \cup \cdots \cup E_{k-1}\) for \(k \geq 2.\) Then \(E_1 \setminus D_1, E_2 \setminus D_2, \ldots\) is a sequence of disjoint sets in \(\mathcal{S}\) whose union equals \(\cup_{k=1}^\infty E_k.\) Therefore
where the second equality follows from countable additivity of measures
and the inequality follows from the fact that measures preserve order.
Just as countable additivity implies finite additivity, countable subadditivity implies finite subadditivity. That is if \(\mu\) is a measure on \((X, \mathcal{S})\) and \(E_1, \ldots, E_n\) are sets in \(\mathcal{S},\) then
Now we show two very useful results about limits on measures. Note that the countable additivity property of measures is crucial for the following results.
(Measure of an increasing union)
Suppose \((X, \mathcal{S}, \mu)\) is a measure space and \(E_1, E_2, \ldots \in \mathcal{S}\) is an increasing sequence of sets in \(\mathcal{S},\) that is \(E_1 \subseteq E_2 \subseteq \cdots.\) Then
Proof: Measure of an increasing union
If \(\mu(E_k) = \infty\) for some \(k,\) then the equality holds because both sides are equal to \(\infty.\) Let us consider the case where \(\mu(E_k) < \infty\) for all \(k \in \mathbb{Z}^+.\)
For convenience, let \(E_0 = \emptyset.\) Then, using the fact that \(E_1, E_2, \ldots\) is an increasing sequence of sets, we have
which is a disjoint union.
Therefore, by countable additivity of measures
, we have
Just as with the earlier property we showed about limits of increasing sequences of sets, we also have an analogous result about limits of decreasing sequences of sets.
(Measure of a decreasing intersection)
Suppose \((X, \mathcal{S}, \mu)\) is a measure space and \(E_1, E_2, \ldots \in \mathcal{S}\) is a decreasing sequence of sets in \(\mathcal{S},\) that is \(E_1 \supseteq E_2 \supseteq \cdots,\) with \(\mu(E_1) < \infty.\) Then
Proof: Measure of a decreasing intersection
First, we have that
which is an increasing union, and by our earlier result on measures of increasing unions, we have
Using the countable additivity of measures, we have
which proves the result.
We conclude this section with another useful intuitive result, namely that the measure of the union of two sets is the sum of the measures of the sets minus the measure of their intersection, which has been counted twice.
(Measure of the union of two sets)
Suppose \((X, \mathcal{S}, \mu)\) is a measure space and \(D, E \in \mathcal{S}.\) Then
Proof: Measure of the union of two sets
We have
which is a disjoint union.
Therefore, by countable additivity of measures
, we have
Lebesgue measure#
Now we move to define the Lebesgue measure which is central in measure theory. In short the Lebesgue measure is the modified notion of length we have been building up towards. Specifically, it will be the outer measure restricted (from the set of all subsets of \(\mathbb{R}\)) to the Borel sets of \(\mathbb{R}.\) The main result in this section will be proving that the outer measure, when restricted to the Borel sets of \(\mathbb{R},\) is in fact a measure.
Additivity of outer measure on Borel sets#
The main task for showing that the outer measure is a measure, when restricted to Borel sets, is to show that the outer measure is additive on the borel \(\sigma\)-algebra. We break up this proof into intermediate results, including some results that are useful in subsequent chapters. First, we show that the outer measure is additive if one of the sets is open.
(Additivity of outer measure if one of the sets is open)
Suppose \(A\) and \(G\) are disjoint subsets of \(\mathbb{R}\) and \(G\) is open. Then
Proof: additivity of outer measure if one of the sets is open
First, we can assume that \(|G| < \infty,\) because otherwise both sides of the equation above are equal to \(\infty.\)
The subadditivity of the outer measure implies that \(|A \cup G| \leq |A| + |G|.\) It therefore remains to show the inequality in the opposite direction.
Consider the special case where \(G = (a, b),\) for some \(a, b \in \mathbb{R}\) with \(a < b.\) Further, we can assume that \(a, b \neq A,\) because changing a set by at most two points does not change its outer measure. Let \(I_1, I_2, \dots\) be a sequence of open intervals whose union contains \(A \cup G.\) For each \(n \in \mathbb{Z}^+,\) let
From this definition, we have that
Note that \(J_1, L_1, J_2, L_2, \dots\) is a sequence of open intervals whose union contains \(A,\) and \(K_1, K_2, \dots\) is a sequence of open intervals whose union contains \(G.\) Thus
This inequality implies that \(|A \cup G| \geq |A| + |G|\) in the special case that \(G\) is an open interval. Using induction on \(m\) we conclude that if \(m \in \mathbb{Z}^+\) and \(G\) is a union of \(m\) disjoint open intervals that are all disjoint from \(A,\) then \(|A \cup G| = |A| + |G|.\) Now, suppose that \(G\) is an arbitrary open subset of \(\mathbb{R}\) that is disjoint from \(A.\) Then \(G = \cup_{n=1}^\infty I_n\) for some sequence of disjoint open intervals \(I_1, I_2, \dots,\) each of which is disjoint from \(A.\) For each \(m \in \mathbb{Z}^+\) we have
which in turn implies that
completing the proof that \(|A \cup G| = |A| + |G|\) for the case of a general open set \(G.\)
Then we show that the outer measure is additive if one of the sets is closed.
(Additivity of outer measure if one of the sets is closed)
Suppose \(A\) and \(F\) are disjoint subsets of \(\mathbb{R}\) and \(F\) is closed. Then
Proof: additivity of outer measure if one of the sets is closed
Suppose \(I_1, I_2, \dots\) is a sequence of open intervals whose union contains \(A \cup F.\) Let \(G = \cup_{n = 1}^\infty I_n.\) Then \(G\) is an open set which contains \(A \cup F.\) Now, note that \(G \setminus F = G \cap (\mathbb{R} \setminus F)\) is an intersection of two open sets and is therefore an open set. Applying our previous result showing that the outer measure is additive if one of the sets is open we have that
Using the fact that \(A \subseteq G \setminus F,\) and the above equation, we have that
which in turn implies that
from which we conclude that \(|F \cup A| = |F| + |A|.\)
Now we turn to a very useful result, which says that any Borel set can be approximated by a closed subset arbitrarily well.
(Approximation of Borel sets from below by closed sets)
Suppose \(B \subseteq \mathbb{R}\) is a Borel set. Then, for every \(\epsilon > 0,\) there exists a closed set \(F \subseteq B\) such that \(|B \setminus F| < \epsilon.\)
Proof: approximation of Borel sets from below by closed sets
Consider the set
This is the set of all subsets of \(\mathbb{R}\) which can be approximated below with closed sets. Our approach to proving the result will be to show that \(\mathcal{L}\) is a \(\sigma\)-algebra. Then, noting that \(\mathcal{L}\) contains all closed subsets of \(\mathbb{R},\) by taking complements we conclude that it must contain all open subsets of \(\mathbb{R},\) so it also contains every Borel subset of \(\mathbb{R},\) which will complete the proof.
To show that \(\mathcal{L}\) is a \(\sigma\)-algebra, we will first show that it is closed under countable intersections. Suppose \(D_1, D_2, \cdot \subseteq \mathcal{L}.\) Let \(\epsilon > 0.\) For each \(k \in \mathbb{Z}^+,\) there exists a closed set \(F_k\) such that
Thus \(\cap_{k=1}^\infty F_k\) is a closed set and
from which it follows that
Thus \(\cap_{n=1}^\infty D_k \in \mathcal{L},\) proving that \(\mathcal{L}\) is closed under countable intersections. Now we turn to proving that \(\mathcal{L}\) is closed under complementation. Suppose \(D \in \mathcal{L}\) and \(\epsilon > 0.\) We will first consider the case \(|D| < \infty.\) Let \(F \subseteq D\) be a closed set such that \(|D \setminus F| < \frac{\epsilon}{2}.\) The definition of outer measure implies that there exists an open set \(G\) such that \(D \subseteq G\) and \(|G| < |D| + \frac{\epsilon}{2}.\) Therefore we have
Now, the set \(G \setminus F\) is open, and using the fact that \(|F| > |D| - |D \setminus F|,\) we have
from which we conclude
Therefore \(\mathbb{R} \setminus D\) in the case \(|D| < \infty.\) Now, for general \(D,\) let \(\epsilon > 0\) and define the sets \(D_k = D \cap [-k, k]\) for \(k \in \mathbb{Z}^+.\) The previous case implies that \(\mathbb{R} \setminus D_k \in \mathcal{L}.\) Using the fact that \(\mathcal{L}\) is closed under intersections and that
we conclude that \(\mathbb{R} \setminus D \in \mathcal{L}.\) Thus \(\mathcal{L}\) is a \(\sigma\)-algebra, which concludes the proof.