You are on page 1of 1

McGill University

Department of Mathematics and Statistics


MATH 243 Analysis 2, Winter 2023
Assignment 5

You should carefully work out all problems. However, you only have to hand in solutions
to problems 1 and 2.
This assignment is due Wednesday, February 15, at 8:00pm. Late assignments
will not be accepted!

1. Let (
1 if x ∈ { n1 : n ∈ N}
f (x) :=
0 otherwise
Z 1
Prove that f is Riemann integrable on [0, 1] and compute f.
0
Hint: You may use either the squeeze theorem or the ε-criterion for Riemann integrability.
Either way, this is a challenging question!

2. Consider the function f : [0, 1] → R,


(
1 1 1
n if n+1 <x≤ n for some n ∈ N
f (x) := ,
0 if x = 0

Prove that f is Riemann integrable on [0, 1].


Remark: It may be helpful to sketch f .
Z b
3. Let f, g : [a, b] → R be functions such that 0 ≤ f ≤ g on [a, b] and g = 0. Show that f is
Z b a

Riemann integrable on [a, b] and that f = 0.


a

4. Consider the function f : [0, 1] → R,


(
1 1 1
n if n+1 <x< n for some n ∈ N
f (x) :=
0 otherwise

Prove that f is Riemann integrable on [0, 1].

5. Let a < b and f : [a, b] → R be continuous. Prove that there exists a number c ∈ [a, b] such that
Z b
1
f (c) = f
b−a a
Remark: This result is often called the mean value theorem for integrals or the first mean value
theorem for integrals. f (c) is often called the average value of f on [a, b].
Hint: Use the intermediate value theorem and the extreme value theorem i.e. the existence of
absolute extrema of a continuous function on a closed and bounded interval.

You might also like