8 Techniques of Integration

8.6 Improper Integration

We begin this section by considering the following definite integrals:

  • 010011+x2𝑑x1.5608,

  • 0100011+x2𝑑x1.5698,

  • 010,00011+x2𝑑x1.5707.

Notice how the integrand is 1/(1+x2) in each integral (which is sketched in Figure 8.6.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:

0b11+x2𝑑x=tan-1x|0b=tan-1b-tan-10=tan-1b.

As b, tan-1bπ/2. Therefore it seems that as the upper bound b grows, the value of the definite integral 0b11+x2𝑑x approaches π/21.5708. 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.

margin:

5

10

0.5

1

x

y
Figure 8.6.1: Graphing f(x)=11+x2.

When we defined the definite integral abf(x)𝑑x, we made two stipulations:

  1. 1.

    The interval over which we integrated, [a,b], was a finite interval, and

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

Improper Integrals with Infinite Bounds

Definition 8.6.1      Improper Integrals with Infinite Bounds
  1. 1.

    Let f be a continuous function on [a,). For ta let

    af(x)𝑑x=limtatf(x)𝑑x.
  2. 2.

    Let f be a continuous function on (-,b]. For tb let

    -bf(x)𝑑x=limt-tbf(x)𝑑x.
  3. 3.

    Let f be a continuous function on (-,). For any real number c (which one doesn’t matter), let

    -f(x)𝑑x=lima-acf(x)𝑑x+limbcbf(x)𝑑x.

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 8.6.1 Evaluating improper integrals

Evaluate the following improper integrals.
1. 11x2𝑑x 2. 11x𝑑x 3. -0ex𝑑x 4. -11+x2𝑑x

Solution

  1. 1.


    margin:

    f(x)=1x2

    1

    5

    10

    0.5

    1

    x

    y
    Figure 8.6.2: A graph of f(x)=1x2 inExample 8.6.1 part 1.

    11x2𝑑x =limt1t1x2𝑑x
    =limt-1x|1t
    =limt-1t+1
    =1.

    A graph of the area defined by this integral is given in Figure 8.6.2.

  2. 2.


    margin:

    f(x)=1x2

    1

    5

    10

    0.5

    1

    x

    y
    Figure 8.6.3: A graph of f(x)=1x inExample 8.6.1 part 2.

    11x𝑑x =limt1t1x𝑑x
    =limtln|x||1t
    =limtln(t)
    =.

    The limit does not exist, hence the improper integral 11x𝑑x diverges. Compare the graphs in Figures 8.6.2 and 8.6.3; notice how the values of f(x)=1/x are noticeably larger than those of f(x)=1/x2. This difference is enough to cause the improper integral to diverge.

  3. 3.


    margin:

    f(x)=ex

    -1

    -5

    -10

    1

    x

    y
    Figure 8.6.4: A graph of f(x)=ex inExample 8.6.1 part 3.

    -0ex𝑑x =limt-t0ex𝑑x
    =limt-ex|t0
    =limt-(e0-et)
    =1.

    A graph of the area defined by this integral is given in Figure 8.6.4.

  4. 4.

    We will need to break this into two improper integrals and choose a value of c as in part 3 of Definition 8.6.1. Any value of c is fine; we choose c=0. margin:

    f(x)=11+x2

    -10

    -5

    5

    10

    1

    x

    y
    Figure 8.6.5: A graph of f(x)=11+x2 in Example 8.6.1 part 4.

    -11+x2𝑑x =limt-t011+x2𝑑x+limt0t11+x2𝑑x
    =limt-tan-1x|t0+limttan-1x|0t
    =limt-(tan-10-tan-1t)+limt(tan-1t-tan-10)
    =(0--π2)+(π2-0).
    =π.

    A graph of the area defined by this integral is given in Figure 8.6.5.

Section 7.5 introduced L’Hôpital’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 8.6.2 Improper integration and L’Hôpital’s Rule

Evaluate the improper integral 1lnxx2𝑑x.

SolutionThis integral will require the use of Integration by Parts. Let u=lnx and dv=1/x2dx. Then margin:

f(x)=lnxx2

1

5

10

0.2

0.4

x

y
Figure 8.6.6: A graph of f(x)=lnxx2 in Example 8.6.2.

1lnxx2𝑑x =limt1tlnxx2𝑑x
=limt(-lnxx|1t+1t1x2𝑑x)
=limt(-lnxx-1x)|1t
=limt(-lntt-1t-(-ln1-1)).

The 1/t goes to 0, and ln1=0, leaving limtlntt with L’Hôpital’s Rule. We have:

limtlntt=by LHRlimt1/t1=0.

Thus the improper integral evaluates as:

1lnxx2𝑑x=1.

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 8.6.2      Improper Integration with Infinite Range

Let f(x) be a continuous function on [a,b] except at c, acb, where x=c is a vertical asymptote of f. Define

abf(x)𝑑x=limtc-atf(x)𝑑x+limtc+tbf(x)𝑑x.

Note that c can be one of the endpoints (a or b). In that case, there is only one limit to consider as part of the definition.

Example 8.6.3 Improper integration of functions with infinite range

Evaluate the following improper integrals:

1. 011x𝑑x    2. -111x2𝑑x.

Solution

  1. 1.

    A graph of f(x)=1/x is given in Figure 8.6.7. margin:

    f(x)=1x

    0.5

    1

    5

    10

    x

    y
    Figure 8.6.7: A graph of f(x)=1x in Example 8.6.3.
    Notice that f has a vertical asymptote at x=0. In some sense, we are trying to compute the area of a region that has no “top.” Could this have a finite value?

    011x𝑑x =limt0+t11x𝑑x
    =limt0+2x|t1
    =limt0+2(1-t)
    =2.

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

  2. 2.

    The function f(x)=1/x2 has a vertical asymptote at x=0, as shown in Figure 8.6.8, 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:

    -111x2𝑑x =-1x|-11
    =-1-(1)
    =-2.
    margin:

    f(x)=1x2

    -1

    -0.5

    0.5

    1

    5

    10

    x

    y
    Figure 8.6.8: A graph of f(x)=1x2 in Example 8.6.3.

    Clearly the area in question is above the x-axis, yet the area is supposedly negative. In this example we noted the discontinuity of the integrand on [-1,1] (its improper nature) but continued anyway to apply the Fundamental Theorem of Calculus. Violating the hypothesis of the FTC led us to an incorrect area of -2. If we now evaluate the integral using Definition 8.6.2 we will see that the area is unbounded.

    -111x2𝑑x =limt0--1t1x2𝑑x+limt0+t11x2𝑑x
    =limt0--1x|-1t+limt0+-1x|t1
    =limt0-(-1t-1)+limt0+(-1+1t).

    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.

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 knowing the behavior of functions of the form 1xp.

Example 8.6.4 Improper integration of 1/xp

Determine the values of p for which 11xp𝑑x converges.

SolutionWe begin by integrating and then evaluating the limit.

11xp𝑑x =limt1t1xp𝑑x
=limt1tx-p𝑑x  (assume p1)
=limt1-p+1x-p+1|1t
=limt11-p(t1-p-11-p).
margin:

f(x)=1xq

f(x)=1xp

p<1<q

1

x

y
Figure 8.6.9: Plotting functions of the form 1/xp in Example 8.6.4.

When does this limit converge — i.e., when is this limit not ? This limit converges precisely when the power of t is less than 0: when 1-p<01<p.

Our analysis shows that if p>1, then 11xp𝑑x converges. When p<1 the improper integral diverges; we showed in Example 8.6.1 that when p=1 the integral also diverges.

Figure 8.6.9 graphs y=1/x with a dashed line, along with graphs of y=1/xp, p<1, and y=1/xq, q>1. Somehow the dashed line forms a dividing line between convergence and divergence.

The result of Example 8.6.4 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 011xp𝑑x. These results are summarized in the following Key Idea.

Key Idea 8.6.1      Convergence of Improper Integrals 11xp𝑑x and 011xp𝑑x.
  1. 1.

    The improper integral 11xp𝑑x converges when p>1 and diverges when p1.

  2. 2.

    The improper integral 011xp𝑑x converges when p<1 and diverges when p1.

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/xp in comparisons as their convergence on certain intervals is known. This is described in the following theorem.

margin: Note: We used the upper and lower bound of “1” in Key Idea 8.6.1 for convenience. It can be replaced by any a where a>0.
Theorem 8.6.1      Direct Comparison Test for Improper Integrals

Let f and g be continuous on [a,) where 0f(x)g(x) for all x in [a,).

  1. 1.

    If ag(x)𝑑x converges, then af(x)𝑑x converges.

  2. 2.

    If af(x)𝑑x diverges, then ag(x)𝑑x diverges.

Example 8.6.5 Determining convergence of improper integrals

Determine the convergence of the following improper integrals.

1. 1e-x2𝑑x    2. 31x2-x𝑑x

Solution

  1. 1.

    The function f(x)=e-x2 does not have an antiderivative expressible in terms of elementary functions, so we cannot integrate directly. It is comparable to g(x)=1/x2, and as demonstrated in Figure 8.6.10, e-x2<1/x2 on [1,). We know from Key Idea 8.6.1 that 11x2𝑑x converges, hence 1e-x2𝑑x also converges.

    margin:

    f(x)=e-x2

    f(x)=1x2

    1

    2

    3

    4

    0.5

    1

    x

    y
    Figure 8.6.10: Graphs of f(x)=e-x2 and f(x)=1/x2 in Example 8.6.5.
  2. 2.

    Note that for large values of x, 1x2-x1x2=1x. We know from Key Idea 8.6.1 and the subsequent note that 31x𝑑x diverges, so we seek to compare the original integrand to 1/x.

    It is easy to see that when x>0, we have x=x2>x2-x. Taking reciprocals reverses the inequality, giving

    1x<1x2-x.

    Using Theorem 8.6.1, we conclude that since 31x𝑑x diverges, 31x2-x𝑑x diverges as well. Figure 8.6.11 illustrates this.

    margin:

    f(x)=1x2-x

    f(x)=1x

    2

    4

    6

    0.2

    0.4

    x

    y
    Figure 8.6.11: Graphs of f(x)=1/x2-x and f(x)=1/x in Example 8.6.5.

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 1x<1x2-x, but what if the “-x” were replaced with a “+2x+5”? That is, what can we say about the convergence of 31x2+2x+5𝑑x? We have 1x>1x2+2x+5, so we cannot use Theorem 8.6.1.

In cases like this (and many more) it is useful to employ the following theorem.

Theorem 8.6.2      Limit Comparison Test for Improper Integrals

Let f and g be continuous functions on [a,) where f(x)>0 and g(x)>0 for all x. If

limxf(x)g(x)=L,0<L<,

then

af(x)𝑑xandag(x)𝑑x

either both converge or both diverge.

Example 8.6.6 Determining convergence of improper integrals

Determine the convergence of 31x2+2x+5𝑑x.

SolutionAs x gets large, the square root of a quadratic function will begin to behave much like y=x. So we compare 1x2+2x+5 to 1x with the Limit Comparison Test:

limx1/x2+2x+51/x=limxxx2+2x+5.

The immediate evaluation of this limit returns /, an indeterminate form. Using L’Hôpital’s Rule seems appropriate, but in this situation, it does not lead to useful results. (We encourage the reader to employ L’Hôpital’s Rule at least once to verify this.)

The trouble is the square root function. We determine the limit by using a technique we learned in Calculus I: margin:

f(x)=1x

f(x)=1x2+2x+5

5

10

15

20

0.2

x

y
Figure 8.6.12: Graphing f(x)=1x2+2x+5 and f(x)=1x in Example 8.6.6.

limxxx2+2x+5=limxxxx2+2x+5x2=limx11+2x+5x2=1

Since we know that 31x𝑑x diverges, by the Limit Comparison Test we know that 31x2+2x+5𝑑x also diverges. Figure 8.6.12 graphs f(x)=1/x2+2x+5 and f(x)=1/x, illustrating that as x gets large, the functions become indistinguishable.

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 Integration by Parts, which reverses the Product Rule of differentiation. We also learned specialized techniques for handling trigonometric and rational 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.

Exercises 8.6

 

Terms and Concepts

  1. 1.

    The definite integral was defined with what two stipulations?

  2. 2.

    If limb0bf(x)𝑑x exists, then the integral 0f(x)𝑑x is said to                          .

  3. 3.

    If 1f(x)𝑑x=10, and 0g(x)f(x) for all x, then we know that 1g(x)𝑑x                          .

  4. 4.

    For what values of p will 11xp𝑑x converge?

  5. 5.

    For what values of p will 101xp𝑑x converge?

  6. 6.

    For what values of p will 011xp𝑑x converge?

Problems

In Exercises 7–36, evaluate the given improper integral.

  1. 7.

    0e5-2x𝑑x

  2. 8.

    11x3𝑑x

  3. 9.

    1x-4𝑑x

  4. 10.

    -1x2+9𝑑x

  5. 11.

    -02x𝑑x

  6. 12.

    -0(12)x𝑑x

  7. 13.

    -xx2+1𝑑x

  8. 14.

    -xx2+4𝑑x

  9. 15.

    21(x-1)2𝑑x

  10. 16.

    121(x-1)2𝑑x

  11. 17.

    21x-1𝑑x

  12. 18.

    121x-1𝑑x

  13. 19.

    031x𝑑x

  14. 20.

    -111x𝑑x

  15. 21.

    25dxx-2

  16. 22.

    19dx9-x3

  17. 23.

    131x-2𝑑x

  18. 24.

    0πsec2xdx

  19. 25.

    0π2secxdx

  20. 26.

    -211|x|𝑑x

  21. 27.

    0xe-x𝑑x

  22. 28.

    0xe-x2𝑑x

  23. 29.

    -xe-x2𝑑x

  24. 30.

    -1ex+e-x𝑑x

  25. 31.

    01xlnxdx

  26. 32.

    1lnxx𝑑x

  27. 33.

    01lnxdx

  28. 34.

    1lnxx2𝑑x

  29. 35.

    1lnxx𝑑x

  30. 36.

    0e-xsinxdx

In Exercises 37–46, 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.

  1. 37.

    1033x2+2x-5𝑑x

  2. 38.

    247x3-x𝑑x

  3. 39.

    0x+3x3-x2+x+1𝑑x

  4. 40.

    1e-xlnxdx

  5. 41.

    5e-x2+3x+1𝑑x

  6. 42.

    0xex𝑑x

  7. 43.

    21x2+sinx𝑑x

  8. 44.

    0xx2+cosx𝑑x

  9. 45.

    01x+ex𝑑x

  10. 46.

    01ex-x𝑑x

Omni CMS