Skip to main content
Logo image

APEX Calculus

Section 6.8 Improper Integration

We begin this section by considering the following definite integrals:
  • \(\displaystyle \int_0^{100}\frac1{1+x^2}\, dx \approx 1.5608\)
  • \(\displaystyle \int_0^{1000}\frac1{1+x^2}\, dx \approx 1.5698\)
  • \(\displaystyle \int_0^{10,000}\frac1{1+x^2}\, dx \approx 1.5707\)
Notice how the integrand is \(1/(1+x^2)\) in each integral (which is sketched in Figure 6.8.1). As the upper bound gets larger, one would expect the “area under the curve” would also grow. While the definite integrals do increase in value as the upper bound grows, they are not increasing by much. In fact, consider:
\begin{equation*} \int_0^b \frac{1}{1+x^2}\, dx = \tan^{-1}(x) \Big|_0^b = \tan^{-1}(b) -\tan^{-1}(0) = \tan^{-1}(b)\text{.} \end{equation*}
As \(b\rightarrow \infty\text{,}\) \(\tan^{-1}(b) \rightarrow \pi/2\text{.}\) Therefore it seems that as the upper bound \(b\) grows, the value of the definite integral \(\ds \int_0^b\frac{1}{1+x^2}\, dx\) approaches \(\pi/2\approx 1.5708\text{.}\) This should strike the reader as being a bit amazing: even though the curve extends “to infinity,” it has a finite amount of area underneath it.
Graph of function 1/(1+x^2) showing finite area under curves that extends to infinity.
The \(y\) axis is drawn from \(0\) to \(1\) and the \(x\) axis is drawn from \(0\) to \(10\text{.}\) The function \(f(x)=\frac{1}{1+x^2}\) starts at point \((0,1)\text{,}\) then decreases sharply, has a dip at \((2,0.2)\) then decreases gently and almost coincides with the \(x\) axis after \(x=6\text{.}\) The area under the curve is shaded.
Figure 6.8.1. Graphing \(\ds f(x)=\frac{1}{1+x^2}\)
Figure 6.8.2. Video introduction to Section 6.8
When we defined the definite integral \(\ds\int_a^b f(x)\, dx\text{,}\) we made two stipulations:
  1. The interval over which we integrated, \([a,b]\text{,}\) was a finite interval, and
  2. The function \(f(x)\) was continuous on \([a,b]\) (ensuring that the range of \(f\) was finite).
In this section we consider integrals where one or both of the above conditions do not hold. Such integrals are called improper integrals.

Subsection 6.8.1 Improper Integrals with Infinite Bounds

Definition 6.8.3. Improper Integrals with Infinite Bounds; Converge, Diverge.

  1. Let \(f\) be a continuous function on \([a,\infty)\text{.}\) Define
    \begin{equation*} \int_a^\infty f(x)\, dx \text{ to be } \lim_{b\to\infty}\int_a^b f(x)\, dx\text{.} \end{equation*}
  2. Let \(f\) be a continuous function on \((-\infty,b]\text{.}\) Define
    \begin{equation*} \int_{-\infty}^b f(x)\, dx \text{ to be } \lim_{a\to-\infty}\int_a^b f(x)\, dx\text{.} \end{equation*}
  3. Let \(f\) be a continuous function on \((-\infty,\infty)\text{.}\) Let \(c\) be any real number; define
    \begin{equation*} \int_{-\infty}^\infty f(x)\, dx \text{ to be } \lim_{a\to-\infty}\int_a^c f(x)\, dx\,+\,\lim_{b\to\infty}\int_c^b f(x)\, dx\text{.} \end{equation*}
An improper integral is said to converge if its corresponding limit exists; otherwise, it diverges. The improper integral in part 3 converges if and only if both of its limits exist.

Example 6.8.4. Evaluating improper integrals.

Evaluate the following improper integrals.
  1. \(\displaystyle \int_1^\infty \frac1{x^2}\, dx\)
  2. \(\displaystyle \int_1^\infty \frac1x\, dx\)
  3. \(\displaystyle \int_{-\infty}^0 e^x\, dx\)
  4. \(\displaystyle \int_{-\infty}^\infty \frac1{1+x^2}\, dx\)
Solution 1. Video solution
Solution 2.
  1. \begin{align*} \int_1^\infty \frac{1}{x^2}\, dx = \lim_{b\to\infty} \int_1^b\frac1{x^2}\, dx \amp = \lim_{b\to\infty} \frac{-1}{x}\Big|_1^b\\ \amp = \lim_{b\to\infty} \frac{-1}{b} + 1\\ \amp = 1\text{.} \end{align*}
    A graph of the area defined by this integral is given in Figure 6.8.5.
    Graph of the area under the curve 1/x^2 from 1 to infinity.
    The \(y\) axis is drawn from \(0\) to \(1\) and the \(x\) axis is drawn from \(0\) to \(10\text{.}\) The function \(f(x) = \frac{1}{x^2}\) starts from point \((1,1)\text{,}\) the curve drops sharply then bends before \(x=5\) after which it runs very close to the \(x\) axis. The area under the curve is shaded from \(x=1\) to \(x=10\text{.}\)
    Figure 6.8.5. A graph of \(f(x) = \frac{1}{x^2}\) in Example 6.8.4
  2. \begin{align*} \int_1^\infty \frac1x\, dx \amp = \lim_{b\to\infty}\int_1^b\frac1x\, dx\\ \amp = \lim_{b\to\infty} \ln\abs{x}\Big|_1^b\\ \amp = \lim_{b\to\infty} \ln(b)\\ \amp = \infty\text{.} \end{align*}
    The limit does not exist, hence the improper integral \(\ds\int_1^\infty\frac1x\, dx\) diverges. Compare the graphs in Figures 6.8.5 and Figure 6.8.6; notice how the graph of \(f(x) = 1/x\) is noticeably larger. This difference is enough to cause the improper integral to diverge.
    Graph of area of the curve 1/x from 1 to 10.
    The \(y\) axis is drawn from \(0\) to \(1\) and the \(x\) axis is drawn from \(0\) to \(10\text{.}\) The function \(f(x) = \frac{1}{x}\) starts from point \((1,1)\text{,}\) the curve drops sharply then bends before \(x=5\) after which it runs almost parallel to the \(x\) axis about line \(y=0.2\text{.}\) The area under the curve is shaded from \(x=1\) to \(x=10\text{.}\)
    Figure 6.8.6. A graph of \(f(x) = \frac{1}{x}\) in Example 6.8.4
  3. \begin{align*} \int_{-\infty}^0 e^x \, dx \amp = \lim_{a\to-\infty} \int_a^0e^x\, dx\\ \amp = \lim_{a\to-\infty} e^x\Big|_a^0\\ \amp = \lim_{a\to-\infty} e^0-e^a\\ \amp = 1\text{.} \end{align*}
    A graph of the area defined by this integral is given in Figure 6.8.7.
    Graph of area under the curve f(x)=e^x from -10 to 0.
    The graph of function \(f(x)= e^x\) is drawn in the second quadrant.The \(y\) axis is drawn from \(0\) to \(1\) and the \(x\) axis is drawn from \(-10\) to \(0\text{.}\) From left to right the function appears to coincide with the \(x\) axis, at about \(x=5\) it gets a positive slope and rises sharply until it reaches point \((0,1)\text{.}\)
    Figure 6.8.7. A graph of \(f(x) = e^x\) in Example 6.8.4
  4. We will need to break this into two improper integrals and choose a value of \(c\) as in part 3 of Definition 6.8.3. Any value of \(c\) is fine; we choose \(c=0\text{.}\)
    \begin{align*} \int_{-\infty}^\infty \frac1{1+x^2}\, dx \amp = \lim_{a\to-\infty} \int_a^0\frac{1}{1+x^2}\, dx + \lim_{b\to\infty} \int_0^b\frac{1}{1+x^2}\, dx\\ \amp = \lim_{a\to-\infty} \tan^{-1}(x) \Big|_a^0 + \lim_{b\to\infty} \tan^{-1}(x) \Big|_0^b\\ \amp = \lim_{a\to-\infty} \left(\tan^{-1}(0) -\tan^{-1}(a) \right)\\ \amp \quad\quad + \lim_{b\to\infty} \left(\tan^{-1}(b) -\tan^{-1}(0) \right)\\ \amp = \left(0-\frac{-\pi}2\right) + \left(\frac{\pi}2-0\right).\\ \end{align*}

    Each limit exists, hence the original integral converges and has value:

    \begin{align*} \amp = \pi\text{.} \end{align*}
    A graph of the area defined by this integral is given in Figure 6.8.8.
    Graph of function 1/(1+x^2).
    The \(y\) axis is drawn from \(0\) to \(1\) and the \(x\) axis is drawn from \(-10\) to \(10\text{.}\)The function \(f(x)= \frac{1}{1+x^2}\) is symmetrical about the \(y\) axis. From left to right the function moves very closely to the \(x\) axis after \(x=-5\) it bends and sharply increases to point \((0,1)\text{,}\) from this point it decreases sharply and then gets a dip then after \(x=5\) runs very closely to the \(x\) axis.
    Figure 6.8.8. A graph of \(f(x) = \frac{1}{1+x^2}\) in Example 6.8.4
The previous section introduced L’Hospital’s Rule, a method of evaluating limits that return indeterminate forms. It is not uncommon for the limits resulting from improper integrals to need this rule as demonstrated next.

Example 6.8.9. Improper integration and L’Hospital’s Rule.

Evaluate the improper integral \(\ds \int_1^\infty \frac{\ln(x) }{x^2}\, dx\text{.}\)
Solution 1. Video solution
Solution 2.
This integral will require the use of Integration by Parts. Let \(u = \ln(x)\) and \(dv = 1/x^2\, dx\text{.}\) Then
Graph of lx(x)/x^2.
The \(y\) axis is drawn from \(0\) to \(0.4\) and the \(x\) axis is drawn from \(0\) to \(10\text{.}\) From left to right, the function \(f(x) = \frac{\ln(x) }{x^2}\) starts at point \((1,0)\) it rises sharply, reaches a height of \(0.2\) near \(x= 1.5\) then it decreases gently until \(x=10\) but stays a bit above the \(x\) axis. The area under the curve until \(x=10\) is shaded.
Figure 6.8.10. A graph of \(f(x) = \frac{\ln(x) }{x^2}\) in Example 6.8.9
\begin{align*} \int_1^\infty\frac{\ln(x) }{x^2}\, dx \amp = \lim_{b\to\infty}\int_1^b\frac{\ln(x) }{x^2}\, dx\\ \amp = \lim_{b\to\infty}\left(-\frac{\ln(x) }{x}\Big|_1^b +\int_1^b \frac{1}{x^2} \, dx \right)\\ \amp = \lim_{b\to\infty} \left.\left(-\frac{\ln(x) }{x} -\frac1x\right)\right|_1^b\\ \amp = \lim_{b\to\infty} \left(-\frac{\ln(b) }{b}-\frac1b - \left(-\ln(1) -1\right)\right).\\ \end{align*}

The \(1/b\) and \(\ln(1)\) terms go to 0, leaving \(\lim\limits_{b\to\infty} -\frac{\ln(b) }b + 1\text{.}\) We need to evaluate \(\lim\limits_{b\to\infty} \frac{\ln(b) }{b}\) with l’Hospital’s Rule. We have:

\begin{align*} \lim_{b\to\infty}\frac{\ln(b) }b \amp \stackrel{\,\text{ by LHR } \,}{=} \lim_{b\to\infty} \frac{1/b}{1}\\ \amp = 0.\\ \end{align*}

Thus the improper integral evaluates as:

\begin{align*} \int_1^\infty\frac{\ln(x) }{x^2}\, dx \amp = 1\text{.} \end{align*}

Subsection 6.8.2 Improper Integrals with Infinite Range

We have just considered definite integrals where the interval of integration was infinite. We now consider another type of improper integration, where the range of the integrand is infinite.

Definition 6.8.11. Improper Integration with Infinite Range.

Let \(f(x)\) be a continuous function on \([a,b]\) except at \(c\text{,}\) \(a\leq c\leq b\text{,}\) where \(x=c\) is a vertical asymptote of \(f\text{.}\) Define
\begin{equation*} \int_a^b f(x)\, dx = \lim_{t\to c^-}\int_a^t f(x)\, dx + \lim_{t\to c^+}\int_t^b f(x)\, dx\text{.} \end{equation*}

Example 6.8.12. Improper integration of functions with infinite range.

Evaluate the following improper integrals:
  1. \(\displaystyle \int_0^1\frac1{\sqrt{x}}\, dx\)
  2. \(\displaystyle \int_{-1}^1\frac{1}{x^2}\, dx\)
Solution 1. Video solution
Solution 2.
  1. A graph of \(f(x) = 1/\sqrt{x}\) is given in Figure 6.8.13. Notice that \(f\) has a vertical asymptote at \(x=0\text{;}\) in some sense, we are trying to compute the area of a region that has no “top.” Could this have a finite value?
    \begin{align*} \int_0^1 \frac{1}{\sqrt{x}}\, dx \amp = \lim_{a\to0^+}\int_a^1 \frac1{\sqrt{x}}\, dx\\ \amp = \lim_{a\to0^+} 2\sqrt{x}\Big|_a^1\\ \amp = \lim_{a\to0^+} 2\left(\sqrt{1}-\sqrt{a}\right)\\ \amp = 2\text{.} \end{align*}
    It turns out that the region does have a finite area even though it has no upper bound (strange things can occur in mathematics when considering the infinite).
    Graph of function 1 over square root of x.
    The \(y\) axis is drawn from \(0\) to \(10\) and the \(x\) axis is drawn from \(0\) to \(2\text{.}\) The function \(f(x)=\frac{1}{\sqrt{x}}\) starts at \((0,10)\) then it decreases sharply while being very close to the \(y\) axis at about \(y=4\) it starts diverging away, it moves away from the \(y\) axis and appears to move almost parallel to the \(x\) axis until \(x=1\text{.}\)
    Figure 6.8.13. A graph of \(f(x)=\frac{1}{\sqrt{x}}\) in Example 6.8.12
  2. The function \(f(x) = 1/x^2\) has a vertical asymptote at \(x=0\text{,}\) as shown in Figure 6.8.14, so this integral is an improper integral. Let’s eschew using limits for a moment and proceed without recognizing the improper nature of the integral. This leads to:
    \begin{align*} \int_{-1}^1\frac1{x^2}\, dx \amp = -\frac1x\Big|_{-1}^1\\ \amp = -1 - (1)\\ \amp =-2. \,(!) \end{align*}
    Graph of function f(x) = 1/x^2.
    The \(y\) axis is drawn from \(-1\) to \(1\) and the \(x\) axis is drawn from \(0\) to \(20\text{.}\) The graph of function \(f(x)=\frac{1}{x^2}\) is drawn in the first and the second quadrants. From left to right, in the second quadrant the function starts at \(x=-1\) a little above the \(x\) axis then it curves up sharply and runs parallel to the \(y\) axis, at \(x=-0.4\text{.}\) In the first quadrant, from left to right the function runs parallel to the \(y\) axis and declines sharply, it then bends and moves along the \(x\) axis until \(x=1\text{.}\) Between \(x=-1\) and \(x=1\) and from \(y=0\) to \(y=20\) the area within the curves is shaded.
    Figure 6.8.14. A graph of \(f(x)=\frac{1}{x^2}\) in Example 6.8.12
    Clearly the area in question is above the \(x\)-axis, yet the area is supposedly negative! Why does our answer not match our intuition? To answer this, evaluate the integral using Definition 6.8.11.
    \begin{align*} \int_{-1}^1\frac1{x^2}\, dx \amp = \lim_{t\to0^-}\int_{-1}^t \frac1{x^2}\, dx + \lim_{t\to0^+}\int_t^1\frac1{x^2}\, dx\\ \amp = \lim_{t\to0^-}-\frac1x\Big|_{-1}^t + \lim_{t\to0^+}-\frac1x\Big|_t^1\\ \amp = \lim_{t\to0^-}-\frac1t-1 + \lim_{t\to0^+} -1+\frac1t\\ \amp \Rightarrow \Big(\infty-1\Big)\,+ \,\Big(- 1+\infty\Big)\text{.} \end{align*}
    Neither limit converges hence the original improper integral diverges. The nonsensical answer we obtained by ignoring the improper nature of the integral is just that: nonsensical.

Subsection 6.8.3 Understanding Convergence and Divergence

Oftentimes we are interested in knowing simply whether or not an improper integral converges, and not necessarily the value of a convergent integral. We provide here several tools that help determine the convergence or divergence of improper integrals without integrating.
Our first tool is to understand the behavior of functions of the form \(\ds \frac1{x^p}\text{.}\)

Example 6.8.15. Improper integration of \(1/x^p\).

Determine the values of \(p\) for which \(\ds \int_1^\infty \frac1{x^p}\, dx\) converges.
Solution 1. Video solution
Solution 2.
We begin by integrating and then evaluating the limit.
\begin{align*} \int_1^\infty \frac1{x^p}\, dx \amp = \lim_{b\to\infty}\int_1^b\frac1{x^p}\, dx\\ \amp = \lim_{b\to\infty}\int_1^b x^{-p}\, dx \qquad \text{ (assume \(p\neq 1\)) }\\ \amp = \lim_{b\to\infty} \frac{1}{-p+1}x^{-p+1}\Big|_1^b\\ \amp = \lim_{b\to\infty} \frac{1}{1-p}\big(b^{1-p}-1^{1-p}\big)\text{.} \end{align*}
When does this limit converge — i.e., when is this limit not \(\infty\text{?}\) This limit converges precisely when the power of \(b\) is less than 0: when \(1-p\lt 0 \Rightarrow 1\lt p\text{.}\)
Graph of two functions 1/x^p and 1/x^q with p <1 <q.
The \(y\) and the \(x\) axes are uncalibrated except that \(1\) is marked in the middle of the \(x\) axis. There are two functions \(f(x) = 1/x^p\) and \(1/x^q\) shown in the graph. The two functions intersect when \(x=1\text{.}\) Before \(x=1\) both functions have negative slopes and decline sharply along the \(y\) axis then gently as they approach \(x=1\text{,}\) \(p<q\) hence \(1/x^p\) graph is below \(1/x^q\text{.}\) After \(x=1\text{,}\)\(1/x^p\) is above \(1/x^q\) but they are only slightly apart. There is a dashed line between the two functions.
Figure 6.8.16. Plotting functions of the form \(1/x^p\) in Example 6.8.15
Our analysis shows that if \(p \gt 1\text{,}\) then \(\ds\int_1^\infty \frac1{x^p}\, dx\) converges. When \(p\lt 1\) the improper integral diverges; we showed in Example 6.8.4 that when \(p=1\) the integral also diverges.
Figure 6.8.16 graphs \(y=1/x\) with a dashed line, along with graphs of \(y=1/x^p\text{,}\) \(p\lt 1\text{,}\) and \(y=1/x^q\text{,}\) \(q \gt 1\text{.}\) Somehow the dashed line forms a dividing line between convergence and divergence.
The result of Example 6.8.15 provides an important tool in determining the convergence of other integrals. A similar result is proved in the exercises about improper integrals of the form \(\ds \int_0^1\frac1{x^p}\, dx\text{.}\) These results are summarized in the following Key Idea.

Key Idea 6.8.17. Convergence of Improper Integrals involving \(1/x^p\).

  1. The improper integral \(\ds \int_1^\infty\frac1{x^p}\, dx\) converges when \(p\gt 1\) and diverges when \(p\leq 1\text{.}\)
  2. The improper integral \(\ds \int_0^1\frac1{x^p}\, dx\) converges when \(p\lt 1\) and diverges when \(p\geq 1\text{.}\)
A basic technique in determining convergence of improper integrals is to compare an integrand whose convergence is unknown to an integrand whose convergence is known. We often use integrands of the form \(1/x^p\) to compare to as their convergence on certain intervals is known. This is described in the following theorem.

Example 6.8.19. Determining convergence of improper integrals.

Determine the convergence of the following improper integrals.
  1. \(\displaystyle \int_1^\infty e^{-x^2}\, dx\)
  2. \(\displaystyle \int_3^\infty \frac{1}{\sqrt{x^2-x}}\, dx\)
Solution 1. Video solution
Solution 2.
  1. The function \(f(x) = e^{-x^2}\) does not have an antiderivative expressible in terms of elementary functions, so we cannot integrate directly. It is comparable to \(g(x)=1/x^2\text{,}\) and as demonstrated in Figure 6.8.20, \(e^{-x^2} \lt 1/x^2\) on \([1,\infty)\text{.}\) We know from Key Idea 6.8.17 that \(\ds \int_1^\infty \frac{1}{x^2}\, dx\) converges, hence \(\ds\int_1^\infty e^{-x^2}\, dx\) also converges.
    Graph of two functions e to the power negative x^2 and 1/x^2.
    The \(y\) axis is drawn from \(0\) to \(1\) and the \(x\) axis is drawn from \(0\) to \(4\text{.}\) There are two functions drawn \(f(x) = e^{-x^2}\) and \(f(x)= 1/x^2\text{.}\) The function \(e\) appears to start from \((1,0.4)\) then decreases and merges with the \(x\) axis after \(x=2\text{.}\) The function \(1/x^2\) is above the function \(e^{-x^2}\text{,}\) it starts from point \((1,1)\) and curves down and appears to be parallel to the \(x\) axis after \(x=3\text{.}\)
    Figure 6.8.20. Graphs of \(f(x) = e^{-x^2}\) and \(f(x)= 1/x^2\) in Example 6.8.19
  2. Note that for large values of \(x\text{,}\) \(\ds \frac{1}{\sqrt{x^2-x}} \approx \frac{1}{\sqrt{x^2}} =\frac{1}{x}\text{.}\) We know from Key Idea 6.8.17 and the subsequent note that \(\ds \int_3^\infty \frac1x\, dx\) diverges, so we seek to compare the original integrand to \(1/x\text{.}\) It is easy to see that when \(x \gt 0\text{,}\) we have \(x = \sqrt{x^2} \gt \sqrt{x^2-x}\text{.}\) Taking reciprocals reverses the inequality, giving
    \begin{equation*} \frac1x \lt \frac1{\sqrt{x^2-x}}\text{.} \end{equation*}
    Using Theorem 6.8.18, we conclude that since \(\ds\int_3^\infty\frac1x\, dx\) diverges, \(\ds\int_3^\infty\frac1{\sqrt{x^2-x}}\, dx\) diverges as well. Figure 6.8.21 illustrates this.
    Graph of the two functions used in this example.
    The \(y\) axis is drawn from \(0\) to \(0.4\) and the \(x\) axis is drawn from \(0 \) to \(6\text{.}\) Two functions \(f(x)=1/x\) and \(f(x) = 1/\sqrt{x^2-x}\) are drawn. At \(x=3\text{,}\) the function \(1/x\) starts at \(y=3.33\) then curves down with a negative slope. The function \(f(x) = 1/\sqrt{x^2-x}\) at \(x=3\) starts at \(y=0.41\) and also curves down with a negative slope. The function \(1/x\) is below function \(f(x) = 1/\sqrt{x^2-x}\) they are comparatively more apart at \(x=3\) than at \(x=6\text{.}\)
    Figure 6.8.21. Graphs of \(f(x) = 1/\sqrt{x^2-x}\) and \(f(x)= 1/x\) in Example 6.8.19
Being able to compare “unknown” integrals to “known” integrals is very useful in determining convergence. However, some of our examples were a little “too nice.” For instance, it was convenient that \(\ds \frac{1}x \lt \frac{1}{\sqrt{x^2-x}}\text{,}\) but what if the “\(-x\)” were replaced with a “\(+2x+5\)”? That is, what can we say about the convergence of \(\ds \int_3^\infty\frac{1}{\sqrt{x^2+2x+5}}\, dx\text{?}\) We have \(\ds \frac{1}{x} \gt \frac1{\sqrt{x^2+2x+5}}\text{,}\) so we cannot use Theorem 6.8.18.
In cases like this (and many more) it is useful to employ the following theorem.

Example 6.8.23. Determining convergence of improper integrals.

Determine the convergence of \(\ds \int_3^{\infty} \frac{1}{\sqrt{x^2+2x+5}}\, dx\text{.}\)
Solution 1. Video solution
Solution 2.
As \(x\) gets large, the denominator of the integrand will begin to behave much like \(y=x\text{.}\) So we compare \(\ds\frac{1}{\sqrt{x^2+2x+5}}\) to \(\ds\frac1x\) with the Limit Comparison Test:
\begin{equation*} \lim_{x\to\infty} \frac{1/\sqrt{x^2+2x+5}}{1/x} = \lim_{x\to\infty}\frac{x}{\sqrt{x^2+2x+5}}\text{.} \end{equation*}
The immediate evaluation of this limit returns \(\infty/\infty\text{,}\) an indeterminate form. Using L’Hospital’s Rule seems appropriate, but in this situation, it does not lead to useful results. (We encourage the reader to employ L’Hospital’s Rule at least once to verify this.)
The trouble is the square root function. To get rid of it, we employ the following fact: If \(\lim\limits_{x\to c} f(x) = L\text{,}\) then \(\lim\limits_{x\to c} f(x)^2 = L^2\text{.}\) (This is true when either \(c\) or \(L\) is \(\infty\text{.}\)) So we consider now the limit
\begin{equation*} \lim_{x\to\infty} \frac{x^2}{x^2+2x+5}\text{.} \end{equation*}
This converges to 1, meaning the original limit also converged to 1. As \(x\) gets very large, the function \(\ds\frac{1}{\sqrt{x^2+2x+5}}\) looks very much like \(\ds\frac1x\text{.}\) Since we know that \(\ds\int_3^{\infty} \frac1x\, dx\) diverges, by the Limit Comparison Test we know that \(\ds\int_3^\infty\frac{1}{\sqrt{x^2+2x+5}}\, dx\) also diverges. Figure 6.8.24 graphs \(f(x)=1/\sqrt{x^2+2x+5}\) and \(f(x)=1/x\text{,}\) illustrating that as \(x\) gets large, the functions become indistinguishable.
Graph of the two functions used in this example.
The \(y\) axis is drawn from \(-0.1\) to \(0.3\) and the \(x\) axis is drawn from \(0\) to \(20\text{.}\) Two functions are drawn \(f(x)= 1/x\) and \(f(x)=\frac{1}{\sqrt{x^2+2x+5}}\text{.}\) The function \(f(x)=\frac{1}{\sqrt{x^2+2x+5}}\) is drawn below \(1/x\text{.}\) Both functions have negative slopes, they are apart by a small distance around x=4, after \(x=10\) they come very close and almost coincide.
Figure 6.8.24. Graphing \(f(x)=\frac{1}{\sqrt{x^2+2x+5}}\) and \(f(x)=\frac1x\) in Example 6.8.23
Both the Direct and Limit Comparison Tests were given in terms of integrals over an infinite interval. There are versions that apply to improper integrals with an infinite range, but as they are a bit wordy and a little more difficult to employ, they are omitted from this text.
This chapter has explored many integration techniques. We learned Substitution, which “undoes” the Chain Rule of differentiation, as well as Integration by Parts, which “undoes” the Product Rule. We learned specialized techniques for handling trigonometric functions and introduced the hyperbolic functions, which are closely related to the trigonometric functions. All techniques effectively have this goal in common: rewrite the integrand in a new way so that the integration step is easier to see and implement.
As stated before, integration is, in general, hard. It is easy to write a function whose antiderivative is impossible to write in terms of elementary functions, and even when a function does have an antiderivative expressible by elementary functions, it may be really hard to discover what it is. The powerful computer algebra system Mathematica™ has approximately 1,000 pages of code dedicated to integration.
Do not let this difficulty discourage you. There is great value in learning integration techniques, as they allow one to manipulate an integral in ways that can illuminate a concept for greater understanding. There is also great value in understanding the need for good numerical techniques: the Trapezoidal and Simpson’s Rules are just the beginning of powerful techniques for approximating the value of integration.
The next chapter stresses the uses of integration. We generally do not find antiderivatives for antiderivative’s sake, but rather because they provide the solution to some type of problem. The following chapter introduces us to a number of different problems whose solution is provided by integration.

Exercises 6.8.4 Exercises

Terms and Concepts

1.
The definite integral was defined with what two stipulations?
2.
If \(\lim\limits_{b\to \infty} \int_0^b f(x)\, dx\) exists, then the integral \(\ds \int_0^\infty f(x)\, dx\) is said to .
3.
If \(\ds \int_1^\infty f(x)\, dx=10\text{,}\) and \(0\leq g(x)\leq f(x)\) for all \(x\text{,}\) then we know that \(\ds \int_1^\infty g(x)\, dx\) .
4.
For what values of \(p\) will \(\ds \int_1^\infty \frac1{x^p}\, dx\) converge?
  1. \(\displaystyle p\lt 1\)
  2. \(\displaystyle p\leq 1\)
  3. \(\displaystyle p\gt 1\)
  4. \(\displaystyle p\geq 1\)
5.
For what values of \(p\) will \(\ds \int_{10}^\infty \frac1{x^p}\, dx\) converge?
  1. \(\displaystyle p\lt 1\)
  2. \(\displaystyle p\leq 1\)
  3. \(\displaystyle p\gt 1\)
  4. \(\displaystyle p\geq 1\)
6.
For what values of \(p\) will \(\ds \int_{0}^1 \frac1{x^p}\, dx\) converge?
  1. \(\displaystyle p\lt 1\)
  2. \(\displaystyle p\leq 1\)
  3. \(\displaystyle p\gt 1\)
  4. \(\displaystyle p\geq 1\)

Problems

Exercise Group.
In the following exercises, evaluate the given improper integral.
7.
\(\ds \int_0^\infty {e^{5-2x}}\, dx\)
8.
\(\ds \int_1^\infty {\frac{1}{x^{3}}}\, dx\)
9.
\(\ds \int_1^\infty {x^{-4}}\, dx\)
10.
\(\ds \int_{-\infty}^\infty {\frac{1}{x^{2}+9}}\, dx\)
11.
\(\ds \int_{-\infty}^0 {2^{x}}\, dx\)
12.
\(\ds \int_{-\infty}^0 {0.5^{x}}\, dx\)
13.
\(\ds \int_{-\infty}^\infty {\frac{x}{x^{2}+1}}\, dx\)
14.
\(\ds \int_{3}^\infty {\frac{x}{x^{2}-4}}\, dx\)
15.
\(\ds \int_{2}^\infty{\frac{1}{\left(x-1\right)^{2}}}\, dx\)
16.
\(\ds \int_{1}^2{\frac{1}{\left(x-1\right)^{2}}}\, dx\)
17.
\(\ds \int_{2}^\infty{\frac{1}{x-1}}\, dx\)
18.
\(\ds \int_{1}^2{\frac{1}{x-1}}\, dx\)
19.
\(\ds \int_{-1}^1 {\frac{1}{x}}\, dx\)
20.
\(\ds \int_{1}^3{\frac{1}{x-2}}\, dx\)
21.
\(\ds \int_{0}^\pi {\sec^{2}\mathopen{}\left(x\right)}\, dx\)
22.
\(\ds \int_{-2}^1 {\frac{1}{\sqrt{\left|x\right|}}}\, dx\)
23.
\(\ds \int_{0}^\infty {xe^{-x}}\, dx\)
24.
\(\ds \int_{0}^\infty {xe^{-x^{2}}}\, dx\)
25.
\(\ds \int_{-\infty}^\infty {xe^{-x^{2}}}\, dx\)
26.
\(\ds \int_{-\infty}^\infty {\frac{1}{e^{x}+e^{-x}}}\, dx\)
27.
\(\ds \int_{0}^1 {x\ln\mathopen{}\left(x\right)}\, dx\)
28.
\(\ds \int_{0}^1 {x^{2}\ln\mathopen{}\left(x\right)}\, dx\)
29.
\(\ds \int_{1}^\infty {\frac{\ln\mathopen{}\left(x\right)}{x}}\, dx\)
30.
\(\ds \int_{0}^1 {\ln\mathopen{}\left(x\right)}\, dx\)
31.
\(\ds \int_{1}^\infty {\frac{\ln\mathopen{}\left(x\right)}{x^{2}}}\, dx\)
32.
\(\ds \int_{1}^\infty {\frac{\ln\mathopen{}\left(x\right)}{\sqrt{x}}}\, dx\)
33.
\(\ds \int_{0}^\infty {e^{-x}\sin\mathopen{}\left(x\right)}\, dx\)
34.
\(\ds \int_{0}^\infty {e^{-x}\cos\mathopen{}\left(x\right)}\, dx\)
Exercise Group.
In the following exercises, use the Direct Comparison Test or the Limit Comparison Test to determine whether the given definite integral converges or diverges. Clearly state what test is being used and what function the integrand is being compared to.
35.
\(\ds \int_{10}^\infty \frac{3}{\sqrt{3x^2+2x-5}} \, dx\)
Using the
  • Direct Comparison Test
  • Limit Comparison Test
we know this integral
  • converges
  • diverges
by comparing it with the function \(f(x) =\)
36.
\(\ds \int_{2}^\infty \frac{4}{\sqrt{7x^3-x}} \, dx\)
Using the
  • Direct Comparison Test
  • Limit Comparison Test
we know this integral
  • converges
  • diverges
by comparing it with the function \(f(x) =\)
37.
\(\ds \int_{0}^\infty \frac{\sqrt{x+3}}{\sqrt{x^3-x^2+x+1}} \, dx\)
Using the
  • Direct Comparison Test
  • Limit Comparison Test
we know this integral
  • converges
  • diverges
by comparing it with the function \(f(x) =\)
38.
\(\ds \int_{1}^\infty e^{-x}\ln(x) \, dx\)
Using the
  • Direct Comparison Test
  • Limit Comparison Test
we know this integral
  • converges
  • diverges
by comparing it with the function \(f(x) =\)
39.
\(\ds \int_{5}^\infty e^{-x^2+3x+1} \, dx\)
Using the
  • Direct Comparison Test
  • Limit Comparison Test
we know this integral
  • converges
  • diverges
by comparing it with the function \(f(x) =\)
40.
\(\ds \int_{0}^\infty \frac{\sqrt{x}}{e^x} \, dx\)
Using the
  • Direct Comparison Test
  • Limit Comparison Test
we know this integral
  • converges
  • diverges
by comparing it with the function \(f(x) =\)
41.
\(\ds \int_{2}^\infty \frac{1}{x^2+\sin(x) } \, dx\)
Using the
  • Direct Comparison Test
  • Limit Comparison Test
we know this integral
  • converges
  • diverges
by comparing it with the function \(f(x) =\)
42.
\(\ds \int_{0}^\infty \frac{x}{x^2+\cos(x) } \, dx\)
Using the
  • Direct Comparison Test
  • Limit Comparison Test
we know this integral
  • converges
  • diverges
by comparing it with the function \(f(x) =\)
43.
\(\ds \int_{0}^\infty \frac{1}{x+e^x} \, dx\)
Using the
  • Direct Comparison Test
  • Limit Comparison Test
we know this integral
  • converges
  • diverges
by comparing it with the function \(f(x) =\)
44.
\(\ds \int_{0}^\infty \frac{1}{e^x-x} \, dx\)
Using the
  • Direct Comparison Test
  • Limit Comparison Test
we know this integral
  • converges
  • diverges
by comparing it with the function \(f(x) =\)
You have attempted of activities on this page.