4
Learning Objectives
- 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.
- Describe the relative growth rates of functions.
In this section, we examine a powerful tool for evaluating limits. This tool, known as L’Hôpital’s rule, uses derivatives to calculate limits. With this rule, we will be able to evaluate many limits we have not yet been able to determine. Instead of relying on numerical evidence to conjecture that a limit exists, we will be able to show definitively that a limit exists and to determine its exact value.
Applying L’Hôpital’s Rule
L’Hôpital’s rule can be used to evaluate limits involving the quotient of two functions. Consider
If [latex]\underset{x\to a}{\text{lim}}f(x)={L}_{1}\text{ and }\underset{x\to a}{\text{lim}}g(x)={L}_{2}\ne 0,[/latex] then
However, what happens if [latex]\underset{x\to a}{\text{lim}}f(x)=0[/latex] and [latex]\underset{x\to a}{\text{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. We have seen examples of this earlier in the text. For example, consider
For the first of these examples, we can evaluate the limit by factoring the numerator and writing
For [latex]\underset{x\to 0}{\text{lim}}\frac{ \sin x}{x}[/latex] we were able to show, using a geometric argument, that
Here we use a different technique for evaluating limits such as these. Not only does this technique provide an easier way to evaluate these limits, but also, and more important, it provides us with a way to evaluate many other limits that we could not calculate previously.
The idea behind L’Hôpital’s rule can be explained using local linear approximations. Consider two differentiable functions [latex]f[/latex] and [latex]g[/latex] such that [latex]\underset{x\to a}{\text{lim}}f(x)=0=\underset{x\to a}{\text{lim}}g(x)[/latex] and such that [latex]{g}^{\prime }(a)\ne 0[/latex] For [latex]x[/latex] near [latex]a,[/latex] we can write
and
Therefore,
Since [latex]f[/latex] is differentiable at [latex]a,[/latex] then [latex]f[/latex] is continuous at [latex]a,[/latex] and therefore [latex]f(a)=\underset{x\to a}{\text{lim}}f(x)=0.[/latex] Similarly, [latex]g(a)=\underset{x\to a}{\text{lim}}g(x)=0.[/latex] If we also assume that [latex]{f}^{\prime }[/latex] and [latex]{g}^{\prime }[/latex] are continuous at [latex]x=a,[/latex] then [latex]{f}^{\prime }(a)=\underset{x\to a}{\text{lim}}{f}^{\prime }(x)[/latex] and [latex]{g}^{\prime }(a)=\underset{x\to a}{\text{lim}}{g}^{\prime }(x).[/latex] Using these ideas, we conclude that
Note that the assumption that [latex]{f}^{\prime }[/latex] and [latex]{g}^{\prime }[/latex] are continuous at [latex]a[/latex] and [latex]{g}^{\prime }(a)\ne 0[/latex] can be loosened. We state L’Hôpital’s rule formally for the indeterminate form [latex]\frac{0}{0}.[/latex] Also note that the notation [latex]\frac{0}{0}[/latex] does not mean we are actually dividing zero by zero. Rather, we are using the notation [latex]\frac{0}{0}[/latex] to represent a quotient of limits, each of which is zero.
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}{\text{lim}}f(x)=0[/latex] and [latex]\underset{x\to a}{\text{lim}}g(x)=0,[/latex] then
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 \text{ and }-\infty .[/latex]
Proof
We provide a proof of this theorem in the special case when [latex]f,g,{f}^{\prime },[/latex] and [latex]{g}^{\prime }[/latex] are all continuous over an open interval containing [latex]a.[/latex] In that case, since [latex]\underset{x\to a}{\text{lim}}f(x)=0=\underset{x\to a}{\text{lim}}g(x)[/latex] and [latex]f[/latex] and [latex]g[/latex] are continuous at [latex]a,[/latex] it follows that [latex]f(a)=0=g(a).[/latex] Therefore,
Note that L’Hôpital’s rule states we can calculate the limit of a quotient [latex]\frac{f}{g}[/latex] by considering the limit of the quotient of the derivatives [latex]\frac{{f}^{\prime }}{{g}^{\prime }}.[/latex] It is important to realize that we are not calculating the derivative of the quotient [latex]\frac{f}{g}.[/latex]
□
Applying L’Hôpital’s Rule (0/0 Case)
Evaluate each of the following limits by applying L’Hôpital’s rule.
- [latex]\underset{x\to 0}{\text{lim}}\frac{1- \cos x}{x}[/latex]
- [latex]\underset{x\to 1}{\text{lim}}\frac{ \sin (\pi x)}{\text{ln}x}[/latex]
- [latex]\underset{x\to \infty }{\text{lim}}\frac{{e}^{1\text{/}x}-1}{1\text{/}x}[/latex]
- [latex]\underset{x\to 0}{\text{lim}}\frac{ \sin x-x}{{x}^{2}}[/latex]
Solution
- Since the numerator [latex]1- \cos x\to 0[/latex] and the denominator [latex]x\to 0,[/latex] we can apply L’Hôpital’s rule to evaluate this limit. We have
[latex]\begin{array}{cc}\hfill \underset{x\to 0}{\text{lim}}\frac{1- \cos x}{x}& =\underset{x\to 0}{\text{lim}}\frac{\frac{d}{dx}(1- \cos x)}{\frac{d}{dx}(x)}\hfill \\ & =\underset{x\to 0}{\text{lim}}\frac{ \sin x}{1}\hfill \\ & =\frac{\underset{x\to 0}{\text{lim}}( \sin x)}{\underset{x\to 0}{\text{lim}}(1)}\hfill \\ & =\frac{0}{1}=0.\hfill \end{array}[/latex]
- As [latex]x\to 1,[/latex] the numerator [latex]\sin (\pi x)\to 0[/latex] and the denominator [latex]\text{ln}(x)\to 0.[/latex] Therefore, we can apply L’Hôpital’s rule. We obtain
[latex]\begin{array}{cc}\hfill \underset{x\to 1}{\text{lim}}\frac{ \sin (\pi x)}{\text{ln}x}& =\underset{x\to 1}{\text{lim}}\frac{\pi \cos (\pi x)}{1\text{/}x}\hfill \\ & =\underset{x\to 1}{\text{lim}}(\pi x) \cos (\pi x)\hfill \\ & =(\pi \cdot1)(-1)=-\pi .\hfill \end{array}[/latex]
- As [latex]x\to \infty ,[/latex] the numerator [latex]{e}^{1\text{/}x}-1\to 0[/latex] and the denominator [latex](\frac{1}{x})\to 0.[/latex] Therefore, we can apply L’Hôpital’s rule. We obtain
[latex]\underset{x\to \infty }{\text{lim}}\frac{{e}^{1\text{/}x}-1}{\frac{1}{x}}=\underset{x\to \infty }{\text{lim}}\frac{{e}^{1\text{/}x}(\frac{-1}{{x}^{2}})}{(\frac{-1}{{x}^{2}})}=\underset{x\to \infty }{\text{lim}}{e}^{1\text{/}x}={e}^{0}=1\cdot\underset{x\to \infty }{\text{lim}}\frac{{e}^{1\text{/}x}-1}{\text{ln}x}.[/latex]
- As [latex]x\to 0,[/latex] both the numerator and denominator approach zero. Therefore, we can apply L’Hôpital’s rule. We obtain
[latex]\underset{x\to 0}{\text{lim}}\frac{ \sin x-x}{{x}^{2}}=\underset{x\to 0}{\text{lim}}\frac{ \cos x-1}{2x}.[/latex]
Since the numerator and denominator of this new quotient both approach zero as [latex]x\to 0,[/latex] we apply L’Hôpital’s rule again. In doing so, we see that
[latex]\underset{x\to 0}{\text{lim}}\frac{ \cos x-1}{2x}=\underset{x\to 0}{\text{lim}}\frac{- \sin x}{2}=0.[/latex]Therefore, we conclude that
[latex]\underset{x\to 0}{\text{lim}}\frac{ \sin x-x}{{x}^{2}}=0.[/latex]
Evaluate [latex]\underset{x\to 0}{\text{lim}}\frac{x}{ \tan x}.[/latex]
Solution
1
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 \text{/}\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 \text{/}\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 \text{/}\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}{\text{lim}}f(x)=\infty[/latex] (or [latex]-\infty )[/latex] and [latex]\underset{x\to a}{\text{lim}}g(x)=\infty[/latex] (or [latex]-\infty ).[/latex] Then,
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.
Applying L’Hôpital’s Rule [latex](\infty \text{/}\infty[/latex] Case)
Evaluate each of the following limits by applying L’Hôpital’s rule.
- [latex]\underset{x\to \infty }{\text{lim}}\frac{3x+5}{2x+1}[/latex]
- [latex]\underset{x\to {0}^{+}}{\text{lim}}\frac{\text{ln}x}{ \cot x}[/latex]
Solution
- Since [latex]3x+5[/latex] and [latex]2x+1[/latex] are first-degree polynomials with positive leading coefficients, [latex]\underset{x\to \infty }{\text{lim}}(3x+5)=\infty[/latex] and [latex]\underset{x\to \infty }{\text{lim}}(2x+1)=\infty .[/latex] Therefore, we apply L’Hôpital’s rule and obtain
[latex]\underset{x\to \infty }{\text{lim}}\frac{3x+5}{2x+1}=\underset{x\to \infty }{\text{lim}}\frac{3+5\text{/}x}{2x+1}=\underset{x\to \infty }{\text{lim}}\frac{3}{2}=\frac{3}{2}.[/latex]
Note that this limit can also be calculated without invoking L’Hôpital’s rule. Earlier in the chapter we showed how to evaluate such a limit by dividing the numerator and denominator by the highest power of [latex]x[/latex] in the denominator. In doing so, we saw that
[latex]\underset{x\to \infty }{\text{lim}}\frac{3x+5}{2x+1}=\underset{x\to \infty }{\text{lim}}\frac{3+5\text{/}x}{2x+1}=\frac{3}{2}.[/latex]L’Hôpital’s rule provides us with an alternative means of evaluating this type of limit.
- Here, [latex]\underset{x\to {0}^{+}}{\text{lim}}\text{ln}x=-\infty[/latex] and [latex]\underset{x\to {0}^{+}}{\text{lim}} \cot x=\infty .[/latex] Therefore, we can apply L’Hôpital’s rule and obtain
[latex]\underset{x\to {0}^{+}}{\text{lim}}\frac{\text{ln}x}{ \cot x}=\underset{x\to {0}^{+}}{\text{lim}}\frac{1\text{/}x}{-{ \csc }^{2}x}=\underset{x\to {0}^{+}}{\text{lim}}\frac{1}{-x{ \csc }^{2}x}.[/latex]
Now as [latex]x\to {0}^{+},[/latex] [latex]{ \csc }^{2}x\to \infty .[/latex] Therefore, the first term in the denominator is approaching zero and the second term is getting really large. In such a case, anything can happen with the product. Therefore, we cannot make any conclusion yet. To evaluate the limit, we use the definition of [latex]\csc x[/latex] to write
[latex]\underset{x\to {0}^{+}}{\text{lim}}\frac{1}{-x{ \csc }^{2}x}=\underset{x\to {0}^{+}}{\text{lim}}\frac{{ \sin }^{2}x}{-x}.[/latex]Now [latex]\underset{x\to {0}^{+}}{\text{lim}}{ \sin }^{2}x=0[/latex] and [latex]\underset{x\to {0}^{+}}{\text{lim}}x=0,[/latex] so we apply L’Hôpital’s rule again. We find
[latex]\underset{x\to {0}^{+}}{\text{lim}}\frac{{ \sin }^{2}x}{-x}=\underset{x\to {0}^{+}}{\text{lim}}\frac{2 \sin x \cos x}{-1}=\frac{0}{-1}=0.[/latex]We conclude that
[latex]\underset{x\to {0}^{+}}{\text{lim}}\frac{\text{ln}x}{ \cot x}=0.[/latex]
Evaluate [latex]\underset{x\to \infty }{\text{lim}}\frac{\text{ln}x}{5x}.[/latex]
Solution
0
Hint
[latex]\frac{d}{dx}\text{ln}x=\frac{1}{x}[/latex]
As mentioned, L’Hôpital’s rule is an extremely useful tool for evaluating limits. It is important to remember, however, that to apply L’Hôpital’s rule to a quotient [latex]\frac{f(x)}{g(x)},[/latex] it is essential that the limit of [latex]\frac{f(x)}{g(x)}[/latex] be of the form [latex]\frac{0}{0}[/latex] or [latex]\infty \text{/}\infty .[/latex] Consider the following example.
When L’Hôpital’s Rule Does Not Apply
Consider [latex]\underset{x\to 1}{\text{lim}}\frac{{x}^{2}+5}{3x+4}.[/latex] Show that the limit cannot be evaluated by applying L’Hôpital’s rule.
Solution
Because the limits of the numerator and denominator are not both zero and are not both infinite, we cannot apply L’Hôpital’s rule. If we try to do so, we get
and
At which point we would conclude erroneously that
However, since [latex]\underset{x\to 1}{\text{lim}}({x}^{2}+5)=6[/latex] and [latex]\underset{x\to 1}{\text{lim}}(3x+4)=7,[/latex] we actually have
We can conclude that
When L’Hôpital’s Rule Does Not Apply
Consider [latex]\underset{x\to \infty}{\text{lim}}\frac{x+\sin(x)}{x}.[/latex] Show that the limit cannot be evaluated by applying L’Hôpital’s rule.
Solution
The limits of the numerator and denominator are both zero. Thus it appears that we can apply L’Hôpital’s rule. However, when we try to do so, we get
and
At which point we would conclude erroneously that
However, since [latex]\underset{x\to \infty}{\text{lim}}(1+\cos(x))[/latex] neither exists, nor is infinite, L’Hôpital’s rule does not apply.
However, this does not mean the limit fails to exist. Using the squeeze theorem, we get that the function [latex]f(x)=\frac{x+\sin(x)}{x}[/latex] is bounded between [latex]g(x)=\frac{x-1}{x}[/latex] and [latex]h(x)=\frac{x+1}{x}[/latex], both of whose limits are [latex]1.[/latex]
We can conclude that the by squeeze theorem
Explain why we cannot apply L’Hôpital’s rule to evaluate [latex]\underset{x\to {0}^{+}}{\text{lim}}\frac{ \cos x}{x}.[/latex] Evaluate [latex]\underset{x\to {0}^{+}}{\text{lim}}\frac{ \cos x}{x}[/latex] by other means.
Solution
[latex]\underset{x\to {0}^{+}}{\text{lim}} \cos x=1.[/latex] Therefore, we cannot apply L’Hôpital’s rule. The limit of the quotient is [latex]\infty[/latex]
Hint
Determine the limits of the numerator and denominator separately.
Other Indeterminate Forms
L’Hôpital’s rule is very useful for evaluating limits involving the indeterminate forms [latex]\frac{0}{0}[/latex] and [latex]\infty \text{/}\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]\infty \text{/}\infty .[/latex]
Indeterminate Form of Type [latex]0\cdot\infty[/latex]
Suppose we want to evaluate [latex]\underset{x\to a}{\text{lim}}(f(x)\cdotg(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 \infty .[/latex] For example, let [latex]n[/latex] be a positive integer and consider
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{3{x}^{2}}{({x}^{n}+1)}[/latex] varies, depending on [latex]n.[/latex] If [latex]n=2,[/latex] then [latex]\underset{x\to \infty }{\text{lim}}f(x)g(x)=3.[/latex] If [latex]n=1,[/latex] then [latex]\underset{x\to \infty }{\text{lim}}f(x)g(x)=\infty .[/latex] If [latex]n=3,[/latex] then [latex]\underset{x\to \infty }{\text{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.
Indeterminate Form of Type [latex]0\cdot\infty[/latex]
Evaluate [latex]\underset{x\to {0}^{+}}{\text{lim}}x\text{ln}x.[/latex]
Solution
First, rewrite the function [latex]x\text{ln}x[/latex] as a quotient to apply L’Hôpital’s rule. If we write
we see that [latex]\text{ln}x\to -\infty[/latex] as [latex]x\to {0}^{+}[/latex] and [latex]\frac{1}{x}\to \infty[/latex] as [latex]x\to {0}^{+}.[/latex] Therefore, we can apply L’Hôpital’s rule and obtain
We conclude that
Evaluate [latex]\underset{x\to 0}{\text{lim}}x \cot x.[/latex]
Solution
1
Hint
Write [latex]x \cot x=\frac{x \cos x}{ \sin 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)=3{x}^{n}[/latex] and [latex]g(x)=3{x}^{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 }{\text{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)=3{x}^{n}[/latex] is [latex]n=3,[/latex] then
On the other hand, if [latex]n=2,[/latex] then
However, if [latex]n=1,[/latex] then
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.
Indeterminate Form of Type [latex]\infty -\infty[/latex]
Evaluate [latex]\underset{x\to {0}^{+}}{\text{lim}}(\frac{1}{{x}^{2}}-\frac{1}{ \tan x}).[/latex]
Solution
By combining the fractions, we can write the function as a quotient. Since the least common denominator is [latex]{x}^{2} \tan x,[/latex] we have
As [latex]x\to {0}^{+},[/latex] the numerator [latex]\tan x-{x}^{2}\to 0[/latex] and the denominator [latex]{x}^{2} \tan x\to 0.[/latex] Therefore, we can apply L’Hôpital’s rule. Taking the derivatives of the numerator and the denominator, we have
As [latex]x\to {0}^{+},[/latex] [latex]({ \sec }^{2}x)-2x\to 1[/latex] and [latex]{x}^{2}{ \sec }^{2}x+2x \tan x\to 0.[/latex] Since the denominator is positive as [latex]x[/latex] approaches zero from the right, we conclude that
Therefore,
Evaluate [latex]\underset{x\to {0}^{+}}{\text{lim}}(\frac{1}{x}-\frac{1}{ \sin x}).[/latex]
Solution
0
Hint
Rewrite the difference of fractions as a single fraction.
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}{\text{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.) We proceed as follows. Let
Then,
Therefore,
Since [latex]\underset{x\to a}{\text{lim}}f(x)=\infty ,[/latex] we know that [latex]\underset{x\to a}{\text{lim}}\text{ln}(f(x))=\infty .[/latex] Therefore, [latex]\underset{x\to a}{\text{lim}}g(x)\text{ln}(f(x))[/latex] is of the indeterminate form [latex]0\cdot\infty ,[/latex] and we can use the techniques discussed earlier to rewrite the expression [latex]g(x)\text{ln}(f(x))[/latex] in a form so that we can apply L’Hôpital’s rule. Suppose [latex]\underset{x\to a}{\text{lim}}g(x)\text{ln}(f(x))=L,[/latex] where [latex]L[/latex] may be [latex]\infty[/latex] or [latex]-\infty .[/latex] Then
Since the natural logarithm function is continuous, we conclude that
which gives us
Indeterminate Form of Type [latex]{\infty }^{0}[/latex]
Evaluate [latex]\underset{x\to \infty }{\text{lim}}{x}^{1\text{/}x}.[/latex]
Solution
Let [latex]y={x}^{1\text{/}x}.[/latex] Then,
We need to evaluate [latex]\underset{x\to \infty }{\text{lim}}\frac{\text{ln}x}{x}.[/latex] Applying L’Hôpital’s rule, we obtain
Therefore, [latex]\underset{x\to \infty }{\text{lim}}\text{ln}y=0.[/latex] Since the natural logarithm function is continuous, we conclude that
which leads to
Hence,
Evaluate [latex]\underset{x\to \infty }{\text{lim}}{x}^{1\text{/}\text{ln}(x)}.[/latex]
Solution
[latex]e[/latex]
Hint
Let [latex]y={x}^{1\text{/}\text{ln}(x)}[/latex] and apply the natural logarithm to both sides of the equation.
Indeterminate Form of Type [latex]{0}^{0}[/latex]
Evaluate [latex]\underset{x\to {0}^{+}}{\text{lim}}{x}^{ \sin x}.[/latex]
Solution
Let
Therefore,
We now evaluate [latex]\underset{x\to {0}^{+}}{\text{lim}} \sin x\text{ln}x.[/latex] Since [latex]\underset{x\to {0}^{+}}{\text{lim}} \sin x=0[/latex] and [latex]\underset{x\to {0}^{+}}{\text{lim}}\text{ln}x=-\infty ,[/latex] we have the indeterminate form [latex]0\cdot\infty .[/latex] To apply L’Hôpital’s rule, we need to rewrite [latex]\sin x\text{ln}x[/latex] as a fraction. We could write
or
Let’s consider the first option. In this case, applying L’Hôpital’s rule, we would obtain
Unfortunately, we not only have another expression involving the indeterminate form [latex]0\cdot\infty ,[/latex] but the new limit is even more complicated to evaluate than the one with which we started. Instead, we try the second option. By writing
and applying L’Hôpital’s rule, we obtain
Using the fact that [latex]\csc x=\frac{1}{ \sin x}[/latex] and [latex]\cot x=\frac{ \cos x}{ \sin x},[/latex] we can rewrite the expression on the right-hand side as
We conclude that [latex]\underset{x\to {0}^{+}}{\text{lim}}\text{ln}y=0.[/latex] Therefore, [latex]\text{ln}(\underset{x\to {0}^{+}}{\text{lim}}y)=0[/latex] and we have
Hence,
Evaluate [latex]\underset{x\to {0}^{+}}{\text{lim}}{x}^{x}.[/latex]
Solution
1
Hint
Let [latex]y={x}^{x}[/latex] and take the natural logarithm of both sides of the equation.
Growth Rates of Functions
Suppose the functions [latex]f[/latex] and [latex]g[/latex] both approach infinity as [latex]x\to \infty .[/latex] Although the values of both functions become arbitrarily large as the values of [latex]x[/latex] become sufficiently large, sometimes one function is growing more quickly than the other. For example, [latex]f(x)={x}^{2}[/latex] and [latex]g(x)={x}^{3}[/latex] both approach infinity as [latex]x\to \infty .[/latex] However, as shown in the following table, the values of [latex]{x}^{3}[/latex] are growing much faster than the values of [latex]{x}^{2}.[/latex]
[latex]x[/latex] | 10 | 100 | 1000 | 10,000 |
[latex]f(x)={x}^{2}[/latex] | 100 | 10,000 | 1,000,000 | 100,000,000 |
[latex]g(x)={x}^{3}[/latex] | 1000 | 1,000,000 | 1,000,000,000 | [latex]1,000,000,000,000[/latex] |
In fact,
As a result, we say [latex]{x}^{3}[/latex] is growing more rapidly than [latex]{x}^{2}[/latex] as [latex]x\to \infty .[/latex] On the other hand, for [latex]f(x)={x}^{2}[/latex] and [latex]g(x)=3{x}^{2}+4x+1,[/latex] although the values of [latex]g(x)[/latex] are always greater than the values of [latex]f(x)[/latex] for [latex]x \symbol{"3E} 0,[/latex] each value of [latex]g(x)[/latex] is roughly three times the corresponding value of [latex]f(x)[/latex] as [latex]x\to \infty ,[/latex] as shown in the following table. In fact,
[latex]x[/latex] | 10 | 100 | 1000 | 10,000 |
[latex]f(x)={x}^{2}[/latex] | 100 | 10,000 | 1,000,000 | 100,000,000 |
[latex]g(x)=3{x}^{2}+4x+1[/latex] | 341 | 30,401 | 3,004,001 | 300,040,001 |
In this case, we say that [latex]{x}^{2}[/latex] and [latex]3{x}^{2}+4x+1[/latex] are growing at the same rate as [latex]x\to \infty .[/latex]
More generally, suppose [latex]f[/latex] and [latex]g[/latex] are two functions that approach infinity as [latex]x\to \infty .[/latex] We say [latex]g[/latex] grows more rapidly than [latex]f[/latex] as [latex]x\to \infty[/latex] if
On the other hand, if there exists a constant [latex]M\ne 0[/latex] such that
we say [latex]f[/latex] and [latex]g[/latex] grow at the same rate as [latex]x\to \infty .[/latex]
Next we see how to use L’Hôpital’s rule to compare the growth rates of power, exponential, and logarithmic functions.
Comparing the Growth Rates of [latex]\text{ln}(x),[/latex] [latex]{x}^{2},[/latex] and [latex]{e}^{x}[/latex]
For each of the following pairs of functions, use L’Hôpital’s rule to evaluate [latex]\underset{x\to \infty }{\text{lim}}(\frac{f(x)}{g(x)}).[/latex]
- [latex]f(x)={x}^{2}\text{ and }g(x)={e}^{x}[/latex]
- [latex]f(x)=\text{ln}(x)\text{ and }g(x)={x}^{2}[/latex]
Solution
- Since [latex]\underset{x\to \infty }{\text{lim}}{x}^{2}=\infty[/latex] and [latex]\underset{x\to \infty }{\text{lim}}{e}^{x},[/latex] we can use L’Hôpital’s rule to evaluate [latex]\underset{x\to \infty }{\text{lim}}\left[\frac{{x}^{2}}{{e}^{x}}\right].[/latex] We obtain
[latex]\underset{x\to \infty }{\text{lim}}\frac{{x}^{2}}{{e}^{x}}=\underset{x\to \infty }{\text{lim}}\frac{2x}{{e}^{x}}.[/latex]
Since [latex]\underset{x\to \infty }{\text{lim}}2x=\infty[/latex] and [latex]\underset{x\to \infty }{\text{lim}}{e}^{x}=\infty ,[/latex] we can apply L’Hôpital’s rule again. Since
[latex]\underset{x\to \infty }{\text{lim}}\frac{2x}{{e}^{x}}=\underset{x\to \infty }{\text{lim}}\frac{2}{{e}^{x}}=0,[/latex]we conclude that
[latex]\underset{x\to \infty }{\text{lim}}\frac{{x}^{2}}{{e}^{x}}=0.[/latex]Therefore, [latex]{e}^{x}[/latex] grows more rapidly than [latex]{x}^{2}[/latex] as [latex]x\to \infty[/latex] (See (Figure) and (Figure)).
Growth rates of a power function and an exponential function. [latex]x[/latex] 5 10 15 20 [latex]{x}^{2}[/latex] 25 100 225 400 [latex]{e}^{x}[/latex] 148 22,026 3,269,017 485,165,195 - Since [latex]\underset{x\to \infty }{\text{lim}}\text{ln}x=\infty[/latex] and [latex]\underset{x\to \infty }{\text{lim}}{x}^{2}=\infty ,[/latex] we can use L’Hôpital’s rule to evaluate [latex]\underset{x\to \infty }{\text{lim}}\frac{\text{ln}x}{{x}^{2}}.[/latex] We obtain
[latex]\underset{x\to \infty }{\text{lim}}\frac{\text{ln}x}{{x}^{2}}=\underset{x\to \infty }{\text{lim}}\frac{1\text{/}x}{2x}=\underset{x\to \infty }{\text{lim}}\frac{1}{2{x}^{2}}=0.[/latex]
Thus, [latex]{x}^{2}[/latex] grows more rapidly than [latex]\text{ln}x[/latex] as [latex]x\to \infty[/latex] (see (Figure) and (Figure)).
Growth rates of a power function and a logarithmic function [latex]x[/latex] 10 100 1000 10,000 [latex]\text{ln}(x)[/latex] 2.303 4.605 6.908 9.210 [latex]{x}^{2}[/latex] 100 10,000 1,000,000 100,000,000
Compare the growth rates of [latex]{x}^{100}[/latex] and [latex]{2}^{x}.[/latex]
Solution
The function [latex]{2}^{x}[/latex] grows faster than [latex]{x}^{100}.[/latex]
Hint
Apply L’Hôpital’s rule to [latex]{x}^{100}\text{/}{2}^{x}[/latex]
Using the same ideas as in (Figure)a. it is not difficult to show that [latex]{e}^{x}[/latex] grows more rapidly than [latex]{x}^{p}[/latex] for any [latex]p \symbol{"3E} 0.[/latex] In (Figure) and (Figure), we compare [latex]{e}^{x}[/latex] with [latex]{x}^{3}[/latex] and [latex]{x}^{4}[/latex] as [latex]x\to \infty .[/latex]
[latex]x[/latex] | 5 | 10 | 15 | 20 |
[latex]{x}^{3}[/latex] | 125 | 1000 | 3375 | 8000 |
[latex]{x}^{4}[/latex] | 625 | 10,000 | 50,625 | 160,000 |
[latex]{e}^{x}[/latex] | 148 | 22,026 | 3,269,017 | 485,165,195 |
Similarly, it is not difficult to show that [latex]{x}^{p}[/latex] grows more rapidly than [latex]\text{ln}x[/latex] for any [latex]p \symbol{"3E} 0.[/latex] In (Figure) and (Figure), we compare [latex]\text{ln}x[/latex] with [latex]\sqrt[3]{x}[/latex] and [latex]\sqrt{x}.[/latex]
[latex]x[/latex] | 10 | 100 | 1000 | 10,000 |
[latex]\text{ln}(x)[/latex] | 2.303 | 4.605 | 6.908 | 9.210 |
[latex]\sqrt[3]{x}[/latex] | 2.154 | 4.642 | 10 | 21.544 |
[latex]\sqrt{x}[/latex] | 3.162 | 10 | 31.623 | 100 |
Key Concepts
- L’Hôpital’s rule can be used to evaluate the limit of a quotient when the indeterminate form [latex]\frac{0}{0}[/latex] or [latex]\infty \text{/}\infty[/latex] arises.
- L’Hôpital’s rule can also be applied to other indeterminate forms if they can be rewritten in terms of a limit involving a quotient that has the indeterminate form [latex]\frac{0}{0}[/latex] or [latex]\infty \text{/}\infty .[/latex]
- The exponential function [latex]{e}^{x}[/latex] grows faster than any power function [latex]{x}^{p},[/latex] [latex]p \symbol{"3E} 0.[/latex]
- The logarithmic function [latex]\text{ln}x[/latex] grows more slowly than any power function [latex]{x}^{p},[/latex] [latex]p \symbol{"3E} 0.[/latex]
For the following exercises, evaluate the limit.
1. Evaluate the limit [latex]\underset{x\to \infty }{\text{lim}}\frac{{e}^{x}}{x}.[/latex]
2. Evaluate the limit [latex]\underset{x\to \infty }{\text{lim}}\frac{{e}^{x}}{{x}^{k}}.[/latex]
Solution
[latex]\infty[/latex]
3. Evaluate the limit [latex]\underset{x\to \infty }{\text{lim}}\frac{\text{ln}x}{{x}^{k}}.[/latex]
4. Evaluate the limit [latex]\underset{x\to a}{\text{lim}}\frac{x-a}{{x}^{2}-{a}^{2}}.[/latex]
Solution
[latex]\frac{1}{2a}[/latex]
5. Evaluate the limit [latex]\underset{x\to a}{\text{lim}}\frac{x-a}{{x}^{3}-{a}^{3}}.[/latex]
6. Evaluate the limit [latex]\underset{x\to a}{\text{lim}}\frac{x-a}{{x}^{n}-{a}^{n}}.[/latex]
Solution
[latex]\frac{1}{n{a}^{n-1}}[/latex]
For the following exercises, determine whether you can apply L’Hôpital’s rule directly. Explain why or why not. Then, indicate if there is some way you can alter the limit so you can apply L’Hôpital’s rule.
7. [latex]\underset{x\to {0}^{+}}{\text{lim}}{x}^{2}\text{ln}x[/latex]
8. [latex]\underset{x\to \infty }{\text{lim}}{x}^{1\text{/}x}[/latex]
Solution
Cannot apply directly; use logarithms
9. [latex]\underset{x\to 0}{\text{lim}}{x}^{2\text{/}x}[/latex]
10. [latex]\underset{x\to 0}{\text{lim}}\frac{{x}^{2}}{1\text{/}x}[/latex]
Solution
Cannot apply directly; rewrite as [latex]\underset{x\to 0}{\text{lim}}{x}^{3}[/latex]
11. [latex]\underset{x\to \infty }{\text{lim}}\frac{{e}^{x}}{x}[/latex]
For the following exercises, evaluate the limits with either L’Hôpital’s rule or previously learned methods.
12. [latex]\underset{x\to 3}{\text{lim}}\frac{{x}^{2}-9}{x-3}[/latex]
Solution
6
13. [latex]\underset{x\to 3}{\text{lim}}\frac{{x}^{2}-9}{x+3}[/latex]
14. [latex]\underset{x\to 0}{\text{lim}}\frac{{(1+x)}^{-2}-1}{x}[/latex]
Solution
-2
15. [latex]\underset{x\to \pi \text{/}2}{\text{lim}}\frac{ \cos x}{{}_{2}^{\pi }-x}[/latex]
16. [latex]\underset{x\to \pi }{\text{lim}}\frac{x-\pi }{ \sin x}[/latex]
Solution
-1
17. [latex]\underset{x\to 1}{\text{lim}}\frac{x-1}{ \sin x}[/latex]
18. [latex]\underset{x\to 0}{\text{lim}}\frac{{(1+x)}^{n}-1}{x}[/latex]
Solution
[latex]n[/latex]
19. [latex]\underset{x\to 0}{\text{lim}}\frac{{(1+x)}^{n}-1-nx}{{x}^{2}}[/latex]
20. [latex]\underset{x\to 0}{\text{lim}}\frac{ \sin x- \tan x}{{x}^{3}}[/latex]
Solution
[latex]-\frac{1}{2}[/latex]
21. [latex]\underset{x\to 0}{\text{lim}}\frac{\sqrt{1+x}-\sqrt{1-x}}{x}[/latex]
22. [latex]\underset{x\to 0}{\text{lim}}\frac{{e}^{x}-x-1}{{x}^{2}}[/latex]
Solution
[latex]\frac{1}{2}[/latex]
23. [latex]\underset{x\to 0}{\text{lim}}\frac{ \tan x}{\sqrt{x}}[/latex]
24. [latex]\underset{x\to 1}{\text{lim}}\frac{x-1}{\text{ln}x}[/latex]
Solution
1
25. [latex]\underset{x\to 0}{\text{lim}}{(x+1)}^{1\text{/}x}[/latex]
26. [latex]\underset{x\to 1}{\text{lim}}\frac{\sqrt{x}-\sqrt[3]{x}}{x-1}[/latex]
Solution
[latex]\frac{1}{6}[/latex]
27. [latex]\underset{x\to {0}^{+}}{\text{lim}}{x}^{2x}[/latex]
28. [latex]\underset{x\to \infty }{\text{lim}}x \sin (\frac{1}{x})[/latex]
Solution
1
29. [latex]\underset{x\to 0}{\text{lim}}\frac{ \sin x-x}{{x}^{2}}[/latex]
30. [latex]\underset{x\to {0}^{+}}{\text{lim}}x\text{ln}({x}^{4})[/latex]
Solution
0
31. [latex]\underset{x\to \infty }{\text{lim}}(x-{e}^{x})[/latex]
32. [latex]\underset{x\to \infty }{\text{lim}}{x}^{2}{e}^{-x}[/latex]
33. [latex]\underset{x\to 0}{\text{lim}}\frac{{3}^{x}-{2}^{x}}{x}[/latex]
34. [latex]\underset{x\to 0}{\text{lim}}\frac{1+1\text{/}x}{1-1\text{/}x}[/latex]
Solution
-1
35. [latex]\underset{x\to \pi \text{/}4}{\text{lim}}(1- \tan x) \cot x[/latex]
36. [latex]\underset{x\to \infty }{\text{lim}}x{e}^{1\text{/}x}[/latex]
Solution
[latex]\infty[/latex]
37. [latex]\underset{x\to 0}{\text{lim}}{x}^{1\text{/} \cos x}[/latex]
38. [latex]\underset{x\to 0}{\text{lim}}{x}^{1\text{/}x}[/latex]
Solution
1
39. [latex]\underset{x\to 0}{\text{lim}}{(1-\frac{1}{x})}^{x}[/latex]
40. [latex]\underset{x\to \infty }{\text{lim}}{(1-\frac{1}{x})}^{x}[/latex]
Solution
[latex]\frac{1}{e}[/latex]
For the following exercises, use a calculator to graph the function and estimate the value of the limit, then use L’Hôpital’s rule to find the limit directly.
41. [T][latex]\underset{x\to 0}{\text{lim}}\frac{{e}^{x}-1}{x}[/latex]
42. [T][latex]\underset{x\to 0}{\text{lim}}x \sin (\frac{1}{x})[/latex]
Solution
0
43. [T][latex]\underset{x\to 1}{\text{lim}}\frac{x-1}{1- \cos (\pi x)}[/latex]
44. [T][latex]\underset{x\to 1}{\text{lim}}\frac{{e}^{(x-1)}-1}{x-1}[/latex]
45. [T][latex]\underset{x\to 1}{\text{lim}}\frac{{(x-1)}^{2}}{\text{ln}x}[/latex]
46. [T][latex]\underset{x\to \pi }{\text{lim}}\frac{1+ \cos x}{ \sin x}[/latex]
Solution
0
47. [T][latex]\underset{x\to 0}{\text{lim}}( \csc x-\frac{1}{x})[/latex]
48. [T][latex]\underset{x\to {0}^{+}}{\text{lim}} \tan ({x}^{x})[/latex]
Solution
[latex]\tan (1)[/latex]
49. [T][latex]\underset{x\to {0}^{+}}{\text{lim}}\frac{\text{ln}x}{ \sin x}[/latex]
50. [T][latex]\underset{x\to 0}{\text{lim}}\frac{{e}^{x}-{e}^{-x}}{x}[/latex]
Solution
2
Glossary
- indeterminate forms
- when evaluating a limit, the forms [latex]\frac{0}{0},[/latex] [latex]\infty \text{/}\infty ,[/latex] [latex]0\cdot\infty ,[/latex] [latex]\infty -\infty ,[/latex] [latex]{0}^{0},[/latex] [latex]{\infty }^{0},[/latex] and [latex]{1}^{\infty }[/latex] are considered indeterminate because further analysis is required to determine whether the limit exists and, if so, what its value is
- L’Hôpital’s rule
- if [latex]f[/latex] and [latex]g[/latex] are differentiable functions over an interval [latex]a,[/latex] except possibly at [latex]a,[/latex] and [latex]\underset{x\to a}{\text{lim}}f(x)=0=\underset{x\to a}{\text{lim}}g(x)[/latex] or [latex]\underset{x\to a}{\text{lim}}f(x)[/latex] and [latex]\underset{x\to a}{\text{lim}}g(x)[/latex] are infinite, then [latex]\underset{x\to a}{\text{lim}}\frac{f(x)}{g(x)}=\underset{x\to a}{\text{lim}}\frac{{f}^{\prime }(x)}{{g}^{\prime }(x)},[/latex] assuming the limit on the right exists or is [latex]\infty[/latex] or [latex]-\infty[/latex]
Hint
[latex]\frac{d}{dx} \tan x={ \sec }^{2}x[/latex]