A5 · Lesson 33 · L'Hôpital's rule
When top and bottom both vanish, compare their rates
What does do as ? Both top and bottom go to zero, and no algebra trick from lesson 3 applies directly. But near zero, each is close to its tangent line, so their ratio is close to the ratio of their slopes. That's L'Hôpital's rule: for a 0/0 limit, differentiate the top and bottom separately and try again. It settles many limits that matter in circuits, like what an RC circuit's response looks like in its first instant.
- The two curves are and , both zero at the origin.
- Move the point toward 0. The readouts show and the ratio of slopes . What do both approach?
Predict
What is ?
- It's 0/0, so differentiate top and bottom: . Near zero, rises with slope 3 while rises with slope 1, so their ratio is 3.
Name it
The rule
If and (or both ), and has a limit, then
Differentiate the top and bottom separately. This isn't the quotient rule.
- Check the form first. If it isn't 0/0 or ∞/∞, the rule doesn't apply and gives wrong answers: , but the "rule" would say .
- If the new limit is still 0/0, apply the rule again.
Other indeterminate forms
Convert them to 0/0 or ∞/∞ first:
- 0 · ∞: write as . For example .
- ∞ − ∞: combine into one fraction.
- , , : take the log. For instance , the compound-growth limit behind .
Why it works
Near the point where both vanish, and (lesson 21), so
The factor that made both vanish cancels.
Worked example
Find .
Show the solution
- First try. Substituting gives 0/0, so differentiate the top and bottom: still 0/0.
- Differentiate again.
- What it means. For small , , or : the second-order small-angle approximation.
Answer the limit is .
Worked example
What does an RC low-pass's step response look like at the very start? Find .
Show the solution
- Check the form. At it's 0/0.
- Differentiate the top and bottom.
- What it means. At first the output rises in a straight line at volts per second, as if heading for in exactly one time constant. It's why the tangent at crosses the final value at .
Answer the limit is : the output starts as a straight ramp at volts per second.
Worked example
Find .
Show the solution
- Rewrite as a quotient. It's , so write it as which is .
- Apply L'Hôpital's rule.
- What it means. The wins: it goes to zero faster than goes to . The same fact says as .
Answer the limit is 0.
Check
Find .
Check
Find .
Check
Find .
Check
Find .
Check
Someone applies L'Hôpital's rule to and gets . What's wrong?
Check
Find , the initial slope of a charging capacitor (V per ms, with and in ms).
Check
Use L'Hôpital's rule.
(a)
(b)
(c)
Check
Find with L'Hôpital's rule.
Step 1
Apply the rule once: what is the new quotient?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
It's still . Apply it again.
Step 3
What is the limit?
Explain why
Why does differentiating the top and bottom separately give the right limit for 0/0, even though that isn't how you differentiate a quotient?
We aren't differentiating the quotient; we're comparing how fast the top and bottom go to zero. Near the point where both vanish, each is approximately its slope times the distance from the point, and . In the ratio, the shared factor cancels, leaving . So the ratio of the functions approaches the ratio of their slopes.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.