L'Hopital's Rule
Site: | Saylor Academy |
Course: | MA005: Calculus I |
Book: | L'Hopital's Rule |
Printed by: | Guest user |
Date: | Saturday, 26 April 2025, 5:06 PM |
Description
Read this section to learn how to use and apply L'Hopital's Rule. Work through practice problems 1-3.
Introduction
When we began taking limits of slopes of secant lines, as
, we frequently encountered one difficulty: both the numerator and the denominator approached
. And since the denominator approached
, we could not apply the Main Limit Theorem. In each case, however, we managed to get past this "
" difficulty by using algebra or geometry or trigonometry, but there was no common approach or pattern. The algebraic steps we used to evaluate
seem quite different from the trigonometric steps needed for
.
In this section we consider a single technique, called l'Hô pital's Rule (pronounced Low-Pee-Tall), which enables us to quickly and easily evaluate limits of the form " " as well as several other difficult forms.
Source: Dale Hoffman, https://s3.amazonaws.com/saylordotorg-resources/wwwresources/site/wp-content/uploads/2011/11/4-7LHopitalsRule.pdf This work is licensed under a Creative Commons Attribution 3.0 License.
A Linear Example
Two linear functions are given in Fig. 1 , and we need to find . Unfortunately,
and
so we cannot apply the Main Limit Theorem. However, we know
and
are linear, we can calculate their slopes from Fig. 1 , and we know that they both go through the point
so we can find their equations:
and
.
Fig. 1
In fact, this pattern works for any two linear functions:
The really powerful result, discovered by John Bernoulli and named for the Marquis de 1'Hô pital who published it in his calculus book, is that the same pattern is true for differentiable functions even if they are not linear.
Idea for a proof: Even though and
may not be linear functions, they are differentiable so at the point
they are "almost linear" in the sense that they are well approximated by their tangent lines at that point (Fig. 2):
Fig. 2
(Unfortunately, we have ignored a couple subtle difficulties such as or
possibly being
when
is close to
. A proof of
Hô pital's Rule is difficult and is not included.)
Example 1: Use 1'Hô pital's Rule to determine and
.
Solution: (a) We could evaluate this limit without 1'Hô pital's Rule but let's use it. We can match the pattern of 1 'Hô pital's Rule by letting and
. Then
, and
and
are differentiable with
and
so
(b) Let and
. Then
and
are differentiable for
near
, and
and
. Then
Strong Version of L'Hôpital's Rule
L'Hô pital's Rule can be strengthened to include the case when and the indeterminate form "
", the case when both
and
increase without any bound.
L'Hô pital's Rule (Strong " " and "
" forms)
If and
are differentiable on an open interval
which contains the point a,
on I except possibly at
, and
then provided the limit on the right exists.
( " " can represent a finite number or "
". )
Solution: As " ", both
and
increase without bound so we have an "
" indeterminate form and can use the Strong Version l'Hô pital's Rule:
The limit of may also be an indeterminate form, and then we can apply l'Hô pital's Rule to the ratio
. We can continue using l'Hô pital's Rule at each stage as long as we have an indeterminate quotient.
Which Function Grows Faster
Sometimes we want to compare the asymptotic behavior of two systems or functions for large values of , and l'Hô pital's Rule can be a useful tool. For example, if we have two different algorithms for sorting names, and each algorithm takes longer and longer to sort larger collections of names, we may want to know which algorithm will accomplish the task more efficiently for really large collections of names.
Example 4: Algorithm A requires steps to sort
names and algorithm
requires
steps. Which algorithm will be better for sorting very large collections of names?
Solution: We can compare the ratio of the number of steps each algorithm requires, , and then take the limit of this ratio as n grows arbitrarily large:
. If this limit is infinite, we say that
"grows faster" than
. If the limit is
, we say that
grows faster than
. Since
and
both grow arbitrarily large when
is large, we can algebraically simplify the ratio to
and then use L'Hopital's Rule:
grows faster than
so algorithm
requires fewer steps for really large sorts.
Practice 3: Algorithm requires
operations to find the shortest path connecting
towns, algorithm
requires
operations for the same task, and algorithm
requires
operations. Which algorithm is best for finding the shortest path connecting a very large number of towns? Worst?
Other "Indeterminate Forms"
" " is called an indeterminate form because knowing that
approaches
and
approaches
is not enough to determine the limit of
, even if it has a limit. The ratio of a "small" number divided by a "small" number can be almost anything as the three simple "
" examples show:
Similarly, " " is an indeterminate form because knowing that
and
both grow arbitrarily large is not enough to determine the value limit of
or if the limit exists:
Besides the indeterminate quotient forms " " and "
" there are several other "indeterminate forms". In each case, the resulting limit depends not only on each function's limit but also on how quickly each function approaches its limit.
Product: If approaches
, and
grows arbitrarily large, the product
has the indeterminant form "
".
Exponent: If and
both approach
, the function
has the indeterminant form "
".
If approaches
, and g grows arbitrarily large, the function
has the indeterminant form "
".
If grows arbitrarily large, and
approaches
, the function
has the indeterminant form "
".
Difference: If and
both grow arbitrarily large, the function
has the indeterminant form "
".
Unfortunately, l'Hô pital's Rule can only be used directly with an indeterminate quotient (" " or "
'), but these other forms can be algebraically manipulated into quotients, and then l'Hô pital's Rule can be applied to the resulting quotient.
Example 5: Evaluate ("
" form)
Solution: This limit involves an indeterminate product, and we need a quotient in order to apply l'Hô pital's Rule. We can rewrite the product as the quotient
, and then so apply l'Hô pital's Rule
A product with the indeterminant form "
" can be rewritten as a quotient,
or
, and then l'Hô pital's Rule can be used.
Solution: An indeterminate exponent can be converted to a product by recalling a property of exponential and
logarithm functions: for any positive number so
.
and this last limit involves an indeterminate product
which we converted to a quotient and evaluated to be
in Example 5.
Our final answer is then :
An indeterminate form involving exponents, with the form "
, " "
, " or "
, " can be converted to an indeterminate product by recognizing that
and then determining the limit of
. The final result is
.
Example 7: Evaluate ("
" form)
Solution: so we need
"
" an indeterminate product so rewrite it as a quotient
an indeterminate quotient so use l'Hô pital's Rule
Practice Answers
Practice 1:
(a) . The numerator and denominator are both differentiable and both equal
when
, so we can apply l'Hô pital's Rule:
(b) . The numerator and denominator are both differentiable functions and they both equal
when
, so we can apply l'Hô pital's Rule:
Practice 2: . The numerator and denominator are both differentiable and both become arbitrarily large as
becomes large, so we can apply l'Hô pital's Rule:
"
". Using l'Hô pital's Rule again:
Practice 3: Comparing with
operations to
with
operations.
"
" so use L'Hopital's Rule:
so
requires fewer operations than
.
Comparing with
operations to
with
operations.
so requires fewer operations than
.
requires the fewest operations of the three algorithms.
Comparing with
operations to
with
operations. Using l'Hô pital's Rule several times:
so requires more operations than
.
requires the most operations of the three algorithms.