Skip to main content

Chapter 12 Back to the Real Numbers

As we have seen, when they converge, power series are very well behaved. But Fourier (trigonometric) series were not at all well behaved. That was a puzzle which made them a lightning rod for mathematical study in the nineteenth century.
For example, consider the question of uniqueness. We saw in Chapter 7 that if a function could be represented by a power series, then that series must be the Taylor series. More precisely, if
\begin{equation*} f(x)=\displaystyle\sum_{n=0}^\infty a_n(x-a)^n \text{,} \end{equation*}
then
\begin{equation*} a_n=\frac{f^{(n)}(a)}{n!} \end{equation*}
which makes the series unique. But what can be said about the uniqueness of a trigonometric series?
Using the techniques that he employed to solve the heat flow problem (see Chapter 5), Fourier showed that if a “general” function \(f(x)\) defined on the interval \([0,1]\) could be expressed as a trigonometric series
\begin{equation*} f(x) = \sum_{m=0}^\infty \left[ a_n\cos(2n \pi x) + b_n\sin (2n\pi x)\right] \end{equation*}
then the coefficients could be determined as follows:
\begin{align*} a_0\amp{}=\int_{x=0}^1 f(x)\dx{x}\\ a_n\amp{}=2\int_{x=0}^1f(x)\cos(2n\pi x) \dx{x},\amp{} n=1, 2, 3, \cdots{}\\ b_n\amp{}=2\int_{x=0}^1f(x)\sin(2n\pi x) \dx{x},\amp{} n=0, 2, 3, \cdots{}. \end{align*}
If \(\sum_{m=0}^\infty \left[ a_n\cos(2n \pi x) + b_n\sin (2n\pi x)\right] \) converges uniformly to \(f\) on \([0, 1]\text{,}\) then Fourier’s term–by–term integration is perfectly legitimate and the coefficients will be as given above.
However we have seen that the convergence of a Fourier series need not be uniform. So term–by–term integration of a Fourier series is not guaranteed to produce the integral of the associated function.
Such considerations led to a generalization of the integral by Henri Lebesgue in \(1905\text{.}\) Lebesgue’s profound work settled the question: “Is a bounded pointwise converging trigonometric series the Fourier series of a function?” We will (very briefly) describe some of Lebesgue’s work in Section 12.3.
But before we can do that we will need to understand the pioneering work of Georg Cantor (1845–1918) on Set Theory in the late 19th century. Cantor’s work was profound, had far reaching implications in modern mathematics, and leads to some seemingly very weird conclusions.

Aside: Weird does not mean false.

Portrait of Georg Cantor
Figure 12.0.1. Georg Cantor
To begin we suppress the underlying function. Suppose we have the two series
\begin{equation*} \sum_{n=0}^\infty\left[{}a_n\cos (2n\pi x)+b_n\sin (2n\pi x)\right] \end{equation*}
and
\begin{equation*} \sum_{n=0}^\infty\left[ a^\prime_n\cos (2n\pi x)+b^\prime_n\sin (2n\pi x)\right]\text{.} \end{equation*}
We ask: If these two series are equal must it be true that \(a_n=a^\prime_n\) and \(b_n=b^\prime_n\text{?}\) We can reformulate this uniqueness question as follows: Suppose
\begin{equation*} \displaystyle\sum_{n=0}^\infty\left[(a_n-a^\prime_n)\cos (2n\pi x) +(b_n-b^\prime_n)\sin (2n\pi x)\right] = 0 \text{.} \end{equation*}
If we let \(c_n = a_n-a^\prime_n\) and \(d_n = b_n-b^\prime_n\text{,}\) then the question becomes: If
\begin{equation*} \sum_{n=0}^\infty\left[c_n\cos (2n\pi x)+d_n\sin (2n\pi x)\right] = 0\text{,} \end{equation*}
is it necessarily true that \(c_n=d_n=0\text{?}\)
Intuitively, it certainly seems reasonable to suppose so, but at this point we have enough experience with infinite sums to know that we need to be very careful about relying on the intuition we have gained from finite sums.
Answering this question led Cantor to study the makeup of the real number system. This in turn opened the door to the twentieth century view of mathematics. In particular, Cantor proved the following result in \(1871\) ([8], p. 305).
In his attempts to nail down precisely which “certain values” could be exceptional Cantor was led to examine the nature of subsets of real numbers and ultimately to give a precise definition of the concept of infinite sets and to define an arithmetic of “infinite numbers.”

Aside: Transfinite Numbers.

In his attempt to identify those “certain values,” Cantor proved the following theorems, which we will state but not prove.
He then generalized Theorem 12.0.3 as follows:
Observe that this is not a trivial generalization. Although the exceptional points are constrained to be finite in number, this number could still be extraordinarily large. That is, even if the series given above differed from zero on \(10^{\left(10^{100000}\right)}\) distinct points in the interval \(\left(0, 10^{-\left(10^{100000}\right)}\right)\) the coefficients still vanish. This remains true even if at each of these \(10^{\left(10^{100000}\right)}\) points the series converges to \(10^{\left(10^{100000}\right)}\text{.}\) This is truly remarkable when you think of it this way.
At this point Cantor became more interested in these exceptional points than in the Fourier series problem that he’d started with. The next task he set for himself was to see just how general the set of exceptional points could be. Following Cantor’s lead we make the following definitions.

Definition 12.0.5.

Let \(S\subseteq \RR\) and let \(a\) be a real number. We say that \(a\) is a limit point (or an accumulation point) of \(S\) if there is a sequence \((a_n)\) with \(a_n\in S-\left\{a\right\}\) which converges to \(a\text{.}\)

Problem 12.0.6.

Let \(S\subseteq\RR\) and let \(a\) be a real number. Prove that \(a\) is a limit point of \(S\) if and only if for every \(\eps>0\) the intersection of the interval \((a-\eps, a+\eps)\) with \(S\) contains more than the single point \({a}\text{.}\)
That is,
\begin{equation*} (a-\eps, a+\eps) \cap S -\left\{a\right\} \neq \emptyset. \end{equation*}
The following definition gets to the heart of the matter.

Definition 12.0.7.

Let \(S\subseteq\RR\text{.}\) The set of all limit points of \(S\) is called the derived set of \(S\text{.}\) The derived set is denoted \(S^{\prime}\text{.}\)
Don’t confuse the derived set of a set with the derivative of a function. They are completely different objects despite the similarity of both the language and notation. The only thing that they have in common is that they were somehow “derived” from something else.

Problem 12.0.8.

Determine the derived set \(S^\prime\text{,}\) of each of the following sets.
  1. \(\displaystyle S=\left\{\frac11, \frac12, \frac13, \ldots\right\}\)
  2. \(\displaystyle S=\left\{0,\frac11, \frac12, \frac13, \ldots\right\}\)
  3. \(\displaystyle S=(0,1]\)
  4. \(\displaystyle S=\left[\left.0,1/2\right)\right.\cup\left.\left(1/2,1\right.\right]\)
  5. \(\displaystyle S=\QQ\)
  6. \(\displaystyle S=\RR-\QQ\)
  7. \(\displaystyle S=\ZZ\)
  8. Any finite set \(S\text{.}\)

Problem 12.0.9.

Let \(S\subseteq\RR\text{.}\)
  1. Prove that \(\left(S^{\prime}\right)^{\prime}\subseteq S^{\prime}\text{.}\)
  2. Give an example where these two sets are equal.
  3. Give an example where these two sets are not equal.
The notion of the derived set forms the foundation of Cantor’s exceptional set of values. Specifically, let \(S\) again be a set of real numbers and consider the following sequence of sets:
\begin{equation*} S^{\prime}\supseteq \left(S^\prime\right)^\prime\supseteq \left(\left(S^\prime\right)^\prime\right)^\prime\supseteq \cdots\text{.} \end{equation*}
Cantor showed that if, at some point, one of these derived sets is empty, then the uniqueness property still holds. Specifically, we have:

Section 12.1 The Rise of Set Theory

Cantor’s work was instrumental in the re–examination of the foundations of mathematics whereby mathematical ideas were recast in the language of sets at the turn of the twentieth century. Nowadays we do this naturally, so it doesn’t seem profound, but recasting mathematics in terms of Set Theory has fundamentally shaped our modern approach. We’ve already seen this in Definition 12.0.5, Problem 12.0.6, and Definition 12.0.7 where we recast Cantor’s definition of a limit point into set theoretic terms.
It turns out that we can also rewrite concepts such as limits and continuity in terms of sets. This led to a subject known as point set topology. Presenting all of topology would require an entire new course with an entire new book, so we will only give a brief glimpse at how analysis concepts can be recast in set theoretic form.
Recall that a closed interval is one which contains its endpoints. Similarly, a set of real numbers \(S\) (not necessarily an interval) is called closed if it contains all of its limit points. A closed interval is also a closed set as the next problem shows.

Problem 12.1.1.

Prove that a closed interval, \([a,b]\) is also a closed set.
Hint.
First suppose that \(c\notin [a,b]\text{.}\) There are two cases:
Case 1
\(\displaystyle c\lt a\)
Case 2
\(b\lt c\text{.}\)

Problem 12.1.2.

The converse of Problem 12.1.1 is not true. That is, not every closed set is also a closed interval. Convince yourself that each of the sets below is closed.
(d)
\(\left(-\infty ,b\right]\)
(f)
\(\left\{\frac{1}{n},\ n\in \mathbb{N}\right\}\cup \left\{0\right\}\)
(h)
the union of two closed sets
At this point you’ve probably guessed that the definition of an open set can be modeled on the definition of open interval. That is true, but Definition 12.1.3 is easier to use.

Definition 12.1.3. Open Sets.

A set \(S\) of real numbers is open if its complement \(S^C=\RR-S\) is closed.

Problem 12.1.4.

Show that a set \(S\) is open if and only if for all \(a\in S\) there is an \(\eps >0\) such that \(\left(a-\eps ,a+\eps \right)\subset S\)
Hint.
Notice that if \(S^C\) is closed then \(a\in S\) is not a limit point of \(S^C\text{.}\) What does Problem 12.0.6 tell you?

Problem 12.1.5.

Open intervals are not the only open sets. Convince yourself that each of the following are also open sets.
(c)
\(\displaystyle\bigcup^{\infty }_{n=1}{S_n}\) where each \(S_n\) is an open set.

Problem 12.1.6.

Of course, there are sets which are neither open nor closed. Convince yourself that these sets are neither open nor closed.
(c)
\(\left\{\frac{1}{n},\ n\in \NN\right\}\)
Again, we could spend an entire course exploring these concepts, but for our introduction we will only show how the concept of continuity can be repackaged into a statement involving sets. To keep things simple we will restrict our attention to functions \(f(x)\) whose domain \(D\) is an open set of real numbers. The following notation will be helpful.

Definition 12.1.7.

  1. Let \(S\subset D\text{.}\) If we define the image of \(S\) by
    \begin{equation*} f\left(S\right)=\left\{f\left(x\right)\right|x\in S\} \end{equation*}
  2. For any \(T\subset \mathbb{R}\text{,}\) we define the preimage of \(T\) by
    \begin{equation*} f^{-1}\left(T\right)=\left\{x\in D\right|f\left(x\right)\in T\} \end{equation*}

Aside: Preimage.

Problem 12.1.8.

Show that \(f(x)\) is continuous at \(x=a\) if and only if for every open set \(V\) containing \(f(a)\) there is an open set \(U\) containing \(a\) with \(f(U)\subset V\text{.}\)

Problem 12.1.9. Topological Definition of Continuity.

Show that a function \(f(x)\) is continuous on a set \(D\subset \RR \) if and only if for every open set of real numbers \(V\subseteq \RR \text{,}\) the preimage of \(V\) is open.
The value of the reformulation of continuity seen in Problem 12.1.9 in terms of open sets (and similar definitions involving limits) is that it allows the concept of continuity to be generalized beyond the realm of real numbers to sets where the distance between points is either irrelevant or is simply not meaningful.
In \(1914\text{,}\) Felix Hausdorff (1868–1942) defined a topology on a set as follows.

Definition 12.1.10. A Topology on a Set.

Given an arbitrary nonempty set \(S\text{,}\) we define a topology on \(S\) to be a collection \(\tau\text{,}\) of subsets of \(S\) (which we designate to be the open sets) which satisfy the following conditions.
  • \(S\) and \(\emptyset \) must be in \(\tau \text{.}\)
  • An arbitrary union of open sets in \(\tau \) must also be in \(\tau \text{.}\)
  • The intersection of any finite number of open sets in \(\tau \) must also be in \(\tau \text{.}\)
Portrait of Felix Hausdorff
Figure 12.1.11. Felix Hausdorff
Definition 12.1.10 is actually the modern rendition. Hausdorff also included the extra “separation axiom”:
  • For any two elements \(x,y\) of \(S\text{,}\) there must exist two disjoint open sets \(U_x\) and \(U_y\) with \(x\in U_x\) and \(y\in U_y\text{.}\)
Nowadays, a topological space (that is, a set with a topology defined on it) which has this extra property is called a Hausdorff space.
This relatively simple idea generalizes our notion of open intervals in the real numbers and can be applied to a wide range of sets. We won’t go into this very deeply, but we note that if we have a function \(f:S\to T\) from one topological space into another, we can define a continuous function to be one where the preimage of any open set in the topology on \(T\) must be open in the topology on \(S\text{.}\) It would be hard to overstate the impact of generalizaions of this sort on modern mathematics.

Section 12.2 Infinite Sets

Cantor’s work with Fourier series prompted him to study the sizes of various infinite sets. The following theorem follows directly from our previous work with the NIP and will be very handy later. It is a slightly weaker version of the NIP which says that the intersection of a sequence of nested closed intervals will be non–empty even if their lengths do not converge to zero.

Proof.

By Corollary 9.4.5 of Chapter 9, we know that a bounded increasing sequence such as \((x_n)\) converges, say to \(c\text{.}\) Since \(x_n\leq x_m\leq y_n\) for \(m>n\) and \(\limit{m}{\infty}{x_m}=c\text{,}\) then for any fixed \(n\text{,}\) \(x_n\leq c\leq y_n\text{.}\) This says \(c\in\left[x_n, y_n\right]\) for all \(n\in\NN\text{.}\)

Problem 12.2.2.

Suppose \(\limit{n}{\infty}{\abs{y_n-x_n}}>0\text{.}\) Show that there are at least two points, \(c\) and \(d\text{,}\) such that \(c\in[x_n, y_n]\) and \(d\in[x_n, y_n]\) for all \(n\in\NN\text{.}\)
Our next theorem says that in a certain, very technical sense there are more real numbers than there are counting numbers [5]. This probably does not seem terribly significant. After all, there are plenty of real numbers which are not counting numbers. But what makes this startling is that the same cannot be said about all sets which strictly contain the counting numbers. Some such sets are even the same “size” as the counting numbers in a sense that we will make precise in this section.

Proof.

For the sake of obtaining a contradiction assume that the sequence \(S\) contains every real number; that is, \(S=\RR\text{.}\) As usual we will build a sequence of nested intervals \(\left(\left[x_i, y_i\right]\right)_{i=1}^\infty\text{.}\)
Let \(x_1\) be the smaller of the first two distinct elements of \(S\text{,}\) let \(y_1\) be the larger and take \(\left[x_1,y_1\right]\) to be the first interval.
Next we assume that \(\left[x_{n-1}, y_{n-1}\right]\) has been constructed and build \(\left[x_n, y_n\right]\) as follows. Observe that there are infinitely many elements of \(S\) in \(\left(x_{n-1}, y_{n-1}\right)\) since \(S=\RR\text{.}\) Let \(x_n\) and \(y_n\) be the first two distinct elements of \(S\) such that
\begin{equation*} x_n, y_n \in \left(x_{n-1}, y_{n-1}\right) \end{equation*}
with \(x_n\lt y_n\text{.}\) Then \(\left[x_n, y_n\right]\) is the \(n\)th interval.
From the way we constructed them it is clear that
\begin{equation*} \left[x_1, y_1\right] \supseteq \left[x_2, y_2\right] \supseteq \left[x_3, y_3\right] \supseteq \ldots \text{.} \end{equation*}
Therefore by Theorem 12.2.1 there is a real number, say \(c\text{,}\) such that
\begin{equation*} c\in\left[x_n, y_n\right] \text{ for all } n\in\NN \text{.} \end{equation*}
In fact, since \(x_1\lt x_2\lt x_3\ldots\lt y_3\lt y_2\lt y_1\) it is clear that
\begin{equation} x_n\lt c\lt y_n, \ \forall n\text{.}\tag{12.2.1} \end{equation}
We will show that \(c\) is the number we seek. That the inequalities in formula (12.2.1) are strict will play a crucial role.
To see that \(c\not\in S\) we suppose that \(c\in S\) and derive a contradiction.
So, suppose that \(c=s_p\) for some \(p\in\NN\text{.}\) Then only \(\left\{s_1, s_2,\ldots, s_{p-1}\right\}\) appear before \(s_p\) in the sequence \(S\text{.}\) Since each \(x_n\) is taken from \(S\) it follows that only finitely many elements of the sequence \((x_n)\) appear before \(s_p=c\) in the sequence as well.
Let \(x_l\) be the last element of \((x_n)\) which appears before \(c=s_p\) in the sequence and consider \(x_{l+1}\text{.}\) The way it was constructed, \(x_{l+1}\) was one of the first two distinct terms in the sequence \(S\) strictly between \(x_l\) and \(y_l\text{,}\) the other being \(y_{l+1}\text{.}\) Since \(x_{l+1}\) does not appear before \(c=s_p\) in the sequence and \(x_l\lt c\lt y_l\text{,}\) it follows that either \(c=x_{l+1}\) or \(c=y_{l+1}\text{.}\) However, this gives us a contradiction as we know from formula (12.2.1) that \(x_{l+1}\lt c\lt y_{l+1}\text{.}\)
Thus \(c\) is not an element of \(S\text{.}\)
So how does this theorem show that there are “more” real numbers than counting numbers? Before we address that question we need to be very careful about the meaning of the word “more” when we’re talking about infinite sets.
First let’s consider two finite sets, say
\begin{align*} A=\left\{\alpha,\beta,\gamma,\delta\right\} \amp{}\amp{}\text{and}\amp{}\amp{}B=\left\{a,b,c,d,e\right\}. \end{align*}
How do we know that \(B\) is the bigger set? One way is to simply count the number of elements in both sets. Clearly \(B\) is bigger since \(\abs{A}=4\) and \(\abs{B}=5\) and \(4\lt 5\text{.}\) But we have no way of counting the number of elements of an infinite set. Indeed, it isn’t even clear what the phrase “the number of elements” might mean when applied to an infinite set. So we need to find another way.
When we count the number of elements in a finite set we are matching up the elements of the set with a set of consecutive positive integers, starting at \(1\text{.}\) Thus since
\begin{align*} 1\amp \leftrightarrow\alpha\\ 2\amp \leftrightarrow\beta\\ 3\amp \leftrightarrow\gamma\\ 4\amp \leftrightarrow\delta \end{align*}
we see that \(\abs{A}=4\text{.}\) Moreover, the order of the match–up is unimportant. Since
\begin{align*} 2\amp \leftrightarrow e\\ 3\amp \leftrightarrow a\\ 5\amp \leftrightarrow b\\ 4\amp \leftrightarrow d\\ 1\amp \leftrightarrow c \end{align*}
it is clear that the elements of \(B\) and the set \(\left\{1,2,3,4,5\right\}\) can be matched up as well. And it doesn’t matter what order either set is in. They both have \(5\) elements.
Such a match–up is called a one–to–one correspondence. In general, if two sets can be put in one–to–one correspondence then they are the same “size.” Of course the word “size” has lots of connotations that will begin to get in the way when we talk about infinite sets, so instead we will say that the two sets have the same cardinality. Speaking loosely, this just means that they are the same size. Speaking very loosely it means that they have the same “number” of elements.
Speaking precisely, if a given set \(S\) can be put in one–to–one correspondence with a finite set of consecutive integers beginning at \(1\text{,}\) say \(\left\{1,2,3,\ldots, N\right\}\text{,}\) then we say that the cardinality of the set is \(N\) because both sets have the same cardinality. It is this notion of one–to–one correspondence, along with the next two definitions, which will allow us to compare the sizes (cardinalities) of infinite sets.

Definition 12.2.4.

Any set which can be put into one–to–one correspondence with \(\NN=\left\{1,2,3,\ldots\right\}\) is called a countably infinite set. Any set which is either finite or countably infinite is said to be countable.
Since \(\NN\) is an infinite set, we have no symbol to designate its cardinality so we have to invent one. The symbol used by Cantor and adopted by mathematicians ever since is \(\aleph_0\text{.}\) Thus the cardinality of any countably infinite set is \(\aleph_0\text{.}\)

Aside: The \(\boldsymbol\aleph_0\) symbol.

We have already given the following definition informally. We include it formally here for later reference.

Definition 12.2.5.

If two sets can be put into one–to–one correspondence then they are said to have the same cardinality.
With these two definitions in place we can see that Theorem 12.2.3 is nothing more nor less than the statement that \(\RR\) is not countably infinite, for if it were then a one–to–one correspondence with \(\NN \) would enable the entire set \(\RR\) to be written as a sequence, violating Theorem 12.2.3.

Problem 12.2.6.

Most of the sets you have encountered so far in your life have been countable. Show that each of the following sets is countable.
(a)
\(\left\{2,3,4,5,\ldots\right\}=\left\{n\right\}_{n=2}^\infty\)
(b)
\(\left\{0,1,2,3,\ldots\right\}=\left\{n\right\}_{n=0}^\infty\)
(c)
\(\left\{1,4,9,16,\ldots,n^2,\ldots\right\}=\left\{n^2\right\}_{n=1}^\infty\)

Aside: Size vs. Cardinality.

Problem 12.2.7.

If we start with one or more countable sets it is rather difficult to use it to build anything but another countable set.
Let \(\left\{A_1, A_2, A_3, \ldots, A_n \right\}\) be a collection of countable sets. Show that each of the following sets is also countable:
(a)
Any subset of \(A_1\text{.}\)
(b)
\(A_1\cup A_2\)
Warning: It is easy to assume, implicitly, that \(A_1\bigcap A_2=\emptyset{}\text{.}\) Don’t do that.
(d)
\(\displaystyle\bigcup_{i=1}^nA_i\)
In Problem 12.2.7 we saw several examples where the union of finitely many countably infinite sets yields another set which is also countably infinite. But what about a countably infinite union of countably infinite sets? Surely that will yield an uncountably infinite set.
Alas, no. The next problem shows that even a countably infinite union of countably infinite sets only yields another countably infinite set.

Problem 12.2.8.

Let the set \({\left\{ a_{i,j}\right\}_{i=1}^\infty}_{j=1}^\infty \) be laid out in an infinite array in the following diagram.
A doubly subscripted array or generic elements with red arrows point up an to the right through diagonal rows.
Use this diagram to show that a countably infinite union of countably infinite sets will also be countably infinite.
Hint.
In case the sets are not disjoint you may need to use part (a) of Problem 12.2.7
It seems that no matter what we do the only example we can find of an uncountably infinite set is \(\RR\text{.}\)
But wait! Remember the rational numbers? They were similar to the real numbers in many ways. Perhaps they are uncountably infinite too?
Alas, no. The rational numbers turn out to be countable too.
All of our efforts to build an uncountable set from a countable one have come to nothing. In fact many sets that at first “feel” like they should be uncountable are not. This makes the uncountability of \(\RR\) all the more remarkable.
The failure is in the methods we’ve used so far. It is possible to build an uncountable set using just two symbols if we’re clever enough. Give some thought to how this might be done. We will return to this question in Section 12.4.
On the other hand if we start with an uncountable set like \(\RR \) it is relatively easy to build others from it.

Problem 12.2.11.

(a)
Let \((a,b)\) and \((c,d)\) be two open intervals of real numbers. Show that these two sets have the same cardinality by constructing a one–to–one onto function between them.
Hint.
A linear function should do the trick.
(b)
Show that any open interval of real numbers has the same cardinality as \(\RR\text{.}\)
Hint.
Consider the interval \((-\pi/2,\pi/2)\text{.}\)
(c)
Show that \((0,1]\) and \((0,1)\) have the same cardinality.
Hint.
If \(x\not\in \QQ{}\) let \(x\) correspond to itself. Note that \(\QQ \cap (0,1)\) and \(\QQ \cap (0,1]\) are both countable.
(d)
Show that \([0,1]\) and \((0,1)\) have the same cardinality.

Section 12.3 The Road to Lebesgue Integration

Swapping Limits and Integrals.

Theorem 11.2.1 states that if (Riemann) integrable functions \(f_n\) converge uniformly to an integrable function \(f\) on \([a,b]\) then limit evaluation and integration are commutative operations:
\begin{equation} \limit{n}{\infty}{\left(\int_{x=a}^b f_n(x)\dx{ x}\right)}=\int_{x=a}^b \limit{n}{\infty}{\left(f_n(x)\right) \dx{ x}}=\int_{x=a}^bf(x)\dx{x}\text{.}\tag{12.3.1} \end{equation}
Thus we can integrate a power series term–by–term because as we saw in Theorem 11.3.9 all power series converge uniformly on any closed interval \([-b,b]\) contained inside their intervals of convergence, \((-r, r)\text{.}\) However the converse of Theorem 11.2.1 is not true.
Aside: Necessary vs. Sufficient Conditions.
In other words, there are sequences of functions \(\left( f_n\right) \) converging pointwise to \(f\) for which equation (12.3.1) still holds true.
In Problem 11.1.8 you showed that
\begin{equation*} \limit{n}{\infty}{x^n} = \begin{cases} 0\amp \text{ if } x\in[0,1)\\ 1\amp \text{ if } x=1 \end{cases} \text{.} \end{equation*}
This is also intuitively clear from Figure 12.3.1 below.
Graphs of x raised to the zeroth, second, fifth, tenth, and one hundredth power.
Figure 12.3.1.
In fact Problem 11.1.8 is an example of a function which is the pointwise limit of continuous functions where integration and limit evaluation commute. We did not comment on it at the time because we weren’t prepared to talk about integration yet. Now we are.
Problem 12.3.2.
(a)
As in Problem 11.1.8 let
\begin{equation*} f(x)= \begin{cases}0\amp \text{ if } x\in[0,1)\\ 1\amp \text{ if } x=1 \end{cases} \text{.} \end{equation*}
Use Definition 10.4.8 to show that
\begin{equation*} \int_{x=0}^1f(x)\dx{x} =0\text{.} \end{equation*}
Hint.
Notice that for any partition \(P\) the lower sum \(L\left(P\right)=0\text{,}\) so the lower Darboux integral is \(0\text{.}\) To find the upper Darboux integral, let \(0\lt \eps \lt 1\) and use the partition \(P=\left\{ 0, 1-\eps, 1\right\} \) to show that the upper Darboux integral is less than or equal to \(\eps \text{.}\) Be sure to explain how the conclusion follows from this observation.
(b)
Use the result of part (a) to conclude that
\begin{equation*} \limit{n}{\infty}{\left( \int_{x=0}^1x^n\dx{x}\right)} = \int_{x=0}^1\limit{n}{\infty }{x^n}\dx{x}\text{.} \end{equation*}
As a result of Problem 12.3.2 we have one example of a pointwise limit where integration and limit evaluation commute, thus affirming that uniform convergence is not a necessary condition. A natural question to ask at this point is, “What is necessary?” In other words, can we find weaker conditions on the convergence that still allow commutativity? The next problem begins to address — but does not fully answer — that question.
Problem 12.3.3.
(a)
Suppose \(f\) is a continuous function on the interval \([a,b]\) and let
\begin{equation*} f_L(x)= \begin{cases} f(x)\amp{}\text{ if }x\neq c\\ L \amp{}\text{ if }x=c \end{cases} \text{.} \end{equation*}
Generalize your solution of Problem 12.3.2 to show that
\begin{equation*} \int_{x=a}^bf_L(x)\dx{x}= \int_{x=a}^bf(x)\dx{x}\text{.} \end{equation*}
Hint.
Suppose that \(f(c)\gt L \text{.}\) You can use an argument similar to the one in part (a) of Problem 12.3.2 to show that
\begin{equation*} \int_{x=a}^b \left(f(x)-f_L(x)\right) \dx{x} =0\text{,} \end{equation*}
but this time use a partition with a subinterval containing \(c\) with length equal to \(\frac{\eps}{f(c)-L}\text{.}\)
A similar argument will work if \(f(c)\lt L\text{.}\)
(b)
Extend your result in part (a) to show that the integral of \(f\) is unchanged if there are finitely many discontinuities: \(\left\{c_k\right\}_{k=1}^n \text{.}\)
Hint.
This is just an extension of the technique used in part (a).
Problem 12.3.4.
Let \(f\) be a bounded function on \([a,b]\text{.}\) Do you think the integral of \(f\) will remain unchanged when the set of discontinuities is countably infinite? Explain.
You do not yet know enough about infinite sets to answer this question definitively, so we are not asking you to prove anything. Just explain what your intuition is telling you. There is no right or wrong answer yet. But there will be when we revisit this question in Problem 12.3.31.
Example 12.3.5.
Next consider the two functions
\begin{align*} P_n(x) = x^n, \amp{}\amp{}\text{ and } \amp{}\amp{} \Upsilon_n(x)= \begin{cases}n\amp \text{ if } x\in\left(0,\frac{1}{n}\right)\\ 0\amp \text{ otherwise } \end{cases}. \end{align*}
We know from Problem 12.3.2 that for the sequence \(\left( P_n(x)\right)_{n-1}^\infty \text{,}\) we can commute integration and limit evaluation. But by Problem 11.2.3 we cannot do this for the sequence \(\left( \Upsilon_n(x)\right)_{n-1}^\infty \text{.}\) What do you suppose is the difference between the two?
The answer comes from the following theorem due to Cesare Arzelà (1847–1912).
Portrait of Cesare Arzelà
Figure 12.3.6. Cesare Arzelà
Problem 12.3.8.
Why does the example in Problem 11.2.3 not violate Arzelà’s Bounded Convergence Theorem?
Problem 12.3.9.
It is not necessarily true that the limit function \(f\) in Arzelà’s Bounded Convergence Theorem will be automatically Riemann integrable. To see this consider the following example.
Since the rational numbers are a countably infinite set, they can be written sequentially (and in no particular order) as
\begin{equation*} \mathbb{Q}=\left\{r_1,\ r_2,\ r_3,\ \dots \right\}\text{,} \end{equation*}
so we define the function \(f_n\) as follows
\begin{equation*} f_n\left(x\right)= \begin{cases} 1 \amp{} \text{ if } x\in \{r_1, r_2, \dots, r_n\} \\ 0 \amp{} \text{ otherwise } \end{cases} \text{.} \end{equation*}
From Problem 12.3.3 we see that each \(f_n\) is Riemann integrable. Show that the sequence\(\left(f_n\right)_{n=1}^\infty \) converges pointwise to the Dirichlet Function
\begin{equation*} D\left(x\right)= \begin{cases} 1 \amp{} \text{if } x \text{ is rational} \\ 0 \amp{} \text{if } x \text{ is irrational} \end{cases} \end{equation*}
which is not Riemann integrable as we saw in Problem 10.4.10.

Lebesgue Measure and Integration.

We will not provide a direct analytic proof of Arzelà’s Bounded Convergence Theorem. Instead we will show that it is a special case of a more general result.
Earlier in this chapter we saw how the concepts of continuity and the limit could be restated in terms of sets and set theory. Set theory also played a role in generalizing the notion of an integral. As we said before, the story of integration is complex with many entry points. To provide a full accounting would take another course (and another book) so we will provide only a glimpse into this story and see how it relates to the swapping of limits and integrals. In what follows many of the details will be glossed over in favor of a larger view.
As an entry point into this world, consider the Dirichlet Function again. Recall from Problem 10.4.10 that the Dirichlet Function
\begin{equation*} D(x)= \begin{cases} 0, \amp \text{ if } x \text{ is irrational}\\ 1, \amp \text{ if } x \text{ is rational} \end{cases} \end{equation*}
is not Riemann (Cauchy, Darboux) integrable. Dirichlet invented his function as an example of a non–integrable function. For our purposes it has no importance beyond that. However the existence of non–(Riemann)integrable functions suggests the question: Can the integral be defined in such a way as to capture all of the intuitive features of (Riemann) integration known to \(18\)th century mathematicians and which also allows us to integrate something as seemingly bizarre as the Dirichlet Function?
Cantor’s work on the cardinality of infinite sets provides some insight. A countable set like \(\QQ \) is smaller than an uncountable set (in the sense that there is no one–to–one correspondence between them), but we haven’t yet tried to express how much smaller because we didn’t have any way to measure the size of either set in order to compare their sizes numerically.
Despite being infinite, countable sets are small in a sense we will make clear shortly. But uncountable sets are altogether different. They can be as small as a countable set or as large as all of the real numbers, depending on how they are built. We will explore this further in Problem 12.3.33.
In the same way that the value of a function on a finite number of points in its domain does not affect its Riemann integral (see Problem 12.3.3) it seems, intuitively at least, that the values a function takes on a countably infinite piece of its domain should not affect the value of its integral either. We need a way to measure the size of sets, particularly infinite sets, which clearly displays that a countable set is small among the infinite sets.
In order to extend integration beyond the Riemann integral Henri Lebesgue (1875–1941) devised such a measure His ideas were later generalized leading to the area of mathematics called measure theory. Lebesgue is not the only mathematician to address the problem of defining a measure for sets. But he was one of the first and his ideas have become foundational so we will focus on the Lebesgue measure and the Lebesgue integral.
Portrait of Henri Lebesgue
Figure 12.3.10. Henri Lebesgue
Definition 12.3.11. Properties of a Measure.
Lebesgue determined that a measure \(\mu\) of a set \(S\) of real numbers should have the following properties
  1. If \(S\) is an interval of length \(l\) then \(\mu (S)=l \text{.}\) (We include intervals with the same left and right endpoint: \(\mu ([a,a])=0\)).
  2. If \(\left( S_i\right)_{i=1}^\infty \) is a sequence of sets in \(\RR \) then
    \begin{equation*} \mu\left( \bigcup_{i=1}^\infty S_i\right)\leq \sum_{i=1}^\infty \mu\left(S_i\right) \end{equation*}
    with equality when \(\left( S_i\right)_{i=1}^\infty\) are pairwise disjoint i.e, \(S_i\cap S_j=\emptyset{}\text{.}\)
  3. \(\mu{}\) is translation invariant. More precisely, if \(S \) is a subset of \(\RR \text{,}\) \(x\) is any real number, and \(S_x=\left\{s+x\left| s\in S \right.\right\} \) then
    \begin{equation*} \mu (S)=\mu(S_x). \end{equation*}
    (\(\mu{}\) is said to be shift invariant, meaning that if you shift every element of \(S\) by some amount \(x\) the measure of the set is unchanged.)
The purpose of the first and third statements in Definition 12.3.11 should be clear. Since we are looking to generalize the concept of length the measure of an interval should be its length, which does not depend on its position. For example,
\begin{equation*} \mu \left( (a,b)\right) = \mu \left( [a,b]\right) = \mu \left( [a,b)\right) =\mu \left( (a,b]\right) =b-a\text{,} \end{equation*}
and if \(\gamma{}\in\RR{}\)
\begin{equation*} \mu \left( (a,b)\right) = \mu \left( a+\gamma{},b+\gamma{}])\right) = b-a\text{,} \end{equation*}
The second statement is a general form of the Triangle Inequalty dressed up in the language of sets and measures.
The conditions in Definition 12.3.11 are clearly modeled on the properties of the length of an interval. The reason for formalizing it is that we want measure other kinds of sets in \(\RR{}\text{.}\) For example using this definition we can compute \(\mu (\ZZ )\text{,}\) \(\mu (\NN{}) \) and \(\mu (\QQ) \text{.}\) What would you guess each of these will be?
Actually defining such a measure is more delicate than it might appear to be as we will see. But this is enough to serve our immediate purposes. We will focus on what Lebesgue introduced in his \(1902\) doctoral dissertation Intégrale, longueur, aire (Integral, length, area) which is now known as Lebesgue Measure.
Definition 12.3.12. Open Cover.
Suppose \(\cal{C}\) is a collection of open intervals in \(\RR\) and let \(S\) be any set in \(\RR\text{.}\) Then \(\cal{C}\) is called an open cover of \(S\) if and only if every element of \(S\) is contained in at least one of the open sets in \(\cal{C}\text{.}\) If \(\cal{C}\) contains only finitely many open sets then \(\cal{C}\) is called a finite open cover of \(S\text{.}\)
Loosely speaking, an open cover of a set \(S\) is a collection of open intervals which “cover” \(S\) (hence the name). Obviously every open interval is an open cover of itself.
Problem 12.3.13.
Construct two distinct open covers of each of the following sets. (There is more than one correct answer.)
(a)
The empty set: \(\emptyset \text{.}\)
Definition 12.3.14. Lebesgue’s Outer Measure.
Let \(S\subset\RR \) and let \(C\) be the collection of all countable open covers \(\left\{ (a_n, b_n) \left| n=1, 2, 3, \ldots{}\right.\right\} \) of \(S\text{.}\) The outer measure of \(S\) is given by
\begin{equation*} \mu_o (S)= \inf_{ C}\left( \sum_{n=1}^\infty (b_n-a_n)\right)\text{.} \end{equation*}
That we called \(\mu_o (S)\) an outer measure suggests that there might be something called an inner measure and indeed there is. It’s definition is given in Definition 12.3.16.
Definition 12.3.16. Lebegue’s Inner Measure.
Let \(S \subset \RR \) be a set. Then the inner measure of \(S\) is given by
\begin{equation} \mu_i\left(S\right)=\sup \left(\mu_o(K)\right)\tag{12.3.2} \end{equation}
where \(K\subset S\) is closed and bounded.
The names of the inner and outer measures are descriptive. To compute \(\mu _o\) we consider a set of numbers generated by a collection of sets which contain \(S\text{.}\) To compute \(\mu_i\) we consider a set of numbers generated by a collection of sets which are contained within \(S\text{.}\) When these are the same we have the Lebesgue Measure.
Definition 12.3.17. Lebesgue Measure.
Given a set \(S\subset \RR\) if \(\mu_o(S)=\mu_i(S)\) then their common value is the Lebesgue measure of \(S\text{,}\) denoted \(\mu(S)\text{.}\)
All seems pretty straightforward at this point, but here is where one of the difficulties lies: For a given set, there is no guarantee that the inner and outer measures must be equal. When they are not the set is said to be non–measurable. The first non–measurable set was described by Giuseppe Vitali (1875-1932) in \(1905\text{.}\) Creating such a set requires the use of something called the Axiom of Choice and careful study of Set Theory. We will see how complicated sets can be in the next section.
Portrait of Giuseppe Vitali
Figure 12.3.18. Giuseppe Vitali
From a practical point of view, almost every set you encounter will likely be (Lebesgue) measurable. In summary, the collection of measurable sets has the following properties.
  1. Every interval \(I\subset \RR\) is measurable and \(\mu \left(I\right)\) is equal to the length of \(I\text{.}\)
  2. A set can have an infinite measure. For example \(\mu(\RR) = \infty \text{.}\)
  3. If \(E\subset \RR\) is measurable then \(E^c=\RR-E\) is also measurable.
  4. If \(E_1, E_2, E_3, \cdots \) are all measurable then \(\bigcup^{\infty }_{n=0}{E_n}\) is measurable.
For the remainder of this section we will only be discussing and using the Outer Measure. This will be enough to give you a good intuitive feel for the Lebesgue Integral which we define below. We have included the definitions of Inner Measure and Lebesgue Measure for completeness.
You saw in parts (a) and (b) of Problem 12.3.15 that finite sets have outer measure equal to zero. So do some infinite sets.
Despite the existence of non–measurable sets of real numbers, Lebesgue was able to generalize the idea of a Riemann integral in a meaningful way. Here is an overall look at his ideas.
Speaking very loosely, if we want to compute \(\int_a^bf(x)\dx{x} \) where \(f(x)\ge 0\) using the Riemann (Cauchy) integral we partition the \(x-\)axis into adjacent intervals with width \(\dx{x}\) and then construct (infinitesimal) rectangles with area \(f(x)\cdot{}\dx{x}\) from each differential. Summing these areas (computing \(\int_a^b f(x)\dx{x}\)) provides the value of the definite integral.
Lebesgue’s idea was to find all rectangles with a common height first, gather them together, and sum those areas. In letter to a colleague he described his process as follows:
“I have to pay a certain sum, which I have collected in my pocket. I take the bills and coins out of my pocket and give them to the creditor in the order I find them until I have reached the total sum. This is the Riemann integral. But I can proceed differently. After I have taken all the money out of my pocket I order the bills and coins according to identical values and then I pay the several heaps one after the other to the creditor. This is my integral.”
To apply Lebesgue’s idea, we need the concept of a simple function.
Definition 12.3.21. Simple Function.
A simple function \(s(x)\) defined on a measurable set \(E\) has two properties.
  1. The range of \(s\) is finite. In symbols, \(s\left(E\right)=\left\{a_1, a_2,\dots, a_n\right\}\)
  2. The inverse image of each \(a_j\) is measurable. In symbols, \(s^{-1}\left(\left\{a_j\right\}\right)\) is measurable.
Example 12.3.22. A Simple Function.
An example of a simple function on \([0,10]\) is given by
\begin{equation*} s\left(x\right)= \begin{cases} 0 \amp{} \text{ if } x\in \left\{1\right\}\cup \left(3,6\right)\cup (7,8) \\ 1 \amp{} \text{ if } x\in \left[0,\ 1\right)\cup (6,7] \\ 1.5 \amp{}\text{ if } x=3 \\ 2 \amp{} \text{ if } x\in \{6,10\} \\ 3 \amp{} \text{ if } x\in \left(1,3\right)\cup [8,10) \end{cases} \end{equation*}
and its graph of \(s\left(x\right)\) is seen in the figure below.
Graph of s(x)
Figure 12.3.23. The graph of a simple function
For a simple function \(s\) on \(E\) with \(s\left(E\right)=\{a_1, a_2, \dots, a_n\}\) we would define the Lebesgue integral of \(s(x)\) on \(E\) by
\begin{equation*} \int_Es(x) \dx{\mu}=\sum^n_{j=1}{a_j\mu (s^{-1}\left(\left\{a_j\right\}\right)} \end{equation*}
Aside: \(\dx{x}\) vs. \(\dx{\mu }\).
For this example
\begin{align*} \int_E s \dx{\mu}=\amp{} 0\cdot \mu \left(\left\{1\right\}\cup \left(3,6\right) \cup \left(7,8\right)\right)+1\cdot \mu \left(\left[0,\ 1\right)\cup \left(6,7\right]\right) +1.5\cdot \mu \left(\left\{3\right\}\right)\\ \amp{}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ +2\cdot \mu \left(\left\{6,10\right\}\right)+3\cdot \mu \left(\left(1,3\right)\cup \left[8,10\right)\right)\\ =\amp{}0\cdot 4+1\cdot 2+1.5\cdot 0+2\cdot 0+3\cdot 4\\ =\amp{}14. \end{align*}
Problem 12.3.24.
(a)
Show that the Dirichlet function
\begin{equation*} D\left(x\right)= \begin{cases} 1 \amp{} \text{ if } x \text{ is rational} \\ 0 \amp{} \text{ if } x \text{ is irrational} \end{cases} \end{equation*}
is a simple function on \(\left[0,1\right]\text{.}\)
(b)
Compute the Lebesgue integral: \(\displaystyle{}\int_{[0,1]}D\left(x\right)\dx{\mu}\text{.}\)
Aside: Indices in the Lebesgue Integral.
In order to define the Lebesgue integral of a more general function we proceed much as we did in Section 10.4 where we defined the upper and lower Darboux integrals in Subsection 10.4.2.
Definition 12.3.25. Upper and Lower Lebesgue Integrals.
Suppose \(f\) is a bounded function defined on a measurable set \(E\) with \(\mu \left(E\right)\lt{}\infty \text{.}\) We define the upper and lower Lebesgue integrals, respectively, by
\begin{equation*} I^*=\inf\left\{ \int_E s(x)\dx{\mu}\right\} \end{equation*}
where \(s\) is simple and \(s(x)\ge f(x)\text{,}\) \(\forall\ x\in E\text{,}\) and
\begin{equation*} I_*=\sup \left\{\int_E s(x)\dx{\mu}\right\} \end{equation*}
where \(s\) is simple and \(s(x)\le f(x)\text{,}\) \(\forall\ x\in E\text{.}\)
Just as with the upper and lower Darboux integrals (Problem 10.4.7), we want to show that \(I_*\le I^*\text{.}\) We’ll do this in part (b) of Problem 12.3.27. In preparation we’ll first show that for any simple functions, \(s(x)\) and \(t(x)\) defined on \(E\) with \(s\left(x\right)\le t(x)\) for all \(x\in E\text{,}\) we have
\begin{equation*} \int_E{s\left(x\right)\dx{\mu} }\le \int_E t(x)\dx{\mu} \end{equation*}
We introduce the following notation. Let \(S\subset \RR \) and consider the function \(\chi_S(x)\) defined by
\begin{equation*} \chi_S(x)= \begin{cases} 1 \amp{}\text{ if }\ x\in S \\ 0 \amp{}\text{ if }\ x\notin S \end{cases} \end{equation*}
\(\chi_S\) is called the characteristic function of \(S\text{.}\)
Example 12.3.26.
Observe that the Dirichlet function is \(\chi_\QQ{} (x) \text{,}\) the characteristic function of the rational numbers.
Note that if \(S=S_1\cup S_2\) and \(S_1\cap S_2=\emptyset \text{,}\) then \({\chi }_S={\chi }_{S_1}+{\chi }_{S_2}\text{.}\) This can be extended to more than two sets, namely if \(S=\bigcup^n_{j=1}{S_j}\) where \(S_j\) are pairwise disjoint, then
\begin{equation*} {\chi }_S(x)=\sum^n_{j=1}{{\chi }_{S_j(x)}} \text{.} \end{equation*}
This observation will be useful in what is to come.
With this notation we can write a simple function on \(E\) as follows
\begin{equation*} s\left(x\right)=\sum^n_{j=1}{a_j{\chi }_{E_j}\left(x\right)} \end{equation*}
where \(E_j=s^{-1}\left(\left\{a_j\right\}\right)\text{.}\) Note that with this notation, \(E=\bigcup^n_{j=1}{E_j}\) where \(E_j\) are pairwise disjoint. Next suppose we have two simple functions \(s\left(x\right)\le t(x)\) defined on a measurable set \(E\) with \(\mu \left(E\right)\lt{}\infty \text{.}\) Using the notation we developed, we can write these simple functions as
\begin{align*} s(x)=\sum^n_{j=1}a_j\chi_{E_j}(x)\amp{}\amp{} \text{ and } \amp{}\amp{} t\left(x\right)=\sum^m_{i=1}b_i{\chi }_{F_i}\left(x\right). \end{align*}
where \(\displaystyle{}E=\bigcup_{j=1}^nE_j = \bigcup_{i=1}^mF_i \text{.}\) Notice that for each \(j\text{,}\) we can write
\begin{align*} E_j\amp{}=E_j\cap E\amp{}\\ \amp{}=E_j\cap \left(F_1\cup F_2\cup \dots \cup F_m\right)\\ \amp{}=\left(E_j\cap F_1\right)\cup \left(E_j\cap F_2\right)\cup \dots \cup (E_j\cap F_m) \end{align*}
where these last sets are necessarily pairwise disjoint (Why?).
Thus, we have
\begin{align*} s\amp{}=\sum^n_{j=1}{a_j{\chi }_{E_j}}\\ \amp{}=\sum^n_{j=1}{\left(a_j\sum^m_{i=1}{{\chi }_{E_j\cap F_i}}\right)}\\ \amp{}=\sum^{n,m}_{j=1,i=1}{a_j{\chi }_{E_j\cap F_i}}. \end{align*}
In a similar fashion we have
\begin{equation*} t=\sum^{n,m}_{j=1,i=1}{b_i{\chi }_{E_j\cap F_i}} \end{equation*}
But on \(E_j\cap F_i\text{,}\)
\begin{equation*} a_j=s\left(x\right)\le t\left(x\right)=b_i \end{equation*}
Problem 12.3.27.
(a)
Use the above ideas to show that if \(s\left(x\right),\ t(x)\) are two simple functions defined on a measurable set \(E\) with \(\mu \left(E\right)\lt\infty \) with \(s\left(x\right)\le t(x)\text{,}\) then
\begin{equation*} \int_E{s\left(x\right)\dx{\mu} }\le \int_E{t\left(x\right)\dx{\mu} } \end{equation*}
(b)
Show that for a bounded function \(f\) on \(E\text{,}\) \(I_*\le I^*\)
Definition 12.3.28. The Lebesgue Integral.
We say that \(f\) is Lebesgue integrable on a measurable set \(E\text{,}\) provided that the Upper and Lower Lebesgue Integrals are equal: \(I^*=I_*\text{.}\)
We define the Lebesgue integral, denoted by \(\int_E{f\left(x\right)\dx{\mu} }\text{,}\) to be their common value.
Problem 12.3.29.
Any bounded function which is Riemann (Darboux) integrable on a finite interval \([a,b]\) is automatically Lebesgue integrable and the values of the integrals are the same. The reason for this is straightforward: An upper Darboux sum \(U(P)\) is the integral of a simple function greater than or equal to \(f\) and a lower Darboux sum \(L(P)\) is the Lebesgue integral of a simple function less than or equal to \(f\text{.}\)
(a)
Use the observation above to show that
\begin{equation*} \int^b_{\underline{x=a}}{f\left(x\right)\dx{x}\le }I_*\le I^*\le \overline{\int^{b}_{x=a}}{f\left(x\right)\dx{x}} \end{equation*}
(b)
Use the result in part (a) to explain why a bounded function which is Riemann (Darboux) integrable must also be Lebesgue integrable and the values of the integrals are equal.
The Lebesgue Integral is more general than the Riemann Integral in the sense that there are functions which are Lebesgue but not Riemann integrable. We’ve already seen the Dirichlet function but there are others. The Lebesgue integral also shares the typical properties of a Riemann integral: integral of a sum equals sum of the integrals, the Fundamental Theorem Of Calculus, etc.
There is also a precise characterization for when a function is Lebesgue integrable. In a sense, Lebesgue consolidated a number of ideas and results about integration dating literally back to ancient times into a holistic approach by taking full advantage of results from modern Set Theory. As an example of this, we will examine, without proof, two of Lebesgue’s more important results.
Notice that we have avoided the question of the integrability of a function with uncountably many discontinuities. That is because it is the measure of the set, not its cardinality, which determines its integrability properties. And there are uncountable sets with both zero and non–zero measure. Perhaps the most famous of the former is Cantor’s middle–third set.
Loosely speaking, the Cantor middle–third set is constructed iteratively by deleting the “middle–third” of the interval \([0,1]\text{,}\) then deleting the “middle–third” of what is left, and continuing at each subsequent step to delete “middle–thirds” of what remains. More precisely, let \(C_0=[0,1]\) and define
\begin{equation*} C_1=C_0-\left(\frac{1}{3},\frac{2}{3}\right)=\left[0,\frac{1}{3}\right]\cup \left[\frac{2}{3},\ 1\right]=\left[\frac{0}{3},\frac{1}{3}\right]\cup \left[\frac{2}{3},\frac{3}{3}\right] \end{equation*}
You will see why we wrote \(0\) as \(\frac{0}{3}\) and \(1=\frac{3}{3}\) momentarily.
Next we define \(C_2\) by removing the middle–thirds of the two intervals comprising \(C_1\text{.}\) That is,
\begin{align*} C_2=\amp{}C_1-\left(\left(\frac{1}{9},\frac{2}{9}\right)\cup \left(\frac{7}{9},\frac{8}{9}\right)\right)\\ =\amp{}\left[\frac{0}{3^2},\frac{1}{3^2}\right]\cup \left[\frac{2}{3^2},\frac{3}{3^2}\right]\cup \left[\frac{6}{3^2},\frac{7}{3^2}\right]\cup \left[\frac{8}{3^2},\frac{9}{3^2}\right] \end{align*}
Figure 12.3.32 shows a diagram of the sets \(C_0, C_1, C_2\) we’ve constructed so far.
On top is the unit interval, labeled C zero. Next is C zero with the middle third removed, labeled C one. On the bottom is C one with the middle thirds of each remaining piece removed, labeled C two.
Figure 12.3.32. The first three steps in building the Cantor set
Continuing to remove the middle–thirds of the remaining intervals at each step, we get
\begin{align*} C_3\amp{}=C_2-\left[\left(\frac{1}{27},\frac{2}{27}\right)\cup \left(\frac{7}{27},\frac{8}{27}\right)\cup \left(\frac{19}{27},\frac{20}{27}\right)\cup \left(\frac{25}{27},\frac{26}{27}\right)\right]\\ \amp{} =\left[\frac{0}{3^3},\frac{1}{3^3}\right]\cup \left[\frac{2}{3^3},\frac{3}{3^3}\right]\cup \left[\frac{6}{3^3},\frac{7}{3^3}\right]\cup \left[\frac{8}{3^3},\frac{9}{3^3}\right]\\ \amp{}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \cup \left[\frac{18}{3^3},\frac{19}{3^3}\right]\cup \left[\frac{20}{3^3},\frac{21}{3^3}\right]\cup \left[\frac{24}{3^3},\frac{25}{3^3}\right]\cup \left[\frac{26}{3^3},\frac{27}{3^3}\right], \end{align*}
and so on creating the sets \(C_0, C_1, C_2, C_3, \cdots \text{.}\) The Cantor set is the intersection of all of these: \(C=\bigcap^{\infty }_{n=0}{C_n}\text{.}\)
Upon first considering Cantor’s middle–third set it seems intuitively clear that it consists entirely of the endpoints of the deleted intervals, which would make it a countable set (why?). Figure 12.3.32 certainly gives that impression, and if it were true then the Cantor set would have measure zero (why?).
But intuition is an unreliable tool and it must always be questioned. In fact, the Cantor set has the same cardinality as \(\RR\text{,}\) and yet its measure is zero as you will see in the next problem. We will return to the uncountabilty of the Cantor set in Problem 12.4.9.
Problem 12.3.33. The Cantor Set Has Measure Zero.
Show that the Cantor set, \(C\text{,}\) has measure zero by showing that
\begin{equation*} \mu \left( [0,1]-C\right) =1 \end{equation*}
So that
\begin{equation*} 1=\mu \left(\left[0,1\right]\right)=\mu \left(\left[0,1\right]-C)+\mu (C\right)=1+\mu (C)\text{.} \end{equation*}
Hint.
Notice that in the first stage we remove an interval of length \(\frac{1}{3}\text{.}\) In the second stage, we remove two intervals of length \(\frac{1}{9}\) each. In the third stage, we remove four intervals of length \(\frac{1}{27}\) each. In the fourth stage we remove eight intervals of length \(\frac{1}{81}\) each. At each subsequent stage we removed twice as many intervals of length \(\frac{1}{3}\) that of the previous stage. Use this observation to show that \(\mu \left(\left[0, 1\right]-C\right)\) can be expressed as an infinite series whose sum is \(1\text{.}\)
To address the question of switching a limit and an integral Lebesgue proved the following theorem.
Again, we will not prove Lebesgue’s Dominated Convergence Theorem but notice that, unlike Arzelà’s Bounded Convergence Theorem 12.3.7, we did not need the assumption that \(f\) was integrable. In fact, Lebesgue’s theorem is stronger than Arzelà’s in the sense that Arzelà’s result follows from Lebesgue’s.
In the interest of conserving space we have presented a stripped down view of the modern development of integration theory, but the road from Riemann’s integral to Lebesgue’s was neither straight nor smooth. Cauchy, Riemann, Darboux and many others along the way developed their own ideas for a rigorous formulation of the integral concept.
If you are interested in learning more, you can begin by reading about Thomas Jan Stietles, Arnaud Denjoy, Oskar Perron, and Émile Borel, to name a few. You might also find the book [1] and the article [2] interesting. The latter describes an integral definition independently developed in the \(1960\)’s by Jaroslav Kurzwell and Ralph Henstock which is more general than the Lebesgue integral and is arguably easier to teach and understand.
But that is another story.

Section 12.4 Cantor’s Theorem and Its Consequences

After employing his ideas on infinite sets of real numbers to study trigonometric series, Cantor gravitated toward applying his ideas to sets in general. For example, once he showed that there were two types of infinity (countable and uncountable), the following question was natural, “Do all uncountable sets have the same cardinality?”
Just like not all “non–dogs” are cats, there is, a priori, no reason to believe that all uncountable sets should have the same cardinality. However constructing uncountable sets of different sizes is not as easy as it sounds.
For example, what about the line segment represented by the interval \([0,1]\) and the square represented by the set \([0,1]\times[0,1]=\left\{(x,y)\ |\ 0\leq x,y\leq 1\right\}\text{.}\) It certainly seems reasonable that set of points in a two dimensional square must be a larger infinite set than set of points in the one dimensional line segment. But Cantor was able to show that these two sets have the same cardinality. Remarkably, Cantor himself had trouble accepting this idea. In his \(1877\) correspondence of this result to his friend and fellow mathematician, Richard Dedekind, (1831–1915) he said, “I see it, but I don’t believe it!”
Portrait of Richard Dedekind
Figure 12.4.1. Richard Dedekind
The following argument illustrates the idea of Cantor’s proof. We define the following function \(f:[0,1]\times[0,1]\rightarrow [0,1]\text{.}\) First, we represent the coordinates of any point \((x,y)\in [0,1]\times[0,1]\) by their decimal representations \(x=0.a_1 a_2 a_3\cdots\) and \(y=0.b_1 b_2 b_3\cdots\text{.}\) Even terminating decimals can be written this way as we could write \(0.5=0.5000\cdots\text{.}\) We can then define \(f(x,y)\) by
\begin{equation} f((0.a_1 a_2 a_3\cdots ,0.b_1 b_2 b_3\cdots))=0.a_1 b_1 a_2 b_2 a_3 b_3\cdots \text{.}\tag{12.4.1} \end{equation}
This relatively simple idea has some technical difficulties related to Problem 12.4.2 below and the discussion following it.

Problem 12.4.2.

Consider the sequence \((0.9,0.99,0.999,\cdots)\text{.}\) Determine that this sequence converges and, in fact, it converges to \(1\text{.}\) This suggests that \(0.999\cdots=1\text{.}\)
Similarly, we have \(0.04999\cdots=0.05000\cdots\text{,}\) etc. To make the decimal representation of a real number in \([0,1]\) unique, we must make a consistent choice of writing a terminating decimal as one that ends in an infinite string of zeros or an infinite string of nines (with the one exception \(0=0.000\cdots\)).
Cantor was able to overcome this technicality and demonstrate a one–to–one correspondence, but rather than go into that we will simply assert that using either convention it is possible to show that the function \(f\) in equation (12.4.1) is one–to–one and onto. As a result the set \([0,1]\times[0,1]\) has the same cardinality as \([0,1]\) which is an uncountable subset of \(\RR\text{.}\)
Finally Cantor’s Theorem below is the tool we need to answer the question we began this section with: “Do all uncountable sets have the same cardinality?”
It is clear that \(S\) can be put into one–to–one correspondence with a subset of \(P(S)\) (why?), which means that \(P(S)\) is at least as large as \(S\) itself. In the finite case \(\abs{P(S)}\) is strictly greater than \(\abs{S}\) as the following problem shows. It also demonstrates why \(P(S)\) is called the power set of \(S\text{.}\)

Problem 12.4.4.

Prove: If \(\abs{S}=n\text{,}\) then \(\abs{ P(S)}=2^n\text{.}\)
Hint.
Let \(S=\left\{a_1,a_2,\cdots,a_n\right\}\text{.}\) Consider the following correspondence between the elements of \(P(S)\) and the set \(T\) of all \(n\)-tuples of yes (Y) or no (N):
\begin{align*} \{ \} \amp \leftrightarrow \{N,N,N,\cdots,N\}\\ \{a_1\}\amp \leftrightarrow \{Y,N,N,\cdots ,N\}\\ \{a_2\}\amp \leftrightarrow \{N,Y,N,\cdots,N\}\\ \amp \vdots\\ S\amp \leftrightarrow \{Y,Y,Y,\cdots,Y\} \end{align*}
How many elements are in \(T?\)
Remarkably, Cantor’s Theorem holds for infinite sets as well.

Problem 12.4.5.

Hint.
Assume for contradiction, that there is a one–to–one correspondence \(f:S\rightarrow P(S)\text{.}\) Consider \(A=\left\{x\in S\ |\ x\not\in f(x)\right\}\text{.}\) Since \(f\) is onto, then there is \(a\in A\) such that \(A=f(a)\text{.}\) Is \(a\in A\) or is \(a\not\in A?\)
In light of Cantor’s Theorem it is clear that there are sets which are larger (in the sense of Cantor) than \(\RR{}\text{.}\) Specifically \(\abs{P(\RR)}\gt \abs{\RR }\text{.}\)
Actually it turns out that \(\RR\) and \(P(\NN)\) have the same cardinality. This can be seen in a roundabout way using some of the ideas from Problem 12.4.4. Specifically, let \(T\) be the set of all sequences of zeros or ones.
The half–open interval \((0,1]\) has the same cardinality as \(\RR\) and we can show that it has the same cardinality as \(T\) as well by expressing them in binary form. Specifically every real number in \([0,1]\) can be written as
\begin{equation} \sum_{j=1}^\infty \frac{a_j}{2^j} =(0.a_1a_2a_3\cdots)_2\tag{12.4.2} \end{equation}
where \(a_j\in\left\{0,1\right\}\text{.}\) We have to account for the fact that binary representations such as \((0.0111\cdots)_2\) and \((0.1000\cdots)_2\) represent the same real number in a manner analagous to Problem 12.4.2 so we will impose the convention that no representations will end in an infinite string of zeros.
In that case we see that \((0,1]\) has the same cardinality as \(T-U\text{,}\) where \(U\) is the set of all sequences ending in an infinite string of zeros.

Problem 12.4.6.

Let
\begin{align*} U_n=\amp{}\left\{(a_1, a_2,a_3,\cdots)_2\ |\ a_j\in \left\{0,1\right\}, j=1,2,\cdots,n \text{ and } a_{n+i}=0, i\in\NN{} \right\}. \end{align*}
Show that for each \(n\text{,}\) \(U_n\) is finite and use this to conclude that \(U\) is countably infinite.
Problem 12.4.6 shows that \(U\) itself is a countable set so it follows that \(\RR\text{,}\) \(T-U\text{,}\) \(T\text{,}\) and \(P(N)\) all have the same cardinality. The following two problems show that deleting a countable set from an uncountable set does not change its cardinality.

Problem 12.4.7.

Let \(S\) be an infinite set. Prove that \(S\) contains a countably infinite subset.

Problem 12.4.8.

Suppose \(X\) is an uncountable set and \(Y\subset X\) is countably infinite. Prove that \(X\) and \(X-Y\) have the same cardinality.
Hint.
Let \(Y=Y_0\text{.}\) Since \(X-Y_0\) is an infinite set, then by the previous problem it contains a countably infinite subset \(Y_1\text{.}\) Likewise since \(X-(Y_0\cup Y_1)\) is infinite it also contains a countably infinite subset \(Y_2\text{.}\) Again, since \(X-(Y_0\cup Y_1\cup Y_2)\) is an infinite set then it contains a countably infinite subset \(Y_3\text{,}\) etc. For \(n=1, 2, 3,\cdots \text{,}\) let \(f_n:Y_{n-1}\rightarrow Y_n\) be a one–to–one correspondence and define \(f:X\rightarrow X-Y\) by
\begin{equation*} f(x) = \begin{cases} f_n(x), \amp \text{ if } x\in Y_n, n=0,1,2,\cdots\\ x, \amp \text{ if } x\in X-\left(\bigcup_{n=0}^\infty Y_n \right) \end{cases}\text{.} \end{equation*}
Show that \(f\) is one–to–one and onto.
In the previous section, we mentioned that the Cantor middle–thirds set is uncountable. We will now prove that fact by showing that \(C\) contains a set which has the same cardinality as the set \(T\) of all sequences of zeros or ones, which is uncountable.
To see this, we will express the real numbers in \([0,1]\) in ternary (base three) form in a manner analogous to the binary representation seen in equation (12.4.2). That is, each number in \([0, 1]\) can be written in the form
\begin{equation*} \left(0.a_1a_2a_3\dots \right)_3=\sum^{\infty }_{j=1}{\frac{a_j}{3^j}} \end{equation*}
where \(a_j\in \{0, 1, 2\}\text{.}\)
As with the binary representation we’ll need to account for the fact that
\begin{align*} \left(0.0222\dots \right)_3\amp{}=\frac{2}{3^2}+\frac{2}{3^3}+\dots\\ \amp{}=\frac{2}{3^2}\left[1+\frac{1}{3}+\frac{1}{3^2}+\dots \right]\\ \amp{}=\frac{2}{3^2}\left[\frac{1}{1-\frac{1}{3}}\right]\\ \amp{}=\frac{1}{3}\\ \amp{}={\left(0.1000\dots \right)}_3 \end{align*}
but again this can be handled by simply choosing one representation or the other just as we did with both the binary and the decimal representations above. In what follows, we will adopt the convention that our ternary representations will not end in an infinite string of \(2\)’s. Since such representations form a countably infinite set (why?), it follows from Problem 12.4.7 and Problem 12.4.8 that the cardinality of the Cantor set is unaffected.
Recall that to construct the Cantor set, we had
\begin{align*} C_1\amp{}=\left[\frac{0}{3},\frac{1}{3}\right]\cup \left[\frac{2}{3},1\right]\supset \left[\frac{0}{3},\frac{1}{3}\right)\cup \left[\frac{2}{3},1\right)\\ \amp{}=\left\{{\left(0.0a_2a_3\dots \right)}_3\right\}\cup \{{\left(0.2a_2a_3\dots \right)}_3\} \end{align*}
where \(a_2,a_3, \dots \in \{0,1,2\}\) (discarding infinite strings of \(2\)’s). In other words, \(C_1\) contains the set of all real numbers whose first ternary digit after the “ternary point”
 1 
The ternary point is for base \(3\) is just like the decimal point for base \(10\) representations.
is either \(0\) or \(2\text{.}\) By the same token
\begin{align*} C_2\amp{}=\left[\frac{0}{3^2},\frac{1}{3^2}\right]\cup \left[\frac{2}{3^2},\frac{1}{3}\right]\cup \left[\frac{2}{3},\frac{7}{3^2}\right]\cup \left[\frac{8}{3^2},1\right]\\ \amp{}\supset \left[\frac{0}{3^2},\frac{1}{3^2}\right)\cup \left[\frac{2}{3^2},\frac{1}{3}\right)\cup \left[\frac{2}{3},\frac{7}{3^2}\right)\cup \left[\frac{8}{3^2},1\right)\\ \amp{}=\left\{{\left(0.00a_3a_4\dots \right)}_3\right\}\cup {\left\{(0.02a_3a_4\dots \right)}_3\}\\ \amp{}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \cup \{{\left(0.20a_3a_4\dots \right)}_3\} \cup \{{\left(0.22a_3a_4\dots \right)}_3\}\ \end{align*}
where \(a_3,a_4, \dots \in \{0,1,2\}\) (discarding infinite strings of \(2\)’s).
This says that \(C_2\) contains the set of all real numbers whose first two ternary digits are either \(0\) or \(2\) (discarding infinite strings of \(2\)’s). Similarly,
\begin{align*} C_3=\amp{}\left[\frac{0}{3^3},\frac{1}{3^3}\right]\cup \left[\frac{2}{3^3},\frac{1}{3^2}\right]\cup \left[\frac{2}{3^2},\frac{7}{3^3}\right]\cup \left[\frac{8}{3^3},\frac{1}{3}\right]\\ \amp{}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \cup{} \left[\frac{2}{3},\frac{19}{3^3}\right]\cup \left[\frac{20}{3^3},\frac{7}{3^2}\right]\cup \left[\frac{8}{3^2},\frac{25}{3^3}\right]\cup \left[\frac{26}{3^3},1\right]\\ \supset\amp{} \left[\frac{0}{3^3},\frac{1}{3^3}\right)\cup \left[\frac{2}{3^3},\frac{1}{3^2}\right)\cup \left[\frac{2}{3^2},\frac{7}{3^3}\right)\cup \left[\frac{8}{3^3},\frac{1}{3}\right)\\ \amp{}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \cup \left[\frac{2}{3},\frac{19}{3^3}\right)\cup \left[\frac{20}{3^3},\frac{7}{3^2}\right)\cup \left[\frac{8}{3^2},\frac{25}{3^3}\right)\cup \left[\frac{26}{3^3},1\right)\\ =\amp{}\left\{{\left(0.000a_4a_5\dots \right)}_3\right\}\cup \left\{{\left(0.002a_4a_5\dots \right)}_3\right\}\cup \left\{{\left(0.020a_4a_5\dots \right)}_3\right\}\\ \amp{}\ \ \ \ \cup \left\{{\left(0.022a_4a_5\dots \right)}_3\right\} \cup{} \left\{{\left(0.200a_4a_5\dots \right)}_3\right\}\cup \left\{{\left(0.202a_4a_5\dots \right)}_3\right\}\\ \amp{}\ \ \ \ \ \ \ \ \cup \left\{{\left(0.220a_4a_5\dots \right)}_3\right\}\cup \left\{{\left(0.222a_4a_5\dots \right)}_3\right\} \end{align*}
where \(a_4,a_5, \cdots \in \{0,1,2\}\) (discarding infinite strings of \(2\)’s), so that \(C_3\) contains the set of all real numbers whose first three ternary digits are either \(0\) or \(2\) (discarding infinite strings of \(2\)’s).
Continuing in this manner, we see that the Cantor set \(C=\bigcap^{\infty }_{n=0}{C_n}\) contains all the real numbers whose ternary expansions consist of \(0\) or \(2\text{.}\)

Problem 12.4.9. The Cantor Set is Uncountable.

Explain how the observations above show that the Cantor set is uncountable.

Problem 12.4.10.

We observed in Section 12.3 that it seems intuitively clear that the Cantor set consists entirely of the endpoints of the intervals that are not removed at each step. But this set of endpoints is countable (why?) so in light of Problem 12.4.9 that can’t possibly be true. So the Cantor set must contain points that are not in the set of included endpoints.
According to our argument above the number \((0.020202\cdots )_3\) is in the Cantor set. Show that it is not the endpoint of any of the intervals used to construct the Cantor set.
Hint.
What fraction does \((0.020202\cdots)_3 \) represent?
As we indicated before, Cantor’s work on infinite sets had a profound impact on mathematics in the beginning of the twentieth century. For example, in examining the proof of Cantor’s Theorem, the eminent logician Bertrand Russell (1872–1970) devised his famous paradox in 1901.
Portrait of Bertrand Russell
Figure 12.4.11. Bertrand Russell
Through the work of Cantor and others, sets were becoming a central object of study in mathematics. Mathematical concepts were being reformulated in terms of sets, as we saw in Section 12.1. The idea was that set theory was to be a unifying theme of mathematics but Russell’s paradox set the mathematical world on its ear because it showed that the naive understanding of a set as “just a collection of objects” leads to logical difficulties.
The idea behind Russell’s Paradox is essentially the same idea that gave us a contradiction in our proof of Cantor’s Theorem.
To have such a contradiction occurring at the most basic level of mathematics was scandalous. It forced a number of mathematicians and logicians to carefully devise the axioms by which sets could be constructed. To be honest, most mathematicians still approach set theory from a naive point of view as the sets we typically deal with are what we might characterize as “normal sets.” Such an approach is called Naive Set Theory (as opposed to Axiomatic Set Theory). Attempts to put set theory and logic on solid footing led to the modern study of symbolic logic and ultimately the design of computer (machine) logic.
Another place where Cantor’s work had a profound influence in modern logic comes from something we alluded to before. We showed before that the unit square \([0,1]\times [0,1]\) had the same cardinality as an uncountable subset of \(\RR\text{.}\) In fact, Cantor showed that the unit square had the same cardinality as \(\RR\) itself and was moved to advance the following in \(1878\text{.}\)
Cantor was unable to prove or disprove the Continuum Hypothesis conjecture (along with every other mathematician at the time). In fact, proving or disproving the Continuum Hypothesis, was one of David Hilbert’s famous 23 problems which he presented as a challenge for the mathematics community at the International Congress of Mathematicians in \(1900\text{.}\)
Portrait of Hilbert
Figure 12.4.14. David Hilbert
Since \(\RR\) has the same cardinality as \(P(\NN)\text{,}\) the Continuum Hypothesis was generalized to the:
Efforts to prove or disprove Conjecture 12.4.15 were in vain and with good reason. In \(1940\text{,}\) the logician Kurt Gödel showed that the Continuum Hypothesis could not be disproved from the Zermelo-Fraenkel Axioms of set theory. In 1963, Paul Cohen (1934–2007) showed that the Continuum Hypothesis could not be proved using the Zermelo-Fraenkel Axioms, either. In other words, the Zermelo-Fraenkel Axioms do not contain enough information to decide the truth of the hypothesis.

Aside: The Zermelo-Fraenkel Axioms.

Portrait of Kurt Gödel
Figure 12.4.16. Kurt Gödel
Portrait of Paul Cohen
Figure 12.4.17. Paul Cohen
We are willing to bet that at this point your head might be swimming a bit. If so, then know that these are the same feelings that the mathematical community experienced in the mid–twentieth century. In the past, mathematics was seen as a model of logical certainty. It is disconcerting to find that there are statements that are undecidable. In fact, Gödel proved in \(1931\) that a consistent finite axiom system that contained the axioms of arithmetic would always contain undecidable statements which could neither be proved true nor false with those axioms. Mathematical knowledge would always be incomplete.
So by trying to put the foundations of Calculus on solid ground, we have come to a point where we can never obtain mathematical certainty. Does this mean that we should throw up our hands and concede defeat? Should we be paralyzed with fear of trying anything? Certainly not! As we mentioned before, most mathematicians do well by taking a pragmatic approach. We use the mathematics we know and understand to solve the problems we encounter as best we can. In fact, it is typically the problems that motivate the mathematics. It is true that we take chances that don’t always pan out, but still we take those chances, often with success. Even when the successes lead to more questions, as they typically do, tackling those questions usually leads to a deeper understanding. At the very least, our incomplete understanding means we will always have more questions to answer, more problems to solve.
What else could a mathematician ask for?