A533 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A5 · Lesson 33 · L'Hôpital's rule

When top and bottom both vanish, compare their rates

What does 1−e−t/τt do as t→0? 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 f(x)=1−e−x and g(x)=x, both zero at the origin.
  • Move the point toward 0. The readouts show f/g and the ratio of slopes f′/g′. What do both approach?

Predict

What is limx→0⁡e3x−1x?

Name it

The rule

If lim⁡f(x)=0 and lim⁡g(x)=0 (or both →±∞), and f′/g′ has a limit, then

lim⁡f(x)g(x)=lim⁡f′(x)g′(x)

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: limx→0⁡x+1x+2=12, but the "rule" would say 11=1.
  • If the new limit is still 0/0, apply the rule again.

Other indeterminate forms

Convert them to 0/0 or ∞/∞ first:

  • 0 · ∞: write fg as f1/g. For example limt→∞⁡te−t=lim⁡tet=lim⁡1et=0.
  • ∞ − ∞: combine into one fraction.
  • 1∞, 00, ∞0: take the log. For instance limn→∞⁡(1+xn)n=ex, the compound-growth limit behind e.

Why it works

Near the point a where both vanish, f(x)≈f′(a)(x−a) and g(x)≈g′(a)(x−a) (lesson 21), so

f(x)g(x)≈f′(a)(x−a)g′(a)(x−a)=f′(a)g′(a)

The factor (x−a) that made both vanish cancels.

Worked example

Find limx→0⁡1−cos⁡xx2.

Show the solution
  1. First try. Substituting gives 0/0, so differentiate the top and bottom: sin⁡x2x still 0/0.
  2. Differentiate again. cos⁡x2→12
  3. What it means. For small x, 1−cos⁡x≈x22, or cos⁡x≈1−x22: the second-order small-angle approximation.

Answer the limit is 12.

Worked example

What does an RC low-pass's step response look like at the very start? Find limt→0+⁡V(1−e−t/τ)t.

Show the solution
  1. Check the form. At t=0 it's 0/0.
  2. Differentiate the top and bottom. (V/τ)e−t/τ1→Vτ
  3. What it means. At first the output rises in a straight line at V/τ volts per second, as if heading for V in exactly one time constant. It's why the tangent at t=0 crosses the final value at t=τ.

Answer the limit is V/τ: the output starts as a straight ramp at V/τ volts per second.

Worked example

Find limx→0+⁡xln⁡x.

Show the solution
  1. Rewrite as a quotient. It's 0×(−∞), so write it as ln⁡x1/x which is −∞∞.
  2. Apply L'Hôpital's rule. limx→0+⁡1/x−1/x2=limx→0+⁡(−x)=0
  3. What it means. The x wins: it goes to zero faster than ln⁡x goes to −∞. The same fact says xx→1 as x→0+.

Answer the limit is 0.

Check

Find limx→0⁡e3x−1x.

Check

Find limx→0⁡1−cos⁡(4x)x2.

Check

Find limx→∞⁡x3ex.

Check

Find limx→0⁡ln⁡(1+2x)5x.

Check

Someone applies L'Hôpital's rule to limx→1⁡x2+1x+1 and gets 2x1→2. What's wrong?

Check

Find limt→0+⁡5(1−e−t/2)t, the initial slope of a charging capacitor (V per ms, with t and τ in ms).

Check

Use L'Hôpital's rule.

(a)

limx→0⁡e2x−11x

(b)

limx→0⁡1−cos⁡2xx2

(c)

limx→0⁡sin⁡2x−2xx3

Check

Find limx→0⁡sin⁡x−xx3 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°.

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?

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.