Skip to main content

Section 6.5 Improper Integrals

Another important application of the definite integral measures the likelihood of certain events. For instance, consider a company that manufactures incandescent light bulbs. Based on a large volume of test results, they have determined that the fraction of light bulbs that fail between times \(t = a\) and \(t = b\) of use (where \(t\) is measured in months) is given by

\begin{equation*} \int_a^b 0.3 e^{-0.3t} \, dt\text{.} \end{equation*}

For example, the fraction of light bulbs that fail during their third month of use is given by

\begin{align*} \int_2^3 0.3e^{-0.3t} \, dt \amp = -e^{-0.3t} \bigg \vert_2^3\\ \amp = -e^{-0.9} + e^{-0.6}\\ \amp \approx 0.1422\text{.} \end{align*}

Thus about 14.22% of all lightbulbs fail between \(t = 2\) and \(t = 3\text{.}\) Clearly we could adjust the limits of integration to measure the fraction of light bulbs that fail during any time period of interest.

Preview Activity 6.5.1.

A company with a large customer base has a call center that receives thousands of calls a day. After studying the data that represents how long callers wait for assistance, they find that the function \(p(t) = 0.25e^{-0.25t}\) models the time customers wait in the following way: the fraction of customers who wait between \(t = a\) and \(t = b\) minutes is given by

\begin{equation*} \int_a^b p(t) \, dt\text{.} \end{equation*}

Use this information to answer the following questions.

  1. Determine the fraction of callers who wait between 5 and 10 minutes.

  2. Determine the fraction of callers who wait between 10 and 20 minutes.

  3. Next, let's study the fraction who wait up to a certain number of minutes:

    1. What is the fraction of callers who wait between 0 and 5 minutes?

    2. What is the fraction of callers who wait between 0 and 10 minutes?

    3. Between 0 and 15 minutes? Between 0 and 20?

  4. Let \(F(b)\) represent the fraction of callers who wait between \(0\) and \(b\) minutes. Find a formula for \(F(b)\) that involves a definite integral, and then use the First FTC to find a formula for \(F(b)\) that does not involve a definite integral.

  5. What is the value of the limit \(\lim_{b \to \infty} F(b)\text{?}\) What is its meaning in the context of the problem?

Subsection 6.5.1 Improper Integrals Involving Unbounded Intervals

In view of the above examples, we see that we may want to integrate over an interval whose upper limit grows without bound. For example, to find the fraction of light bulbs that fail eventually, we wish to find

\begin{equation*} \lim_{b \to \infty} \int_0^b 0.3e^{-0.3t} \, dt\text{,} \end{equation*}

for which we will also use the notation

\begin{equation} \int_0^\infty 0.3e^{-0.3t} \, dt\text{.}\tag{6.5.1} \end{equation}

Such an integral can be interpreted as the area of an unbounded region, as pictured at right in Figure 6.5.1.

Figure 6.5.1. At left, the area bounded by \(p(t) = 0.3e^{-0.3t}\) on the finite interval \([0,b]\text{;}\) at right, the result of letting \(b \to \infty\text{.}\) By “\(\cdots\)” in the righthand figure, we mean that the region extends to the right without bound.

We call an integral for which the interval of integration is unbounded improper. For instance, the integrals

\begin{equation*} \int_1^{\infty} \frac{1}{x^2} \, dx, \ \ \int_{-\infty}^0 \frac{1}{1+x^2} \, dx, \ \ \text{and} \int_{-\infty}^{\infty} e^{-x^2} \, dx \end{equation*}

are all improper because they have limits of integration that involve \(\infty\text{.}\) To evaluate an improper integral we replace it with a limit of proper integrals. That is,

\begin{equation*} \int_0^\infty f(x) \, dx = \lim_{b \to \infty} \int_0^b f(x) \,dx\text{.} \end{equation*}

We first attempt to evaluate \(\int_0^b f(x) \,dx\) using the First FTC, and then evaluate the limit. Is it even possible for the area of an unbounded region to be finite? The following activity explores this issue and others in more detail.

Activity 6.5.2.

In this activity we explore the improper integrals \(\int_1^{\infty} \frac{1}{x} \, dx\) and \(\int_1^{\infty} \frac{1}{x^{3/2}} \, dx\text{.}\)

  1. First we investigate \(\int_1^{\infty} \frac{1}{x} \, dx\text{.}\)

    1. Use the First FTC to determine the exact values of \(\int_1^{10} \frac{1}{x} \, dx\text{,}\) \(\int_1^{1000} \frac{1}{x} \, dx\text{,}\) and \(\int_1^{100000} \frac{1}{x} \, dx\text{.}\) Then, use your computational device to compute a decimal approximation of each result.

    2. Use the First FTC to evaluate the definite integral \(\int_1^{b} \frac{1}{x} \, dx\) (which results in an expression that depends on \(b\)).

    3. Now, use your work from (ii.) to evaluate the limit given by

      \begin{equation*} \lim_{b \to \infty} \int_1^{b} \frac{1}{x} \, dx\text{.} \end{equation*}
  2. Next, we investigate \(\int_1^{\infty} \frac{1}{x^{3/2}} \, dx\text{.}\)

    1. Use the First FTC to determine the exact values of \(\int_1^{10} \frac{1}{x^{3/2}} \, dx\text{,}\) \(\int_1^{1000} \frac{1}{x^{3/2}} \, dx\text{,}\) and \(\int_1^{100000} \frac{1}{x^{3/2}} \, dx\text{.}\) Then, use your calculator to compute a decimal approximation of each result.

    2. Use the First FTC to evaluate the definite integral \(\int_1^{b} \frac{1}{x^{3/2}} \, dx\) (which results in an expression that depends on \(b\)).

    3. Now, use your work from (ii.) to evaluate the limit given by

      \begin{equation*} \lim_{b \to \infty} \int_1^{b} \frac{1}{x^{3/2}} \, dx\text{.} \end{equation*}
  3. Plot the functions \(y = \frac{1}{x}\) and \(y = \frac{1}{x^{3/2}}\) on the same coordinate axes for the values \(x = 0 \ldots 10\text{.}\) How would you compare their behavior as \(x\) increases without bound? What is similar? What is different?

  4. How would you characterize the value of \(\int_1^{\infty} \frac{1}{x} \, dx\text{?}\) of \(\int_1^{\infty} \frac{1}{x^{3/2}} \, dx\text{?}\) What does this tell us about the respective areas bounded by these two curves for \(x \ge 1\text{?}\)

Hint.
  1. \(\frac{1}{x} = x^{-1}\text{.}\)

  2. \(\displaystyle \frac{1}{x^{3/2}} = x^{-3/2}\)

  3. Compare how quickly the curves approach the \(x\)-axis as \(x \to \infty\text{.}\)

  4. Remember that \(\lim_{b \to \infty} \frac{1}{b^k} = 0\) as long as \(k \gt 0\text{.}\)

Subsection 6.5.2 Convergence and Divergence

Activity 6.5.2 suggests that \(\lim_{b \to \infty} \int_1^b f(x) \, dx\) is either finite or infinite (or it doesn't exist). With these possibilities in mind, we introduce the following terminology.

If \(f(x)\) is nonnegative for \(x \ge a\text{,}\) then we say that the improper integral \(\int_a^{\infty} f(x) \, dx\) converges provided that

\begin{equation*} \lim_{b \to \infty} \int_a^{b} f(x) \, dx \end{equation*}

exists and is finite. Otherwise, we say that \(\int_a^{\infty} f(x) \, dx\) diverges.

We will restrict our interest to improper integrals for which the integrand is nonnegative. Also, we require that \(\lim_{x \to \infty} f(x) = 0\text{,}\) for if \(f\) does not approach \(0\) as \(x \to \infty\text{,}\) then it is impossible for \(\int_a^{\infty} f(x) \, dx\) to converge.

Activity 6.5.3.

Determine whether each of the following improper integrals converges or diverges. For each integral that converges, find its exact value.

  1. \(\displaystyle \int_1^{\infty} \frac{1}{x^2} \, dx\)

  2. \(\displaystyle \int_0^{\infty} e^{-x/4} \, dx\)

  3. \(\displaystyle \int_2^{\infty} \frac{9}{(x+5)^{2/3}} \, dx\)

  4. \(\displaystyle \int_4^{\infty} \frac{3}{(x+2)^{5/4}} \, dx\)

  5. \(\displaystyle \int_0^{\infty} x e^{-x/4} \, dx\)

  6. \(\int_1^{\infty} \frac{1}{x^p} \, dx\text{,}\) where \(p\) is a positive real number

Hint.
  1. \(\frac{1}{x^2} = x^{-2}\text{.}\)

  2. Recall that for \(k \gt 0\text{,}\) \(e^{-kt} \to 0\) as \(t \to \infty\text{.}\)

  3. \(\frac{9}{(x+5)^{2/3}} = 9(x+5)^{-2/3}\text{.}\)

  4. Compare (c).

  5. Compare (b), after integrating by parts.

  6. Try two cases: \(0 \lt p \lt 1\) and \(1 \lt p\text{.}\)

Subsection 6.5.3 Improper Integrals Involving Unbounded Integrands

An integral is also called improper if the integrand is unbounded on the interval of integration. For example, consider

\begin{equation*} \int_0^1 \frac{1}{\sqrt{x}} \, dx\text{.} \end{equation*}

Because \(f(x) = \frac{1}{\sqrt{x}}\) has a vertical asymptote at \(x = 0\text{,}\) \(f\) is not continuous on \([0,1]\text{,}\) and the integral represents the area of the unbounded region shown at right in Figure 6.5.2.

Figure 6.5.2. At left, the area bounded by \(f(x) = \frac{1}{\sqrt{x}}\) on the finite interval \([a,1]\text{;}\) at right, the result of letting \(a \to 0^+\text{,}\) where we see that the shaded region will extend vertically without bound.

We address the problem of the integrand being unbounded by replacing the improper integral with a limit of proper integrals. For example, to evaluate \(\int_0^1 \frac{1}{\sqrt{x}} \, dx\text{,}\) we replace \(0\) with \(a\) and let \(a\) approach 0 from the right. Thus,

\begin{equation*} \int_0^1 \frac{1}{\sqrt{x}} \, dx = \lim_{a \to 0^+} \int_a^1 \frac{1}{\sqrt{x}} \, dx\text{.} \end{equation*}

We evaluate the proper integral \(\int_a^1 \frac{1}{\sqrt{x}} \, dx\text{,}\) and then take the limit. We will say that the improper integral converges if this limit exists, and diverges otherwise. In this example, we observe that

\begin{align*} \int_0^1 \frac{1}{\sqrt{x}} \, dx &= \lim_{a \to 0^+} \int_a^1 \frac{1}{\sqrt{x}} \, dx\\ &= \lim_{a \to 0^+} \left. 2\sqrt{x}\, \right\vert_a^1\\ &= \lim_{a \to 0^+} 2\sqrt{1} - 2\sqrt{a}\\ &= 2\text{,} \end{align*}

so the improper integral \(\int_0^1 \frac{1}{\sqrt{x}} \, dx\) converges (to the value 2).

We have to be particularly careful with unbounded integrands, for they may arise in ways that may not initially be obvious. Consider, for instance, the integral

\begin{equation*} \int_1^3 \frac{1}{(x-2)^2} \, dx\text{.} \end{equation*}

At first glance we might think that we can simply apply the Fundamental Theorem of Calculus by antidifferentiating \(\frac{1}{(x-2)^2}\) to get \(-\frac{1}{x-2}\) and then evaluating from \(1\) to \(3\text{.}\) Were we to do so, we would be erroneously applying the FTC because \(f(x) = \frac{1}{(x-2)^2}\) fails to be continuous throughout the interval, as seen in Figure 6.5.3.

Figure 6.5.3. The function \(f(x) = \frac{1}{(x-2)^2}\) on an interval including \(x = 2\text{.}\)

Such an incorrect application of the FTC leads to an impossible result (\(-2\)), which would itself suggest that something we did must be wrong. Instead, we must address the vertical asymptote at \(x = 2\) by writing

\begin{equation*} \int_1^3 \frac{1}{(x-2)^2} \, dx = \lim_{a \to 2^-} \int_1^a \frac{1}{(x-2)^2} \, dx + \lim_{b \to 2^+} \int_b^3 \frac{1}{(x-2)^2} \, dx\text{.} \end{equation*}

We then evaluate two separate limits of proper integrals. For instance, doing so for the integral with \(a\) approaching \(2\) from the left, we find

\begin{align*} \int_1^2 \frac{1}{(x-2)^2} \, dx&= \lim_{a \to 2^-} \int_1^a \frac{1}{(x-2)^2} \, dx\\ &= \lim_{a \to 2^-} -\frac{1}{(x-2)} \bigg\vert_1^a\\ &= \lim_{a \to 2^-} -\frac{1}{(a-2)} + \frac{1}{1-2}\\ &= \infty\text{,} \end{align*}

since \(\frac{1}{a-2} \to -\infty\) as \(a\) approaches 2 from the left. Thus, the improper integral \(\int_1^2 \frac{1}{(x-2)^2} \, dx\) diverges; similar work shows that \(\int_2^3 \frac{1}{(x-2)^2} \, dx\) also diverges. From either of these two results, we can conclude that that the original integral, \(\int_1^3 \frac{1}{(x-2)^2} \, dx\) diverges, too.

Activity 6.5.4.

For each of the following definite integrals, decide whether the integral is improper or not. If the integral is proper, evaluate it using the First FTC. If the integral is improper, determine whether or not the integral converges or diverges; if the integral converges, find its exact value.

  1. \(\displaystyle \int_0^1 \frac{1}{x^{1/3}} \, dx\)

  2. \(\displaystyle \int_0^2 e^{-x} \, dx\)

  3. \(\displaystyle \int_1^4 \frac{1}{\sqrt{4-x}} \, dx\)

  4. \(\displaystyle \int_{-2}^2 \frac{1}{x^2} \, dx\)

  5. \(\displaystyle \int_0^{\pi/2} \tan(x) \, dx\)

  6. \(\displaystyle \int_0^1 \frac{1}{\sqrt{1-x^2}} \, dx\)

Hint.
  1. \(\frac{1}{x^{1/3}}\) is undefined at \(x = 0\text{.}\)

  2. This integral is a proper one.

  3. \(\frac{1}{\sqrt{4-x}}\) is undefined at \(x = 4\text{.}\)

  4. Be careful about what happens at \(x = 0\text{;}\) split the original integral into two integrals that involve \(x = 0\text{.}\)

  5. \(\tan(x)\) is undefined at \(x = \pi/2\text{.}\)

  6. Recall that you know an antiderivative for \(\frac{1}{\sqrt{1-x^2}}\text{.}\)

Subsection 6.5.4 Summary

  • An integral \(\int_a^b f(x) \, dx\) can be improper if at least one of \(a\) or \(b\) is \(\pm \infty\text{,}\) making the interval unbounded, or if \(f\) has a vertical asymptote at \(x = c\) for some value of \(c\) that satisfies \(a \le c \le b\text{.}\) One reason that improper integrals are important is that certain probabilities can be represented by integrals that involve infinite limits.

  • When we encounter an improper integral, we work to understand it by replacing the improper integral with a limit of proper integrals. For instance, we write

    \begin{equation*} \int_a^\infty f(x) \, dx = \lim_{b \to \infty} \int_a^b f(x) \, dx\text{,} \end{equation*}

    and then work to determine whether the limit exists and is finite. For any improper integral, if the resulting limit of proper integrals exists and is finite, we say the improper integral converges. Otherwise, the improper integral diverges.

  • An important class of improper integrals is given by

    \begin{equation*} \int_1^{\infty} \frac{1}{x^p} \, dx \end{equation*}

    where \(p\) is a positive real number. We can show that this improper integral converges whenever \(p \gt 1\text{,}\) and diverges whenever \(0 \lt p \le 1\text{.}\) A related class of improper integrals is \(\int_0^1 \frac{1}{x^p} \, dx\text{,}\) which converges for \(0 \lt p \lt 1\text{,}\) and diverges for \(p \ge 1\text{.}\)

Exercises 6.5.5 Exercises

1. An improper integral on a finite interval.

Consider the integral

\begin{equation*} \int_{0}^{\,3} {\frac{6}{x\sqrt{x}}}\, dx \end{equation*}

If the integral is divergent, type an upper-case "D". Otherwise, evaluate the integral.

2. An improper integral on an infinite interval.

Calculate the integral below, if it converges. If it does not converge, enter diverges for your answer.

\(\int_{2}^{\infty} 2x^{2}e^{-x^{3}} \,dx =\)

3. An improper integral involving a ratio of exponential functions.

Calculate the integral, if it converges. If it diverges, enter diverges for your answer.

\(\int_{-\infty}^{3}\,{e^{5 x}\over 1 + e^{5 x}}\,dx =\)

4. A subtle improper integral.

Calculate the integral, if it converges. If it diverges, enter diverges for your answer.

\({\displaystyle\int_{-8}^{8}{1\over v}\,dv} =\)

5. An improper integral involving a ratio of trigonometric functions.

Find the area under the curve \(y = {1\over\cos^2(t)}\) between \(t = 0\) and \(t = \pi/2\text{.}\) Enter diverges if the area is not bounded.

area =

6.

Determine, with justification, whether each of the following improper integrals converges or diverges.

  1. \(\displaystyle \int_e^{\infty} \frac{\ln(x)}{x} \, dx\)

  2. \(\displaystyle \int_e^{\infty} \frac{1}{x\ln(x)} \, dx\)

  3. \(\displaystyle \int_e^{\infty} \frac{1}{x(\ln(x))^2} \, dx\)

  4. \(\int_e^{\infty} \frac{1}{x(\ln(x))^p} \, dx\text{,}\) where \(p\) is a positive real number

  5. \(\displaystyle \int_0^1 \frac{\ln(x)}{x} \, dx\)

  6. \(\displaystyle \int_0^1 \ln(x) \, dx\)

7.

Sometimes we may encounter an improper integral for which we cannot easily evaluate the limit of the corresponding proper integrals. For instance, consider \(\int_1^{\infty} \frac{1}{1+x^3} \, dx\text{.}\) While it is hard (or perhaps impossible) to find an antiderivative for \(\frac{1}{1+x^3}\text{,}\) we can still determine whether or not the improper integral converges or diverges by comparison to a simpler one. Observe that for all \(x \gt 0\text{,}\) \(1 + x^3 \gt x^3\text{,}\) and therefore

\begin{equation*} \frac{1}{1+x^3} \lt \frac{1}{x^3}\text{.} \end{equation*}

It therefore follows that

\begin{equation*} \int_1^b \frac{1}{1+x^3} \, dx \lt \int_1^b \frac{1}{x^3} \, dx \end{equation*}

for every \(b \gt 1\text{.}\) If we let \(b \to \infty\) so as to consider the two improper integrals \(\int_1^\infty \frac{1}{1+x^3} \, dx\) and \(\int_1^\infty \frac{1}{x^3} \, dx\text{,}\) we know that the larger of the two improper integrals converges. And thus, since the smaller one lies below a convergent integral, it follows that the smaller one must converge, too. In particular, \(\int_1^\infty \frac{1}{1+x^3} \, dx\) must converge, even though we never explicitly evaluated the corresponding limit of proper integrals. We use this idea and similar ones in the exercises that follow.

  1. Explain why \(x^2 + x + 1 \gt x^2\) for all \(x \ge 1\text{,}\) and hence show that \(\int_1^{\infty} \frac{1}{x^2 + x + 1} \, dx\) converges by comparison to \(\int_1^{\infty} \frac{1}{x^2} \, dx\text{.}\)

  2. Observe that for each \(x \gt 1\text{,}\) \(\ln(x) \lt x\text{.}\) Explain why

    \begin{equation*} \int_2^b \frac{1}{x} \, dx \lt \int_2^b \frac{1}{\ln(x)} \,dx \end{equation*}

    for each \(b \gt 2\text{.}\) Why must it be true that \(\int_2^\infty \frac{1}{\ln(x)} \, dx\) diverges?

  3. Explain why \(\sqrt{\frac{x^4+1}{x^4}} \gt 1\) for all \(x \gt 1\text{.}\) Then, determine whether or not the improper integral

    \begin{equation*} \int_1^{\infty} \frac{1}{x} \cdot \sqrt{\frac{x^4+1}{x^4}} \, dx \end{equation*}

    converges or diverges.