Lecture 9
Lecture 9
Lecture 9
20 November
1 / 28
Chapter 5
2 / 28
5.3 The Riemann integral
3 / 28
4 / 28
Differentiation and Integration
Not every function f has a function F such that F ′ = f .
▶ Based on Darboux’s Theorem, we see that, for the function
1 for 0 ≤ x < 1
f (x) =
2 for 1 ≤ x ≤ 2
it is impossible to find a function F such that F ′ = f .
▶ If a function f is continuous in an interval containing point a,
Rx
then the function F (x) = a f (t)dt satisfies F ′ = f . Are there
any other functions of such a property? Yes, for example:
2x sin x1 − cos x1 , for x ̸= 0
f (x) =
0, for x = 0
is the derivative on R of a function F (See Lecture 8), is not
continuous on any interval [a, b] containing 0, and is Riemann
integrable on any interval [a, b] (since it is bounded and
continuous excepted at one point (particular case of
continuous almost everywhere) (result not seen)).
5 / 28
6 / 28
Figure 1. A Riemann sum
7 / 28
8 / 28
Lower Sum and Upper Sum
and
Mk := sup {f (x) : x ∈ [xk−1 , xk ]} .
9 / 28
10 / 28
Remark.
▶ L(P, f ) and U(P, f ) are obtained from a Riemann Sum for P
by replacing f (ck ) with mk and Mk for each subinterval
[xk−1 , xk ] .
▶ If f is continuous on [a, b], then mk and Mk are minimum and
maximum of f on [xk−1 , xk ] .
▶ If f is not continuous but bounded on [a, b], mk and Mk may
not be minimum and maximum of f on [xk−1 , xk ] . However
both L(P, f ) and U(P, f ) are well defined.
▶ For each k, since mk ≤ f (ck ) ≤ Mk and xk − xk−1 > 0 for
any ck ∈ [xk−1 , xk ]
n
X
L(P, f ) ≤ f (ck ) (xk − xk−1 ) ≤ U(P, f ).
k=1
11 / 28
Remark:
▶ If P1 and P2 are partitions of [a, b], then P = P1 ∪ P2 is also
a partition of [a, b] and P is a refinement of P1 and P2 .
▶ For any two partitions P1 , P2 for [a, b], P1 ∩ P2 is not empty
since a, b ∈ P1 ∩ P2 .
Example:
▶ Consider the partitions of [0, 1] with endpoints
1 1 2 1 1 3
P1 = {0, , 1}, P2 = {0, , , 1}, P3 = {0, , , , 1}.
2 3 3 4 2 4
Thus, P1 , P2 , and P3 partition [0, 1] into intervals of equal
length 21 , 13 , and 41 , respectively. Then P2 is not a refinement
of P1 but P3 is a refinement of P1 .
12 / 28
Lemma 1. If P ⊆ Q, then
Proof
Let P = {x0 , x1 , ..., xn }. If P ⊂ Q, then Q\P = {z1 , . . . , zm }, with
m ∈ N and zi ∈ [a, b]. Let
Proof(Cont.)
Then, mk′ ⩾ mk and mk′′ ⩾ mk , and we have
= L (P1 , f )
14 / 28
Proof(Cont.)
We have by similar arguments
Similarly, we prove
15 / 28
L (P1 , f ) ≤ U (P2 , f ) .
Proof.
Let
P = P1 ∪ P2 .
Then, P is a refinement of P1 and P is a refinement of P2 .
Therefore, by Lemma 1,
16 / 28
Lower Integral and Upper Integral
17 / 28
Proof.
By Lemma 2,
Rb Rb Rb
In this case, we define a f (x)dx := a f (x)dx = a f (x)dx.
Example:
1. Consider the function f (x) on [0, 1] given by
(
1, if x is rational,
f (x) =
0, if x is irrational.
Is it Riemann integrable?
2. Every constant function f (x) = c on [a, b] is Riemann
integrable.
19 / 28
So,
Z b Z b̄
f = 0 ̸= f =1
a a
20 / 28
Example: (constant function) For any P ∈ P, we have
n
X n
X
L(P, f ) = mk (xk − xk−1 ) = c (xk − xk−1 ) = c(b − a)
k=1 k=1
X
U(P, f ) = Mk (xk − xk−1 ) = c(b − a)
Z b
⇒ f = sup({L(P, f )|P ∈ P}) = sup({c(b − a)})
a
Z b̄
= c(b − a) = inf({U(P, f )(P ∈ P} = f
a
So, f is Riemann integrable.
21 / 28
Proof
(⇒) Assume f is Riemann integrable on [a, b]. Let ε > 0.
Z b Z b Z b̄
We know that sup (L(P, f )) = f = f = f = inf (U(P, f ))
P∈P a a a P∈P
Rb
So, a f − 2ε is not an upper bound for {L(P, f ) : P ∈ P} and
Rb ε
a f + 2 is not a lower bound for {U(P,
Rb
f ) : P ∈ P}.
Therefore, ∃P1 ∈ P s.t L (P1 , f ) > a f − 2ε and
R b̄
∃P2 ∈ P s.t U (P2 , f ) < a f + 2ε . 22 / 28
Proof.
Let Pϵ = P1 ∪ P2 .
R b̄ Rb
Therefore a f = a f (since ε > 0 was arbitrary).
23 / 28
Proof(Proposition 1.)
Assume f continuous on [a, b]. For the sake of contradiction,
suppose ∃ε0 > 0 ∃ (xn )∞ ∞
n=1 , (yn )n=1 s.t. |xn − yn | → 0, as n → ∞,
and |f (xn ) − f (yn )| > ε0 , ∀n ∈ N.
24 / 28
Proof(Cont.)
The set [a, b] is compact (Heine-Borel). Therefore, ∃ (xnk )∞
k=1
which converges to x ∈ [a, b].
|f (ynk ) − f (xnk )| → 0,
as k → ∞, a contradiction.
25 / 28
Proof(Theorem 2.)
Let ε > 0. Assume f continuous on [a, b]. Thus, f is uniformly
continuous on [a, b]. Then, ∃δ > 0 s.t. x, y ∈ [a, b] and
ε
|x − y | < δ implies |f (x) − f (y )| < b−a . Now, let n ∈ N be s.t.
b−a
n < δ, and define P = {x0 , x1 , . . . , xn } by x0 = a and
b−a
xk = xk−1 + ,
n
for k = 1, . . . , n.
26 / 28
Proof(Cont.)
By EVT, ∃yk , zk ∈ [xk−1 , xk ] s.t.
Therefore, we have
n
X
U (Pε , f ) − L (Pε , f ) = (Mk − mk ) (xk − xk−1 )
k=1
X
= (f (zk ) − f (yk )) (xk − xk−1 )
k
X ε
< (xk − xk−1 ) = ε.
b−a
k
Proof(Theorem 3.)
Assume f non decreasing on [a, b] (the case f non-increasing is
similar and will not be treated in this proof). Let ε > 0, and let
Pε = {x0 , x1 , ..., xn } be a partition of [a, b] s.t
ε
xk − xk−1 < , ∀k = 1, . . . , n.
f (b) − f (a)