Chapter 07 The Riemann Integral

7.2 The Definition of the Riemann Integral

7.2.1.

Let be abounded function on , and let be an arbitrary partition of . First, explain why . Now, prove Lemma 7.2.6.

Proof: Given any partition ,

That means is a lower bound of .

So .

This means is also an upper bound of .

So .

7.2.2.

Consider over the interval . Let be the partition consisting of the points .

(a) Compute , , and .

Solution:

The difference is .

7.2.3 (Sequential Criterion for Integrability).

(a) Prove that a bounded function is integrable on if and only if there exists a sequence of partitions satisfying

and in this case .

Proof: given , we can find , such that

Then we have

and , so .

Since then .

On the other hand, exercise 7.2.1 proves . So . So is integrable.

7.2.4.

Let be bounded on and assume there exists a partition with . Describe g. Is it integrable? If so, what is the value of ?

Solution: In each segment of , it's flat.

7.2.5.

Assume that, for each , is an integrable function on .

If uniformly on , prove that is also integrable on this set. (We will see that this conclusion does not necessarily follow if the convergence is pointwise.)

Proof: Given , we can find such that , .

Fix this , we can find a partition such that

7.2.6.

A tagged partition is one where in addition to a partition we choose a sampling point in each of the subintervals . The corresponding Riemann sum,

is discussed in Section 7.1, where the following definition is alluded to.

Riemann’s Original Definition of the Integral: A bounded function f is integrable on with , if for all there exists a such that for any tagged partition satisfying for all , it follows that

Show that if satisfies Riemann’s definition above, then is integrable in the sense of Definition 7.2.7. (The full equivalence of these two characterizations of integrability is proved in Section 8.1.)

Proof:

So

7.3 Integrating Functions with Discontinuities

7.3.1.

Consider the function

over the interval

(a) show that for every partition of .

Proof: Assume is . In the first segments, is constant , so the . In the nth segment, the is still . So .

(b) Construct a partition for which .

Solution: Let ,

.

(c) Given , construct a partition for which .

Proof: Let .

7.3.2.

Recall that Thomae’s function

has a countable set of discontinuities occurring at precisely every rational number. Follow these steps to prove t(x) is integrable on with .

(a) First argue that for any partition of .

Proof: Given any partition . For any segment, the is always . So .

(b) Let , and consider the set of points . How big is ?

Solution: Assume , the the size is at most .

(c) To complete the argument, explain how to construct a partition of so that .

Solution: For each of such that , we make it a partition . So the upper sum is less than . Since there are only of them, then total upper sum is . For other segments, each upper sum is , so the total upper sum is less than . Then the total sum is .

7.3.3.

Let

Show that is integrable on and compute .

Proof: Let

So

So .

7.3.4.

Let and be functions defined on (possibly different) closed intervals, and assume the range of is contained in the domain of so that the composition is properly defined.

(a) Show, by example, that it is not the case that if and are integrable, then is integrable.

Solution: We use the example in the previous 2 exercises. Consider is the Thomae function, and is the function in exercise 7.3.3. Then is the Dirichlet function, which is not differentiable.

(b) If is increasing and is integrable, then is integrable.

Proof: The following is not correct.

Assume is defined on , and is defined on , and . Since is integrable, and given . We can find a for such that

Assume for some . And let be the supremum of

If , then .

If , then assume for some . Then we can divide into and so that

In this way, we can construct a partition of such that

(c) If is integrable and is increasing, then is integrable.

Solution: This is not true. Consider is the Thomae function.

Then is again the Dirichlet function.

7.3.5.

Provide an example or give a reason why the request is impossible.

(a) A sequence pointwise, where each has at most a finite number of discontinuities but is not integrable.

Solution:

Consider

Then is the Dirichlet function which is not integrable.

(b) A sequence uniformly where each gn has at most a finite number of discontinuities and is not integrable.

Proof: Impossible. Each is integrable, and uniformly. So from exercise 7.2.5, is integrable.

(c) A sequence uniformly where each is not integrable but is integrable.

Solution: This is possible. Consdier

7.3.6.

Let be an enumeration of all the rationals in , and define

Anwser:

(a) Is integrable on ?

Solution: is the Dirichlet function. So it's not integrable.

(b) integrable on ?

Proof: Yes. Given , we can find such that , for , we create a segment . Then upper sum of those segments will be less than . For the rest of them, the upper sum will be less than . So overall the upper sum is less than .

So it's integrable and the value is 0.

7.3.7.

Assume is integrable.

(a) Show that if satisfies for all but a finite number of points in , then is integrable as well.

Proof: Consider , then is but a finite number of points. So it's integrable.

(b) Find an example to show that may fail to be integrable if it differs from at a countable number of points.

Solution: Consider and is the Thomae function.

7.3.8.

As in Exercise 7.3.6, let be an enumeration of all the rationals in , but this time define

Show is integrable on even though it has discontinuities at every rational point.

Proof:

Simply notice that the is a monotoneous increasing function will prove it.

We can also find the partition.

Given , we can find such that . For partition which is which is the set .

Between , .

Also consider the interval , for this interval, ,

So

since there are of them, then the sum is less than , for other part , then sum is less than .

7.3.9 (Content Zero).

A set has content zero if for every there exists a finite collection of open intervals that contain in their union and whose lengths sum to or less.

Using to refer to the length of each interval, we have

Anwser

(a) Let be bounded on . Show that if the set of discontinuous points of has content zero, then is integrable.

Proof: Assume , and given we can find a set of open intervals such that

Let , let . In these intervals, the difference of the upper sum and lower sum is less than .

In other interval, is continuous, so we can find a partition such that the upper sum and lower sum is less than .

(b) Show that any finite set has content zero.

Proof: Assume there are points in , , let

(c) Content zero sets do not have to be finite. They do not have to be countable. Show that the Cantor set defined in Section 3.1 has content zero.

Proof:

Note , we can use 2 open sets with length of to cover it.

Similarly, can be coverd by intervals of length .

can be coverd by intervals of length .

So

In addition,

(d) Prove that

is integrable, and find the value of the integral.

Proof: if , is in an open set. So is continuous at . Then we can apply (a). So is integrable. and the value is .

7.4 Properties of the Integral

7.4.1.

Let be a bounded function on a set , and set

Anwser:

(a) Show that .

Proof:

  • case 1: then
  • case 2: then
  • case 3: then
  • case 4: then
  • case 5: then
  • case 6: then

In all 6 cases, we have .

(b) Show that if is integrable on the interval , then is also integrable on this interval.

Proof: Given a partition, .

For segment , the difference between upper sum and lower sum for is

So we have .

(c) Provide the details for the argument that in this case we have .

Proof: , so , so , so .

On the other hand, , so so , so .

Together, we have .

7.4.2.

(a) Let , and classify each of the following as positive, negative, or zero.

(i)

Solution:

= , so overall it's positive.

(ii)

Solution:

, so it's 0.

(iii)

Solution:

(b) Show that if and f is integrable on the interval , then it is the case

Proof:

We have

So

So

7.4.3.

Decide which of the following conjectures is true and supply a short proof. For those that are not true, give a counterexample.

(a) If is integrable on , then is also integrable on this set.

Solution: False. Consdier defined on

(b) Assume is integrable and on . If for an infinite number of points , then .

Solution: False. Consider Thomae function.

(c) If is continuous on and with for at least one point , then .

Proof: Since is continuous, we can find a closed interval such that for . Then

7.4.4.

Show that if for all and is integrable, then .

Proof: No idea for now. Seems like we need to use section 7.5.

7.4.5.

Let and be integrable functions on .

(a) Show that if is any partition of , then

Provide a specific example where the inequality is strict. What does the corresponding inequality for lower sums look like?

Proof: For any segment , assume is the supremum of on this segment. For any , . So .

Therefore .

Let .

So , . On the other hand, , so .

The lower sums look like

(b) Review the proof of Theorem 7.4.2 (ii), and provide an argument for part (i) of this theorem.

Proof: Since are all integrable, we can find , such that

Then let , then

Adding them together

Furthermore, We apply (a), then we know

On the other hand, . So

So is integrable. Since , then . Similarly, .

So .

7.4.6.

Although not part of Theorem 7.4.2, it is true that the product of integrable functions is integrable. Provide the details for each step in the following proof of this fact:

(a) If satisfies on , show

Proof:

(b) Prove that if is integrable on , then so is .

Proof:

Consider the partial sum for . For any

So . Then is also integrable.

(c) Now show that if and are integrable, then is integrable. (Consider .)

Proof:

All functions on the right side are integrable. The sum of them is integrable.

7.4.7.

Review the discussion immediately preceding Theorem 7.4.4.

(a) Produce an example of a sequence pointwise on [0,1] where does not exist.

Solution:

Consider

So we have

(b) Produce an example of a sequence with but does not converge to zero for any . To make it more interesting, let’s insist that for all and .

Solution:

I borrowed the idea from exercise 6.4.2 (c) Consdier

7.4.8.

For each , let

And set . Show is integrable and compute .

Solution: Because each is increasing, is also increasing. is bounded since . So is integrable.

Consider

Note that converges uniformly to and

So .

7.4.9.

Let and be uniformly bounded on , meaning that there exists a single satisfying and for all and .

Assume pointwise on and uniformly on any set of the form , where .

If all the functions are integrable, show that

Proof:

Given , we want to find such that if then

Since and be uniformly bounded on , we can have a .

Given this , we can find , such that .

Then

Since uniformly on any set of the form , we can find such that if then

So

7.4.10.

Assume is integrable on and continuous at . Show

Proof: We want to find such that if then

We use the technique in theorem 7.5.1

Since is integrable, is bounded, i.e. . Then we can find , such that .

Fix this . Next, since is continuous at , we can find such that , .

Then we can find such that if , .

So

7.4.11.

Review the original definition of integrability in Section 7.2, and in particular the definition of the upper integral . One reasonable sug- gestion might be to bypass the complications introduced in Definition 7.2.7 and simply define the integral to be the value of . Then every bounded function is integrable! Although tempting, proceeding in this way has some significant drawbacks. Show by example that several of the properties in Theorem 7.4.2 no longer hold if we replace our current definition of integrability with the proposal that for every bounded function .

Solution:

(i) Let is Thomae function and be the negative Thomae function.

So , but .

I think (ii), (iii), (iv), (v) holds.

7.5 The Fundamental Theorem of Calculus

7.5.1.

(a) Let and define . Find a piecewise algebraic formula for for for all . Where is continuous? Where is differentiable? Where does ?

Solution:

is continuous for . It is differentiable on this interval. Also .

(b) Repeat part (a) for the function

Solution:

is continuous for . It's not differentiable at . Also when .

7.5.2.

Decide whether each statement is true or false, providing a short justification for each conclusion.

(a) If for some on , then is continuous on .

Solution:

Consider

is not continuous at .

(b) If is continuous on , then for some on .

Proof: This is true.

is continuous, so it's integrable. Then consider . Since is continuous, .

(c) If is differentiable at , then is continuous at .

Solution: false.

Consider defined on .

Then is differentiable at , but is not continuous at .

7.5.3.

The hypothesis in Theorem 7.5.1 (i) that for all is slightly stronger than it needs to be. Carefully read the proof and state exactly what needs to be assumed with regard to the relationship between and for the proof to be valid.

Solution: for all is enough.

7.5.4.

Show that if is continuous and for all , then everywhere on . Provide an example to show that this conclusion does not follow if f is not continuous.

Proof: For theorem 7.5.1, is integrable and continuous, then and . Since , so for , then for .

7.5.5.

The Fundamental Theorem of Calculus can be used to supply a shorter argument for Theorem 6.3.1 under the additional assumption that the sequence of derivatives is continuous

Assume pointwise and uniformly on . Assuming each is continuous, we can apply Theorem 7.5.1 (i) to get

for all . Show that .

Proof:

Since and is continuous, then is continuous. So is integrable. Furthermore

On the left side

On the right side

So , so .

7.5.6 (Integration-by-parts).

(a) Assume and have continuous derivatives on and derive the familiar integration-by-parts formula

Proof:

Since and have continuous derivatives on , so does . And its derivative at is

In addition, since are all continuous, then are both integrable.

So we can directly apply Theorem 7.5.1 to get

Using theorem 7.4.2 (i) and rearrange it, we can prove it.

(b) Explain how the result in Exercise 7.4.6 can be used to slightly weaken the hypothesis in part (a).

Solution: exercise 7.4.6 states it is true that the product of integrable functions is integrable.

So we just need to assume are both integrable. Then the argument in (a) still holds.

7.5.7.

Use part (ii) of Theorem 7.5.1 to construct another proof of part (i) of Theorem 7.5.1 under the stronger hypothesis that is continuous. (To get started, set .)

Proof: is continuous, then . If , then for . That means .

.

7.5.8 (Natural Logarithm and Euler’s Constant).

Let

where we consider only .

(a) What is ? Explain why is differentiable and find .

Solution: . This is because is continuous.

(b) Show that . (Think of as a constant and differentiate )

Proof:

So and plug , so . So .

(c) Show .

Proof:

plug , so . So .

Then with (b), we proved.

(d) Let

Prove that converges. The constant is called Euler’s constant.

Proof:

For , consdier

Then note

So

So it's Cauchy sequence.

(d) Show how consideration of the sequence leads to the interesting identity

Proof:

Since converges, then ,

Then we proved.

7.5.9.

Given a function on , define the total variation of to be

where the supremum is taken over all partitions of .

(a) If is continuously differentiable ( exists as a continuous function), use Fundamental Theorem of Calculus to show .

Proof: is integrable. So from theorem 7.5.1 (i), we know .

So

So

(b) Use the Mean Value Theorem to establish the reverse inequality and conclude that .

Proof:

So .

7.5.10 (Change-of-variable Formula).

Let be differentiable and assume is continuous. Let be continuous, and assume that the range of is contained in so that the composition is properly defined.

(a) Why are we sure is the derivative of some function? How about ?

Proof: is continuous, so from Theorem 7.5.1 (ii) we know if , then .

So consider the composite function ,

So is the derivative of .

(b) Prove the change-of-variable formula

Proof:

Since is continuous, then is integrable. Furthermore . Then

For the left side, is continuous and is continuous, so is integrable, and . So

7.5.11.

Assume is integrable on [a,b] and has a “jump discontinu- ity” at . This means that both one-sided limits exist as approaches from the left and from the right, but that

(This phenomenon is discussed in more detail in Section 4.6.)

(a) Show that in this case, is not differentiable at .

Proof: Assume

We following the proof of Theorem 7.5.1 (ii), assume and given , we can find if , then

That means

(b) The discussionin Section 5.5 mentions the existence of a continuous monotone function that fails to be differentiable on a dense subset of R. Combine the results of part (a) with Exercise 6.4.10 to show how to construct such a function.

Solution: In 6.4.10, we define this function.

Let be an enumeration of the set of rational numbers. For each , define

Now let .

Since is bounded and monotone increasing, then it is integrable. Let

Since , then is monotone increasing. From theorem 7.5.1 (ii), we know is continuous.

and exist.

Since from any , , then based on (a), is not differentiable at all which is , which is dense in .

7.6 Lebesgue’s Criterion for Riemann Integrability

7.6.14.

(a) Find .

Solution:

(b) Use the standard rules of differentiation to compute for .

(c) Explain why, for every , attains every value between and as ranges over the set . Conclude that is not continuous at .

Proof: Given , we can find such that

Note

Since is continuous on , then because of the intermediate value property, attains every value between and .

Since , is not continuous at .

7.6.15.

(a) If , what is ?

Solution: In each , . So .

(b) Why does exist for ?

Solution: If , then there exists , if , . Let be the smallest integer such that .

It will be replaced by the function and won't be changed any more.

So exists.

7.6.16.

(a) Explain why exists for all .

Proof: if , then we can assue it was taken out during the interval . On this interval, it is either or or in the splice part. Wherever it is, it's differentiable.

(b) If , argue that for all . Show how this implies .

Proof: If , . So it holds.

If , assume it is taken out with . Note that . So . By our construction of , we know

So the inequality also holds.

So .

(c) Give a careful argument for why fails to be continuous on . Remember that contains many points besides the endpoints of the intervals that make up .

Proof: Let . And given , it is possible to find an open interval and . Based on our construction of , can achieve any value in when . Since , cannot be continuous at .

7.6.17.

Why is Riemann-integrable on [0,1]?

Proof: This is because is continuous for , and Cantor set is measure .

7.6.18.

Show that, under these circumstances, the sum of the lengths of the intervals making up each no longer tends to zero as . What is this limit?

Proof: The segment we take out is

7.6.19.

As a final gesture, provide the example advertised in Exercise 7.6.13 of an integrable function and a continuous function where the composition is properly defined but not integrable. Exercise 4.3.12 may be useful.

Solution: Consider is the set defined in 7.6.18, is the function used in Exercise 4.3.12. Since is a close set, is continuous. Let be this function defined in :

is integrable because is only discontinueous at .

So let , if , because the distance between and is .

Furthermore, is not continuous at . Given it is possible to find an open interval and , . can achieve any value in when . Since , cannot be continuous at .