The Riemann Integral
We begin with the definition of a partition.
Let and suppose . By a partition of the interval we mean a collection of intervals
such that and where .
Hence, a partition
Examples of sampled partitions are mid-points, right-end points, and left-end points partitions.
Now consider a function
The function is said to be Riemann integrable if there exists a number such that for every there exists such that for any sampled partition that satisfies it holds that .
The set of all Riemann integrable functions on the interval
If then the number in the definition of Riemann integrability is unique.
Let and be two real numbers satisfying the definition of Riemann integrability and let be arbitrary. Then there exists such that and , for all sampled partitions with . Then, if it holds that
By Theorem 2.2.7 this proves that .
If
Show that a constant function on is Riemann integrable.
Let be such that for all and let be a sampled partition of . Then
Hence, with , we obtain that for any and therefore . This proves that is Riemann integrable.
Prove that is Riemann integrable on .
We consider the special case that , the general case is similar. Let be a sampled partition of chosen so that , i.e., is the midpoint of the interval . Then
Now let be an arbitrary sampled partition of and suppose that , so that for all . If is the corresponding midpoint sampled partition then . Therefore,
Hence, we have proved that for arbitrary that satisfies it holds that . Hence, given we let and then if then . Therefore, .
The next result shows that if
Let and let be a function such that for all except possibly at a finite number of points in . Then and in fact .
Let . Suppose that except at one point . Let be a sampled partition. We consider mutually exclusive cases. First, if and for all then . If for some then
If for some then necessarily and then
Hence, in any case, by the triangle inequality
where . Let be arbitrary. Then there exists such that for all partitions such that . Let . Then if then
This proves that and . Now suppose by induction that if for all except at a number of points in then and . Now suppose that is such that for all except at the points . Define the function by for all except at and define . Then and differ at the points . Then by the induction hypothesis, and . Now and differ at the point and therefore and . This ends the proof.
We now state some properties of the Riemann integral.
Suppose that . The following hold.
- If
then and . and .- If
for all then .
If then for all and then clearly , so assume that . Let be given. Then there exists such that if then . Now for any partition , it holds that . Therefore, if then
To prove (b), it is easy to see that . Given there exists such that and , whenever . Therefore, if we have that
To prove (c), let be arbitrary and let be such that if then
Now, by assumption, and therefore
Therefore,
Since is arbitrary, we can choose and then passing to the limit we deduce that .
Properties (i), (ii), and (iii) in Theorem 7.1.8 are known as homogeneity, additivity, and monotonicity, respectively.
We now give a necessary condition for Riemann integrability.
If then is bounded on .
Let and put . There exists such that if then and therefore . Suppose by contradiction that is unbounded on . Let be a partition of , with sets , and with . Then is unbounded on some , i.e., for any there exists such that . Choose samples in by asking that for and is such that
Therefore, (using implies that )
This is a contradiction and thus is bounded on .
Consider Thomae's function defined as if is irrational and for every rational , where . In Example 5.1.7, we proved that is continuous at every irrational but discontinuous at every rational. Prove that is Riemann integrable.
Let be arbitrary and let . By definition of , the set is finite, say consisting of elements. Let and let be a sampled partition of with . We can separate the partition into two sampled partitions and where has samples in the the set and has no samples in . Then the number of intervals in can be at most , which occurs when all the elements of are samples and they are at the endpoints of the subintervals of . Therefore, the total length of the intervals in can be at most . Now for every sample in and therefore . For samples in we have that . Therefore, since the sum of the lengths of the subintervals of is , it follows that . Hence . Thus .
Exercises
Suppose that and let . Prove by definition that .
If is Riemann integrable on and for all , prove that . Hint: The inequality is equivalent to . Then use the fact that constants functions are Riemann integrable whose integrals are easily computed. Finally, apply a theorem from this section.
If is Riemann integrable on and is a sequence of tagged partitions of such that prove that
Hint: For each we have the real number , and we therefore have a sequence . Let . We therefore want to prove that .
Give an example of a function that is Riemann integrable on for every but which is not Riemann integrable on . Hint: What is a necessary condition for Riemann integrability?
Riemann Integrable Functions
To ease our notation, if
A function is Riemann integrable if and only if for every there exists such that if and are sampled partitions of with norm less than then
Using the Cauchy Criterion, we show next that the Dirichlet function is not Riemann integrable.
Let be defined as if is rational and if is irrational. Show that is not Riemann integrable.
To show that is not in , we must show that there exists such that for all there exists sampled partitions and with norm less than but . To that end, let , and let be arbitrary. Let be sufficiently large so that . Let be a sampled partition of with intervals all of equal length and let the samples of be rational numbers. Similarly, let be a partition of with intervals all of equal length and with samples irrational numbers. Then and , and therefore .
We now state a sort of squeeze theorem for integration.
Let be a function on . Then if and only if for every there exist functions and in with for all and .
If then let . Then clearly for all . Now suppose the converse and let be arbitrary. Let and satisfy the conditions of the theorem, with . Now, there exists such that if then
and
For any sampled partition it holds that , and therefore
If is another sampled partition with then also
Subtracting the two inequalities - , we deduce that
Therefore, since it follows that
By the Cauchy criterion, this proves that .
Step-functions, defined below, play an important role in integration theory.
A function is called a step-function on if there is a finite number of disjoint intervals contained in such that and such that is constant on each interval.
In the definition of a step-function, the intervals
Let be a subinterval of and define on as if and otherwise. Then and .
If is a step function then .
Let be the intervals where is constant, and let be the constant values taken by on the intervals , respectively. Then it is not hard to see that . Then is the sum of Riemann integrable functions and therefore is also Riemann integrable. Moreover, .
We will now show that any continuous function on
Let be a continuous function. Then for every there exists a step-function such that for all .
Let be arbitrary. Since is uniformly continuous on there exists such that if then . Let be sufficiently large so that . Partition into subintervals of equal length , and denote them by , where and for . Then for it holds that . For define . Therefore, for any it holds that . Since , it holds that for all .
We now prove that continuous functions are integrable.
A continuous function on is Riemann integrable on .
Suppose that is continuous. Let be arbitrary and let . Then there exists a step-function such that for all . In other words, for all it holds that
The functions and are Riemann integrable integrable on , and . Hence, by the Cauchy criterion, is Riemann integrable.
Recall that a function is called monotone if it is decreasing or increasing.
A monotone function on is Riemann integrable on .
Assume that is increasing and that (if then is the zero function which is clearly integrable). Let be arbitrary. Let be such that . Partition into subintervals of equal length , and as usual let denote the resulting points of the partition. On each subinterval , it holds that for all since is increasing. Let be the step-function whose constant value on the interval is and similarly let be the step-function whose constant value on the interval is , for all . Then for all . Both and are Riemann integrable and
Hence by the Squeeze theorem for integrals (Theorem 7.2.3), .
Our las theorem is the additivity property of the integral, the proof is omitted.
Let be a function and let . Then if and only if its restrictions to and are both Riemann integrable. In this case,
Exercises
Suppose that is continuous and assume that for all . Prove that . Hint: A continuous function on a closed and bounded interval achieves its minimum value.
Suppose that is continuous on and that for all .
- Prove that if
then necessarily for all . - Show by example that if we drop the assumption that
is continuous on then it may not longer hold that for all .
Show that if is Riemann integrable then is also Riemann integrable.
The Fundamental Theorem of Calculus
Let be a function. Suppose that there exists a finite set and a function such that is continuous on and for all . If is Riemann integrable then .
Assume for simplicity that . Let be arbitrary. Then there exists such that if then . For any , with intervals for , there exists, by the Mean Value Theorem applied to on , a point such that . Therefore,
where has the same intervals as but with samples . Therefore, if then
Hence, for any we have that and this shows that .
Let . The indefinite integral of with basepoint is the function defined by
for .
Let . The indefinite integral of is a Lipschitz function on , and thus continuous on .
For any such that it holds that
and therefore . Since is Riemann integrable on it is bounded and therefore for all . In particular, for all and thus , and thus
Under the additional hypothesis that
Let and let be continuous at a point . Then the indefinite integral of is differentiable at and .
Riemann-Lebesgue Theorem
In this section we present a complete characterization of Riemann integrability for a bounded function. Roughly speaking, a bounded function is Riemann integrable if the set of points were it is discontinuous is not too large. We first begin with a definition ofnot too large.
A set is said to be of measure zero if for every there exists a countable collection of open intervals such that
Show that a subset of a set of measure zero also has measure zero. Show that the union of two sets of measure zero is a set of measure zero.
Let be a countable set. Show that has measure zero.
Let . Consider the interval
Clearly, and thus . Moreover,
As a corollary, has measure zero.
However, there exists uncountable sets of measure zero.
The Cantor set is defined as follows. Start with and remove the middle third yielding the set . Notice that . Now remove from each subinterval of the middle third resulting in the set
The two middle thirds removed have total length . By induction, having constructed which consists of the union of closed subintervals of , we remove from each subinterval of the middle third resulting in the set , where is the union of the middle third open intervals and now consists of disjoint closed-subintervals. By induction, the total length of is . The Cantor set is defined as
We now state the Riemann-Lebesgue theorem.
Let be a bounded function. Then is Riemann integrable if and only if the points of discontinuity of forms a set of measure zero.