Skills Review for Improper Integrals

Learning Outcomes

  • Calculate the limit of a function as 𝑥 increases or decreases without bound
  • Recognize when to apply L’Hôpital’s rule
  • Identify indeterminate forms produced by quotients, products, subtractions, and powers, and apply L’Hôpital’s rule in each case

In the Improper Integrals section, we will be faced with evaluating integrals that contain bounds that are either infinite or where the function we are integrating is undefined. As a result, here we will review how to find limits of functions at infinity and apply L’Hopital’s Rule.

Limits at Infinity

Recall that [latex]\underset{x \to a}{\lim}f(x)=L[/latex] means [latex]f(x)[/latex] becomes arbitrarily close to [latex]L[/latex] as long as [latex]x[/latex] is sufficiently close to [latex]a[/latex]. We can extend this idea to limits at infinity. For example, consider the function [latex]f(x)=2+\frac{1}{x}[/latex]. As can be seen graphically below, as the values of [latex]x[/latex] get larger, the values of [latex]f(x)[/latex] approach 2. We say the limit as [latex]x[/latex] approaches [latex]\infty[/latex] of [latex]f(x)[/latex] is 2 and write [latex]\underset{x\to \infty }{\lim}f(x)=2[/latex]. Similarly, for [latex]x<0[/latex], as the values [latex]|x|[/latex] get larger, the values of [latex]f(x)[/latex] approaches 2. We say the limit as [latex]x[/latex] approaches [latex]−\infty[/latex] of [latex]f(x)[/latex] is 2 and write [latex]\underset{x\to a}{\lim}f(x)=2[/latex].

The function f(x) 2 + 1/x is graphed. The function starts negative near y = 2 but then decreases to −∞ near x = 0. The function then decreases from ∞ near x = 0 and gets nearer to y = 2 as x increases. There is a horizontal line denoting the asymptote y = 2.

The function approaches the asymptote [latex]y=2[/latex] as [latex]x[/latex] approaches [latex]\pm \infty[/latex].

More generally, for any function [latex]f[/latex], we say the limit as [latex]x \to \infty[/latex] of [latex]f(x)[/latex] is [latex]L[/latex] if [latex]f(x)[/latex] becomes arbitrarily close to [latex]L[/latex] as long as [latex]x[/latex] is sufficiently large. In that case, we write [latex]\underset{x\to \infty}{\lim}f(x)=L[/latex]. Similarly, we say the limit as [latex]x\to −\infty[/latex] of [latex]f(x)[/latex] is [latex]L[/latex] if [latex]f(x)[/latex] becomes arbitrarily close to [latex]L[/latex] as long as [latex]x<0[/latex] and [latex]|x|[/latex] is sufficiently large. In that case, we write [latex]\underset{x\to −\infty }{\lim}f(x)=L[/latex]. We now look at the definition of a function having a limit at infinity.

Definition


(Informal) If the values of [latex]f(x)[/latex] become arbitrarily close to [latex]L[/latex] as [latex]x[/latex] becomes sufficiently large, we say the function [latex]f[/latex] has a limit at infinity and write

[latex]\underset{x\to \infty }{\lim}f(x)=L[/latex]

 

If the values of [latex]f(x)[/latex] becomes arbitrarily close to [latex]L[/latex] for [latex]x<0[/latex] as [latex]|x|[/latex] becomes sufficiently large, we say that the function [latex]f[/latex] has a limit at negative infinity and write

[latex]\underset{x\to -\infty }{\lim}f(x)=L[/latex]

 

Example: Computing Limits at Infinity

For each of the following functions [latex]f[/latex], evaluate [latex]\underset{x\to \infty }{\lim}f(x)[/latex] and [latex]\underset{x\to −\infty }{\lim}f(x)[/latex].

  1. [latex]f(x)=5-\frac{2}{x^2}[/latex]
  2. [latex]f(x)=\dfrac{\sin x}{x}[/latex]

Try It

Evaluate [latex]\underset{x\to −\infty}{\lim}\left(3+\frac{4}{x}\right)[/latex] and [latex]\underset{x\to \infty }{\lim}\left(3+\frac{4}{x}\right)[/latex].

Sometimes the values of a function [latex]f[/latex] become arbitrarily large as [latex]x\to \infty[/latex] (or as [latex]x\to −\infty )[/latex]. In this case, we write [latex]\underset{x\to \infty }{\lim}f(x)=\infty[/latex] (or [latex]\underset{x\to −\infty }{\lim}f(x)=\infty )[/latex]. On the other hand, if the values of [latex]f[/latex] are negative but become arbitrarily large in magnitude as [latex]x\to \infty[/latex] (or as [latex]x\to −\infty )[/latex], we write [latex]\underset{x\to \infty }{\lim}f(x)=−\infty[/latex] (or [latex]\underset{x\to −\infty }{\lim}f(x)=−\infty )[/latex].

For example, consider the function [latex]f(x)=x^3[/latex]. The [latex]\underset{x\to \infty }{\lim}x^3=\infty[/latex]. On the other hand, as [latex]x\to −\infty[/latex], the values of [latex]f(x)=x^3[/latex] are negative but become arbitrarily large in magnitude. Consequently, [latex]\underset{x\to −\infty }{\lim}x^3=−\infty[/latex].

Values of a power function as [latex]x\to \pm \infty[/latex]
[latex]x[/latex] 10 20 50 100 1000
[latex]x^3[/latex] 1000 8000 125,000 1,000,000 1,000,000,000
[latex]x[/latex] -10 -20 -50 -100 -1000
[latex]x^3[/latex] -1000 -8000 -125,000 -1,000,000 -1,000,000,000
The function f(x) = x3 is graphed. It is apparent that this function rapidly approaches infinity as x approaches infinity.

For this function, the functional values approach infinity as [latex]x\to \pm \infty[/latex].

Definition


(Informal) We say a function [latex]f[/latex] has an infinite limit at infinity and write

[latex]\underset{x\to \infty }{\lim}f(x)=\infty[/latex]

 

if [latex]f(x)[/latex] becomes arbitrarily large for [latex]x[/latex] sufficiently large. We say a function has a negative infinite limit at infinity and write

[latex]\underset{x\to \infty }{\lim}f(x)=−\infty[/latex]

 

if [latex]f(x)<0[/latex] and [latex]|f(x)|[/latex] becomes arbitrarily large for [latex]x[/latex] sufficiently large. Similarly, we can define infinite limits as [latex]x\to −\infty[/latex].

Apply L’Hopital’s Rule

Indeterminate Form of Type [latex]\frac{0}{0}[/latex]

L’Hôpital’s rule can be used to evaluate limits involving the quotient of two functions. Consider

[latex]\underset{x\to a}{\lim}\dfrac{f(x)}{g(x)}[/latex]

 

If [latex]\underset{x\to a}{\lim}f(x)=L_1[/latex] and [latex]\underset{x\to a}{\lim}g(x)=L_2 \ne 0[/latex], then

[latex]\underset{x\to a}{\lim}\dfrac{f(x)}{g(x)}=\dfrac{L_1}{L_2}[/latex]

 

However, what happens if [latex]\underset{x\to a}{\lim}f(x)=0[/latex] and [latex]\underset{x\to a}{\lim}g(x)=0[/latex]? We call this one of the indeterminate forms, of type [latex]\frac{0}{0}[/latex]. This is considered an indeterminate form because we cannot determine the exact behavior of [latex]\frac{f(x)}{g(x)}[/latex] as [latex]x\to a[/latex] without further analysis.

L’Hôpital’s Rule (0/0 Case)


Suppose [latex]f[/latex] and [latex]g[/latex] are differentiable functions over an open interval containing [latex]a[/latex], except possibly at [latex]a[/latex]. If [latex]\underset{x\to a}{\lim}f(x)=0[/latex] and [latex]\underset{x\to a}{\lim}g(x)=0[/latex], then

[latex]\underset{x\to a}{\lim}\dfrac{f(x)}{g(x)}=\underset{x\to a}{\lim}\dfrac{f^{\prime}(x)}{g^{\prime}(x)}[/latex],

 

assuming the limit on the right exists or is [latex]\infty[/latex] or [latex]−\infty[/latex]. This result also holds if we are considering one-sided limits, or if [latex]a=\infty[/latex] or [latex]-\infty[/latex].

Example: Applying L’Hôpital’s Rule (0/0 Case)

Evaluate each of the following limits by applying L’Hôpital’s rule.

  1. [latex]\underset{x\to 0}{\lim}\dfrac{1- \cos x}{x}[/latex]
  2. [latex]\underset{x\to 1}{\lim}\dfrac{\sin (\pi x)}{\ln x}[/latex]
  3. [latex]\underset{x\to \infty }{\lim}\dfrac{e^{\frac{1}{x}}-1}{\frac{1}{x}}[/latex]
  4. [latex]\underset{x\to 0}{\lim}\dfrac{\sin x-x}{x^2}[/latex]

Try It

Evaluate [latex]\underset{x\to 0}{\lim}\dfrac{x}{\tan x}[/latex].

Indeterminate Form of Type [latex]\frac{\infty}{\infty}[/latex]

We can also use L’Hôpital’s rule to evaluate limits of quotients [latex]\frac{f(x)}{g(x)}[/latex] in which [latex]f(x)\to \pm \infty[/latex] and [latex]g(x)\to \pm \infty[/latex]. Limits of this form are classified as indeterminate forms of type [latex]\infty / \infty[/latex]. Again, note that we are not actually dividing [latex]\infty[/latex] by [latex]\infty[/latex]. Since [latex]\infty[/latex] is not a real number, that is impossible; rather, [latex]\infty / \infty[/latex] is used to represent a quotient of limits, each of which is [latex]\infty[/latex] or [latex]−\infty[/latex].

L’Hôpital’s Rule ([latex]\infty / \infty[/latex] Case)


Suppose [latex]f[/latex] and [latex]g[/latex] are differentiable functions over an open interval containing [latex]a[/latex], except possibly at [latex]a[/latex]. Suppose [latex]\underset{x\to a}{\lim}f(x)=\infty[/latex] (or [latex]−\infty[/latex]) and [latex]\underset{x\to a}{\lim}g(x)=\infty[/latex] (or [latex]−\infty[/latex]). Then,

[latex]\underset{x\to a}{\lim}\dfrac{f(x)}{g(x)}=\underset{x\to a}{\lim}\dfrac{f^{\prime}(x)}{g^{\prime}(x)}[/latex],

 

assuming the limit on the right exists or is [latex]\infty[/latex] or [latex]−\infty[/latex]. This result also holds if the limit is infinite, if [latex]a=\infty[/latex] or [latex]−\infty[/latex], or the limit is one-sided.

Example: Applying L’Hôpital’s Rule ([latex]\infty /\infty[/latex] Case)

Evaluate each of the following limits by applying L’Hôpital’s rule.

  1. [latex]\underset{x\to \infty }{\lim}\dfrac{3x+5}{2x+1}[/latex]
  2. [latex]\underset{x\to 0^+}{\lim}\dfrac{\ln x}{\cot x}[/latex]

Try It

Evaluate [latex]\underset{x\to \infty }{\lim}\dfrac{\ln x}{5x}[/latex]

L’Hôpital’s rule is very useful for evaluating limits involving the indeterminate forms [latex]\frac{0}{0}[/latex] and [latex]\frac{\infty}{\infty}[/latex]. However, we can also use L’Hôpital’s rule to help evaluate limits involving other indeterminate forms that arise when evaluating limits. The expressions [latex]0 \cdot \infty[/latex], [latex]\infty - \infty[/latex], [latex]1^{\infty}[/latex], [latex]\infty^0[/latex], and [latex]0^0[/latex] are all considered indeterminate forms. These expressions are not real numbers. Rather, they represent forms that arise when trying to evaluate certain limits. Next we realize why these are indeterminate forms and then understand how to use L’Hôpital’s rule in these cases. The key idea is that we must rewrite the indeterminate forms in such a way that we arrive at the indeterminate form [latex]\frac{0}{0}[/latex] or [latex]\frac{\infty}{\infty}[/latex].

Indeterminate Form of Type [latex]0 \cdot \infty[/latex]

Suppose we want to evaluate [latex]\underset{x\to a}{\lim}(f(x) \cdot g(x))[/latex], where [latex]f(x)\to 0[/latex] and [latex]g(x)\to \infty[/latex] (or [latex]−\infty[/latex]) as [latex]x\to a[/latex]. Since one term in the product is approaching zero but the other term is becoming arbitrarily large (in magnitude), anything can happen to the product. We use the notation [latex]0 \cdot \infty[/latex] to denote the form that arises in this situation. The expression [latex]0 \cdot \infty[/latex] is considered indeterminate because we cannot determine without further analysis the exact behavior of the product [latex]f(x)g(x)[/latex] as [latex]x\to {a}[/latex]. For example, let [latex]n[/latex] be a positive integer and consider

[latex]f(x)=\dfrac{1}{(x^n+1)}[/latex] and [latex]g(x)=3x^2[/latex].

 

As [latex]x\to \infty[/latex], [latex]f(x)\to 0[/latex] and [latex]g(x)\to \infty[/latex]. However, the limit as [latex]x\to \infty[/latex] of [latex]f(x)g(x)=\frac{3x^2}{(x^n+1)}[/latex] varies, depending on [latex]n[/latex]. If [latex]n=2[/latex], then [latex]\underset{x\to \infty }{\lim}f(x)g(x)=3[/latex]. If [latex]n=1[/latex], then [latex]\underset{x\to \infty }{\lim}f(x)g(x)=\infty[/latex]. If [latex]n=3[/latex], then [latex]\underset{x\to \infty }{\lim}f(x)g(x)=0[/latex]. Here we consider another limit involving the indeterminate form [latex]0 \cdot \infty[/latex] and show how to rewrite the function as a quotient to use L’Hôpital’s rule.

Example: Indeterminate Form of Type [latex]0·\infty[/latex]

Evaluate [latex]\underset{x\to 0^+}{\lim}x \ln x[/latex]

Try It

Evaluate [latex]\underset{x\to 0}{\lim}x \cot x[/latex]

Indeterminate Form of Type [latex]\infty -\infty[/latex]

Another type of indeterminate form is [latex]\infty -\infty[/latex]. Consider the following example. Let [latex]n[/latex] be a positive integer and let [latex]f(x)=3x^n[/latex] and [latex]g(x)=3x^2+5[/latex]. As [latex]x\to \infty[/latex], [latex]f(x)\to \infty[/latex] and [latex]g(x)\to \infty[/latex]. We are interested in [latex]\underset{x\to \infty}{\lim}(f(x)-g(x))[/latex]. Depending on whether [latex]f(x)[/latex] grows faster, [latex]g(x)[/latex] grows faster, or they grow at the same rate, as we see next, anything can happen in this limit. Since [latex]f(x)\to \infty[/latex] and [latex]g(x)\to \infty[/latex], we write [latex]\infty -\infty[/latex] to denote the form of this limit. As with our other indeterminate forms, [latex]\infty -\infty[/latex] has no meaning on its own and we must do more analysis to determine the value of the limit. For example, suppose the exponent [latex]n[/latex] in the function [latex]f(x)=3x^n[/latex] is [latex]n=3[/latex], then

[latex]\underset{x\to \infty }{\lim}(f(x)-g(x))=\underset{x\to \infty }{\lim}(3x^3-3x^2-5)=\infty[/latex].

 

On the other hand, if [latex]n=2[/latex], then

[latex]\underset{x\to \infty }{\lim}(f(x)-g(x))=\underset{x\to \infty }{\lim}(3x^2-3x^2-5)=-5[/latex].

 

However, if [latex]n=1[/latex], then

[latex]\underset{x\to \infty }{\lim}(f(x)-g(x))=\underset{x\to \infty }{\lim}(3x-3x^2-5)=−\infty[/latex].

 

Therefore, the limit cannot be determined by considering only [latex]\infty -\infty[/latex]. Next we see how to rewrite an expression involving the indeterminate form [latex]\infty -\infty[/latex] as a fraction to apply L’Hôpital’s rule.

Example: Indeterminate Form of Type [latex]\infty -\infty[/latex]

Evaluate [latex]\underset{x\to 0^+}{\lim}\left(\dfrac{1}{x^2}-\dfrac{1}{\tan x}\right)[/latex].

Try It

Evaluate [latex]\underset{x\to 0^+}{\lim}\left(\dfrac{1}{x}-\dfrac{1}{\sin x}\right)[/latex].

Other Types of Indeterminate Form

Another type of indeterminate form that arises when evaluating limits involves exponents. The expressions [latex]0^0[/latex], [latex]\infty^0[/latex], and [latex]1^{\infty}[/latex] are all indeterminate forms. On their own, these expressions are meaningless because we cannot actually evaluate these expressions as we would evaluate an expression involving real numbers. Rather, these expressions represent forms that arise when finding limits. Now we examine how L’Hôpital’s rule can be used to evaluate limits involving these indeterminate forms.

Since L’Hôpital’s rule applies to quotients, we use the natural logarithm function and its properties to reduce a problem evaluating a limit involving exponents to a related problem involving a limit of a quotient. For example, suppose we want to evaluate [latex]\underset{x\to a}{\lim}f(x)^{g(x)}[/latex] and we arrive at the indeterminate form [latex]\infty^0[/latex]. (The indeterminate forms [latex]0^0[/latex] and [latex]1^{\infty}[/latex] can be handled similarly.)

Example: Indeterminate Form of Type [latex]\infty^0[/latex]

Evaluate [latex]\underset{x\to \infty }{\lim} x^{\frac{1}{x}}[/latex]

Try It

Evaluate [latex]\underset{x\to \infty}{\lim} x^{\frac{1}{\ln x}}[/latex]

Example: Indeterminate Form of Type [latex]0^0[/latex]

Evaluate [latex]\underset{x\to 0^+}{\lim} x^{\sin x}[/latex]

Try It

Evaluate [latex]\underset{x\to 0^+}{\lim} x^x[/latex]