Some limits, like x→0limxsin3x or x→∞limexx2, can’t be found by substituting, and factoring doesn’t help. L’Hospital’s Rule (also spelled L’Hôpital’s, after the French mathematician; AP uses “L’Hospital”) turns these into easier limits using derivatives. It’s quick and powerful, but only when you check the form first.
If substituting gives 00 or ∞∞, the limit is indeterminate: the form alone doesn’t tell you the answer. It could be any number, or infinite. You saw how to handle some of these with algebraic techniques like factoring. L’Hospital’s Rule handles many more.
For the 00 case, think about local linearity. If f(a)=g(a)=0, then near a each function is close to its tangent line: f(x)≈f′(a)(x−a) and g(x)≈g′(a)(x−a). The (x−a) factors cancel, leaving g′(a)f′(a).
Near x=1, lnx≈1(x−1) and x2−1≈2(x−1), so x→1limx2−1lnx=21.
Check the form by substituting. Only continue if you get 00 or ∞∞.
Differentiate the numerator and the denominator separately.
Find the new limit. If it is still00 or ∞∞, you may apply the rule again (check the form each time).
On a test, show that the form is indeterminate before using the rule, for example: ”x→0lim(ex−1)=0 and x→0limx=0, so L’Hospital’s Rule applies.” AP questions in particular often give values of f, g, f′, g′ in a table instead of formulas.
Solution. As x→∞, both x2 and ex go to ∞: the form is ∞∞.
x→∞limexx2=x→∞limex2x=x→∞limex2=0
(The middle limit is still ∞∞, so we applied the rule a second time.) This shows that ex grows faster than x2; in fact it grows faster than any power of x.
Using the rule without checking the form. Example 4 shows how this gives a wrong answer. Substitute first, every time, including before a second application.
Using the quotient rule. L’Hospital’s Rule takes g′(x)f′(x), the derivative of the top over the derivative of the bottom, not the derivative of g(x)f(x).
Not showing the form in a written solution. Markers (including AP graders) expect you to state that both the numerator and denominator have limit 0 (or both are infinite) before using the rule.
Applying it to forms like 05. That form means the limit is infinite or doesn’t exist (check the signs on each side); it’s not a case for L’Hospital’s Rule.
Forgetting the chain rule when differentiating.dxdsin3x=3cos3x and dxde2x=2e2x.
1. (Warm-up) Which of these limits are indeterminate forms? Evaluate the one that is not.
(a) x→1limx+1x2−1
(b) x→0limx21−cosx
Solution
(a) Substituting gives 20=0. Not indeterminate: the limit is 0.
(b) Substituting gives 01−1=00. Indeterminate (see question 4).
2. (Warm-up) Find x→0limxtanx.
Solution
The form is 00.
x→0limxtanx=x→0lim1sec2x=sec20=1
3. (Core) Find x→1limx−1lnx.
Solution
ln1=0 and 1−1=0, so the form is 00.
x→1limx−1lnx=x→1lim11/x=1
4. (Core) Find x→0limx21−cosx.
Solution
The form is 00. Apply the rule:
x→0lim2xsinx
Still 00, so apply it again:
x→0lim2cosx=21
5. (Core) Find x→∞lim2x2−x3x2+5 two ways: with L’Hospital’s Rule, and by dividing by x2.
Solution
The form is ∞∞.
L’Hospital’s Rule (twice):
x→∞lim4x−16x=x→∞lim46=23
Dividing by x2:
x→∞lim2−1/x3+5/x2=2−03+0=23
Both give 23. Here dividing is just as quick.
6. (Core) Find x→∞limxlnx.
Solution
Both go to ∞, so the form is ∞∞.
x→∞lim2x11/x=x→∞limx2x=x→∞limx2=0
So x grows faster than lnx.
7. (Core) The functions f and g are differentiable, with f(3)=0, g(3)=0, f′(3)=6, and g′(3)=−2. Find x→3limg(x)f(x), assuming f′ and g′ are continuous.
Solution
Since f and g are differentiable, they are continuous, so x→3limf(x)=f(3)=0 and x→3limg(x)=g(3)=0. The form is 00, so L’Hospital’s Rule applies:
9. (Challenge) Find the value of the constant k that makes x→0limx2ekx−1−2x a finite number, and find the value of the limit.
Solution
The form is 00 for every k. Apply the rule once:
x→0lim2xkekx−2
The bottom goes to 0, and the top goes to k−2. If k=2, this new limit doesn’t exist, but L’Hospital’s Rule only tells you something when the new limit does exist, so reason another way. By the rule, x→0limxekx−1−2x=x→0lim1kekx−2=k−2. So near 0,
x2ekx−1−2x=xekx−1−2x⋅x1≈xk−2
which blows up if k=2. So the limit can only be finite if k=2.
With k=2 the form is 00 again, so apply the rule a second time: