Derivative ApplicationsTopic #13 of 32

L'Hôpital's Rule

Evaluating limits of indeterminate forms using derivatives.

The Rule

If limxaf(x)g(x)\lim_{x \to a} \frac{f(x)}{g(x)} gives an indeterminate form 00\frac{0}{0} or \frac{\infty}{\infty}, then:

limxaf(x)g(x)=limxaf(x)g(x)\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 is ±\pm\infty).

Indeterminate Forms

Forms where L'Hôpital's applies directly:

  • 00\frac{0}{0}
  • \frac{\infty}{\infty}

Other indeterminate forms (require rewriting):

  • 00 \cdot \infty → rewrite as 01/\frac{0}{1/\infty} or 1/0\frac{\infty}{1/0}
  • \infty - \infty → combine into single fraction
  • 000^0, 11^\infty, 0\infty^0 → use logarithms

Important Notes

  1. Only use when you have an indeterminate form
  2. Take derivatives of numerator and denominator separately (not quotient rule!)
  3. May need to apply multiple times
  4. Works for xax \to a, xa+x \to a^+, xax \to a^-, xx \to \infty, xx \to -\infty

Examples

Example 1: Basic 0/0

limx0sinxx=limx0cos(x)1=1\lim_{x \to 0} \frac{\sin x}{x} = \lim_{x \to 0} \frac{\cos(x)}{1} = 1

Example 2: Basic ∞/∞

limxx2ex=limx2xex=limx2ex=0\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

Example 3: Multiple applications

limx01cosxx2\lim_{x \to 0} \frac{1 - \cos x}{x^2}

=limx0sin(x)2x(still 00)= \lim_{x \to 0} \frac{\sin(x)}{2x} \quad \text{(still } \frac{0}{0}\text{)}

=limx0cos(x)2=12= \lim_{x \to 0} \frac{\cos(x)}{2} = \frac{1}{2}

Example 4: Form 0 · ∞

limx0+xln(x)\lim_{x \to 0^+} x \cdot \ln(x)

Rewrite as:

limx0+ln(x)1/x(form )\lim_{x \to 0^+} \frac{\ln(x)}{1/x} \quad \text{(form } \frac{-\infty}{\infty}\text{)}

=limx0+1/x1/x2= \lim_{x \to 0^+} \frac{1/x}{-1/x^2}

=limx0+(x)=0= \lim_{x \to 0^+} (-x) = 0

Example 5: Form ∞ - ∞

limx0(1sinx1x)\lim_{x \to 0} \left(\frac{1}{\sin x} - \frac{1}{x}\right)

=limx0xsinxxsinx(form 00)= \lim_{x \to 0} \frac{x - \sin x}{x \sin x} \quad \text{(form } \frac{0}{0}\text{)}

=limx01cosxsinx+xcosx(still 00)= \lim_{x \to 0} \frac{1 - \cos x}{\sin x + x \cos x} \quad \text{(still } \frac{0}{0}\text{)}

=limx0sinxcosx+cosxxsinx= \lim_{x \to 0} \frac{\sin x}{\cos x + \cos x - x \sin x}

=01+10=0= \frac{0}{1 + 1 - 0} = 0

Example 6: Form 1^∞

limx(1+1x)x\lim_{x \to \infty} \left(1 + \frac{1}{x}\right)^x

Let y=(1+1x)xy = \left(1 + \frac{1}{x}\right)^x, so lny=xln(1+1x)\ln y = x \cdot \ln\left(1 + \frac{1}{x}\right)

limxlny=limxxln(1+1x)=limxln(1+1x)1/x\lim_{x \to \infty} \ln y = \lim_{x \to \infty} x \cdot \ln\left(1 + \frac{1}{x}\right) = \lim_{x \to \infty} \frac{\ln\left(1 + \frac{1}{x}\right)}{1/x}

(form 00\frac{0}{0})

=limx1/x21+1/x1/x2= \lim_{x \to \infty} \frac{\frac{-1/x^2}{1 + 1/x}}{-1/x^2}

=limx11+1/x=1= \lim_{x \to \infty} \frac{1}{1 + 1/x} = 1

Therefore: limxy=e1=e\lim_{x \to \infty} y = e^1 = e

Example 7: Form 0^0

limx0+xx\lim_{x \to 0^+} x^x

Let y=xxy = x^x, so lny=xlnx\ln y = x \ln x

From Example 4: limx0+xlnx=0\lim_{x \to 0^+} x \ln x = 0

Therefore: limx0+y=e0=1\lim_{x \to 0^+} y = e^0 = 1

When L'Hôpital's Fails

Don't use L'Hôpital's when:

  • The limit is not indeterminate (e.g., 10=\frac{1}{0} = \infty, not indeterminate)
  • You can simplify algebraically first (often easier)
  • It leads to an infinite loop