Skip to main content

Thomas’ Calculus · Chapter 07 · Section 7.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 7.5: Indeterminate Forms and L'Hôpital's Rule

L'Hôpital's Rule resolves indeterminate limits via derivatives of numerator and denominator.


1. Primary Forms: 00\frac{0}{0} and ∞∞\frac{\infty}{\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)}

2. Other Indeterminate Forms

  • 0⋅∞0 \cdot \infty: Rewrite as f1/g\frac{f}{1/g} or g1/f\frac{g}{1/f}.
  • ∞−∞\infty - \infty: Combine over a common denominator or factor out common terms.
  • 1∞,00,∞01^\infty, 0^0, \infty^0: Take the natural logarithm y=fg  ⟹  ln⁡(y)=gln⁡(f)y = f^g \implies \ln(y) = g \ln(f) and evaluate lim⁡ln⁡(y)\lim \ln(y), then compute eLe^L.

Part Two

Key Ideas to Remember

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

Theorem #1Sec 7.5

L'Hôpital's Rule (Indeterminate Forms 0/0 and inf/inf)

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)}

If lim f(x)/g(x) produces an indeterminate form 0/0 or (+-oo)/(+-oo), and if lim f'(x)/g'(x) exists or is +-oo, then the limit of the quotient equals the limit of the quotient of their derivatives.

Conditions: Form must be 0/0 or inf/inf; g'(x) != 0 near c; Limit of derivatives must exist or diverge to +-inf

In plain words: Differentiating numerator and denominator separately evaluates the ratio of their instantaneous rates of approach to 0 or infinity.

Remember — Never apply quotient rule when applying L'Hôpital's Rule; differentiate numerator and denominator independently.

Part Three

Worked Examples

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

Example 01(Section 7.5, Exercise 1)

Warm-up

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

Step-by-Step Derivation (3 steps)

1

Check Indeterminate Form

e0−1−002=00\frac{e^0 - 1 - 0}{0^2} = \frac{0}{0}

Direct substitution yields 0/0.

Why this works: Qualifies for L'Hopital's Rule.
2

Apply L'Hopital's Rule First Time

lim⁡x→0ex−12x(00)\lim_{x \to 0} \frac{e^x - 1}{2x} \quad \left( \frac{0}{0} \right)

Differentiate numerator and denominator.

Why this works: First derivative quotient.
3

Apply L'Hopital's Rule Second Time

lim⁡x→0ex2=e02=12\lim_{x \to 0} \frac{e^x}{2} = \frac{e^0}{2} = \frac{1}{2}

Differentiate again to resolve indeterminacy.

Why this works: Final evaluated limit.

Answer: lim⁡x→0ex−1−xx2=12\lim_{x \to 0} \frac{e^x - 1 - x}{x^2} = \frac{1}{2}

✓ Verified by SymPy CAS

Example 02(Section 7.5, Exercise 2)

Warm-up

Problem. Evaluate lim_{x -> oo} ln(x) / sqrt(x).

Step-by-Step Derivation (3 steps)

1

Identify Indeterminate Form

lim⁡x→∞ln⁡(x)x=∞∞\lim_{x \to \infty} \frac{\ln(x)}{\sqrt{x}} = \frac{\infty}{\infty}

Both numerator and denominator grow without bound.

Why this works: inf/inf condition.
2

Apply L'Hopital's Rule

lim⁡x→∞1/x1/(2x)=lim⁡x→∞2xx=lim⁡x→∞2x\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}}

Differentiate top and bottom and simplify compound fraction.

Why this works: Algebraic simplification of derivative ratio.
3

Evaluate Limit

lim⁡x→∞2x=0\lim_{x \to \infty} \frac{2}{\sqrt{x}} = 0

Denominator approaches infinity while numerator is constant.

Why this works: Zero limit.

Answer: lim⁡x→∞ln⁡(x)x=0\lim_{x \to \infty} \frac{\ln(x)}{\sqrt{x}} = 0

✓ Verified by SymPy CAS

Example 03(Section 7.5, Exercise 3)

Core practice

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

Step-by-Step Derivation (3 steps)

1

Transform into Quotient

xln⁡(x)=ln⁡(x)1/x(−∞∞)x \ln(x) = \frac{\ln(x)}{1/x} \quad \left( \frac{-\infty}{\infty} \right)

Rewrite multiplication by x as division by 1/x.

Why this works: Converts product to standard indeterminate quotient.
2

Apply L'Hopital's Rule

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

Differentiate numerator and denominator.

Why this works: L'Hopital derivative step.
3

Evaluate

lim⁡x→0+(−x)=0\lim_{x \to 0^+} (-x) = 0

Direct evaluation as x -> 0.

Why this works: Final limit.

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

✓ Verified by SymPy CAS

Example 04(Section 7.5, Exercise 4)

Challenge

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

Step-by-Step Derivation (3 steps)

1

Take Natural Logarithm of Expression

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

Use log to bring exponent 1/x down.

Why this works: Converts power to quotient.
2

Evaluate Limit of ln(y) via L'Hopital's Rule

lim⁡x→0ln⁡(1+2x)x  (00)=lim⁡x→02/(1+2x)1=21=2\lim_{x \to 0} \frac{\ln(1 + 2x)}{x} \; \left(\frac{0}{0}\right) = \lim_{x \to 0} \frac{2/(1 + 2x)}{1} = \frac{2}{1} = 2

Differentiate numerator and denominator.

Why this works: Evaluating log limit.
3

Exponentiate to Find Original Limit

lim⁡x→0y=elim⁡ln⁡(y)=e2\lim_{x \to 0} y = e^{\lim \ln(y)} = e^2

Invert logarithm using base e.

Why this works: Final exponential limit value.

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

✓ Verified by SymPy CAS

Example 05(Section 7.5, Exercise 5)

Core practice

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

Step-by-Step Derivation (3 steps)

1

Combine Fractions over Common Denominator

1x−1sin⁡(x)=sin⁡(x)−xxsin⁡(x)(00)\frac{1}{x} - \frac{1}{\sin(x)} = \frac{\sin(x) - x}{x \sin(x)} \quad \left( \frac{0}{0} \right)

Common denominator is x sin(x).

Why this works: Converts difference to 0/0 quotient.
2

Apply L'Hopital's Rule

lim⁡x→0cos⁡(x)−1sin⁡(x)+xcos⁡(x)(00)\lim_{x \to 0} \frac{\cos(x) - 1}{\sin(x) + x \cos(x)} \quad \left( \frac{0}{0} \right)

Differentiate top and bottom (using product rule on bottom).

Why this works: First L'Hopital application.
3

Apply L'Hopital's Rule a Second Time

lim⁡x→0−sin⁡(x)cos⁡(x)+cos⁡(x)−xsin⁡(x)=01+1−0=02=0\lim_{x \to 0} \frac{-\sin(x)}{\cos(x) + \cos(x) - x\sin(x)} = \frac{0}{1 + 1 - 0} = \frac{0}{2} = 0

Differentiate once more to obtain non-zero denominator.

Why this works: Final evaluated limit.

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

✓ Verified by SymPy CAS