Skip to main content
Mathematics LibreTexts

6.5: Improper Integrals

  • Page ID
    107835
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Motivating Questions
    • What are improper integrals and why are they important?
    • What does it mean to say that an improper integral converges or diverges?
    • What are some typical improper integrals that we can classify as convergent or divergent?

    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

    \[ \int_a^b 0.3 e^{-0.3t} \, dt\text{.} \nonumber \]

    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 & = -e^{-0.3t} \bigg \vert_2^3\\[4pt] & = -e^{-0.9} + e^{-0.6}\\[4pt] & \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 \(\PageIndex{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

    \[ \int_a^b p(t) \, dt\text{.} \nonumber \]

    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?

    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

    \[ \lim_{b \to \infty} \int_0^b 0.3e^{-0.3t} \, dt\text{,} \nonumber \]

    for which we will also use the notation

    \[ \int_0^\infty 0.3e^{-0.3t} \, dt\text{.}\label{OFm}\tag{\(\PageIndex{1}\)} \]

    Such an integral can be interpreted as the area of an unbounded region, as pictured at right in Figure \(\PageIndex{1}\).

    6_5_InfReg.svg

    Figure \(\PageIndex{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

    \[ \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 \nonumber \]

    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,

    \[ \int_0^\infty f(x) \, dx = \lim_{b \to \infty} \int_0^b f(x) \,dx\text{.} \nonumber \]

    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 \(\PageIndex{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
        \[ \lim_{b \to \infty} \int_1^{b} \frac{1}{x} \, dx\text{.} \nonumber \]
    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
        \[ \lim_{b \to \infty} \int_1^{b} \frac{1}{x^{3/2}} \, dx\text{.} \nonumber \]
    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{?}\)

    Convergence and Divergence

    Activity \(\PageIndex{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.

    Note

    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

    \[ \lim_{b \to \infty} \int_a^{b} f(x) \, dx \nonumber \]

    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 \(\PageIndex{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

    Improper Integrals Involving Unbounded Integrands

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

    \[ \int_0^1 \frac{1}{\sqrt{x}} \, dx\text{.} \nonumber \]

    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 \(\PageIndex{2}\).

    6_5_InfIntegrand.svg

    Figure \(\PageIndex{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,

    \[ \int_0^1 \frac{1}{\sqrt{x}} \, dx = \lim_{a \to 0^+} \int_a^1 \frac{1}{\sqrt{x}} \, dx\text{.} \nonumber \]

    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\\[4pt] &= \lim_{a \to 0^+} \left. 2\sqrt{x}\, \right\vert_a^1\\[4pt] &= \lim_{a \to 0^+} 2\sqrt{1} - 2\sqrt{a}\\[4pt] &= 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

    \[ \int_1^3 \frac{1}{(x-2)^2} \, dx\text{.} \nonumber \]

    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 \(\PageIndex{3}\).

    6_5_InfIntegrand2.svg

    Figure \(\PageIndex{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

    \[ \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{.} \nonumber \]

    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\\[4pt] &= \lim_{a \to 2^-} -\frac{1}{(x-2)} \bigg\vert_1^a\\[4pt] &= \lim_{a \to 2^-} -\frac{1}{(a-2)} + \frac{1}{1-2}\\[4pt] &= \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 \(\PageIndex{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\)

    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
      \[ \int_a^\infty f(x) \, dx = \lim_{b \to \infty} \int_a^b f(x) \, dx\text{,} \nonumber \]

      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
      \[ \int_1^{\infty} \frac{1}{x^p} \, dx \nonumber \]

      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{.}\)


    This page titled 6.5: Improper Integrals is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Matthew Boelkins, David Austin & Steven Schlicker (ScholarWorks @Grand Valley State University) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.