Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

3.8: Improper Integrals

( \newcommand{\kernel}{\mathrm{null}\,}\)

Learning Objectives

  • Evaluate an integral over an infinite interval.
  • Evaluate an integral over a closed interval with an infinite discontinuity within the interval.
  • Use the comparison theorem to determine whether a definite integral is convergent.

Is the area between the graph of f(x)=1x and the x-axis over the interval [1,+) finite or infinite? If this same region is revolved about the x-axis, is the volume finite or infinite? Surprisingly, the area of the region described is infinite, but the volume of the solid obtained by revolving this region about the x-axis is finite.

In this section, we define integrals over an infinite interval as well as integrals of functions containing a discontinuity on the interval. Integrals of these types are called improper integrals. We examine several techniques for evaluating improper integrals, all of which involve taking limits.

Integrating over an Infinite Interval

How should we go about defining an integral of the type a+f(x)dx? We can integrate atf(x)dx for any value of t, so it is reasonable to look at the behavior of this integral as we substitute larger values of t. Figure 3.8.1 shows that atf(x)dx may be interpreted as area for various values of t. In other words, we may define an improper integral as a limit, taken as one of the limits of integration increases or decreases without bound.

This figure has three graphs. All the graphs have the same curve, which is f(x). The curve is non-negative, only in the first quadrant, and decreasing. Under all three curves is a shaded region bounded by a on the x-axis an t on the x-axis. The region in the first curve is small, and progressively gets wider under the second and third graph as t moves further to the right away from a on the x-axis.
Figure 3.8.1: To integrate a function over an infinite interval, we consider the limit of the integral as the upper limit increases without bound.

Definition: improper integral

  1. Let f(x) be continuous over an interval of the form [a,+). Then (3.8.1)a+f(x)dx=limt+atf(x)dx, provided this limit exists.
  2. Let f(x) be continuous over an interval of the form (,b]. Then (3.8.2)bf(x)dx=limttbf(x)dx, provided this limit exists.

In each case, if the limit exists, then the improper integral is said to converge. If the limit does not exist, then the improper integral is said to diverge.

  1. Let f(x) be continuous over (,+). Then (3.8.3)+f(x)dx=0f(x)dx+0+f(x)dx, provided that 0f(x)dx and 0+f(x)dx both converge. If either of these two integrals diverge, then +f(x)dx diverges. (It can be shown that, in fact, +f(x)dx=af(x)dx+a+f(x)dx for any value of a.).

In our first example, we return to the question we posed at the start of this section: Is the area between the graph of f(x)=1x and the x-axis over the interval [1,+) finite or infinite?

Example 3.8.1: Finding an Area

Determine whether the area between the graph of f(x)=1x and the x-axis over the interval [1,+) is finite or infinite.

Solution

We first do a quick sketch of the region in question, as shown in Figure 3.8.2.

This figure is the graph of the function y = 1/x. It is a decreasing function with a vertical asymptote at the y-axis. In the first quadrant there is a shaded region under the curve bounded by x = 1 and x = 4.
Figure 3.8.2: We can find the area between the curve f(x)=1/x and the x-axis on an infinite interval.

We can see that the area of this region is given by

A=11xdx.

which can be evaluated using Equation 3.8.1:

A=11xdx(Rewrite the improper integral as a limit)=limt+1t1xdx(Find the antiderivative)=limt+ln|x|1t(Evaluate the antiderivative)=limt+(ln|t|ln1)(Evaluate the limit.)=+.

Since the improper integral diverges to +, the area of the region is infinite.

Example 3.8.2: Finding a Volume

Find the volume of the solid obtained by revolving the region bounded by the graph of f(x)=1x and the x-axis over the interval [1,+) about the x-axis.

Solution

The solid is shown in Figure 3.8.3. Using the disk method, we see that the volume V is

V=π1+1x2dx.

This figure is the graph of the function y = 1/x. It is a decreasing function with a vertical asymptote at the y-axis. The graph shows a solid that has been generated by rotating the curve in the first quadrant around the x-axis.
Figure 3.8.3: The solid of revolution can be generated by rotating an infinite area about the x-axis.

Then we have

V=π1+1x2dx=πlimt+1t1x2dxRewrite as a limit.=πlimt+1x1tFind the antiderivative.=πlimt+(1t+1)Evaluate the antiderivative.=π

The improper integral converges to π. Therefore, the volume of the solid of revolution is π.

In conclusion, although the area of the region between the x-axis and the graph of f(x)=1/x over the interval [1,+) is infinite, the volume of the solid generated by revolving this region about the x-axis is finite. The solid generated is known as Gabriel’s Horn.

Note: Gabriel's horn (also called Torricelli's trumpet) is a geometric figure which has infinite surface area, but finite volume. The name refers to the tradition identifying the Archangel Gabriel as the angel who blows the horn to announce Judgment Day, associating the divine, or infinite, with the finite. The properties of this figure were first studied by Italian physicist and mathematician Evangelista Torricelli in the 17th century.

Example 3.8.3: Traffic Accidents in a City

Suppose that at a busy intersection, traffic accidents occur at an average rate of one every three months. After residents complained, changes were made to the traffic lights at the intersection. It has now been eight months since the changes were made and there have been no accidents. Were the changes effective or is the 8-month interval without an accident a result of chance?

This is a picture of a city street with a traffic signal. The picture has very busy lanes of traffic in both directions.
Figure 3.8.4: Modification of work by David McKelvey, Flickr.

Probability theory tells us that if the average time between events is k, the probability that X, the time between events, is between a and b is given by

(P(axb)=abf(x)dx

where

f(x)={0,ifx<0kekx,ifx0.

Thus, if accidents are occurring at a rate of one every 3 months, then the probability that X, the time between accidents, is between a and b is given by

P(axb)=abf(x)dx

where f(x)={0,ifx<03e3x,ifx0.

To answer the question, we must compute P(X8)=8+3e3xdx and decide whether it is likely that 8 months could have passed without an accident if there had been no improvement in the traffic situation.

Solution

We need to calculate the probability as an improper integral:

P(X8)=8+3e3xdx=limt+8t3e3xdx=limt+e3x8t=limt+(e3t+e24)3.8×1011.

The value 3.8×1011 represents the probability of no accidents in 8 months under the initial conditions. Since this value is very, very small, it is reasonable to conclude the changes were effective.

Example 3.8.4: Evaluating an Improper Integral over an Infinite Interval

Evaluate 01x2+4dx. State whether the improper integral converges or diverges.

Solution

Begin by rewriting 01x2+4dx as a limit using Equation 3.8.2 from the definition. Thus,

01x2+4dx=limtt01x2+4dxRewrite as a limit.=limt12tan1x2t0Find the antiderivative.=limt(12tan1012tan1t2)Evaluate the antiderivative.=π4.Evaluate the limit and simplify.

The improper integral converges to π4.

Example 3.8.5: Evaluating an Improper Integral on (,+)

Evaluate +xexdx. State whether the improper integral converges or diverges.

Solution

Start by splitting up the integral:

(3.8.4)+xexdx=0xexdx+0+xexdx.

If either 0xexdx or 0+xexdx diverges, then +xexdx diverges. Compute each integral separately. For the first integral,

0xexdx=limtt0xexdx Rewrite as a limit.

=limt(xexex)t0 Use integration by parts to find the antiderivative. (Here u=x and dv=ex.)

=limt(1tet+et) Evaluate the antiderivative.

=1.

Evaluate the limit. Note: limttet is indeterminate of the form 0.Thus, limttet=limttet=limt1et=limtet=0 by L’Hôpital’s Rule.

The first improper integral converges. For the second integral,

0+xexdx=limt+0txexdx Rewrite as a limit.

=limt+(xexex)0t Find the antiderivative.

=limt+(tetet+1) Evaluate the antiderivative.

=limt+((t1)et+1) Rewrite. ( tetet is indeterminate.)

=+. Evaluate the limit.

Thus, 0+xexdx diverges. Since this integral diverges, +xexdx diverges as well.

Exercise 3.8.1

Evaluate 3+exdx. State whether the improper integral converges or diverges.

Hint

(3.8.5)3+exdx=limt+3texdx

Answer

It converges to e3.

Integrating a Discontinuous Integrand

Now let’s examine integrals of functions containing an infinite discontinuity in the interval over which the integration occurs. Consider an integral of the form abf(x)dx, where f(x) is continuous over [a,b) and discontinuous at b. Since the function f(x) is continuous over [a,t] for all values of t satisfying at<b, the integral atf(x)dx is defined for all such values of t. Thus, it makes sense to consider the values of atf(x)dx as t approaches b for at<b. That is, we define abf(x)dx=limtbatf(x)dx, provided this limit exists. Figure 3.8.5 illustrates atf(x)dx as areas of regions for values of t approaching b.

This figure has three graphs. All the graphs have the same curve, which is f(x). The curve is non-negative, only in the first quadrant, and increasing. Under all three curves is a shaded region bounded by a on the x-axis an t on the x-axis. There is also a vertical asymptote at x = b. The region in the first curve is small, and progressively gets wider under the second and third graph as t gets further from a, and closer to b on the x-axis.
Figure 3.8.5: As t approaches b from the left, the value of the area from a to t approaches the area from a to b.

We use a similar approach to define abf(x)dx, where f(x) is continuous over (a,b] and discontinuous at a. We now proceed with a formal definition.

Definition: Converging and Diverging Improper Integral

  1. Let f(x) be continuous over [a,b). Then, (3.8.6)abf(x)dx=limtbatf(x)dx.
  2. Let f(x) be continuous over (a,b]. Then, (3.8.7)abf(x)dx=limta+tbf(x)dx. In each case, if the limit exists, then the improper integral is said to converge. If the limit does not exist, then the improper integral is said to diverge.
  3. If f(x) is continuous over [a,b] except at a point c in (a,b), then (3.8.8)abf(x)dx=acf(x)dx+cbf(x)dx, provided both acf(x)dx and cbf(x)dx converge. If either of these integrals diverges, then abf(x)dx diverges.

The following examples demonstrate the application of this definition.

Example 3.8.6: Integrating a Discontinuous Integrand

Evaluate 0414xdx, if possible. State whether the integral converges or diverges.

Solution

The function f(x)=14x is continuous over [0,4) and discontinuous at 4. Using Equation 3.8.6 from the definition, rewrite 0414xdx as a limit:

0414xdx=limt40t14xdxRewrite as a limit.=limt4(24x)0tFind the antiderivative.=limt4(24t+4)Evaluate the antiderivative.=4.Evaluate the limit.

The improper integral converges.

Example 3.8.7: Integrating a Discontinuous Integrand

Evaluate 02xlnxdx. State whether the integral converges or diverges.

Solution

Since f(x)=xlnx is continuous over (0,2] and is discontinuous at zero, we can rewrite the integral in limit form using Equation 3.8.7:

02xlnxdx=limt0+t2xlnxdxRewrite as a limit.=limt0+(12x2lnx14x2)t2Evaluatexlnxdxusing integration by parts withu=lnxanddv=x.=limt0+(2ln2112t2lnt+14t2).Evaluate the antiderivative.=2ln21.Evaluate the limit.

Therefore

limt0+t2lntis indeterminate.

To evaluate it, rewrite as a quotient and apply L’Hôpital’s rule.

The improper integral converges.

Example 3.8.8: Integrating a Discontinuous Integrand

Evaluate 111x3dx. State whether the improper integral converges or diverges.

Solution

Since f(x)=1/x3 is discontinuous at zero, using Equation 3.8.8, we can write

111x3dx=101x3dx+011x3dx.

If either of the two integrals diverges, then the original integral diverges. Begin with 101x3dx:

101x3dx=limt01t1x3dx Rewrite as a limit.

=limt0(12x2)1t Find the antiderivative.

=limt0(12t2+12) Evaluate the antiderivative.

=+. Evaluate the limit.

Therefore, 101x3dx diverges. Since 101x3dx diverges, 111x3dx diverges.

Exercise 3.8.2

Evaluate 021xdx. State whether the integral converges or diverges.

Hint

Write 021xdx in limit form using Equation 3.8.7.

Answer

+, It diverges.

A Comparison Theorem

It is not always easy or even possible to evaluate an improper integral directly; however, by comparing it with another carefully chosen integral, it may be possible to determine its convergence or divergence. To see this, consider two continuous functions f(x) and g(x) satisfying 0f(x)g(x) for xa (Figure 3.8.6). In this case, we may view integrals of these functions over intervals of the form [a,t] as areas, so we have the relationship

(3.8.9)0atf(x)dxatg(x)dx

for ta.

This figure has two graphs. The graphs are f(x) and g(x). The first graph f(x) is a decreasing, non-negative function with a horizontal asymptote at the x-axis. It has a sharper bend in the curve compared to g(x). The graph of g(x) is a decreasing, non-negative function with a horizontal asymptote at the x-axis.
Figure 3.8.6: If 0f(x)g(x) for xa, then for ta, atf(x)dxatg(x)dx.

Thus, if

(3.8.10)a+f(x)dx=limt+atf(x)dx=+,

then

(3.8.11)a+g(x)dx=limt+atg(x)dx=+

as well. That is, if the area of the region between the graph of f(x) and the x-axis over [a,+) is infinite, then the area of the region between the graph of g(x) and the x-axis over [a,+) is infinite too.

On the other hand, if

(3.8.12)a+g(x)dx=limt+atg(x)dx=L

for some real number L, then

(3.8.13)a+f(x)dx=limt+atf(x)dx

must converge to some value less than or equal to L, since atf(x)dx increases as t increases and atf(x)dxL for all ta.

If the area of the region between the graph of g(x) and the x-axis over [a,+) is finite, then the area of the region between the graph of f(x) and the x-axis over [a,+) is also finite.

These conclusions are summarized in the following theorem.

A Comparison Theorem

Let f(x) and g(x) be continuous over [a,+). Assume that 0f(x)g(x) for xa.

  1. If (3.8.14)a+f(x)dx=limt+atf(x)dx=+, then (3.8.15)a+g(x)dx=limt+atg(x)dx=+.
  2. If (3.8.16)a+g(x)dx=limt+atg(x)dx=L, where L is a real number, then (3.8.17)a+f(x)dx=limt+atf(x)dx=M for some real number ML.

Example 3.8.9: Applying the Comparison Theorem

Use a comparison to show that

1+1xexdx

converges.

Solution

We can see that

(3.8.18)01xex1ex=ex,

so if 1+exdx converges, then so does 1+1xexdx. To evaluate 1+exdx, first rewrite it as a limit:

1+exdx=limt+1texdx

=limt+(ex)1t

=limt+(et+e1)

=e1.

Since 1+exdx converges, so does 1+1xexdx.

Example 3.8.10: Applying the Comparison Theorem

Use the comparison theorem to show that 1+1xpdx diverges for all p<1.

Solution

For p<1,1/x1/(xp) over [1,+). In Example 3.8.1, we showed that 1+1xdx=+. Therefore, 1+1xpdx diverges for all p<1.

Exercise 3.8.3

Use a comparison to show that e+lnxxdx diverges.

Hint

1xlnxx on [e,+)

Answer

Since e+1xdx=+, e+lnxxdx diverges.

Laplace Transforms

In the last few chapters, we have looked at several ways to use integration for solving real-world problems. For this next project, we are going to explore a more advanced application of integration: integral transforms. Specifically, we describe the Laplace transform and some of its properties. The Laplace transform is used in engineering and physics to simplify the computations needed to solve some problems. It takes functions expressed in terms of time and transforms them to functions expressed in terms of frequency. It turns out that, in many cases, the computations needed to solve problems in the frequency domain are much simpler than those required in the time domain.

The Laplace transform is defined in terms of an integral as

(3.8.19)Lf(t)=F(s)=0estf(t)dt.

Note that the input to a Laplace transform is a function of time, f(t), and the output is a function of frequency, F(s). Although many real-world examples require the use of complex numbers (involving the imaginary number i=1), in this project we limit ourselves to functions of real numbers.

Let’s start with a simple example. Here we calculate the Laplace transform of f(t)=t. We have

(3.8.20)Lt=0testdt.

This is an improper integral, so we express it in terms of a limit, which gives

(3.8.21)Lt=0testdt=limz0ztestdt.

Now we use integration by parts to evaluate the integral. Note that we are integrating with respect to t, so we treat the variable s as a constant. We have

u=t du=dt dv=estdt v=1sest.

Then we obtain

limz0ztestdt=limz[[tsest]0z+1s0zestdt] =limz[[zsesz+0se0s]+1s0zestdt] =limz[[zsesz+0]1s[ests]0z] =limz[[zsesz]1s2[esz1]] =limz[zsesz]limz[1s2esz]+limz1s2 =00+1s2 =1s2.

  1. Calculate the Laplace transform of f(t)=1.
  2. Calculate the Laplace transform of f(t)=e3t.
  3. Calculate the Laplace transform of f(t)=t2. (Note, you will have to integrate by parts twice.)

Laplace transforms are often used to solve differential equations. Differential equations are not covered in detail until later in this book; but, for now, let’s look at the relationship between the Laplace transform of a function and the Laplace transform of its derivative.

Let’s start with the definition of the Laplace transform. We have

(3.8.22)Lf(t)=0estf(t)dt=limz0zestf(t)dt.

Use integration by parts to evaluate limz0zestf(t)dt. (Let u=f(t) and dv=estdt.)

After integrating by parts and evaluating the limit, you should see that

(3.8.23)Lf(t)=f(0)s+1s[Lf(t)].

Then,

(3.8.24)Lf(t)=sLf(t)f(0).

Thus, differentiation in the time domain simplifies to multiplication by s in the frequency domain.

The final thing we look at in this project is how the Laplace transforms of f(t) and its antiderivative are related. Let g(t)=0tf(u)du. Then,

(3.8.25)Lg(t)=0estg(t)dt=limz0zestg(t)dt.

Use integration by parts to evaluate limz0zestg(t)dt. (Let u=g(t) and dv=estdt. Note, by the way that we have defined g(t),du=f(t)dt.)

As you might expect, you should see that

(3.8.26)Lg(t)=1sLf(t).

Integration in the time domain simplifies to division by s in the frequency domain.

Key Concepts

  • Integrals of functions over infinite intervals are defined in terms of limits.
  • Integrals of functions over an interval for which the function has a discontinuity at an endpoint may be defined in terms of limits.
  • The convergence or divergence of an improper integral may be determined by comparing it with the value of an improper integral for which the convergence or divergence is known.

Key Equations

  • Improper integrals

a+f(x)dx=limt+atf(x)dx

bf(x)dx=limttbf(x)dx

+f(x)dx=0f(x)dx+0+f(x)dx

Glossary

improper integral
an integral over an infinite interval or an integral of a function containing an infinite discontinuity on the interval; an improper integral is defined in terms of a limit. The improper integral converges if this limit is a finite real number; otherwise, the improper integral diverges

Contributors and Attributions

  • Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.


This page titled 3.8: Improper Integrals is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.

  • Was this article helpful?

Support Center

How can we help?