(L8) L’Hospital’s Rule#
By the end of the lesson you will be able to:
identify limits in indeterminate form
apply l’Hospital’s Rule to evaluate them (where applicable)
Lecture Videos#
Not-Tested Topic Videos#
These are videos for more advanced topics on Indeterminate Forms that you will not be tested on. Although you still might helpful and interesting!
Indeterminate Forms#
So far we have primarily looked at indeterminate quotients in much of our work on limits. Let’s formalize these definitions a little bit.
We say the limit \(\displaystyle \lim_{x\to a} \dfrac{f(x)}{g(x)}\) is a:
\(0/0\) - Indeterminate Form
\(\dfrac{0}{0}\) Indeterminate Form provided both:
\(\infty/\infty\) - Indeterminate Form
\(\dfrac{\infty}{\infty}\) Indeterminate Form provided both:
Note: Similar definitions exist for limits where \(x\to a^+\), \(x\to a^-\), \(x\to \infty\), and \(x\to -\infty\). That is, we have similar definitions for right and left side limits as well as limits at infinity.
L’Hospital’s Rule#
l’Hospital’s Rule
If we have a \(\tfrac{0}{0}\) or \(\tfrac{\infty}{\infty}\) indeterminate form then:
provided this limit exists or is infinite.
Work to Show
If we use l’Hospital’s Rule, we need to do 2 things:
First verifty that our limit is of the correct indeterminate form, so that the Rule can even be applied.
Explicitly indicate in our work, where we actually apply the rule. We usually use an H above the equal sign like so:
Note 1: Similar rules exist for right and left side limits as well as limits at infinity.
Note 2: Make sure you do not confuse l’Hospital’s Rule with the Quotient Rule
Quotient Rule is used to calculate the derivative of \(\tfrac{f(x)}{g(x)}\)
l’Hospital’s Rule is used to calculate the limit of \(\tfrac{f(x)}{g(x)}\)
Indeterminate Quotients#
Example 1#
Evaluate the limit:
Click through the tabs to see the steps of our solution.
Remember that whenever we evaluate a limit using l’Hospital’s Rule as part of our work we need to:
Show that our limit is of the correct indeterminate form.
Indicate where in our work we are using the Rule (usually with an H).
The first step is to identify the form of our limit. If we’re going to apply L’Hospital’s Rule, we first need to check that our limit is of the correct indeterminate form.
We see that we have the indeterminate form \(\tfrac{0}{0}\). This is because the individual limits of both the numerator and denominator of the fraction are infinite:
Note that this indeterminate form is not our answer but it does tell us we can use L’Hospital’s Rule!
Now that we have verified this is an appropriate indeterminate form, we can apply L’Hospital’s Rule. Indicate where you are using the rule in your work (we commonly use H above the equal sign).
Once we apply the rule, differentiate, and simplify, we have a brand new limit that needs to be investigated. So the process starts again:
Identify the form of this new limit.
Use L’Hospital’s Rule if applicable.
Investigating this new limit, we see that it is one we can actually do:
And there’s our answer:
Example 2#
Evaluate the limit:
Click through the tabs to see the steps of our solution.
It is important to first try and identify if the limit is an indeterminate form before jumping right into l’Hospital’s Rule.
The first step is to identify the form of our limit. If we’re going to apply L’Hospital’s Rule, we first need to check that our limit is of the correct indeterminate form.
We see that this is not an indeterminate form, so l’Hospital’s Rule cannot be applied.
If l’Hospital’s Rule cannot be used, then how to do we find the limit?
Well, we already have found it!
Remember \(\tfrac{0}{2}\) is a perfectly good number, the issue only happens when we try to divide by \(0\).
What are you still doing here? This example is done!
Example 3#
Evaluate the limit:
Click through the tabs to see the steps of our solution.
It is important to first try and identify if the limit is an indeterminate form.
The first step is to identify the form of our limit. If we’re going to apply L’Hospital’s Rule, we first need to check that our limit is of the correct indeterminate form.
We see that we have the indeterminate form \(\tfrac{\infty}{\infty}\). This is because the individual limits of both the numerator and denominator of the fraction are infinite:
Note that this indeterminate form is not our answer but it does tell us we can use L’Hospital’s Rule!
Now that we have verified this is an appropriate indeterminate form, we can apply L’Hospital’s Rule. Indicate where you are using the rule in your work (we commonly use H above the equal sign).
Once we apply the rule, differentiate, and simplify, we have a brand new limit that needs to be investigated. So the process starts again:
Identify the form of this new limit.
Use L’Hospital’s Rule if applicable.
Investigating this new limit, we see that it is also an indeterminate form:
Applying L’Hospital’s Rule again gives us:
Not done yet, we now have another brand new limit to calculate.
Finally, we have a limit that is not indeterminate:
And there we have our answer! After applying L’Hospital’s Rule twice, we found the limit was infinite:
Example 4#
Evaluate the limit:
Click through the tabs to see the steps of our solution.
In this example, its important to remember that once we finish differentiating we should try to simplify the resulting fraction as much as possible first, before trying to evaluate the limit.
The first step is to identify the form of our limit. If we’re going to apply L’Hospital’s Rule, we first need to check that our limit is of the correct indeterminate form.
We see that we have the indeterminate form \(\tfrac{\infty}{\infty}\). This is because the individual limits of both the numerator and denominator of the fraction are infinite:
Note that this indeterminate form is not our answer but it does tell us we can use L’Hospital’s Rule!
Now that we have verified this is an appropriate indeterminate form, we can apply L’Hospital’s Rule. Indicate where you are using the rule in your work (we commonly use H above the equal sign).
Once we apply the rule, differentiate, and simplify, we have a brand new limit that needs to be investigated. So the process starts again:
Identify the form of this new limit.
Use L’Hospital’s Rule if applicable.
Once we finish differentiating, we should try to simplify our new limit as much as possible. We actually have a bunch of powers of \(x\) which probably can be consolidated in some way:
Investigating this new limit, we see that it is not an indeterminate form:
So L’Hospital’s Rule does not apply anymore, instead we can evaluate this limit using what we know about \(\tfrac{c}{\infty}\)-forms:
Done!
Example 5#
Evaluate the limit:
Click through the tabs to see the steps of our solution.
While we’re going through this example, don’t forget that when we’re differentiating, we may need to use some of our more advanced derivative rules like (product, quotient, and chain rule).
The first step is to identify the form of our limit. If we’re going to apply L’Hospital’s Rule, we first need to check that our limit is of the correct indeterminate form.
We see that we have the indeterminate form \(\tfrac{0}{0}\). This is because the individual limits of both the numerator and denominator of the fraction are infinite:
Note that this indeterminate form is not our answer but it does tell us we can use L’Hospital’s Rule!
Now that we have verified this is an appropriate indeterminate form, we can apply L’Hospital’s Rule. Indicate where you are using the rule in your work (with an H).
Once we apply the rule, differentiate, and simplify, we have a brand new limit that needs to be investigated. So the process starts again:
Identify the form of this new limit.
Use L’Hospital’s Rule if applicable.
Investigating this new limit, we see that it is also an indeterminate form:
Applying L’Hospital’s Rule again gives us:
Not done yet, we now have another brand new limit to calculate.
Another brand new limit we need to check. And this is also an indeterminate form:
Applying L’Hospital’s Rule yet again gives us:
Investigating this new limit, we see that it is finally not an indeterminate form:
Finally, after three uses of l’Hospital’s Rule we have our answer:
Done!
Indeterminate Products#
We say the limit \(\displaystyle \lim_{x\to a} {f(x)}\cdot{g(x)}\) is a:
\(0\cdot \infty\) - Indeterminate Form
\(0\cdot \infty\) Indeterminate Form provided both:
Note: As usual, we have similar definitions for right and left side limits as well as limits at infinity.
In many cases, our strategy for dealing with indeterminate products is:
Rewrite the product as a fraction.
Use l’Hospital’s Rule (if possible).
We can rewrite the product as a fraction by choosing the first function to be in the numerator:
Essentially, this converts a \(0\cdot \infty\) indeterminate form into a \(\tfrac{0}{0}\) indeterminate form, so that we can then use l’Hospital’s Rule.
Remember that since \(g(x)\to \infty\), we must have \(\tfrac{1}{g(x)}\to 0\). Since \(\tfrac{1}{g(x)}\) is a \(\tfrac{c}{\infty}\) form.
We can also rewrite the product as a fraction by choosing the second function to be in the numerator:
Essentially, this converts a \(0\cdot \infty\) indeterminate form into a \(\tfrac{\infty}{\infty}\) indeterminate form, so that we can then use l’Hospital’s Rule.
Remember that since \(f(x)\to 0\), we must have \(\tfrac{1}{f(x)}\to \pm \infty\). Since \(\tfrac{1}{f(x)}\) is a \(\tfrac{c}{0}\) form.
Example 6#
Evaluate the limit:
Click through the tabs to see the steps of our solution.
In this example, we are going to rewrite the product as a fraction, so that l’Hospital’s Rule might be applicable.
As with any limit, we first need to check to see what form we have (if we get a number then that is most likely our answer).
We’re interested in calculating the limit:
So we begin by looking at each individual piece:
Since these pieces are being multiplied together in the original function, it means we have a \(0\cdot \infty\) indeterminate product.
Since this limit is an indeterminate product of the form \(0\cdot \infty\), we need to try rewriting this as a fraction. As we’ve discussed we have two options for how to do this:
The first function can go into the numerator of the fraction.
The second function can go into the numerator.
Let’s try putting the \((\ln x)\) term into the numerator.
Why is this helpful? It just looks like we made the expression more complicated. Well, let’s consider what is happening in this fraction:
Which is an indeterminate \(\tfrac{\infty}{\infty}\)-form, meaning we can now use l’Hospital’s Rule.
(Remember that \(\tfrac{1}{\sqrt{x}}\) is a \(\tfrac{c}{0}\) form which is either \(+\infty\) or \(-\infty\).)
Now that we have verified this is an appropriate indeterminate form, we can apply L’Hospital’s Rule (using an H to indicate where we use the rule).
Once we apply the rule, differentiate, and simplify, we have a brand new limit that needs to be investigated. So the process starts again:
Identify the form of this new limit.
Use L’Hospital’s Rule if applicable.
Once we finish differentiating, we should try to simplify our new limit as much as possible. We actually have a bunch of powers of \(x\) which probably can be consolidated in some way:
Investigating this new limit, we see that it is not an indeterminate form:
And there’s our answer:
Indeterminate Differences#
We say the limit \(\displaystyle \lim_{x\to a} \big({f(x)}-{g(x)}\big)\) is an:
\(\infty - \infty\) - Indeterminate Form
\(\infty - \infty\) Indeterminate Form provided both:
Note: As usual, we have similar definitions for right and left side limits as well as limits at infinity.
In many cases, we have two strategies for dealing with indeterminate differences:
Rewrite the difference as a product.
Rewrite the difference as a quotient, so that l’Hospital’s Rule can be used (if possible).
We have actually seen these indeterminate differences before. One of the little examples that we looked at was:
This is an \(\infty-\infty\) indeterminate form. What we did was to try and factor the polynomial into a product:
That product is not an indeterminate form, since both factors are getting really large positive, their overall product gets very large positive as well. And so the limit is infinite.
Example 7#
Evaluate the limit:
Click through the tabs to see the steps of our solution.
In this example, we are going to rewrite the difference as a single quotient, so that l’Hospital’s Rule might be applicable.
As with any limit, we first need to check to see what form we have (if we get a number then that is most likely our answer).
We’re interested in calculating the limit:
So we begin by looking at each individual piece:
where each of these is a \(\tfrac{c}{0}\)-form.
Since we are subtracting these two fractions, we therefore have an \(\infty - \infty\) indeterminate difference.
One of our usual strategies when working with fractions is to combine them into one fraction using their common denominator. Doing this we get:
Why is this helpful? Well, let’s consider what is happening in this single fraction:
Which is an indeterminate \(\tfrac{0}{0}\)-form, meaning we can now use l’Hospital’s Rule.
Now that we have verified this is an appropriate indeterminate form, we can apply L’Hospital’s Rule (using an H to indicate where we use the rule).
Once we apply the rule, differentiate, and simplify, we have a brand new limit that needs to be investigated. So the process starts again:
Identify the form of this new limit.
Use L’Hospital’s Rule if applicable.
Once we finish differentiating, we should try to simplify our new limit as much as possible. Since we see fractions stacked on top of fractions, that’s a good indication that there are things we can simplify.
In this case let’s multiply by \(\tfrac{x}{x}\) so we can hopefully cancel some of those \(\tfrac{1}{x}\) terms:
Investigating this new limit, we see that it is also an indeterminate form:
Applying L’Hospital’s Rule again gives us:
Not done yet, we now have another brand new limit to calculate.
Investigating this new limit, we see that it is not an indeterminate form:
And there’s our answer:
Indeterminate Powers#
We say the limit \(\displaystyle \lim_{x\to a} {f(x)}^{g(x)}\) is a:
\(0^0\) Indeterminate Form
\(0^0\) Indeterminate Form provided both:
\(\infty^0\) Indeterminate Form
\(\infty^0\) Indeterminate Form provided both:
\(1^{\infty}\) Indeterminate Form
\(1^{\infty}\) Indeterminate Form provided both:
Note (1): As usual, we have similar definitions for right and left side limits as well as limits at infinity.
Note (2): Note that a \(0^{\infty}\) form is not indeterminate.
Example 8#
Evaluate the limit:
Click through the tabs to see the steps of our solution.
The strategy we are going to use here, starts similar to our technique for logarithmic differentiation:
Apply $\ln \big( \cdot \big) to both sides.
Simplify the right side.
Calculate the limit of \(\ln y\)
Use \(y=e^{\ln y }\) to calculate the limit of \(y\).
As with any limit, we first need to check to see what form we have (if we get a number then that is most likely our answer).
We’re interested in calculating the limit:
So we begin by looking at each individual piece:
Since the base and exponent terms are both going to \(0\), this means we have a \(0^0\) indeterminate form.
With these indeterminate powers, we start by applying the natural log to both sides of our function:
We next simplify the right side using our log properties:
Next, we calculate the limit of \(\ln y\).
This is a brand new limit that we need to calculate, meaning we would need to go through the usual steps by first identifying the indeterminate form (if it even is indeterminate).
However, we did this problem back in Example 6, so we’ll just use our result (and work) from there.
Now, we’re ready to calculate our desired limit, with a little help from the property that \(y=e^{\ln y}\).
Note that since \(e^{(\cdot)}\) is a continuous function, we can bring the limit inside this outer function.
And we have our desired answer!