This is a beta course, so its structure, chapters, and examples may continue to change.
L'Hôpital's Rule
L’Hôpital’s rule is an important tool for computing limits. It uses derivatives to evaluate certain special forms of limit, and above all the 00 type and the ∞∞ type.
Why is it called a rule rather than a theorem?
Historical naming: L’Hôpital first called it a “rule” in his book, since many important results of the period were named “rules”.
Emphasis on the operational side: “rule” stresses the actual method of computation, so that it can be applied directly.
The difference from a “theorem”: a “theorem” stresses the theoretical proof and its universality, whereas a “rule” leans towards practical use and empirical summary.
Modern textbooks sometimes call it “L’Hôpital’s theorem”, but the “rule” is the more common name, because it brings out its operational character in the computation of limits.
The Basic Theorem
Theorem
A theorem is a proposition that has been rigorously proved, and it is the foundation of mathematical reasoning. A theorem usually states its conditions and its conclusion, and is an important part of any mathematical system.
Theorem1
Suppose the functions f(x) and g(x) are defined in some punctured neighbourhood of the point a, and satisfy:
limx→af(x)=limx→ag(x)=0, or limx→af(x)=limx→ag(x)=±∞
f(x) and g(x) are differentiable in some punctured neighbourhood of the point a, and g′(x)=0
limx→ag′(x)f′(x) exists or equals ±∞
then
limx→ag(x)f(x)=limx→ag′(x)f′(x)
The Cases Where It Applies
1. The 00 Type
Characteristic: the numerator and the denominator both tend to zero.
Example: limx→0xsinx
Solution:
The numerator and the denominator both tend to zero, so this is a 00 type.
(sinx)′=cosx and (x)′=1.
limx→0xsinx=limx→01cosx=1
2. The ∞∞ Type
Characteristic: the numerator and the denominator both tend to infinity.
Example: limx→+∞exx2
Solution:
The numerator and the denominator both tend to infinity, so this is a ∞∞ type.
(x2)′=2x and (ex)′=ex.
limx→+∞exx2=limx→+∞ex2x
Applying L’Hôpital’s rule again: limx→+∞ex2=0
3. The 0⋅∞ Type
Characteristic: one factor tends to zero and the other tends to infinity.
Method: turn it into a 00 or a ∞∞ type.
Example: limx→0+xlnx
Solution:
Turn it into a ∞∞ type: limx→0+x1lnx
(lnx)′=x1 and (x1)′=−x21
limx→0+x1lnx=limx→0+−x21x1=limx→0+(−x)=0
4. The ∞−∞ Type
Characteristic: the difference of two infinities.
Method: combine the terms, and then apply the rule.
Example: limx→1(lnx1−x−11)
Solution:
Combine the fractions: limx→1(x−1)lnxx−1−lnx
The numerator and the denominator both tend to zero, so L’Hôpital’s rule applies.
Characteristic: the indeterminate forms of a power with a variable exponent.
Method: take logarithms to turn the expression into one of the other types.
Example: limx→0+xx
Solution:
Put y=xx, so lny=xlnx.
limx→0+lny=limx→0+xlnx=0 (computed above).
Hence limx→0+xx=e0=1
Techniques for Applying the Rule
1. Applying L’Hôpital’s Rule Several Times
Note: the conditions have to be checked before each application.
Example: limx→0x3x−sinx
Solution:
The first application: limx→03x21−cosx=00
The second application: limx→06xsinx=00
The third application: limx→06cosx=61
2. Combining It with Other Methods
Example: limx→0x3sinx−x
Solution:
Use the Taylor expansion: sinx=x−6x3+o(x3)
limx→0x3sinx−x=limx→0x3−6x3+o(x3)=−61
3. Substitutions
Example: limx→+∞xlnx
Solution:
Put t=lnx, so x=et.
limx→+∞xlnx=limt→+∞ett=0
Common Mistakes and Points to Watch
1. Failing to Check the Conditions
Mistake: applying L’Hôpital’s rule without checking the conditions.
Correct: every hypothesis has to be verified.
Example: limx→0x2+1x2=10=0 (L’Hôpital’s rule is not needed here).
2. Applying It in a Loop
Mistake: applying L’Hôpital’s rule an unlimited number of times.
Correct: if the limit still does not exist after several applications, you should switch to another method.
3. Errors in the Differentiation
Mistake: an error in computing the derivatives.
Correct: compute the derivatives carefully, watching the signs and the order of the operations.
4. Misjudging the Type
Mistake: judging the type of the limit incorrectly.
Correct: classify the type of the limit accurately, and then choose a suitable method of treatment.
The Limitations of L’Hôpital’s Rule
1. The Cases Where It Does Not Apply
The limit is not an indeterminate form.
The derivatives do not exist.
The limit of the ratio of the derivatives does not exist.
2. The Cases Where It Fails
The limit still does not exist after several applications.
A loop appears.
3. Choosing Another Method
Taylor expansion
Substitution by equivalent infinitesimals
A change of variables
The squeeze theorem
Exercises
Exercise 1
Use L’Hôpital’s rule to compute the limit limx→0xsinx.
L’Hôpital’s rule
Approach:
Check the conditions and then apply L’Hôpital’s rule.
Steps:
Check the conditions: limx→0sinx=0 and limx→0x=0