Introduction

L'Hôpital's Rule is an important technique that makes our lives easier when dealing with certain forms of tricky limits — those that evaluate to indeterminate form.

Identifying Indeterminate Form

Indeterminate Form

Indeterminate form arises when evaluating a limit leads to an expression that cannot be truly evaluated. There are several different kinds:

Quotient Forms are the most common:

  • 00\dfrac{0}{0}
  • ∞∞\dfrac{\infty}{\infty}

Other Forms include:

  • Product Form: 0⋅∞0 \cdot \infty (e.g. lim⁡x→0+xln⁡x\lim_{x \to 0^+} x \ln x)
  • Difference Form: ∞−∞\infty - \infty (e.g. lim⁡x→0+1x2−1tan⁡x\lim_{x \to 0^+} \dfrac{1}{x^2} - \dfrac{1}{\tan x})
  • Power Form: ∞0\infty^0, 000^0, or 1∞1^\infty (e.g. lim⁡x→∞x1/x\lim_{x \to \infty} x^{1/x})

Getting to Quotient Form

L'Hôpital's Rule requires the limit to be in quotient form. Non-quotient indeterminate forms must first be algebraically rearranged into a fraction — the examples below illustrate how.

Applying L'Hôpital's Rule

Once a limit is confirmed to be in indeterminate quotient form, L'Hôpital's Rule states:

If lim⁡x→af(x)g(x)\displaystyle\lim_{x \to a} \frac{f(x)}{g(x)} evaluates to 00\dfrac{0}{0} or ∞∞\dfrac{\infty}{\infty}, then:

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

If the result is still indeterminate, the rule can be applied repeatedly.

Important

L'Hôpital's Rule only applies when the limit is in indeterminate form. Applying it to a non-indeterminate limit will give an incorrect result.

Worked Examples

Example 1: Evaluate lim⁡x→0sin⁡(x)x\displaystyle\lim_{x \to 0} \frac{\sin(x)}{x}.

Solution: Both sin⁡(x)\sin(x) and xx approach 00 as x→0x \to 0, giving the form 00\dfrac{0}{0}. Setting f(x)=sin⁡(x)f(x) = \sin(x) and g(x)=xg(x) = x, we apply L'Hôpital's Rule:

lim⁡x→0sin⁡(x)x=lim⁡x→0cos⁡(x)1=1\lim_{x \to 0} \frac{\sin(x)}{x} = \lim_{x \to 0} \frac{\cos(x)}{1} = \boxed{1}

Example 2: Evaluate lim⁡x→∞3x+52x+1\displaystyle\lim_{x \to \infty} \frac{3x + 5}{2x + 1}.

Solution: As x→∞x \to \infty, both numerator and denominator grow without bound, giving ∞∞\dfrac{\infty}{\infty}. Applying L'Hôpital's Rule:

lim⁡x→∞3x+52x+1=lim⁡x→∞32=32\lim_{x \to \infty} \frac{3x + 5}{2x + 1} = \lim_{x \to \infty} \frac{3}{2} = \boxed{\frac{3}{2}}

Example 3: Evaluate lim⁡x→0+xln⁡x\displaystyle\lim_{x \to 0^+} x \ln x.

Solution: As x→0+x \to 0^+, we have x→0x \to 0 and ln⁡x→−∞\ln x \to -\infty, giving the form 0⋅∞0 \cdot \infty. Rewrite as a quotient by dividing instead of multiplying:

lim⁡x→0+xln⁡x=lim⁡x→0+ln⁡x1/x\lim_{x \to 0^+} x \ln x = \lim_{x \to 0^+} \frac{\ln x}{1/x}

Now apply L'Hôpital's Rule (this is ∞∞\dfrac{\infty}{\infty}):

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

Example 4: Evaluate lim⁡x→0+(1x2−1tan⁡x)\displaystyle\lim_{x \to 0^+} \left(\frac{1}{x^2} - \frac{1}{\tan x}\right).

Solution: As x→0+x \to 0^+, both terms approach ∞\infty, giving the form ∞−∞\infty - \infty. Combine into a single fraction by cross-multiplying:

lim⁡x→0+tan⁡(x)−x2x2tan⁡(x)\lim_{x \to 0^+} \frac{\tan(x) - x^2}{x^2 \tan(x)}

Apply L'Hôpital's Rule:

=lim⁡x→0+sec⁡2(x)−2xx2sec⁡2(x)+2xtan⁡(x)= \lim_{x \to 0^+} \frac{\sec^2(x) - 2x}{x^2 \sec^2(x) + 2x\tan(x)}

As x→0+x \to 0^+: the numerator approaches sec⁡2(0)=1\sec^2(0) = 1, while the denominator approaches 00. Hence the limit is ∞\boxed{\infty}.

Example 5: Evaluate lim⁡x→∞x1/x\displaystyle\lim_{x \to \infty} x^{1/x}.

Solution: This has the form ∞0\infty^0. Take the natural log to convert to a quotient:

ln⁡ ⁣(x1/x)=ln⁡xx\ln\!\left(x^{1/x}\right) = \frac{\ln x}{x}

Using the continuity of ln⁡\ln:

ln⁡ ⁣(lim⁡x→∞x1/x)=lim⁡x→∞ln⁡xx\ln\!\left(\lim_{x \to \infty} x^{1/x}\right) = \lim_{x \to \infty} \frac{\ln x}{x}

Apply L'Hôpital's Rule (this is ∞∞\dfrac{\infty}{\infty}):

=lim⁡x→∞1/x1=0= \lim_{x \to \infty} \frac{1/x}{1} = 0

Therefore ln⁡ ⁣(lim⁡x→∞x1/x)=0\ln\!\left(\displaystyle\lim_{x \to \infty} x^{1/x}\right) = 0, which gives lim⁡x→∞x1/x=e0=1\displaystyle\lim_{x \to \infty} x^{1/x} = e^0 = \boxed{1}.

Proof

Starting with a quotient limit that evaluates to 00\dfrac{0}{0}, we know f(a)=g(a)=0f(a) = g(a) = 0:

lim⁡x→af(x)g(x)=lim⁡x→af(x)−f(a)g(x)−g(a)=lim⁡x→af(x)−f(a)x−ag(x)−g(a)x−a\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f(x) - f(a)}{g(x) - g(a)} = \lim_{x \to a} \frac{\dfrac{f(x) - f(a)}{x - a}}{\dfrac{g(x) - g(a)}{x - a}}

Since the limit of a quotient equals the quotient of the limits (when both exist):

=lim⁡x→af(x)−f(a)x−alim⁡x→ag(x)−g(a)x−a=f′(a)g′(a)=lim⁡x→af′(x)g′(x)= \frac{\displaystyle\lim_{x \to a} \frac{f(x) - f(a)}{x - a}}{\displaystyle\lim_{x \to a} \frac{g(x) - g(a)}{x - a}} = \frac{f'(a)}{g'(a)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}

The numerator and denominator are precisely the difference quotient definitions of f′f' and g′g'.

Shortcomings

L'Hôpital's Rule only works when the limit is in indeterminate form. Misapplying it to a determinate limit yields a wrong answer.

Example (misuse): Evaluate lim⁡x→1x2+53x+4\displaystyle\lim_{x \to 1} \frac{x^2 + 5}{3x + 4}.

Correct approach: Substituting x=1x = 1 directly: 1+53+4=67\dfrac{1 + 5}{3 + 4} = \dfrac{6}{7}.

Incorrect use of L'Hôpital's Rule: Since this is not indeterminate form, applying the rule gives lim⁡x→12x3=23\displaystyle\lim_{x \to 1} \frac{2x}{3} = \frac{2}{3}, which is wrong. Always check for indeterminate form before applying the rule.

StatusSourceProblem NameDifficultyTags
AIMEVery Hard
Show TagsCombinatorics, Recursion

Module Progress:

Join the Discord Community!

Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.