← MathScape

L'Hospital's Rule for Quotients

MATH161
Reference: Stewart 6.8  •  Chapter: 6  •  Section: 8

Navigation: Wiki Home > Skills > L'Hospital's Rule for Quotients

L'Hospital's Rule for Quotients

A Shortcut Through the Indeterminate

When both numerator and denominator approach zero (or both approach infinity), direct substitution fails. Before L'Hospital's Rule, you might spend considerable effort factoring, rationalizing, or finding clever algebraic tricks.

L'Hospital's Rule offers a systematic approach: differentiate the top and bottom separately, then take the limit again. It's elegant, powerful, and—when used correctly—remarkably efficient.

But beware: this rule only applies to $\frac{0}{0}$ and $\frac{\infty}{\infty}$ forms. Using it on other forms gives wrong answers. Always verify the form first!

Prerequisite Map

This skill
L'Hospital's Rule (Quotients)

Quick Reference

Property Value
Concept Indeterminate Forms & L'Hospital's Rule
Chapter Chapter 6, Section 8
Difficulty Intermediate
Time ~20 minutes

Key Concepts

L'Hospital's Rule

Suppose $f$ and $g$ are differentiable, $g'(x) \neq 0$ near $a$ (except possibly at $a$), and either:

$$\lim_{x \to a} f(x) = 0 \text{ and } \lim_{x \to a} g(x) = 0 \quad \text{(form } \tfrac{0}{0}\text{)}$$

or

$$\lim_{x \to a} f(x) = \pm\infty \text{ and } \lim_{x \to a} g(x) = \pm\infty \quad \text{(form } \tfrac{\infty}{\infty}\text{)}$$

Then:

$$\boxed{\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}}$$

provided the limit on the right exists (or equals $\pm\infty$).

Critical Warnings

DO NOT confuse this with the Quotient Rule!

L'Hospital's Rule Quotient Rule
$\lim \frac{f}{g} = \lim \frac{f'}{g'}$ $\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}$
Differentiate separately Differentiate together
For evaluating limits For finding derivatives

Why It Works: The Geometric Intuition

Near the point where both $f(a) = 0$ and $g(a) = 0$, both functions look nearly linear (if we zoom in far enough). Their ratio is approximately:

$$\frac{f(x)}{g(x)} \approx \frac{f'(a)(x-a)}{g'(a)(x-a)} = \frac{f'(a)}{g'(a)}$$

The $(x-a)$ factors cancel, leaving the ratio of slopes.

        y
        |
        |         /  f(x)
        |        /
        |       /
        |      /
    ────┼─────●─────── x
        |    / a
        |   /  g(x)
        |  /
        | /

The Rule Extends To:

Limit Type Still Works?
$x \to a^+$ (one-sided) Yes
$x \to a^-$ (one-sided) Yes
$x \to \infty$ Yes
$x \to -\infty$ Yes

When to Apply Multiple Times

If after one application you still get $\frac{0}{0}$ or $\frac{\infty}{\infty}$, apply again:

$$\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)} = \lim_{x \to a} \frac{f''(x)}{g''(x)} = \cdots$$

But always verify the form before each application!

Worked Examples

Example 1: Basic $\frac{0}{0}$

Evaluate $\lim_{x \to 1} \frac{\ln x}{x - 1}$

Step 1: Verify the form

Step 2: Differentiate top and bottom $$\lim_{x \to 1} \frac{\ln x}{x - 1} = \lim_{x \to 1} \frac{\frac{d}{dx}[\ln x]}{\frac{d}{dx}[x-1]} = \lim_{x \to 1} \frac{1/x}{1} = \lim_{x \to 1} \frac{1}{x} = 1$$

Example 2: Multiple Applications

Evaluate $\lim_{x \to \infty} \frac{e^x}{x^2}$

Step 1: Verify the form

Step 2: First application $$\lim_{x \to \infty} \frac{e^x}{x^2} = \lim_{x \to \infty} \frac{e^x}{2x}$$

Step 3: Check again — still $\frac{\infty}{\infty}$, apply again: $$\lim_{x \to \infty} \frac{e^x}{2x} = \lim_{x \to \infty} \frac{e^x}{2} = \infty$$

Example 3: Simplify After Differentiating

Evaluate $\lim_{x \to \infty} \frac{\ln x}{\sqrt{x}}$

Step 1: Verify — form is $\frac{\infty}{\infty}$ ✓

Step 2: Apply L'Hospital's Rule $$\lim_{x \to \infty} \frac{\ln x}{\sqrt{x}} = \lim_{x \to \infty} \frac{1/x}{1/(2\sqrt{x})}$$

Step 3: Simplify instead of applying again $$= \lim_{x \to \infty} \frac{1/x}{1/(2\sqrt{x})} = \lim_{x \to \infty} \frac{2\sqrt{x}}{x} = \lim_{x \to \infty} \frac{2}{\sqrt{x}} = 0$$

Insight: Sometimes simplifying algebraically is faster than repeated L'Hospital applications.

Practice Problems

Level 1 Direct Application

Evaluate $\lim_{x \to 0} \frac{e^x - 1}{x}$

Thought Process
  1. Check the form: As $x \to 0$, numerator $e^0 - 1 = 0$, denominator $= 0$. Form: $\frac{0}{0}$ ✓
  1. Apply L'Hospital: Differentiate top and bottom:
  1. Evaluate the new limit
Show Answer

Verify form: $\frac{e^0 - 1}{0} = \frac{0}{0}$ ✓

Apply L'Hospital's Rule: $$\lim_{x \to 0} \frac{e^x - 1}{x} = \lim_{x \to 0} \frac{e^x}{1} = e^0 = \boxed{1}$$

Level 2 Trigonometric Quotient

Evaluate $\lim_{x \to 0} \frac{\tan 3x}{\sin 5x}$

Thought Process
  1. Check form: Both $\tan 3(0) = 0$ and $\sin 5(0) = 0$. Form: $\frac{0}{0}$ ✓
  1. Differentiate:
  1. Evaluate at $x = 0$:
Show Answer

Verify form: $\frac{\tan 0}{\sin 0} = \frac{0}{0}$ ✓

Apply L'Hospital's Rule: $$\lim_{x \to 0} \frac{\tan 3x}{\sin 5x} = \lim_{x \to 0} \frac{3\sec^2 3x}{5\cos 5x}$$

Evaluate: $$= \frac{3\sec^2(0)}{5\cos(0)} = \frac{3 \cdot 1}{5 \cdot 1} = \boxed{\frac{3}{5}}$$

Level 3 Multiple Applications Needed

Evaluate $\lim_{x \to 0} \frac{e^x + e^{-x} - 2}{x^2}$

Thought Process
  1. Check form: Numerator: $e^0 + e^0 - 2 = 1 + 1 - 2 = 0$. Denominator: $0$. Form: $\frac{0}{0}$ ✓
  1. First application:
  1. Second application:
Show Answer

Verify form: $\frac{1 + 1 - 2}{0} = \frac{0}{0}$ ✓

First application: $$\lim_{x \to 0} \frac{e^x + e^{-x} - 2}{x^2} = \lim_{x \to 0} \frac{e^x - e^{-x}}{2x}$$

Check: $\frac{1 - 1}{0} = \frac{0}{0}$ — apply again ✓

Second application: $$= \lim_{x \to 0} \frac{e^x + e^{-x}}{2}$$

Evaluate: $$= \frac{e^0 + e^0}{2} = \frac{1 + 1}{2} = \boxed{1}$$

Level 4 When NOT to Use L'Hospital

Analyze the limit $\lim_{x \to \infty} \frac{x + \sin x}{x}$ using L'Hospital's Rule.

(a) What happens if you try to apply L'Hospital's Rule?

(b) Find the correct limit using a different method.

(c) Explain why L'Hospital's Rule fails here.

Thought Process

(a) Attempting L'Hospital:

  • Form check: $\frac{\infty}{\infty}$ ✓ (seems valid)
  • Differentiate: $\frac{1 + \cos x}{1}$
  • But $\cos x$ oscillates between $-1$ and $1$ forever!

(b) Alternative approach: Divide by $x$: $$\frac{x + \sin x}{x} = 1 + \frac{\sin x}{x}$$

(c) L'Hospital requires the limit of derivatives to exist (or be $\pm\infty$). Here $1 + \cos x$ oscillates, so the limit DNE.

Show Answer

(a) Applying L'Hospital's Rule:

Form: $\frac{\infty}{\infty}$ seems to justify L'Hospital.

$$\lim_{x \to \infty} \frac{x + \sin x}{x} \stackrel{?}{=} \lim_{x \to \infty} \frac{1 + \cos x}{1}$$

But $1 + \cos x$ oscillates between $0$ and $2$ as $x \to \infty$. The limit of derivatives does not exist!

(b) Correct method — algebraic simplification:

$$\lim_{x \to \infty} \frac{x + \sin x}{x} = \lim_{x \to \infty} \left(1 + \frac{\sin x}{x}\right)$$

Since $-1 \leq \sin x \leq 1$: $$-\frac{1}{x} \leq \frac{\sin x}{x} \leq \frac{1}{x}$$

By the Squeeze Theorem, $\frac{\sin x}{x} \to 0$.

Therefore: $\boxed{\lim_{x \to \infty} \frac{x + \sin x}{x} = 1}$

(c) Why L'Hospital fails:

L'Hospital's Rule states: $\lim \frac{f}{g} = \lim \frac{f'}{g'}$ if the limit on the right exists.

Here, $\lim_{x \to \infty}(1 + \cos x)$ does not exist, so L'Hospital cannot be applied.

Level 5 Proving Exponential Dominates Polynomial

Prove that for any positive integer $n$:

$$\lim_{x \to \infty} \frac{e^x}{x^n} = \infty$$

This shows that exponential functions grow faster than ANY polynomial.

Thought Process

Strategy: Apply L'Hospital's Rule $n$ times.

Each application reduces the power of $x$ in the denominator by 1:

  • After 1 application: $\frac{e^x}{nx^{n-1}}$
  • After 2 applications: $\frac{e^x}{n(n-1)x^{n-2}}$
  • ...
  • After $n$ applications: $\frac{e^x}{n!}$

The numerator stays $e^x$ (derivative of $e^x$ is $e^x$), while the denominator eventually becomes a constant.

Show Answer

Proof by repeated L'Hospital applications:

Let $L = \lim_{x \to \infty} \frac{e^x}{x^n}$.

Step 1: Verify form is $\frac{\infty}{\infty}$ ✓

Step 2: Apply L'Hospital's Rule: $$L = \lim_{x \to \infty} \frac{e^x}{nx^{n-1}}$$

Step 3: Still $\frac{\infty}{\infty}$, apply again: $$L = \lim_{x \to \infty} \frac{e^x}{n(n-1)x^{n-2}}$$

Continuing: After $k$ applications: $$L = \lim_{x \to \infty} \frac{e^x}{\frac{n!}{(n-k)!}x^{n-k}}$$

After $n$ applications: $$L = \lim_{x \to \infty} \frac{e^x}{n! \cdot x^0} = \lim_{x \to \infty} \frac{e^x}{n!} = \frac{\infty}{n!} = \infty$$

Conclusion: $$\boxed{\lim_{x \to \infty} \frac{e^x}{x^n} = \infty \text{ for all positive integers } n}$$

This proves exponential growth dominates polynomial growth of any degree. $\square$

Mastery Checklist

Mental Model

The "Zoom In" Analogy:

Near a point where both numerator and denominator equal zero, if you zoom in enough on their graphs, they look like straight lines through the origin.

The ratio of two lines through the origin is just the ratio of their slopes: $$\frac{\text{slope of } f}{\text{slope of } g} = \frac{f'(a)}{g'(a)}$$

L'Hospital's Rule says: "For these troublesome $\frac{0}{0}$ limits, just compare the slopes instead!"

For $\frac{\infty}{\infty}$, think of it as a race to infinity. Taking derivatives reveals who's growing faster.


Connections

Looking back:

Looking ahead:


Previous Up Next
Recognizing Indeterminate Forms Skills Index L'Hospital's Rule (Products & Differences)

Last updated: 2026-01-22