Chapter 05
Chapter 05
1. Riemann Integrability
Definition 1.1. Let a < b. An interval partition of [a, b] is a finite sequence
P = (xi )ni=0 such that
a = x0 < x1 < · · · < xn−1 < xn = b.
We denote by IP[a, b] the collection of all interval partitions of [a, b].
The norm of the interval partition P = (xi )ni=0 is kP k = maxi=1,n (xi − xi−1 ). Given
two partitions P = (xi )ni=0 and Q = (yj )m j=0 of [a, b] we say P is coarser than Q,
equivalently Q is finer than P , denoted P 4 Q, if
{xi | i = 0, . . . , n} ⊆ {yj | j = 0, 1, ..., m}.
n
Example 1.2. (1) The dyadic partition: For n ∈ N, Pnd = (xi )2i=0 , xi = a+ 2in (b−a),
i = 0, 1, ..., 2n .
(2) The uniform partition: For n ∈ N, Pnu = (yi )ni=0 , yi = a + i b−a
n
, i = 0, . . . , n.
Definition 1.3. Let Λ be a nonempty set and ≤ a preorder relation on it: recall
that, this means that ≤ is reflexive and transitive.
A preordered space (Λ; ≤), that is, a nonempty set Λ endowed with a preorder
relation ≤, is called directed if for all α, β ∈ Λ there exists γ ∈ Λ such that α ≤ γ and
β ≤ γ.
For example, if X is a nonempty set then (P(X); ⊆) is a directed ordered space.
Fact 1.4. Let a < b. Then (IP[a, b] ; 4) is a directed ordered space.
Proof. Let P = (xi )ni=0 and Q = (yj )m j=0 be two interval partitions of [a, b]. Con-
sider the set S = {xi | i = 0, . . . , n} ∪ {yj | j = 0, . . . , m}, then order increasingly all
the elements of S, say a = z0 < z1 < · · · < zp = b, let R = (zk )pk=1 and observe that
P 4 R and Q 4 R.
Definition 1.5. Let a < b, f : [a, b] → R a function, and P = (xk )nk=0 ∈ IP[a, b].
A finite sequence ξ¯ = (ξk )nk=1 is called a choice of intermediate points subordinated
to the partition P if for all k ∈ {1, ..., n} we have ξk ∈ [xk−1 , xk ]. The Riemann sum
corresponding to f, P , and ξ¯ is, by definition,
Xn
¯
σ(f ; P ; ξ) := f (ξk )(xk − xk−1 ).
k=1
117
118 5. THE RIEMANN INTEGRAL
f is Riemann integrable on [a, b] if there exists I(f ) ∈ R such that for all ε > 0,
there exists Pε ∈ IP[a, b] such that, for any P ∈ IP[a, b] with Pε 4 P and for all ξ¯ a
choice of intermediate points subordinated to P , we have
¯ − I(f )| < ε.
|σ(f ; P ; ξ)
Fact 1.6. If the function f is Riemann integrable on [a, b] then the number I(f )
in the definition of Riemann integrability is unique. We then define
Z b
I(f ) := f (x)dx
a
Proof. Let I1 and I2 be two real numbers such that for each i = 1, 2 and for all
> 0, there exist Pε,i ∈ IP[a, b] such that, for all P ∈ IP[a, b] with Pε,i 4 P and for
any choice of intermediate points ξ¯ subordinated to P we have
¯ − Ii | < ε .
|σ(f ; P ; ξ)
2
Then there exists P ∈ IP[a, b] such that, Pε,i 4 P , for i = 1, 2, hence, for any
P ∈ IP[a, b] with P 4 P we have
¯ − I2 | < ε + ε = .
¯ − I1 | + |σ(f ; P ; ξ)
|I1 − I2 | ≤ |σ(f ; P ; ξ)
2 2
Consequently, I1 = I2 .
Fact 1.7. If the function f is Riemann integrable on [a, b] then it is bounded on
[a, b].
A net (xλ )λ∈Λ of real numbers converges to x ∈ R if for any ε > 0, there exists
λε ∈ Λ such that for all λ ∈ Λ if λ ≥ λε then |xλ − x| < ε. We write x = lim xλ .
λ∈Λ
Any sequence is a net and convergence of a sequence is a particular case of conver-
gence of a net.
¯ | P ∈ IP[a, b] and ξ¯ a choice subordinated to P }.
Let a < b and PC[a, b] := {(P, ξ)
¯ ≤ (Q, µ̄) if P 4 Q. Then (PC[a, b]; ≤) is a preordered directed set.
Define (P, ξ)
Let a < b and f : [a, b] → R be a function. Then, (σ(f, P, ξ))¯ (P ;ξ̄)∈PC[a,b] is a net and
f is Riemann integrable if and only if the net of Riemann sums (σ(f, P, ξ)) ¯ (P ;ξ̄)∈PC[a,b]
converges and, in this case,
Z b
lim ¯ :=
σ(f ; P ; ξ) f (x)dx.
(P ;ξ̄)∈PC[a,b] a
In connection with the previous remark, the next fact shows an equivalent charac-
terisation of Riemann integrability in terms of an -δ formulation that reminds us of
the definition of the limit of a function.
Fact 1.9. Let a < b and let f : [a, b] → R be a function. Then f is Riemann
integrable on [a, b] if and only if there exists I(f ) ∈ R such that, for all ε > 0 there
exists δ > 0 such that, for all P ∈ IP[a, b] with kP k < δ and any choice of intermediate
points ξ¯ subordinated to P , we ¯ − I(f )| < ε.
have |σ(f ; P ; ξ)
Proof. Exercise.
2. Darboux Integrability
Definition 2.1. Let a < b, let f : [a, b] → R be a bounded function and let P =
(xk )nk=0 be an interval partition of [a, b]. For any k = 1, ...., n, let
mk := inf f ∈ R, Mk := sup f ∈ R.
[xk−1 ,xk ] [xk−1 ,xk ]
Clearly,
mk ≤ mk,l ≤ Mk,l ≤ Mk and mk ≤ mk,r ≤ Mk,r ≤ Mk ,
hence
mk (x − xk−1 ) ≤ mk,l (x − xk−1 ) ≤ Mk,l (x − xk−1 ) ≤ Mk (x − xk−1 )
mk (xk − x) ≤ mk,r (xk − x) ≤ Mk,r (xk − x) ≤ Mk (xk − x)
and summing up side by side these inequalities we get
mk (xk −xk−1 ) ≤ mk,l (x−xk−1 )+mk,r (xk −x) ≤ Mk,l (x−xk−1 )+Mk,r (xk −x) ≤ Mk (xk −xk−1 ).
By the definition of Darboux sums, the above inequalities and an induction argu-
ment show that, if P 4 Q then
L(f ; P ) ≤ L(f ; Q) ≤ U (f ; Q) ≤ U (f ; P ).
Fact 2.3. With notation as in the previous definition, for all P, Q ∈ IP[a, b] we
have L(f ; P ) ≤ U (f ; Q).
Proof. The set IP[a, b] endowed with the order 4 is directed hence, there exists
R ∈ IP[a, b] such that P 4 R and Q 4 R. Then by the previous fact, L(f ; P ) ≤
L(f ; R) ≤ U (f ; R) ≤ U (f ; Q).
Definition 2.4. Let a < b and let f : [a, b] → R be a bounded function. The upper
Darboux integral of f on [a, b] is
Z b
U (f (x)dx := inf{U (f ; P ) | P ∈ IP[a, b]} ∈ R,
a
and, the lower Darboux integral of f on [a, b] is
Z b
L (f (x)dx = sup{L(f ; P ) | P ∈ IP [a, b]} ∈ R.
a
Remark 2.5. With notation as in the previous definition, note that, by the previous
fact, both Darboux limits are finite and we have:
Z b Z b
L (f (x)dx ≤ U (f (x)dx.
a a
(3) There exists a sequence (Pn )n∈N of interval partitions of [a, b] such that
U (f ; Pn ) − L(f ; Pn ) → 0 as n → +∞.
Moreover, for such a sequence (Pn )n , we have
Z b Z b
U f (x)dx = lim U (f ; Pn ) = lim L(f : Pn ) = L f (x)dx.
a n→∞ n→∞ a
Rb Rb
Proof. (1) ⇒ (2). Assuming that L a (f (x)dx = U a (f (x)dx =: I ∈ R, by the
Approximation Property of the Supremum, for all ε > 0 there exists P ∈ IP[a, b] such
that I − 2ε < L(f ; P ) ≤ I. Similarly, by the Approximation Property of the infimum,
for all ε > 0 there exists Q ∈ IP[a, b] such that I ≤ U (f ; Q) < I + 2ε . Let R ∈ IP[a, b]
be such that P ≤ R and Q ≤ R. Then
ε ε
I − < L(f ; P ) ≤ L(f ; R) ≤ I ≤ U (f ; R) ≤ U (f ; Q) < I + ,
2 2
hence,
ε ε
U (f ; R) − L(f ; R) < I + − I + = ε.
2 2
(2) ⇐ (1). Observe that, for all P ∈ IP[a, b] we have
Z b Z b
0 ≤ U f (x)dx − L f (x)dx ≤ U (f ; P ) − L(f ; P ),
a a
and apply the assumption and the analytical method for proving inequalities.
We leave the other implications as an exercise.
Fact 2.8. If f is a bounded and Darboux integrable function on [a, b] then f is
Riemann integrable on [a, b] and
Z b Z b Z b
f (x)dx = L f (x)dx = U f (x)dx.
a a a
n
X
where (xk − xk−1 ) = b − a, hence
k=1
ε
= σ(f ; P ; t̄) − σ(f ; P ; ū) +
3
ε
≤ |σ(f ; P ; t̄) − σ(f ; P ; ū)| +
3
ε
≤ |σ(f ; P ; t̄) − I(f )| + |σ(f ; P ; ū) − I(f )| +
3
ε ε ε
< + + = ε.
3 3 3
As a conclusion, Riemann integrability is the same with Darboux integrability and
the Riemann integral is the same with the Darboux integral.
3. EXISTENCE AND PROPERTIES OF THE RIEMANN INTEGRAL 123
(6) (Comparison for Riemann Integrals) Let a < b and f, g : [a, b] → R be two
integrable functions such that,
f (x) ≤ g(x), x ∈ [a, b].
Then Z b Z b
f (x)dx ≤ g(x)dx.
a a
(8) (Absolute Value of Integrable Functions) Let a < b and f : [a, b] → R be inte-
grable. Then |f | is integrable on [a, b] and
Z b Z b
f (x)dx ≤ |f (x)|dx.
a a
(3) (i)For any ε > 0 there exists P ∈ IP[a, b] such that U (F ; P )−L(f ; P ) < ε. Let
P = P ∪ c, d and reorder it to become an interval partition of [a, b]. Then P 4 Pe.
e
Let Q = (c = y0 < .... < yk = d) be such that, for all j = 0, 1, .., k, yj ∈ Pe. Then,
U (f ; Q) − L(f ; Q) ≤ U (f ; Pe) − L(f ; Pe) ≤ U (f ; P ) − L(f ; P ) < ε.
(ii) Let P1 ∈ IP[a, c], t̄1 a choice of intermediate points subordinated to P1 , P2 ∈
IP, and t̄2 a choice of intermediate points subordinated to P2 . Then P = P1 ∪
P2 ∈ IP[a, b], t̄ = t̄1 ∪ t̄2 is a choice of intermediate points subordinated to P , and
σ(f ; P ; t̄) = σ(f ; P1 ; t̄1 ) + σ(f ; P2 ; t̄2 ) converges to
Z b Z c Z b
f (x)dx = f (x)dx + f (x)dx,
a a c
while kP k = max kP1 k, kP2 k → 0.
(4) This is a direct consequence of the assertions at the previous items.
(5) If either α = 0 of β = 0 we leave the proof to the reader, so let us assume that
α, β 6= 0. By assumption, for any ε > 0 there exists, Pε ∈ IP[a, b] such that, for any
P > Pε and any choice of intermediate points ξ¯ subordinated to P we have
Z b
¯ ε
σ(f ; P ; ξ) − f (x)dx <
a 2|α|
and
Z b
¯ − ε
σ(g; P ; ξ) g(x)dx < .
a 2|β|
Then, since
¯ = ασ(f ; P ; ξ)
σ(αf + βg; P, ξ) ¯ + βσ(g; P ; ξ),
¯
by means of the previous inequalities we get
Z b Z b
¯
|σ(αf + βg; P, ξ) − α f (x)dx − β g(x)dx|
a a
Z b Z b
¯
< |α| σ(f ; P ; ξ) − ¯
f (x)dx + |β| σ(g; P ; ξ) − g(x)dx
a a
ε ε
< + = ε.
2 2
(6) For any P ∈ IP[a, b] and any choice of intermediate points ξ¯ subordinated
¯ ≤ σ(g; P ; ξ).
to P , we have σ(f ; P ; ξ) ¯ Since f and g are integrable, after a moment
of thought we see that, for any ε > 0 there exists Pε ∈ IP[a, b] such that, for any
P ∈ IP[a, b] with Pε 4 P and for any choice of intermediate points ξ¯ subordinated to
P , we have
Z b Z b Z b
¯ ε ¯ ε ε ε
f (x)dx < σ(f ; P ; ξ) + < σ(g; P ; ξ) + < g(x)dx + + = (g(x)dx + ε.
a 2 2 a 2 2 a
126 5. THE RIEMANN INTEGRAL
This implies
Z b Z b
f (x)dx ≤ g(x)dx.
a a
= Mk (f ) − mk (f ).
Then,
U (|f |; P ) − L(|f |; P ) ≤ U (f ; P ) − L(f ; P ),
and, consequently, since f is integrable, by Darboux Theorem, it follows that |f | is
integrable on [a, b]. Since −|f | ≤ f ≤ |f | on [a, b] by Comparison Theorem we get
Z b Z b Z b
− |(f (x)|dx ≤ (f (x)dx ≤ |(f (x)|dx.
a a a
(9) We divide the proof in two steps. Firstly, assume that f = g. Since f 2 = |f |2
and |f | is integrable, without loss of generality we can assume f ≥ 0. Let P = (xk )nk=0 ∈
IP[a, b]. Since
f (x)2 − f (y)2 = f (x) − f (y) f (x) + f (y) ,
Fact 4.1 (Change of Variables in the Riemann Integral). Let a < b, ϕ : [a, b] → R
be a continuously differentiable function such that ϕ0 (x) 6= 0 for all x ∈ [a, b], and let
f : [c, d] = ϕ([a, b]) → R be a function integrable on [c, d]. Then, (f ◦ ϕ)|ϕ0 | is integrable
on [a, b] and
Z d Z b
f (t)dt = f (ϕ(x))|ϕ0 (x)|dx.
c a
Proof. By the Intermediate Value Property for derivative functions it follows that
either φ0 (x) > 0 for all x ∈ [a, b] or φ0 (x) < 0 for all x ∈ [a, b]. Without loss of generality,
in the following we assume the first case, hence φ is increasing on [a, b].
We prove that, for any > 0 there exists δ > 0 such that for all P ∈ IP[a, b] such
that kP k < δ and for all choices ξ of intermediated points subordinate to P we have
Z φ(b)
0
(4.1) σ((f ◦ φ)|φ |, P, ξ) − f (t)dt < .
φ(a)
For arbitrary P = (xk )nk=0 ∈ IP[a, b] and ξ = (ξk )nk=1 a choice of intermediate points
subordinated to P , we have
n
X
0
σ((f ◦ φ)|φ , P, ξ) = f (φ(ξk ))φ0 (ξk )(xk − xk−1 ).
k=1
Since φ is increasing, φ(P ) = (φ(xk ))nk=0 is an interval partition of [φ(a), φ(b)] and,
since φ is a Rolle function on each interval [xk−1 , xk ], there exists tk ∈ (xk−1 , xk ) such
that
φ(xk ) − φ(xk−1 ) = φ0 (tk )(xk − xk−1 ), k = 1, . . . , n,
hence,
n
X
(4.2) σ(f, φ(P ), φ(ξ)) = f (φ(ξk )) φ(xk ) − φ(xk−1 )
k=1
n
X
(4.3) = f (φ(ξk ))φ0 (tk )(xk − xk−1 ).
k=1
Theorem 4.2 (Weierstrass’ Approximation Theorem). For any a < b and any
continuous function f : [a, b] → R there exists a sequence of polynomial functions (pn )n
that converges uniformly to f on [a, b].
Proof. Step 1. Without loss of generality we can assume that [a, b] = [0, 1].
Indeed, consider the function h : [0, 1] → [a, b], defined by h(t) = (1 − t)a + tb
and observe that h is a homeomorphism, that is, it is continuous, bijective, and its
inverse, the polynomial function h−1 (s) = s/(b − a) − a/(b − a), is continuous as well.
Let g := f ◦ h : [0, 1] → R and observe that g is a continuous function. If (rn )n is a
sequence of polynomial functions that converges uniformly to g on [0, 1] then, letting
pn := rn ◦ h−1 it follows that the sequence of polynomials (pn )n converges uniformly to
f on [a, b].
Indeed, let g(t) := f (t) − f (0) − t(f (1) − f (0)) for all t ∈ [0, 1] and observe that
g is a continuous function on [0, 1] and g(0) = g(1) = 0. Then, f (t) = g(t) + f (0) +
t(f (1) − f (0)) for all g ∈ [0, 1] and, if (rn )n is a sequence of polynomial functions that
converges to f uniformly on [0, 1] then, letting pn (t) := rn (t) + f (0) + t(f (1) − f (0)) for
all t ∈ [0, 1], we have a sequence of polynomial functions (pn )n that converges uniformly
to f .
Step 3. The function f has the extension f (t) = 0 for all t ∈ R \ [0, 1], which is
uniformly continuous on R.
Step 4. Let
qn (t) := cn (1 − t2 )n , t ∈ R, n ∈ N,
where Z 1
cn := 1/ (1 − t2 )n dt, n ∈ N,
−1
and hence Z 1
qn (t)dt = 1, n ∈ N.
−1
√
We have cn < n for all n ∈ N.
Step 5. Define Z 1
pn (x) := f (x + t)qn (t)dt, x ∈ R.
−1
Then pn is a polynomial function for all n ∈ N.
Indeed, we firstly observe that, by the way f was extended to R, for each x ∈ [0, 1]
we have f (x + t) = 0 anytime x + t 6∈ [0, 1], that is, t 6∈ [−x, 1 − x]. Then, performing
the change of variables φ(t) := x + t, φ0 (t) = 1, it follows that
Z 1−x Z 1
pn (x) = f (x + t)qn (t)dt = f (s)qn (s − x)ds, x ∈ [0, 1],
−x 0
hence the left hand side of the inequality to be proven makes sense. We firstly prove
that, for all y ∈ [a, b], we have
(4.5) φ(c) + s f (y) − c ≤ (φ ◦ f )(y),
where
φ(c) − φ(x)
s := sup .
x∈[a,c) c−x
To this end, we firstly observe that, by Proposition 5.4 in Chapter 3, for any
x ∈ [a, c) and any y ∈ (c, b], we have
φ(c) − φ(x) φ(y) − φ(c)
≤ ,
c−x y−c
hence the sup in the definition of s is finite and
φ(y) − φ(c)
s≤ , y ∈ (c, b],
y−c
equivalently
(4.6) φ(c) + s(y − c) ≤ φ(y), y ∈ (c, b].
Since, by the definition of s we clearly have
φ(c) − φ(y)
s≥ , y ∈ [a, c),
c−y
it follows that actually (4.6) holds true for all y ∈ [a, b]. Letting y = f (x) ∈ [a, b] in
(4.6), we obtain (4.5).
Finally, we apply the Comparison Theorem for Integrals and integrate both sides
of (4.5) and get
Z 1 Z 1 Z 1 Z 1
φ f (x)dx + s f (y)dy − f (x)dx ≤ (φ ◦ f )(y)dy,
0 0 0 0
and Z b Z b
f (x)g(x)dx = c g(x)dx.
a a
Proof. Since m := inf [a,b] f ≤ f (x) ≤ M := sup[a,b] f and g(x) ≥ 0 for all x ∈ [a, b],
it follows that
mg(x) ≤ f (x)g(x) ≤ M g(x), x ∈ [a, b],
hence, by the Comparison Theorem for Integrals, we have
Z b Z b Z b
m g(x)dx ≤ f (x)g(x)dx ≤ M g(x)dx.
a a a
Rb Rb
If a
g(x)dx = 0, it follows that a f (x)g(x)dx = 0 and take any c ∈ [m, M ]. If
Rb Rb
a
g(x)dx 6= 0 then a g(x)dx > 0, hence
Rb
f (x)g(x)dx
m ≤ aR b ≤ M,
a
g(x)dx
and let Rb
a
f (x)g(x)dx
c := Rb .
a
g(x)dx
In case f is continuous, the assertion is an application of the Intermediate Value
Theorem for continuous functions.
Fact 4.6 (Second Mean Value Theorem). Let f and g be two functions integrable
on [a, b] such that g(x) ≥ 0 for all x ∈ [a, b] and let m, M ∈ R be such that
m ≤ inf f ≤ sup f ≤ M.
[a,b] [a,b]
If, in addition, f (x) ≥ 0 for all x ∈ [a, b], then there exists c ∈ [a, b] such that
Z b Z b
f (x)g(x)dx = M g(x)dx.
a c
In order to prove this fact, we need a preliminary result on the continuity of the
indefinite integral.
Definition 4.7. Let a < b and f : [a, b] → R be an integrable function. By the
Interval Additivity Property of the Riemann Integral, for any x ∈ [a, b] the function f
is integrable on [a, x] and hence, we can define the function F : [a, b] → R, the indefinite
integral of f , by Z x
F (x) := f (t)dt, x ∈ [a, b].
a
where M := sup[a,b] |f | ∈ R+ .
Letting a ≤ x < x0 ≤ b, similarly we prove
F (x) − F (x0 ) ≤ M (x0 − x).
These show that, in general, for any x, y ∈ [a, b] we have
F (x) − F (y) ≤ M |x − y|,
hence F is Lipschitz and, consequently, it is uniformly continuous on [a, b].
hence, by the Intermediate Value Theorem applied to F , there exists c ∈ [a, b] such
that Z b Z c Z b
f (t)g(t)dt = F (c) = m g(t)dt + M g(t)dt.
a a c
If f (x) ≥ 0 for all x ∈ [a, b], it follows that inf [a,b] f ≥ 0, hence we can take m = 0
and apply the fact just proven.
1
≤ |x0 + h − x0 | sup |f (t) − f (x0 )|
|h| [t−x0 ]<h
|h|
< ε = ε.
|h|
This shows that
F (x0 + h) − F (x0 )
lim = f (x0 ),
h→0 h
hence F is differentiable at x0 and F 0 (x0 ) = f (x0 ).
(ii) Assume that f is differentiable on [a, b]. Let P = (xj )nj=1 be an interval partition
of [a, b]. Then,
Z b n
X Z b
0
|f (b) − f (a) − f (t)dt| = | f (xj ) − f (xj−1 ) − f 0 (t)dt|
a j=1 a
and, by the Lagrange Mean Value Theorem for f on [xj−1 , xj ], j = 1, . . . , n, there exists
tj ∈ (xj−1 , xj ) such that
f (xj ) − f (xj−1 ) = f 0 (tj ) · (xj − xj−1 ).
As a consequence, t̄ := (tj )nj=1 is a choice of intermediate points subordinated to P and
Z b Z b
0 0
|f (b) − f (a) − f (t)dt| = |σ(f ; P, t̄) − f 0 (t)dt|.
a a
If ε > 0 then there exists Pε ∈ IP[a, b] such that, for all P ∈ IP[a, b] with Pε 4 P and
any choices t̄ of intermediate points subordinated to P ,
Z b
0
|σ(f ; P, t̄) − f 0 (t)dt| < ε,
a
hence,
Z b
f 0 (t)dt = f (b) − f (a).
a
By the Interval Additivity, the same conclusion holds for any a ≤ x ≤ b, hence
Z x
f 0 (t)dt = f (x) − f (a).
a
Fact 5.3 (Taylor’s Theorem with Integral Form of the Remainder). If I is on open
interval n ∈ N0 , and f : I → R is an (n + 1)-times differentiable function on I such
that f (n+1) is continuous on I then, for all x0 , x ∈ I, we have
1 x
Z
Rn,x0 (x) = (x − t)n f (n+1) (t)dt,
n! x0
where Rn,x0 is the Taylor remainder of f and x0 of order n.
Proof. We apply mathematical induction on n ∈ N. For n = 0 by the Fundamen-
tal Theorem of Calculus we have
Z x
f (x) − f (x0 ) = f 0 (t)dt.
x0
By the Fundamental Theorem of Calculus and the Indefinite Integral with Variable
Endpoints, both F and G are differentiable and have the same derivatives,
d d
F (x) = f (ϕ(x))ϕ0 (x) = G(x),
dx dx
hence, there exists k ∈ R such that F (x) = G(x) + k for all x ∈ [a, b]. Letting x = a it
follows that k = 0.
We are now in a position to show an alternative procedure to define and prove the
properties of the transcendental functions.
5. THE FUNDAMENTAL THEOREM OF CALCULUS AND APPLICATIONS 139
Example 5.6. (1) The Logarithm. Consider the function (0, +∞) 3 x 7−→ x1 which
is continuous, hence integrable on any compact interval [a, b] ⊂ (0, +∞). Define
Z x
dt
log : (0, +∞) −→ R by log x := , x > 0.
1 t
Then:
(i) log is a differentiable function, (log x)0 = 1
x
, x > 0, hence increasing, and
log 1 = 0.
(ii) lim log x = −∞ , lim log x = +∞.
x→0+ x→+∞
(iii) log xq = q log x, for all x > 0 and all q ∈ Q.
(iv) log xy = log x + log y, for all x, y > 0.
1
(v) Letting e = lim (1 + )n , we have log e = 1.
n→∞ n
(2) The Exponential. Since log : (0, +∞) → R is continuous, increasing, limx→0+ log x =
−∞, and limx→+∞ log x = +∞, it follows that it is bijective, hence log−1 : R → (0, +∞)
exists as the inverse function. Define,
exp : R → (0, +∞) by exp(x) := log−1 x, x ∈ R,
the inverse function of log. Then,
d
(i) exp is a differentiable function, dx exp(x) = exp(x), x ∈ R, hence the function
exp is strictly increasing, exp(0) = 1, and exp(1) = e.
(ii) lim exp(x) = 0 and lim exp(x) = +∞.
x→−∞ x→+∞
(iii) exp(x + y) = exp(x) exp(y) for all x, y ∈ R.
(iv) exp(q) = eq for all q ∈ Q.
Because of (iv), we use the notation ex := exp(x).
Fact 6.1 (Integrability of Sequences of Functions). Let a < b and (fn )n≥1 be a
unif.
sequence of integrable functions on [a, b] such that fn −−→ f , where f : [a, b] → R.
n
Then, f is integrable on [a, b] and
Z b Z b Z b
lim fn (x)dx = f (x)dx = lim fn (x)dx.
n→∞ a a a n→∞
Then:
• f is integrable on [a, b].
∞ Z b
Rb X
• a f (x)dx = fn (x)dx.
n=1 a
7. THE IMPROPER RIEMANN INTEGRAL 141
∞
X xk
= (−1)k+1 , |x| < 1 i.e. x ∈ (−1, 1).
k=1
k
Remark 7.2. If f is improperly integrable on (a, b) then, for all a < x0 < b fixed,
Z b Z d Z x0 Z d
f (x)dx = lim lim f (x)dx = lim f (x)dx + lim f (x)dx.
a d→b− c→a+ c c→a+ a d→b− x0
This shows that, in the definition of the improper Riemann integral, we can take any
order of the limits.
Example 7.3. Let p ∈ R. Then:
• xp is improperly integrable on [1, +∞) if and only if p < −1.
• xp is improperly integrable on (0, 1] if and only if p > −1.
Fact 7.4. (1) (Linearity). Let a, b ∈ ext(R), a < b, and let f, g be two functions im-
properly integrable on (a, b). Then, for all α, β ∈ R, the function αf + βg is improperly
integrable on (a, b) and
Z b Z b Z b
αf (x) + βg(x) dx = α f (x)dx + β g(x)dx.
a a a
(2) (Strong Comparison Theorem). Let a, b ∈ ext(R), a < b, and let f, g : (a, b) → R
be two locally integrable functions such that 0 ≤ f (x) ≤ g(x), for all x ∈ (a, b), and g
is improperly integrable on (a, b). Then f is improperly integrable on (a, b) and
Z b Z b
f (x)dx ≤ g(x)dx.
a a
(3) (Soft Comparison Theorem). Let a, b ∈ ext(R), a < b, and let f, g : (a, b) → R
be two improperly integrable functions such that f (x) ≤ g(x), for all x ∈ (a, b). Then,
Z b Z b
f (x)dx ≤ g(x)dx.
a a
Proof. (1) This is a consequence of the definition and the linearity of the Riemann
integral.
(2) Fix x0 ∈ (a, b).
Rx Rb
• [x0 , b) 3 x → x0 f (t)dt ∈ R+ is nondecreasing and upper bounded by x0 g(t)dt
hence Z x Z b
lim f (t)dt exists and is ≤ g(t)dt.
x→b− x x0
0
Rx
• R(a, x0 ] 3 x → x 0 f (t)dt ∈ R+ is nonincreasing and upper bounded by
x0
a
g(t)dt hence
Z x0 Z x0
lim f (t)dt exists and is ≤ g(t)dt.
x→a+ x a
(3) Exercise.
log
√ x
Example 7.5. f (x) = x5
is improperly integrable on [1, +∞).
7. THE IMPROPER RIEMANN INTEGRAL 143
n
X
On the other hand, if f is improperly integrable on [1, +∞] then ( f (k))n∈N is
k=1
∞
X
nondecreasing and upper bounded, hence f (k) < +∞.
k=1
Remark 7.11. The Integral Test allows us to obtain, once more, the p-Harmonic
∞
X 1
Series Test: The series p
converges if and only if p > 1. Indeed, this follows by
k=1
k
1
taking f (x) = xp
x ∈ [1, +∞) and applying the Integral Test.
,
∞
X (−1)k+1
The Alternating p-Series is conditionally convergent for 0 < p ≤ 1 and
k=1
kp
absolutely convergent for p > 1.
∞
X (−1)k+1
In particular, the Alternating Harmonic Series is conditionally conver-
k=1
k
gent.
8. Exercises
2. Let a < b and let f : [a, b] → R be a bounded function. Prove that, f is Riemann
integrable on [a, b] if and only if there exists a sequence (Pn )n∈N of interval partitions
of [a, b] such that
U (f ; Pn ) − L(f ; Pn ) → 0 as n → +∞.
Moreover, for such a sequence (Pn )n , prove that
Z b
f (x)dx = lim U (f ; Pn ) = lim L(f : Pn ).
a n→∞ n→∞
4. Let f : [a, b] → [0, +∞), for some a < b, be an integrable function, and α > 0.
Show that the function f α is integrable as well.
8. EXERCISES 145
12. Let a < b and f : [a, b] → R be a continuously differentiable function such that
f (a) = 0 and 0 ≤ f 0 (x) ≤ 1 for all x ∈ [a, b]. Prove that:
146 5. THE RIEMANN INTEGRAL
Rb
(1) f 2 (x) ≤ 2 f (t)dt for all x ∈ [a, b].
a
2
Rb
b
3
R
(2) f (x)dx ≤ f (x)dx .
a a
15. Let f : [0, 1] → R be a function integrable on [0, 1] and let β > 0 be a real
number. Calculate
Z 1/nβ
α
lim n f (x)dx,
n→+∞ 0
where α < β is a real number as well.
(b) Investigate whether the previous equality holds when assuming that the function
f is continuous and injective on [a, b] only.
22. Let a < b and f : [a, b] → R be an integrable function. Investigate the conver-
gence of the sequence (sn )n , where
Z 1
sn = xn f (x)dx, n ∈ N.
0
23. Let f : [1, +∞) → R be an absolutely integrable function. Show that the
sequence
Z +∞
xn = f (xn )dx, n ≥ 1,
1
converges and find its limit.
24. Let f : [0, 1] → R be an integrable function and α and β two real numbers such
that α < β and β > 0. Show that the sequence
Z 1β
n
α
yn = n f (x)dx, n ≥ 1,
0
converges and find its limit.
148 5. THE RIEMANN INTEGRAL
The next three questions present an alternative for the definitions of the tran-
scendental functions. We work under the assumption that we do not know yet the
exponential, the logarithmic, and the power function for irrational exponents.
26. Let E := L−1 : R → (0, +∞), where L = log is the function defined at Question
1. Prove that:
(a) E is differentiable on R, E(0) = 1, and E 0 (x) = E(x) for all x ∈ R.
(b) limx→+∞ E(x) = +∞ and limx→−∞ E(x) = 0.
(c) E(xq) = E(x)q for all x ∈ R and all q ∈ Q.
(d) E(x + y) = E(x)E(y) for all x, y ∈ R.
Letting e = limn→+∞ (1 + 1/n)n , in view of item (c) and L(e) = 1, the function E
is the exponential function with base e and we use the familiar notation E(x) = ex , for
all x ∈ R.
27. With notation as in the previous two questions, for any α ∈ R and x > 0, let
us define xα := eα log x = E(αL(x)). Prove that:
(a) xα has the usual meaning for α ∈ Q, that is, it is the power function of exponent
α.
(b) For any α > 0 and any 0 < x < y it follows xα < y α .
(c) xα+β = xα xβ , for all x > 0 and α, β ∈ R.
(d) x−α = 1/xα for all x > 0 and α ∈ R.
(e) (xα )0 = αxα−1 for all x > 0 and all α ∈ R.
28. Show that the function
(
x2 sin x12 , x 6= 0,
f (x) :=
0, x = 0,
is differentiable on R but the derivative function f 0 is not integrable on any compact
interval that contains 0.