Lecture 7: Improper Integrals
Lecture 7: Improper Integrals
where F is an antiderivative of f .
In today’s class, we relax the condition on the Evaluation Theorem in two different ways,
and introduce the improper integrals.
First, we relax the condition on the finite interval by looking at the following example
Example. Find the area of the region that lies under the curve y = x−2 , above the x-axis,
and to the right of the line x = 1.
y
1
y
x2
0 1 x
It may seem that the region would have infinite area because the region itself is infinite. But
let’s take a closer look. If we want to know the area between x = 1 and x = 2, we can set
up the definite integral
Z 2 h i2 1 1
x−2 dx = − x−1 = 1 − = .
1 1 2 2
Again, if we want to know the area between x = 1 and x = 3, we set up the definite integral
Z 3 h i3 1 2
x−2 dx = − x−1 = 1 − = .
1 1 3 3
47
Similarly, if we just draw an arbitrary vertical line x = t with t > 1, and want to know the
area between x = 1 and x = t, the definite integral would tell us that the area is
Z t h it
−2 −1 1 t−1
x dx = − x =1− = .
1 1 t t
The following figures shows our computation results.
y y y
t-1
Area = 1/2 Area = 2/3 Area =
t
0 1 2 x 0 1 3 x 0 1 t x
Notice that if we take t → ∞, the area of the shaded region would approach
t−1
lim = 1.
t→∞ t
So we say that the area of the infinite region is equal to 1, and write that
Z ∞ Z t
−2 t−1
x dx = lim x−2 dx = lim = 1.
1 t→∞ 1 t→∞ t
With this example in mind, we can define the integral of a function over an infinite interval
in the following way.
Rt
Definition (Improper Integral, Type I). (a) If a f (x) dx exists for every number t ≥ a,
then Z ∞ Z t
f (x) dx = lim f (x) dx,
a t→∞ a
provided this limit exists (as a finite number).
Rb
(b) If t f (x) dx exists for every number t ≤ b, then
Z b Z b
f (x) dx = lim f (x) dx,
−∞ t→−∞ t
48
Z ∞
1
Example. (a) Determine whether the improper integral dx is convergent or divergent.
1 x
Z ∞
1
(b) For what values of p is the improper integral dx convergent?
1 xp
(a) Use the definition, we have
Z ∞ Z t h it
1 1
dx = lim dx = lim ln |x| = lim ln(t) = ∞.
1 x t→∞ 1 x t→∞ 1 t→∞
t1−p − 1
lim = ∞.
t→∞ 1 − p
t1−p − 1 −1 1
lim = = .
t→∞ 1 − p 1−p p−1
R∞ 1
Thus the improper integral 1 xp
dx is convergent if p > 1, and is divergent if p ≤ 1.
49
We look at the graph of y = arctan(x), and notice that there are two horizontal asymptotes
at y = ±π/2.
π/2
y tan-1 (x)
-π/2
Thus Z ∞
1 π π
2
dx = lim arctan(t) − lim arctan(s) = − − = π.
−∞ 1 + x t→∞ s→−∞ 2 2
Z ∞
Exercise. Is the improper integral e−x dx convergent or divergent?
0
The first type of improper integrals concerns the area of a region that extends infinitely on
the horizontal direction. We now introduce the second type of improper integral on functions
that have vertical asymptotes.
Definition (Improper Integral, Type II). (a) If f is continuous on [a, b) and is discontinuous
at b, then Z Z
b t
f (x) dx = lim− f (x) dx,
a t→b a
provided that this limit exists (as a finite number).
(b) If f is continuous on (a, b] and is discontinuous at a, then
Z b Z b
f (x) dx = lim+ f (x) dx,
a t→a t
provided that this limit exists (as a finite number).
Rc Rb
(c) If f is continuous on [a, b] except at c ∈ (a, b), and both a f (x) dx and c f (x) dx are
convergent, then we define
Z b Z c Z b
f (x) dx = f (x) dx + f (x) dx.
a a c
50
Z 1
1
Example. (a) For what values of p is the integral dx improper?
0 xp
Z 1
1
(b) For what values of p is the integral dx divergent?
0 xp
(a) The only type of discontinuity on [0, 1] that could arise in the integrand is when xp = 0.
However, we notice that when p ≤ 0, −p ≥ 0, and
1
p
= x−p
x
is continuous throughout [0, 1]. When p > 0, the integrand is not continuous at 0. Thus the
integral is improper if and only if p > 0.
(b) We assume that p > 0 first. Then
Z Z
1 −p x1−p
dx = x dx = + C.
xp 1−p
Now we take the limit
Z h 1
1
1 t1−p i
lim+ dx = lim − .
t→0 t xp t→0+ 1 − p 1−p
We shall notice that
0,
if p < 1,
lim t1−p = 1, if p = 1,
t→0+
∞, if p > 1.
However, when p = 1, the denominator 1 − p would be zero. Thus the improper integral is
divergent if and only if p ≥ 1.
The integrand is discontinuous at x = 1, which is inside the range of integration. Thus this
should be an improper integral
Z 2 Z 1 Z 2
1 1 1
dx = dx + dx.
0 x−1 0 x−1 1 x−1
We know the second integral is divergent from the previous example, thus this integral should
also be divergent.
51
Comparison Test
Theorem 19 (Comparison Test for Improper Integrals). Suppose that f and g are continuous
functions with f (x) ≥ g(x) ≥ 0 for x ≥ a.
R∞ R∞
(a) If a f (x) dx is convergent, then a g(x) dx is convergent.
R∞ R∞
(b) If a g(x) dx is divergent, then a f (x) dx is divergent.
f (x)
g(x)
a x
If the graph of f (x) stays above the graph of g(x) to the right of x = a, then we should
expect to have Z ∞ Z ∞
f (x) dx ≥ g(x) dx
a a
R∞ R∞
Surely, if a g(x) dx is divergent, being larger than this quantity, a f (x) dx must also be
R∞ R∞
divergent, and if a f (x) dx is convergent, being smaller than this quantity, a g(x) dx must
also be convergent.
R∞
Remark. The converse of these two statements may not hold true. If a g(x) dx is con-
R∞
vergent, it does not tell use whether a f (x) dx is convergent or divergent. Similarly, if
R∞ R∞
a
f (x) dx is divergent, we do not know whether a
g(x) dx is convergent or divergent.
Z ∞
2
Example. Show that e−x dx is convergent.
−∞
52
Notice that the second integral is an ordinary definite integral, which should always evaluate
to a finite number. For the other two integrals, we use the fact that x2 ≥ |x| always holds
2
true whenever |x| ≥ 1, and therefore e−x ≤ e−|x| on these two infinite intervals (see figure
below).
y
2
y ⅇ-x
y ⅇ-x
-1 1 x
is convergent. Thus Z Z
∞ ∞
−x2
e dx ≤ e−|x| dx
1 1
must also be convergent. By a similar argument, the other improper integral is also conver-
gent. Thus the original improper integral over the whole real line is convergent.
53