← MathScape

L'Hospital's Rule for Indeterminate Powers

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

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

L'Hospital's Rule for Indeterminate Powers

When the Exponent Matters Most

What is $\lim_{x \to 0^+} x^x$? If you think "zero raised to any power is zero," you get 0. If you think "anything raised to the zero power is 1," you get 1. Both intuitions fail because this is $0^0$—an indeterminate power form.

The three indeterminate power forms are $0^0$, $\infty^0$, and $1^\infty$. They all share a common solution strategy: take the logarithm to convert the power into a product, then apply the techniques from the previous skill.

This technique is essential for understanding limits like $\lim_{x \to 0^+}(1 + x)^{1/x} = e$, the foundation of continuous compounding.

Prerequisite Map

Prerequisites
L'Hospital's Rule (Products & Differences)Logarithm Properties
This skill
L'Hospital's Rule (Powers)
Unlocks
Continuous CompoundingLimits of Transcendentals

Quick Reference

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

Key Concepts

The Three Indeterminate Power Forms

Form Base → Exponent → Example
$0^0$ $0^+$ $0$ $\lim_{x \to 0^+} x^x$
$\infty^0$ $+\infty$ $0$ $\lim_{x \to \infty} x^{1/x}$
$1^\infty$ $1$ $\pm\infty$ $\lim_{x \to 0^+} (1+x)^{1/x}$

The Logarithm Strategy

For $\lim_{x \to a} [f(x)]^{g(x)}$ in an indeterminate power form:

Method 1: Let $y = [f(x)]^{g(x)}$, then take ln

$$\ln y = \ln\left([f(x)]^{g(x)}\right) = g(x) \ln f(x)$$

Find $\lim_{x \to a} \ln y$, then recover $y = e^{\ln y}$.

Method 2: Rewrite as exponential directly

$$[f(x)]^{g(x)} = e^{g(x) \ln f(x)}$$

Then find $\lim_{x \to a} g(x) \ln f(x)$.

Both Methods Lead to the Same Place

$$\boxed{\lim_{x \to a} [f(x)]^{g(x)} = e^{\lim_{x \to a} g(x) \ln f(x)}}$$

The key insight: indeterminate powers become indeterminate products after taking the logarithm, and we know how to handle those!

Form Analysis

Original Form After $\ln$ Product Type
$0^0$ $0 \cdot (-\infty)$ $0 \cdot \infty$
$\infty^0$ $0 \cdot \infty$ $0 \cdot \infty$
$1^\infty$ $\pm\infty \cdot 0$ $0 \cdot \infty$

All three reduce to the same type of indeterminate product!

The Algorithm

INDETERMINATE POWER: [f(x)]^g(x)
──────────────────────────────────────
              ↓
    Let y = [f(x)]^g(x)
              ↓
    Take ln: ln y = g(x) · ln f(x)
              ↓
    This is form 0 · ∞ or ∞ · 0
              ↓
    Convert to quotient:
    ln y = ln f(x) / (1/g(x))  OR
    ln y = g(x) / (1/ln f(x))
              ↓
    Apply L'Hospital's Rule
              ↓
    Find L = lim(ln y)
              ↓
    Answer: lim y = e^L

Worked Examples

Example 1: Form $0^0$

Evaluate $\lim_{x \to 0^+} x^x$

Step 1: Identify form — $0^0$ (indeterminate power) ✓

Step 2: Take logarithm $$y = x^x \implies \ln y = x \ln x$$

Step 3: This is form $0 \cdot (-\infty)$. Convert: $$\ln y = \frac{\ln x}{1/x} \quad \text{(form } \frac{-\infty}{\infty}\text{)}$$

Step 4: Apply L'Hospital's Rule: $$\lim_{x \to 0^+} \frac{\ln x}{1/x} = \lim_{x \to 0^+} \frac{1/x}{-1/x^2} = \lim_{x \to 0^+} (-x) = 0$$

Step 5: Recover original limit: $$\lim_{x \to 0^+} y = e^{\lim \ln y} = e^0 = 1$$

Answer: $\lim_{x \to 0^+} x^x = 1$

Example 2: Form $\infty^0$

Evaluate $\lim_{x \to \infty} x^{1/x}$

Step 1: Form is $\infty^0$ ✓

Step 2: Take logarithm $$y = x^{1/x} \implies \ln y = \frac{\ln x}{x}$$

Step 3: This is already a quotient! Form $\frac{\infty}{\infty}$ ✓

Step 4: Apply L'Hospital's Rule: $$\lim_{x \to \infty} \frac{\ln x}{x} = \lim_{x \to \infty} \frac{1/x}{1} = 0$$

Step 5: Recover: $$\lim_{x \to \infty} x^{1/x} = e^0 = 1$$

Answer: $\lim_{x \to \infty} x^{1/x} = 1$

Example 3: Form $1^\infty$ (The Most Important!)

Evaluate $\lim_{x \to 0^+} (1 + x)^{1/x}$

Step 1: Form is $1^\infty$ ✓ (base → 1, exponent → ∞)

Step 2: Take logarithm $$y = (1+x)^{1/x} \implies \ln y = \frac{\ln(1+x)}{x}$$

Step 3: Form $\frac{0}{0}$ ✓

Step 4: Apply L'Hospital's Rule: $$\lim_{x \to 0^+} \frac{\ln(1+x)}{x} = \lim_{x \to 0^+} \frac{1/(1+x)}{1} = \frac{1}{1} = 1$$

Step 5: Recover: $$\lim_{x \to 0^+} (1+x)^{1/x} = e^1 = e$$

Answer: $\lim_{x \to 0^+} (1+x)^{1/x} = e$

This is one of the most important limits in calculus—it defines $e$!

Example 4: A Harder $1^\infty$ Form

Evaluate $\lim_{x \to 0^+} (1 + 2\sin x)^{\csc 3x}$

Step 1: As $x \to 0^+$: base $1 + 2\sin 0 = 1$, exponent $\csc 3x = 1/\sin 3x \to +\infty$. Form: $1^\infty$ ✓

Step 2: Take logarithm $$\ln y = \csc 3x \cdot \ln(1 + 2\sin x) = \frac{\ln(1 + 2\sin x)}{\sin 3x}$$

Step 3: Form $\frac{0}{0}$ ✓

Step 4: Apply L'Hospital's Rule (chain rule on both!): $$\lim_{x \to 0^+} \frac{\ln(1 + 2\sin x)}{\sin 3x} = \lim_{x \to 0^+} \frac{\frac{2\cos x}{1 + 2\sin x}}{3\cos 3x}$$

Step 5: Evaluate at $x = 0$: $$= \frac{\frac{2 \cdot 1}{1 + 0}}{3 \cdot 1} = \frac{2}{3}$$

Step 6: Recover: $$\lim_{x \to 0^+} (1 + 2\sin x)^{\csc 3x} = e^{2/3}$$

Practice Problems

Level 1 Identify the Form

Classify each limit as $0^0$, $\infty^0$, $1^\infty$, or NOT an indeterminate power form:

(a) $\lim_{x \to 0^+} x^{\sin x}$

(b) $\lim_{x \to \infty} (1 + 1/x)^x$

(c) $\lim_{x \to 0^+} (\cos x)^{1/x^2}$

(d) $\lim_{x \to \infty} 2^{1/x}$

Thought Process

For each, find what the base and exponent approach:

(a) Base: $x \to 0^+$. Exponent: $\sin x \to 0$.

(b) Base: $1 + 1/x \to 1$. Exponent: $x \to \infty$.

(c) Base: $\cos x \to 1$. Exponent: $1/x^2 \to +\infty$.

(d) Base: $2$ (constant). Exponent: $1/x \to 0$.

Show Answer

(a) $0^0$ — Base → $0^+$, exponent → $0$ ✓

(b) $1^\infty$ — Base → $1$, exponent → $\infty$ ✓

(c) $1^\infty$ — Base → $1$ (since $\cos 0 = 1$), exponent → $+\infty$ ✓

(d) NOT indeterminate — Base is constant 2, exponent → 0. $$\lim_{x \to \infty} 2^{1/x} = 2^0 = 1$$

Level 2 Basic $0^0$ Form

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

Thought Process
  1. Form: Base $x \to 0^+$, exponent $x^2 \to 0$. This is $0^0$. ✓
  1. Take ln: $\ln y = x^2 \ln x$. This is $0 \cdot (-\infty)$.
  1. Convert: Write as $\frac{\ln x}{1/x^2}$ (form $\frac{-\infty}{\infty}$)
  1. L'Hospital: Differentiate
Show Answer

Let $y = x^{x^2}$. Then $\ln y = x^2 \ln x$.

Convert to quotient: $$\ln y = \frac{\ln x}{x^{-2}}$$

Apply L'Hospital (form $\frac{-\infty}{\infty}$): $$\lim_{x \to 0^+} \frac{\ln x}{x^{-2}} = \lim_{x \to 0^+} \frac{1/x}{-2x^{-3}} = \lim_{x \to 0^+} \frac{x^3}{-2x} = \lim_{x \to 0^+} \frac{-x^2}{2} = 0$$

Recover: $$\lim_{x \to 0^+} x^{x^2} = e^0 = \boxed{1}$$

Level 3 $1^\infty$ with Parameters

Evaluate $\lim_{x \to \infty} \left(1 + \frac{3}{x}\right)^{2x}$

Thought Process
  1. Form: Base $1 + 3/x \to 1$, exponent $2x \to \infty$. This is $1^\infty$. ✓
  1. Take ln: $\ln y = 2x \cdot \ln(1 + 3/x)$
  1. Rearrange: $\ln y = \frac{\ln(1 + 3/x)}{1/(2x)}$
  1. Form: Both numerator and denominator → 0. Form $\frac{0}{0}$ ✓
  1. Apply L'Hospital carefully with chain rule
Show Answer

Let $y = \left(1 + \frac{3}{x}\right)^{2x}$.

$$\ln y = 2x \ln\left(1 + \frac{3}{x}\right) = \frac{\ln(1 + 3/x)}{1/(2x)}$$

Apply L'Hospital (form $\frac{0}{0}$):

Numerator derivative: $\frac{d}{dx}\left[\ln(1 + 3/x)\right] = \frac{-3/x^2}{1 + 3/x} = \frac{-3}{x^2 + 3x}$

Denominator derivative: $\frac{d}{dx}\left[\frac{1}{2x}\right] = \frac{-1}{2x^2}$

$$\lim_{x \to \infty} \frac{-3/(x^2 + 3x)}{-1/(2x^2)} = \lim_{x \to \infty} \frac{3 \cdot 2x^2}{x^2 + 3x} = \lim_{x \to \infty} \frac{6x^2}{x^2 + 3x}$$

Divide by $x^2$: $$= \lim_{x \to \infty} \frac{6}{1 + 3/x} = \frac{6}{1} = 6$$

Recover: $$\lim_{x \to \infty} \left(1 + \frac{3}{x}\right)^{2x} = e^6$$

Alternative insight: This is related to $\lim_{x \to \infty}(1 + 1/x)^x = e$.

Substitute $u = x/3$: as $x \to \infty$, $u \to \infty$. $$\left(1 + \frac{3}{x}\right)^{2x} = \left[\left(1 + \frac{1}{u}\right)^u\right]^6 \to e^6$$

Level 4 Compound Interest Connection

The value of an investment of $A_0$ dollars at annual interest rate $r$, compounded $n$ times per year for $t$ years, is:

$$A = A_0\left(1 + \frac{r}{n}\right)^{nt}$$

(a) Show that as $n \to \infty$ (continuous compounding), $A \to A_0 e^{rt}$.

(b) If you invest $1000 at 5% annual interest for 10 years, what is the difference between annual compounding ($n=1$) and continuous compounding?

Thought Process

(a) The limit is $\lim_{n \to \infty}\left(1 + \frac{r}{n}\right)^{nt}$.

Let $u = n/r$, so $n = ur$ and $r/n = 1/u$. As $n \to \infty$, $u \to \infty$.

$$\left(1 + \frac{1}{u}\right)^{urt} = \left[\left(1 + \frac{1}{u}\right)^u\right]^{rt} \to e^{rt}$$

(b) Calculate both values numerically.

Show Answer

(a) Proof of continuous compounding formula:

$$\lim_{n \to \infty} A_0\left(1 + \frac{r}{n}\right)^{nt}$$

Substitute $u = n/r$ (so $r/n = 1/u$ and $n = ur$):

$$= A_0 \lim_{u \to \infty}\left(1 + \frac{1}{u}\right)^{urt}$$

$$= A_0 \left[\lim_{u \to \infty}\left(1 + \frac{1}{u}\right)^u\right]^{rt}$$

$$= A_0 \cdot e^{rt}$$

Therefore: $\boxed{A = A_0 e^{rt}}$ for continuous compounding.

(b) Numerical comparison:

Given: $A_0 = 1000$, $r = 0.05$, $t = 10$

Annual compounding ($n = 1$): $$A = 1000\left(1 + 0.05\right)^{10} = 1000(1.05)^{10} \approx \$1628.89$$

Continuous compounding: $$A = 1000 \cdot e^{0.05 \times 10} = 1000 \cdot e^{0.5} \approx \$1648.72$$

Difference: $\$1648.72 - \$1628.89 = \boxed{\$19.83}$

Level 5 General $1^\infty$ Pattern

Prove that for any constant $k$:

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

Then use this to explain why:

  • $\lim_{x \to \infty}(1 + 2/x)^x = e^2$
  • $\lim_{x \to \infty}(1 - 1/x)^x = e^{-1} = 1/e$
Thought Process

Strategy: Use the logarithm method.

Let $y = (1 + k/x)^x$. Then: $$\ln y = x \ln(1 + k/x) = \frac{\ln(1 + k/x)}{1/x}$$

This is form $\frac{0}{0}$ as $x \to \infty$.

Apply L'Hospital: differentiate both with respect to $x$.

Show Answer

Proof:

Let $y = \left(1 + \frac{k}{x}\right)^x$ where $k$ is any real constant.

Step 1: Take logarithm $$\ln y = x \ln\left(1 + \frac{k}{x}\right) = \frac{\ln(1 + k/x)}{1/x}$$

Step 2: Verify form — as $x \to \infty$:

  • Numerator: $\ln(1 + 0) = 0$
  • Denominator: $1/x \to 0$
  • Form: $\frac{0}{0}$ ✓

Step 3: Apply L'Hospital's Rule

Numerator: $\frac{d}{dx}\left[\ln(1 + k/x)\right] = \frac{-k/x^2}{1 + k/x} = \frac{-k}{x^2 + kx}$

Denominator: $\frac{d}{dx}\left[\frac{1}{x}\right] = \frac{-1}{x^2}$

$$\lim_{x \to \infty} \frac{-k/(x^2 + kx)}{-1/x^2} = \lim_{x \to \infty} \frac{kx^2}{x^2 + kx} = \lim_{x \to \infty} \frac{k}{1 + k/x} = k$$

Step 4: Recover original limit $$\lim_{x \to \infty} \left(1 + \frac{k}{x}\right)^x = e^k$$

Applications:

  • $k = 2$: $\lim_{x \to \infty}(1 + 2/x)^x = e^2 \approx 7.389$
  • $k = -1$: $\lim_{x \to \infty}(1 - 1/x)^x = e^{-1} = \frac{1}{e} \approx 0.368$

General Pattern: $$\boxed{\lim_{x \to \infty} \left(1 + \frac{k}{x}\right)^x = e^k}$$

This is one of the most useful limit formulas in calculus! $\square$

Mastery Checklist

Mental Model

The "Exponential Detour":

When you see a power with a variable base AND variable exponent, think: "I can't directly evaluate this, but I can take a detour through exponentials."

$$[f]^g = e^{g \ln f}$$

Now instead of dealing with a power, you're finding the exponent of $e$. The limit $g \ln f$ is a product, which you already know how to handle.

The Pattern to Remember:

$$\text{Indeterminate power} \xrightarrow{\ln} \text{Indeterminate product} \xrightarrow{\text{convert}} \text{Quotient} \xrightarrow{\text{L'H}} \text{Number} \xrightarrow{e^{(\cdot)}} \text{Answer}$$


Connections

Looking back:

Looking ahead:

The Big Picture:


Previous Up Next
L'Hospital's Rule (Products & Differences) Skills Index Exponential Growth

Last updated: 2026-01-22