Active Calculus

Section6.5Improper 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 Activity6.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. \end{equation*}
Use this information to answer the following questions.
(a) The fraction of callers who wait between 5 and 10 minutes is .
(b) The fraction of callers who wait between 10 and 20 minutes is .
(c) Next, let us study the fraction who wait up to a certain number of minutes:
(i) What is the fraction of callers who wait between 0 and 5 minutes?
(ii) What is the fraction of callers who wait between 0 and 10 minutes?
(iii) Between 0 and 15 minutes?
(iv) Between 0 and 20?
(d) 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.
\begin{equation*} F(b)=\int_c^d f(t) \, dt \end{equation*}
where $$c=$$, $$d=$$, and $$f(t)=$$.
Now evaluate that integral using the First FTC to find a formula for $$F(b)$$ that does not involve a definite integral (but will involve $$b$$ ).
$$F(b)=$$
(e) Calculate $$\displaystyle \lim_{b \to \infty} F(b) =$$
Why does that answer make sense?
• Because no one waits more than an hour.
• Because every customer waits between 0 and infinity minutes.
• Because one customer is helped at a time.
• none of the above

Subsection6.5.1Improper 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
$$\int_0^\infty 0.3e^{-0.3t} \, dt\text{.}\tag{6.5.1}$$
Such an integral can be interpreted as the area of an unbounded region, as pictured at right in Figure 6.5.1.
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.

Activity6.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{?}$$

Subsection6.5.2Convergence 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.

Activity6.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

Subsection6.5.3Improper 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.
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.
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.

Activity6.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$$

Subsection6.5.4Summary

• 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{.}$$

Exercises6.5.5Exercises

1.

Calculate the integral below, if it converges. If it does not converge, enter diverges for your answer.
$$\int_{0}^{\infty} 3x^{2}e^{-x^{3}} \,dx =$$

2.

Calculate the integral, if it converges. If it diverges, enter diverges for your answer.
$$\int_{-\infty}^{-3}\,{e^{3 x}\over 1 + e^{3 x}}\,dx =$$

3.

Calculate the integral, if it converges. If it diverges, enter diverges for your answer.
$${\displaystyle\int_{-3}^{3}{1\over v}\,dv} =$$

4.

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

5.

Find what value of $$c$$ does
\begin{equation*} \int_{6}^{\infty} \frac {c}{x^{2}} dx = 1? \end{equation*}

6.

Compute the value of the following improper integral. If it is divergent, type "Diverges" or "D".
\begin{equation*} \int_{0}^{2}\! \frac{dx}{x^{2}-6x+5} \end{equation*}

7.

Suppose that a company expects its annual profits $$t$$ years from now to be $$f(t)$$ dollars and that interest is considered to be compounded continuously at an annual rate $$r\text{.}$$ Then the present value of all future profits can be shown to be
\begin{equation*} FP = \displaystyle\int_{0}^{\infty} e^{-rt}f(t) \hbox{d}t \end{equation*}
Find $$FP$$ if $$r =0.08$$ and $$f(t) = 100,000 + 1000t\text{.}$$
The present value is dollars.

8.

Radioactive substances decay exponentially: The mass at time $$t$$ is $$m(t)=m(0)e^{kt},$$ where $$m(0)$$ is the initial mass and $$k$$ is a negative constant. The mean life M of an atom in the substance is
\begin{equation*} M=-k \int_{0}^{\,\infty} {te^{kt}}\, dt. \end{equation*}
For the radioactive carbon isotope, $$^{14}$$C, used in radiocarbon dating, the value of $$k$$ is -0.000121. Find the mean life of a $$^{14}$$C atom.
$$M =$$

9.

Given the function $$\displaystyle f(x)= \frac{1}{x}$$ (in blue), consider the functions $$g$$ (in green) and $$h$$ (in red) graphed below which are continuous on $$(0, \infty)\text{.}$$ Assuming the graphs continue in the same way as $$x$$ goes to infinity, answer the following questions.
• choose one
• Converge
• Diverge
• Not sufficient information
1. Does the improper integral $$\displaystyle \int_1^{\infty} f(x)\,dx$$ converge, diverge, or not sufficient information?
• choose one
• Converge
• Diverge
• Not sufficient information
2. Does the improper integral $$\displaystyle \int_1^{\infty} g(x)\,dx$$ converge, diverge, or not sufficient information?
• choose one
• Converge
• Diverge
• Not sufficient information
3. Does the improper integral $$\displaystyle \int_1^{\infty} h(x)\,dx$$ converge, diverge, or not sufficient information?
Note: You can click on the graph to enlarge the image.
Note: You only have two attempts at this problem.

10.

In electromagnetic theory, the magnetic potential $$u$$ at a point on the axis of a circular coil is given by
\begin{equation*} u = Ar \displaystyle\int_{a}^{\infty} \frac{\hbox{d}x}{(r^2+x^2)^{(3/2)}} \end{equation*}
where $$A, r, a$$ are constants. Compute
$$u$$ = .

11.

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$$

12.

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.