Using L'Hospital's Rule for Determining Limits of Indeterminate Forms
Introduced
6:54
Interpreting the Derivative in Context
Now that we can compute derivatives, we use them to describe the real world. A derivative is a rate of change. How fast is a population growing? How fast is a…
English narration · English and 中文 subtitles you can switch
In this lesson
| English | Meaning |
|---|---|
| L'Hospital's Rule/ˈelhɒspɪtlz ruːl/ | Under its hypotheses, a limit of an indeterminate quotient of type zero over zero or infinity over infinity equals the limit of the quotient of the derivatives. |
| indeterminate forms/ˌɪndɪˈtɜːmɪnət fɔːmz/ | A limiting expression whose apparent form alone does not determine its limit, such as zero over zero. |
A derivative trick for stubborn limits
- Back in Unit 1, $\tfrac00$ meant "simplify by algebra." Sometimes no algebra helps.
- L'Hospital's Rule 洛必达法则 uses derivatives to crack those stubborn limits.
- It applies to the indeterminate forms $\tfrac00$ and $\tfrac{\infty}{\infty}$.
- The idea: replace the ratio of functions by the ratio of their derivatives.
Check the form first
- L'Hospital only applies to a genuine indeterminate form: $\dfrac00$ or $\dfrac{\infty}{\infty}$.
- Substitute first to confirm you have one — if direct substitution already gives a number, you are done, and the rule does not apply.
- Using it on a non-indeterminate limit (like $\tfrac{5}{2}$) gives a wrong answer.
- So always verify the form before reaching for the rule.

When f(a) = g(a) = 0 the ratio f/g near a matches the ratio of their slopes
L'Hospital's Rule applies to which indeterminate forms?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Only $\tfrac00$ and $\tfrac\infty\infty$. $\tfrac52$ is already determinate; $\tfrac30$ is an asymptote, not indeterminate.
Before applying the rule, confirm the limit is an ____ form by substituting.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Only $\tfrac00$ or $\tfrac\infty\infty$ qualify.
Differentiate top and bottom separately
- The rule: $$\lim_{x\to c}\frac{f(x)}{g(x)}=\lim_{x\to c}\frac{f'(x)}{g'(x)}$$(when the form is indeterminate).
- Warning: this is not the quotient rule — you differentiate $f$ and $g$ independently, no minus, no $g^2$.
- Then re-evaluate the new, simpler limit.
- $\displaystyle\lim_{x\to0}\frac{\sin x}{x}=\lim_{x\to0}\frac{\cos x}{1}=1$ — a quick check of the famous limit. It is not a proof: the derivative of $\sin x$ was itself found from this limit.
A 0/0 ratio with a real limit
y = sin(x)/x (near 0)
$\tfrac{\sin x}{x}$ looks like $\tfrac00$ at $0$ but the curve heads smoothly to $1$ — L'Hospital finds that value fast.
L'Hospital's Rule uses the quotient rule $\dfrac{f'g-fg'}{g^2}$ on the numerator and denominator.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
It differentiates $f$ and $g$ separately: $\tfrac{f'}{g'}$, not the quotient rule.
Evaluate $\displaystyle\lim_{x\to0}\dfrac{e^x-1}{x}$ using the rule.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$\tfrac00\Rightarrow\lim\tfrac{e^x}{1}=e^0=1$.
By L'Hospital, $\displaystyle\lim_{x\to0}\dfrac{\sin x}{x}=\lim_{x\to0}\dfrac{\cos x}{1}=$
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$\cos 0=1$.
Repeat if it's still indeterminate
- If the new ratio $\tfrac{f'}{g'}$ is also $\tfrac00$ or $\tfrac\infty\infty$, apply the rule again.
- Keep differentiating top and bottom until you get a determinate value.
- $\displaystyle\lim_{x\to0}\frac{1-\cos x}{x^2}=\lim_{x\to0}\frac{\sin x}{2x}=\lim_{x\to0}\frac{\cos x}{2}=\tfrac12$ (two applications).
- Each round must still be indeterminate to justify another application.
Applying the rule twice, $\displaystyle\lim_{x\to0}\dfrac{1-\cos x}{x^2}=$ ? (a decimal)
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$\to\tfrac{\sin x}{2x}\to\tfrac{\cos x}{2}=\tfrac12$.
$\dfrac{f'}{g'}$ is not the quotient rule. L'Hospital differentiates numerator and denominator separately: $\frac{d}{dx}[f]$ over $\frac{d}{dx}[g]$ — no $\frac{f'g-fg'}{g^2}$. And only use it on $\tfrac00$ or $\tfrac{\infty}{\infty}$; applying it when the limit is already determinate produces nonsense.
Evaluate $\displaystyle\lim_{x\to0}\frac{e^x-1}{x}$.
- Substitute: $\frac{e^0-1}{0}=\frac{0}{0}$ — indeterminate, so L'Hospital applies.
- Differentiate top and bottom: $\dfrac{e^x}{1}$.
- $\displaystyle\lim_{x\to0}\frac{e^x}{1}=e^0=1$.
Infinity over infinity, and growth rates
- The rule works the same way when top and bottom both grow without bound. It shows which function grows faster.
- Exponentials beat powers, and powers beat logarithms: $\displaystyle\lim_{x\to\infty}\frac{x^2}{e^x}=\lim_{x\to\infty}\frac{2x}{e^x}=\lim_{x\to\infty}\frac{2}{e^x}=0$.
Find the limit as x → ∞ of x³ / eˣ.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Three applications give 6 / eˣ → 0. The exponential grows faster than any power.
Find $\displaystyle\lim_{x\to2}\frac{x^2-4}{x-2}$ with L'Hospital's Rule. How are the derivatives taken?
2 times 2 over 1 is 4.
L'Hospital's Rule on $\displaystyle\lim_{x\to2}\frac{x^2-4}{x-2}$ gives what?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The new quotient 2x / 1 equals 4 at 2.
A logarithm on top. Find $\displaystyle\lim_{x\to\infty}\frac{\ln x}{\sqrt x}$.
- Form: $\dfrac{\infty}{\infty}$. Differentiate: $\dfrac{1/x}{\tfrac{1}{2}x^{-1/2}}=\dfrac{2}{\sqrt x}$.
- $\displaystyle\lim_{x\to\infty}\frac{2}{\sqrt x}=0$: $\sqrt x$ grows faster than $\ln x$.
Rewrite other forms first
- A product of the form $0\cdot\infty$ is not a fraction yet. Rewrite it: $f\cdot g=\dfrac{f}{1/g}$, to get $\dfrac00$ or $\dfrac\infty\infty$.
- Example: $\displaystyle\lim_{x\to0^+}x\ln x=\lim_{x\to0^+}\frac{\ln x}{1/x}=\lim_{x\to0^+}\frac{1/x}{-1/x^2}=\lim_{x\to0^+}(-x)=0$.
Find the limit as x → ∞ of x · sin(1/x). (Hint: write it as sin(1/x) ÷ (1/x).)
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Form 0/0. Derivatives: cos(1/x)·(−1/x²) ÷ (−1/x²) = cos(1/x) → cos 0 = 1.
The AP table question. $f$ and $g$ are differentiable, with $f(3)=0$, $g(3)=0$, $f'(3)=4$ and $g'(3)=-2$. Find $\displaystyle\lim_{x\to3}\frac{f(x)}{g(x)}$.
- The limit has the form $\dfrac00$, because $f$ and $g$ are continuous and both are 0 at 3. Say this in your answer.
- By L'Hospital's rule, the limit $=\dfrac{f'(3)}{g'(3)}=\dfrac{4}{-2}=-2$ (if $f'$ and $g'$ are continuous).
f(2) = 0, g(2) = 0, f′(2) = 6 and g′(2) = 3, with f and g differentiable and f′, g′ continuous. Find the limit as x → 2 of f(x)/g(x).
Difficulty 2/5 · 140 coins + a small bonus on first completion today
The form is 0/0, so the limit is f′(2)/g′(2) = 6/3 = 2.
L'Hospital's Rule: for the indeterminate forms $\tfrac00$ or $\tfrac{\infty}{\infty}$, $\lim\frac{f}{g}=\lim\frac{f'}{g'}$ — differentiate top and bottom separately (not the quotient rule) and re-evaluate. Confirm the form first, and repeat the rule while the result stays indeterminate. Rewrite $0\cdot\infty$ as a fraction first; exponentials outgrow powers, and powers outgrow logarithms.
What went wrong? Only the site team sees this.