In integral calculus, we usually assume that continuous functions
can be integrated. Here, we will formally prove this really works, and in doing so, formulate Riemann integration more rigorously.
Lemma 1. Let
be continuous and nonnegative (i.e.
). For any partition
of
(i.e.
,
, and
is non-decreasing), and for any
,

where
,
, and we make the notations
![\displaystyle \begin{aligned} M_i(f, P) := \sup_{x \in [x_{i-1}, x_i] } f(x),\quad m_i (f, P) := \inf_{x \in [x_{i-1}, x_i] } f(x). \end{aligned}](https://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cbegin%7Baligned%7D+M_i%28f%2C+P%29+%3A%3D+%5Csup_%7Bx+%5Cin+%5Bx_%7Bi-1%7D%2C+x_i%5D+%7D+f%28x%29%2C%5Cquad+m_i+%28f%2C+P%29+%3A%3D+%5Cinf_%7Bx+%5Cin+%5Bx_%7Bi-1%7D%2C+x_i%5D+%7D+f%28x%29.+%5Cend%7Baligned%7D&bg=ffffff&fg=000&s=0&c=20201002)
Recall that for sets
, we define the indicator function
by

Lemma 2. Let
be continuous and nonnegative. Then for any
, there exists a partition
such that for any
,

where we follow the notations in Lemma 1.
Proof. We prove the special case
for simplicity and leave the general case as an exercise in bookkeeping.
Fix
. Since
is continuous on
, it is uniformly continuous on
. Hence, there exists
such that for any
,

By the Archimedean property, find
such that
. Define
where
.
Fix
. By the extreme value theorem, find
such that
and
. Since
,

Setting
yields the desired result.
Theorem 1. Let
be continuous and nonnegative. Then for any
, there exists a partition
such that

where
and we follow the notations in Lemma 1. Consequently,

Proof. Fix
. By Lemma 2, for any
, find a partition
such that for any
,

Summing over
,

Setting
yields the desired result.
What has Theorem 1 got to do with integration? Intuitively,
should induce
, so that in the limit,
yields the area under the graph of
on
, yielding the familiar (approximate) definition

We will now formulate this limiting process precisely using Riemann integration. For the rest of this post, let
be bounded. For simplicity, we will occasionally assume
to elucidate the underlying analysis.
Definition 1. A partition
of
is an increasing sequence

of
terms. For any partition
with
terms, define

where
and
![\displaystyle \begin{aligned} M_i(f, P) := \sup_{x \in [x_{i-1}, x_i] } f(x),\quad m_i (f, P) := \inf_{x \in [x_{i-1}, x_i] } f(x). \end{aligned}](https://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cbegin%7Baligned%7D+M_i%28f%2C+P%29+%3A%3D+%5Csup_%7Bx+%5Cin+%5Bx_%7Bi-1%7D%2C+x_i%5D+%7D+f%28x%29%2C%5Cquad+m_i+%28f%2C+P%29+%3A%3D+%5Cinf_%7Bx+%5Cin+%5Bx_%7Bi-1%7D%2C+x_i%5D+%7D+f%28x%29.+%5Cend%7Baligned%7D&bg=ffffff&fg=000&s=0&c=20201002)
Finally, define the upper and lower integrals by

We say that
is Riemann-integrable on
if
. In this case, we write

and the right-hand side is used when emphasising the underlying variables.
Lemma 3. For partitions
of
,

Proof. We will prove the case
where
and leave the general result as an exercise in induction. Find
such that
. Then
![\displaystyle \begin{aligned} &\sup_{x \in [x_{i-1}, c]} f(x) \cdot (c - x_{i-1}) + \sup_{x \in [c, x_i]} f(x) \cdot (x_i - c) \\ &\leq \sup_{x \in [x_{i-1}, x_i]} f(x) \cdot (c - x_{i-1}) + \sup_{x \in [x_{i-1}, x_i]} f(x) \cdot (x_i - c) \\ &\leq \sup_{x \in [x_{i-1}, x_i]} f(x) \cdot (c - x_{i-1} + x_i - c) \\ &\leq \sup_{x \in [x_{i-1}, x_i]} f(x) \cdot (x_i - x_{i-1} ). \end{aligned}](https://s0.wp.com/latex.php?latex=%5Cdisplaystyle+%5Cbegin%7Baligned%7D+%26%5Csup_%7Bx+%5Cin+%5Bx_%7Bi-1%7D%2C+c%5D%7D+f%28x%29+%5Ccdot+%28c+-+x_%7Bi-1%7D%29+%2B+%5Csup_%7Bx+%5Cin+%5Bc%2C+x_i%5D%7D+f%28x%29++%5Ccdot+%28x_i+-+c%29+%5C%5C+%26%5Cleq+%5Csup_%7Bx+%5Cin+%5Bx_%7Bi-1%7D%2C+x_i%5D%7D+f%28x%29+%5Ccdot+%28c+-+x_%7Bi-1%7D%29+%2B+%5Csup_%7Bx+%5Cin+%5Bx_%7Bi-1%7D%2C+x_i%5D%7D+f%28x%29++%5Ccdot+%28x_i+-+c%29+%5C%5C+%26%5Cleq+%5Csup_%7Bx+%5Cin+%5Bx_%7Bi-1%7D%2C+x_i%5D%7D+f%28x%29+%5Ccdot+%28c+-+x_%7Bi-1%7D+%2B+x_i+-+c%29+%5C%5C+%26%5Cleq+%5Csup_%7Bx+%5Cin+%5Bx_%7Bi-1%7D%2C+x_i%5D%7D+f%28x%29+%5Ccdot+%28x_i+-+x_%7Bi-1%7D+%29.+%5Cend%7Baligned%7D&bg=ffffff&fg=000&s=0&c=20201002)
The result
follows by summing on both sides. The result for
follows similarly.
Lemma 4.
.
Proof. For any partition
,

Now fix partitions
. By Lemma 3,

Thus,
is an upper bound for
regardless of
. By definition of the supremum,

Since
is a lower bound for
regardless of
, by definition of the infimum,

as required.
Theorem 2 (Riemann Integrability Criterion).
is Riemann-integrable if and only if for any
, there exists a partition
of
such that

Proof. We will prove in two directions. For
, suppose
is Riemann-integrable. Then
. Expanding the meaning of
, for any
, there exists a partition
of
such that

Expanding the definition of
, for any
, there exists a partition
of
such that

Combining the estimates,

By Lemma 3, the partition
satisfies

Set
and define the partition
.
For
. We need to prove that
. By Lemma 4,
unconditionally. To prove
, the hypothesis yields that, for any
, there exists a partition
of
such that

Taking the infimum over
on the left-hand side,

On the other hand,

Thus,
. Therefore,
, and
is Riemann-integrable, as required.
This tells us, finally, that continuous functions are Riemann-integrable.
Corollary 1. If
is continuous, then
is Riemann-integrable.
Proof. Combine the results in Theorem 1 and Theorem 2 to obtain the desired result.
Technically, we have formulated Darboux-integrability that focuses on the “maximal” and “minimal” areas, since Riemann-integrability is more closely connected with general areas. Yet, Darboux integrability basically yields upper and lower estimates on the Riemann integral, and so in the limit, both terms match up and the existence of one implies the other.
Is the limit of Riemann-integrable functions itself Riemann-integrable? Yes with an asterisk, and we explore this result the next time.
—Joel Kindiak, 19 Jan 25, 1554H