Lesson 4.5 · Contextual Applications of Differentiation
L'Hôpital's rule
Some limits can't be found by substitution because they produce a meaningless expression like . In Unit 1 you handled these with algebra: factoring, rationalizing, or special trig limits. L'Hôpital's rule gives a single, powerful method that uses derivatives instead, and it works on many limits where algebra gets stuck.
Indeterminate forms
Try substituting into . You get . That doesn't mean the limit is 0, or 1, or undefined; it means substitution gave you no information. The numerator and denominator are both shrinking toward 0, and the limit depends on how fast each one shrinks.
The same thing happens with : in , both parts grow without bound, and you need to know which grows faster. These two expressions are called indeterminate forms.
The rule
L'Hôpital's rule
Suppose and are differentiable near (except possibly at ), near , and
Then
provided the limit on the right exists (or is ). The same rule holds for one-sided limits and for .
Why does this work? When , local linearity says and near . The factors of cancel, leaving . The ratio of two quantities that both vanish is decided by the ratio of their rates.
Common mistake
Check the form first, every time. L'Hôpital's rule applies only to or . For example, by substitution, but blindly differentiating top and bottom gives , which is wrong. On the AP exam you must show that the form is indeterminate (by writing the two separate limits) to earn credit for using the rule.
Also: differentiate the numerator and denominator separately. This is not the quotient rule.
Worked examples
Worked example: A basic 0/0 limit
Evaluate .
Solution. As , and , so the form is . By L'Hôpital's rule,
Worked example: Applying the rule twice
Evaluate .
Solution. Substituting gives . Apply the rule:
This is still , so apply the rule again:
Each time, confirm the new limit is still indeterminate before differentiating again.
Worked example: An infinity-over-infinity limit
Evaluate .
Solution. Both numerator and denominator grow without bound: . Apply the rule twice:
Exponential functions eventually outgrow every power of . In the same way, : logarithms grow more slowly than any power.
Worked example: AP style: using given values
Functions and are differentiable with , , and , and and are continuous. Find .
Solution. Because and are continuous, and , so the form is . Since and are continuous and ,
When to reach for the rule, and when not to
L'Hôpital's rule is a tool, not a reflex. A few guidelines keep it working for you:
- Try substitution first. If substitution gives a real number, or a nonzero number over 0, the form is not indeterminate and the rule does not apply. A nonzero number over 0 points to an infinite limit or a vertical asymptote, which you analyze with signs, as in Unit 1.
- Simplify between steps. After differentiating, cancel common factors or rewrite trig expressions before deciding whether to differentiate again. Messy expressions tend to get messier.
- Watch for circles. Some limits, such as , bounce back and forth between two forms no matter how many times you apply the rule. When that happens, switch to algebra: dividing the numerator and denominator by gives the limit 1 immediately.
- Algebra is still allowed. For a rational function like , factoring is just as quick. Both methods earn full credit when done correctly.
The rule also sharpens what you learned about end behavior. Comparing growth rates with limits at infinity shows the ranking that AP questions rely on: logarithms grow more slowly than powers of , and powers grow more slowly than exponentials.
Tip
Many AP free-response questions give values of , , and in a table and ask for a limit of . Write the separate limits of the numerator and denominator, name the form, name the rule, then substitute. Those four short steps are worth the full point.
Practice
Evaluate using L'Hôpital's rule.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Evaluate .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Evaluate .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Evaluate .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Evaluate .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Evaluate .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Functions and have continuous derivatives, with , , and . What is ?
For which limit is L'Hôpital's rule not appropriate to apply directly?