Skip to main content

Thomas’ Calculus · Chapter 04 · Section 4.5

By Muhammad Abdullah Athar · SymPy Verified

Indeterminate Forms and L'Hôpital's Rule

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 4.5: Indeterminate Forms and L'Hôpital's Rule

When direct substitution yields an indeterminate form, algebraic factoring or conjugates may fail. L'Hôpital's Rule provides a systematic derivative-based method.


1. Primary Indeterminate Forms: 00\frac{0}{0} and ∞∞\frac{\infty}{\infty}

If lim⁡x→cf(x)g(x)\lim_{x \to c} \frac{f(x)}{g(x)} yields 00\frac{0}{0} or ±∞±∞\frac{\pm \infty}{\pm \infty}:

lim⁡x→cf(x)g(x)=lim⁡x→cf′(x)g′(x)\lim_{x \to c} \frac{f(x)}{g(x)} = \lim_{x \to c} \frac{f'(x)}{g'(x)}

Critical Warning: Differentiate the numerator and denominator separately. Do NOT use the Quotient Rule!


2. Other Indeterminate Forms

  • Indeterminate Products (0⋅∞0 \cdot \infty): Rewrite as a fraction: f⋅g=f1/gorg1/ff \cdot g = \frac{f}{1/g} \quad \text{or} \quad \frac{g}{1/f}
  • Indeterminate Differences (∞−∞\infty - \infty): Combine fractions over a common denominator or multiply by a conjugate.
  • Indeterminate Powers (1∞,00,∞01^\infty, 0^0, \infty^0): Let y=[f(x)]g(x)y = [f(x)]^{g(x)}, take ln⁡y=g(x)ln⁡(f(x))\ln y = g(x) \ln(f(x)), evaluate lim⁡ln⁡y=L\lim \ln y = L, then answer is eLe^L.

Part Two

Key Ideas to Remember

2 essential statements for this section, each with a plain-words explanation.

Theorem #1Sec 4.5

L'Hôpital's Rule for 0/0 and inf/inf

lim⁡x→cf(x)g(x)=lim⁡x→cf′(x)g′(x)(for forms 00 or ±∞±∞)\lim_{x \to c} \frac{f(x)}{g(x)} = \lim_{x \to c} \frac{f'(x)}{g'(x)} \quad \left(\text{for forms } \frac{0}{0} \text{ or } \frac{\pm \infty}{\pm \infty}\right)

Suppose f and g are differentiable near c (except possibly at c) and g'(x) != 0 near c. If lim_{x->c} f(x)/g(x) produces an indeterminate form 0/0 or inf/inf, then the limit equals lim_{x->c} f'(x)/g'(x), provided this limit exists or is infinite.

Conditions: Form must be strictly 0/0 or +-oo/+-oo; Differentiate numerator and denominator separately (do NOT use quotient rule!)

In plain words: Derived rigorously from Cauchy's Mean Value Theorem: [f(x) - f(c)]/[g(x) - g(c)] = f'(xi)/g'(xi).

Remember — Differentiate top and bottom separately ONLY when indeterminate 0/0 or inf/inf.

Rule #2Sec 4.5

Logarithmic Transformation for Indeterminate Powers

y=[f(x)]g(x)  ⟹  ln⁡y=g(x)ln⁡[f(x)],lim⁡y=elim⁡ln⁡yy = [f(x)]^{g(x)} \implies \ln y = g(x) \ln[f(x)], \quad \lim y = e^{\lim \ln y}

Indeterminate powers of the forms 0^0, oo^0, and 1^oo are evaluated by taking the natural logarithm, converting the exponent into a product g(x)*ln(f(x)), evaluating that limit L, and taking e^L.

Conditions: f(x) > 0 near c

In plain words: Transforms indeterminate powers into 0*oo, which in turn becomes 0/0 or inf/inf.

Remember — Use natural logarithms to pull down the exponent for 0^0, inf^0, and 1^inf.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 4.5, Exercise 1)

Warm-up

Problem. Evaluate: lim_{x -> 0} (sin x - x) / x^3.

Step-by-Step Derivation (3 steps)

1

Check Indeterminate Form (Form 0/0)

sin⁡(0)−003=00\frac{\sin(0) - 0}{0^3} = \frac{0}{0}

Direct substitution produces 0/0. Apply L'Hôpital's Rule.

Why this works: Prerequisite condition for L'Hôpital's Rule.
2

First Application of L'Hôpital's Rule

lim⁡x→0cos⁡x−13x2=1−10=00\lim_{x \to 0} \frac{\cos x - 1}{3x^2} = \frac{1 - 1}{0} = \frac{0}{0}

Differentiate numerator and denominator; result is still 0/0.

Why this works: Second application needed.
3

Second Application of L'Hôpital's Rule

lim⁡x→0−sin⁡x6x=−16lim⁡x→0sin⁡xx=−16(1)=−16\lim_{x \to 0} \frac{-\sin x}{6x} = -\frac{1}{6}\lim_{x \to 0}\frac{\sin x}{x} = -\frac{1}{6}(1) = -\frac{1}{6}

Apply standard limit lim_{x->0} sin(x)/x = 1 (or differentiate once more).

Why this works: Concludes the evaluation.

Answer: lim⁡x→0sin⁡x−xx3=−16\lim_{x \to 0} \frac{\sin x - x}{x^3} = -\frac{1}{6}

✓ Verified by SymPy CAS

Example 02(Section 4.5, Exercise 2)

Warm-up

Problem. Evaluate: lim_{x -> oo} x^2 / e^x.

Step-by-Step Derivation (2 steps)

1

Check Indeterminate Form (oo/oo)

lim⁡x→∞x2ex=∞∞\lim_{x \to \infty} \frac{x^2}{e^x} = \frac{\infty}{\infty}

Both numerator and denominator grow unbounded.

Why this works: Condition for L'Hôpital's Rule.
2

Apply L'Hôpital's Rule Twice

lim⁡x→∞2xex=Hlim⁡x→∞2ex=2∞=0\lim_{x \to \infty} \frac{2x}{e^x} \stackrel{\text{H}}{=} \lim_{x \to \infty} \frac{2}{e^x} = \frac{2}{\infty} = 0

Differentiate numerator and denominator twice.

Why this works: Exponential e^x dominates any polynomial x^n as x -> oo.

Answer: lim⁡x→∞x2ex=0\lim_{x \to \infty} \frac{x^2}{e^x} = 0

✓ Verified by SymPy CAS

Example 03(Section 4.5, Exercise 3)

Core practice

Problem. Evaluate: lim_{x -> 0^+} x * ln(x).

Step-by-Step Derivation (3 steps)

1

Rewrite Product as a Quotient

xln⁡x=ln⁡x1/x  ⟹  Form −∞+∞x \ln x = \frac{\ln x}{1/x} \quad \implies \text{Form } \frac{-\infty}{+\infty}

Place x into the denominator as 1/x.

Why this works: Converts 0*oo into inf/inf to apply L'Hôpital's Rule.
2

Apply L'Hôpital's Rule

lim⁡x→0+ddx[ln⁡x]ddx[x−1]=lim⁡x→0+1/x−1/x2\lim_{x \to 0^+} \frac{\frac{d}{dx}[\ln x]}{\frac{d}{dx}[x^{-1}]} = \lim_{x \to 0^+} \frac{1/x}{-1/x^2}

Differentiate top (1/x) and bottom (-1/x^2).

Why this works: L'Hôpital's Rule.
3

Simplify and Evaluate

lim⁡x→0+(1x⋅(−x2))=lim⁡x→0+(−x)=0\lim_{x \to 0^+} \left( \frac{1}{x} \cdot (-x^2) \right) = \lim_{x \to 0^+} (-x) = 0

Invert and multiply fractions.

Why this works: Direct substitution yields 0.

Answer: lim⁡x→0+xln⁡x=0\lim_{x \to 0^+} x \ln x = 0

✓ Verified by SymPy CAS

Example 04(Section 4.5, Exercise 4)

Core practice

Problem. Evaluate: lim_{x -> 0} (1/sin(x) - 1/x).

Step-by-Step Derivation (2 steps)

1

Combine over Common Denominator

1sin⁡x−1x=x−sin⁡xxsin⁡x  ⟹  Form 00\frac{1}{\sin x} - \frac{1}{x} = \frac{x - \sin x}{x \sin x} \quad \implies \text{Form } \frac{0}{0}

Combine the two fractions.

Why this works: Converts oo - oo to 0/0.
2

Apply L'Hôpital's Rule Twice

lim⁡x→01−cos⁡xsin⁡x+xcos⁡x=Hlim⁡x→0sin⁡xcos⁡x+cos⁡x−xsin⁡x=01+1−0=02=0\lim_{x \to 0} \frac{1 - \cos x}{\sin x + x\cos x} \stackrel{\text{H}}{=} \lim_{x \to 0} \frac{\sin x}{\cos x + \cos x - x\sin x} = \frac{0}{1 + 1 - 0} = \frac{0}{2} = 0

Apply L'Hôpital's Rule twice and evaluate at x = 0.

Why this works: Standard limit evaluation.

Answer: lim⁡x→0(1sin⁡x−1x)=0\lim_{x \to 0} \left(\frac{1}{\sin x} - \frac{1}{x}\right) = 0

✓ Verified by SymPy CAS

Example 05(Section 4.5, Exercise 5)

Challenge

Problem. Evaluate: lim_{x -> 0^+} (1 + 2x)^(1/x).

Step-by-Step Derivation (3 steps)

1

Set y and Take Natural Logarithm

y=(1+2x)1/x  ⟹  ln⁡y=1xln⁡(1+2x)=ln⁡(1+2x)xy = (1 + 2x)^{1/x} \implies \ln y = \frac{1}{x}\ln(1 + 2x) = \frac{\ln(1 + 2x)}{x}

Taking logarithms pulls down the exponent 1/x.

Why this works: Transforms 1^oo into 0/0.
2

Evaluate Limit of ln(y) via L'Hôpital's Rule

lim⁡x→0+ln⁡(1+2x)x=Hlim⁡x→0+21+2x1=21+0=2\lim_{x \to 0^+} \frac{\ln(1 + 2x)}{x} \stackrel{\text{H}}{=} \lim_{x \to 0^+} \frac{\frac{2}{1 + 2x}}{1} = \frac{2}{1 + 0} = 2

Differentiate top (2/(1+2x)) and bottom (1).

Why this works: L'Hôpital's Rule.
3

Exponentiate to Find Final Limit

lim⁡y=elim⁡ln⁡y=e2\lim y = e^{\lim \ln y} = e^2

Since ln(y) -> 2, y -> e^2.

Why this works: Continuity of exponential function.

Answer: lim⁡x→0+(1+2x)1/x=e2\lim_{x \to 0^+} (1 + 2x)^{1/x} = e^2

✓ Verified by SymPy CAS