AP Calculus BC • Contextual Applications of Differentiation

Using L'Hospital's Rule for Determining Limits of Indeterminate Forms

Transform impossible-looking limits into elegant, solvable derivatives with one powerful theorem.

AP Calculus BC illustration with summation, combined graphs, and an orbit
Inside this lesson 10 sections 5 questions 7 figures

SECTION 1

Historical Context & Motivation

The problem of evaluating limits that produce expressions like 0/0 or ∞/∞ plagued mathematicians long before the formal language of calculus was established. When direct substitution yields an indeterminate form, the limit could be anything — finite, infinite, or nonexistent — and early analysts had no systematic technique for resolving such ambiguity. Algebraic tricks such as factoring, rationalizing, or applying known identities worked case by case, but a general strategy remained elusive. The breakthrough came at the dawn of the eighteenth century, when the newly invented tools of differential calculus were repurposed to attack this very problem, giving rise to one of the most elegant and widely used theorems in all of analysis.

1694 • The Bernoulli–L'Hôpital Correspondence

Johann Bernoulli communicated the core idea of differentiating numerator and denominator separately in a series of letters to the Marquis de L'Hôpital, who had arranged a financial agreement to receive Bernoulli's mathematical discoveries.

1696 • Publication in Analyse des Infiniment Petits

L'Hôpital published the first textbook on differential calculus, which included the rule as a proposition. Despite Bernoulli's authorship of the key result, the book — and thus the rule — bore L'Hôpital's name.

1821 • Cauchy's Rigorous Foundation

Augustin-Louis Cauchy provided the first rigorous proof using his formalization of limits and the mean value theorem, placing the rule on firm logical ground within the framework of real analysis.

1955 • Discovery of Bernoulli's Manuscripts

Historians confirmed through Bernoulli's surviving lecture notes that he had indeed developed the rule independently, vindicating his long-standing claim of priority over the result.

The central question that L'Hôpital's Rule answers is deceptively simple: when a limit yields 0/0 or ∞/∞ upon direct substitution, can we systematically determine the actual value the expression approaches? As you will see, the answer hinges on comparing the rates of change of the numerator and denominator rather than their values — a shift in perspective that transforms an intractable problem into a routine differentiation exercise.

SECTION 2

Core Principles & Definitions

Before applying L'Hôpital's Rule, you must understand the precise conditions under which it is valid and recognize the forms it can address. The rule does not apply to every limit — only to those that produce specific indeterminate forms. Misidentifying a determinate form as indeterminate is one of the most common errors students make on the AP exam, so building a precise vocabulary around these ideas is essential.

1

Indeterminate Form 0/0

When both f(x) → 0 and g(x) → 0 as x → c, the ratio f(x)/g(x) is indeterminate because the limit depends on the relative rates at which the functions vanish. L'Hôpital's Rule applies directly.
2

Indeterminate Form ∞/∞

When both f(x) → ±∞ and g(x) → ±∞, the ratio is again indeterminate. The rule applies identically: differentiate numerator and denominator separately and re-evaluate the limit.
3

Other Indeterminate Forms

Forms such as 0 · ∞, ∞ − ∞, 0⁰, 1^∞, and ∞⁰ are also indeterminate but require algebraic manipulation (rewriting as a fraction or applying logarithms) before L'Hôpital's Rule can be invoked.
4

Determinate Forms Are Off-Limits

Expressions like k/0 (where k ≠ 0), 0/k, ∞ + ∞, or ∞ · ∞ are not indeterminate — they have predictable behavior. Applying L'Hôpital's Rule to these forms produces incorrect results.
✦

KEY TAKEAWAY

Think of an indeterminate form like two runners approaching the same finish line at different speeds. If both the numerator and denominator are heading toward zero (or both toward infinity), you cannot determine the outcome just by knowing the destination — you need to compare how fast each one is getting there. L'Hôpital's Rule does exactly that by replacing the original functions with their derivatives, which encode those rates of change.

SECTION 3

Visual Explanation

The geometric intuition behind L'Hôpital's Rule becomes clear when you examine what happens near the point where both numerator and denominator vanish. Consider the limit of f(x)/g(x) as x → c, where f(c) = g(c) = 0. Near x = c, both curves pass through the origin of a locally shifted coordinate system, and each can be approximated by its tangent line. The ratio of the two functions therefore approaches the ratio of their tangent-line slopes — that is, f′(c)/g′(c). The following diagram illustrates this idea for f(x) = sin(x) and g(x) = x near x = 0.

Geometric Intuition: sin(x)/x near x = 0xy−π−π/2π/2π10.5g(x) = xf(x) = sin(x)tangent to sin(x): slope = 1Both f(0) = 0 and g(0) = 0 → indeterminate 0/0Ratio of slopes: f′(0)/g′(0) = cos(0)/1 = 1
Near x = 0, sin(x) (cyan curve) and x (violet line) both pass through the origin. Their tangent lines at the origin have slopes cos(0) = 1 and 1, respectively, so the limit of sin(x)/x as x → 0 equals 1/1 = 1. The open circle on the x-axis marks the hole in sin(x)/x at x = 0, while the filled amber dot at y = 1 shows the limit value.

This geometric picture is the heart of L'Hôpital's Rule. The original functions vanish at the point of interest, making the ratio 0/0 meaningless at that exact location. However, the linear approximations — the tangent lines — capture the instantaneous behavior of each function. Because the tangent-line approximation improves as you zoom in closer to the point, the ratio of the original functions converges to the ratio of the tangent-line slopes, which is precisely the ratio of the derivatives. This insight generalizes to the ∞/∞ case as well, though the geometric picture is less tidy: there, one compares the rates of explosion rather than the rates of vanishing.

SECTION 4

Mathematical Framework

The formal statement of L'Hôpital's Rule requires precision about its hypotheses. Misstating or ignoring these conditions is a guaranteed way to lose points on the AP exam free-response section. Below is the theorem in its standard form, followed by the companion versions for limits at infinity and for the ∞/∞ case.

L'HÔPITAL'S RULE (0/0 FORM)

Iflim(x→c)f(x)=0andlim(x→c)g(x)=0,andg′(x)≠0nearc,thenlim(x→c)f(x)/g(x)=lim(x→c)f′(x)/g′(x),providedtheright−handlimitexists(oris±∞).If lim(x→c) f(x) = 0 and lim(x→c) g(x) = 0, and g′(x) ≠ 0 near c, then lim(x→c) f(x)/g(x) = lim(x→c) f′(x)/g′(x), provided the right-hand limit exists (or is ±∞).

Here c may be a finite number, c⁺, c⁻, +∞, or −∞. The functions f and g must be differentiable on an open interval containing c (except possibly at c itself).

L'HÔPITAL'S RULE (∞/∞ FORM)

Iflim(x→c)∣f(x)∣=∞andlim(x→c)∣g(x)∣=∞,andg′(x)≠0nearc,thenlim(x→c)f(x)/g(x)=lim(x→c)f′(x)/g′(x),providedtheright−handlimitexists(oris±∞).If lim(x→c) |f(x)| = ∞ and lim(x→c) |g(x)| = ∞, and g′(x) ≠ 0 near c, then lim(x→c) f(x)/g(x) = lim(x→c) f′(x)/g′(x), provided the right-hand limit exists (or is ±∞).

The conclusion is identical: replace the original ratio with the ratio of derivatives. This version covers limits like x/eˣ as x → ∞.

Converting Other Indeterminate Forms

L'Hôpital's Rule directly handles only 0/0 and ∞/∞. Every other indeterminate form must be algebraically rewritten into one of these two before the rule can be applied. The table below summarizes the standard conversion strategies.

Indeterminate FormConversion StrategyTarget Form
0 · ∞Rewrite as f/(1/g) or g/(1/f)0/0 or ∞/∞
∞ − ∞Combine into a single fraction using a common denominator0/0 or ∞/∞
0⁰, 1^∞, ∞⁰Set y = f(x)gf(x)^g(x), take ln: ln y = g(x) · ln f(x), evaluate the limit, then exponentiate0 · ∞ → then 0/0 or ∞/∞

Conversion strategies for indeterminate forms not directly handled by L'Hôpital's Rule

⚠

Critical Hypothesis Check

The limit of f′(x)/g′(x) must exist (or be ±∞) for the rule to yield a conclusion. If the derivative ratio itself oscillates or fails to settle, L'Hôpital's Rule is inconclusive — it does not tell you the original limit fails to exist; it only tells you this method cannot determine it. A classic counterexample is lim(x→∞) x/√(x² + 1), where the derivative ratio cycles back to the original form.

SECTION 5

Detailed Breakdown of Indeterminate Forms

A deep understanding of indeterminate forms goes beyond memorizing the list. You need to recognize them on sight, understand why each is indeterminate (i.e., why the value is genuinely ambiguous), and know the most efficient conversion pathway. The following classification diagram organizes all seven classical indeterminate forms by type and shows the algebraic route to a form amenable to L'Hôpital's Rule.

Classification of Indeterminate FormsIndeterminate FormsQuotient Forms (Direct)Product / DifferenceExponential Forms0/0∞/∞0 · ∞∞ − ∞0⁰1^∞∞⁰Apply directlyApply directlyRewrite as fractionCommon denominatorTake ln → 0·∞ → fractionL'Hôpital's Rule: f′(x)/g′(x)Algorithm Summary1. Verify indeterminate form → 2. Convert to 0/0 or ∞/∞ if needed3. Differentiate numerator and denominator separately → 4. Re-evaluate limitRepeat steps 1–4 if the new limit is still indeterminate
The seven classical indeterminate forms are organized into three families: quotient forms (directly amenable to L'Hôpital's Rule), product and difference forms (require algebraic rearrangement), and exponential forms (require the logarithm technique). All paths ultimately lead to the green box: differentiating numerator and denominator.

Why Certain Forms Are Not Indeterminate

It is equally important to recognize when L'Hôpital's Rule does not apply. Consider the form 1/0: when the numerator approaches 1 and the denominator approaches 0, the ratio necessarily diverges to ±∞ — there is no ambiguity, so the form is determinate. Similarly, 0^∞ = 0 (a number near zero raised to ever-larger powers shrinks), and ∞ · ∞ = ∞. Applying L'Hôpital's Rule to a determinate form is a logical error that produces a wrong answer, since the hypotheses of the theorem are not met.

SECTION 6

Worked Example

The following multi-step example illustrates the complete procedure: verifying the indeterminate form, applying L'Hôpital's Rule, and recognizing when a second application is needed.

Evaluate lim(x→0) (eˣ − 1 − x) / x²

  1. 1

    Step 1 — Check for Indeterminate Form

    Substitute x = 0 into the numerator: e⁰ − 1 − 0 = 1 − 1 − 0 = 0. The denominator is 0² = 0. The form is 0/0, so L'Hôpital's Rule is applicable.
    Indeterminate form 0/0 confirmed ✓
  2. 2

    Step 2 — Differentiate Numerator and Denominator

    Differentiate the numerator: d/dx (eˣ − 1 − x) = eˣ − 1. Differentiate the denominator: d/dx (x²) = 2x. By L'Hôpital's Rule, the original limit equals lim(x→0) (eˣ − 1) / (2x), provided this new limit exists.
    New limit: lim(x→0) (eˣ − 1) / (2x)
  3. 3

    Step 3 — Check the New Limit

    Substitute x = 0 into the new expression: numerator = e⁰ − 1 = 0, denominator = 2(0) = 0. This is again the indeterminate form 0/0. We may apply L'Hôpital's Rule a second time.
    Still 0/0 — apply L'Hôpital's Rule again
  4. 4

    Step 4 — Second Application

    Differentiate numerator: d/dx (eˣ − 1) = eˣ. Differentiate denominator: d/dx (2x) = 2. The limit becomes lim(x→0) eˣ / 2 = e⁰ / 2 = 1/2.
    lim(x→0) (eˣ − 1 − x) / x² = 1/2
  5. 5

    Step 5 — Verification via Taylor Series

    As a check, expand eˣ in its Maclaurin series: eˣ = 1 + x + x²/2 + x³/6 + ⋯. Then eˣ − 1 − x = x²/2 + x³/6 + ⋯. Dividing by x² gives 1/2 + x/6 + ⋯, which approaches 1/2 as x → 0. This confirms the result and also illustrates how Taylor series provide an independent verification method, a technique that appears frequently on AP Calculus BC.
    Taylor series confirms 1/2 ✓

SECTION 7

Common Pitfalls & Method Comparisons

L'Hôpital's Rule is powerful but not universally the best approach, and it comes with several traps that frequently catch students on the AP exam. Understanding when to use the rule — and when a simpler technique is faster and safer — is just as important as mastering the rule itself.

Common PitfallWhat Goes WrongHow to Avoid It
Applying to a non-indeterminate formDifferentiating when the form is, say, 1/0 yields a number with no relation to the true limit.Always substitute first. Only proceed if you get exactly 0/0 or ∞/∞.
Using the quotient ruleL'Hôpital's Rule differentiates numerator and denominator separately — it does NOT use d/dx [f/g]. Using the quotient rule is a different (and incorrect) operation.Write f′(x) and g′(x) on separate lines before forming the new ratio.
Circular applicationThe derivative ratio may produce the same limit you started with, leading to an infinite loop (e.g., lim(x→∞) eˣ/eˣ differentiated is still eˣ/eˣ).If the new ratio equals the original, simplify algebraically instead. In this case, cancel: eˣ/eˣ = 1.
Ignoring simpler methodsLimits like (x² − 4)/(x − 2) are resolvable by factoring in seconds. L'Hôpital's Rule works but is slower and adds differentiation-error risk.Consider factoring, conjugate multiplication, or known limits (sin x/x, etc.) before reaching for L'Hôpital.

Common errors when applying L'Hôpital's Rule on the AP Calculus BC exam

⚡

STRATEGIC INSIGHT

Think of L'Hôpital's Rule as a power tool in your toolbox. A power drill is essential for tough jobs, but sometimes a simple screwdriver is faster and less error-prone. On the AP exam, the fastest correct method wins. Try algebraic simplification, known special limits, or Taylor series first — and deploy L'Hôpital's Rule when those approaches stall.

SECTION 8

Connection to Taylor Series & Advanced Theory

L'Hôpital's Rule and Taylor/Maclaurin series are deeply related: both exploit local derivative information to understand function behavior near a point. In fact, L'Hôpital's Rule can be derived as a corollary of Taylor's theorem with remainder. Conversely, when L'Hôpital's Rule requires multiple applications, substituting a Taylor expansion often resolves the limit in a single algebraic step. AP Calculus BC tests both techniques, and the most efficient students recognize when one method dominates the other.

FeatureL'Hôpital's RuleTaylor Series Approach
Forms handled0/0 and ∞/∞ (after conversion for others)Any form expressible as a ratio of convergent power series
Number of stepsMay need repeated differentiationUsually one substitution + cancellation
When it excelsOne or two applications suffice; derivatives are simpleHigher-order cancellation; complicated derivatives; comparing growth rates
AP exam contextMCQ speed; short FRQ justificationsBC-only FRQs on series and approximations
Risk of errorDifferentiation mistakes; missing hypothesis checksIncorrect series expansion; wrong number of terms retained

Comparison of L'Hôpital's Rule and Taylor series for evaluating limits

Looking beyond AP Calculus, L'Hôpital's Rule connects to the Cauchy Mean Value Theorem (also called the extended or generalized mean value theorem), which is the foundational result from which the rule is formally proved. In real analysis courses, you will see that the rule extends to one-sided limits, limits involving complex-valued functions, and even multivariable settings under suitable reformulations. For the AP exam, however, the key takeaway is to master the two standard forms, the conversion techniques for other indeterminate forms, and the interplay with Taylor series — these cover the full range of exam questions.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A student attempts to evaluate lim(x→2) (x² − 4)/(x − 2) by differentiating the numerator and denominator to obtain 2x/1 = 4. A classmate claims the work is mathematically flawed. Which of the following best addresses the classmate's concern?
  • A. The classmate is correct; the student should have used the quotient rule instead of differentiating the numerator and denominator separately.
  • B. The classmate is correct; the student failed to verify that the limit produces an indeterminate form before applying L'Hôpital's Rule.
  • C. The classmate is incorrect; the student's application is valid because both hypotheses of L'Hôpital's Rule are satisfied.
  • D. The classmate is correct; L'Hôpital's Rule cannot be applied because the original function is a rational function.
  • E. The classmate is correct; the derivative of the denominator equals zero at x = 2, violating a hypothesis of L'Hôpital's Rule.
Show answer (C)
The correct answer is C. Direct substitution gives (4 − 4)/(2 − 2) = 0/0, which is indeed an indeterminate form. The functions f(x) = x² − 4 and g(x) = x − 2 are differentiable everywhere, and g′(x) = 1 ≠ 0 in any neighborhood of x = 2. All hypotheses of L'Hôpital's Rule are satisfied, so the application is legitimate — even though factoring would have been simpler. Choice A is wrong because L'Hôpital's Rule explicitly differentiates numerator and denominator separately, not via the quotient rule. Choice B is incorrect because the form is genuinely 0/0. Choice D is wrong because L'Hôpital's Rule applies to all differentiable functions, including rational ones. Choice E is wrong because g′(x) = 1, which is never zero.

Question 2: BASIC CALCULATION

Evaluate lim(x→0) sin(3x) / (5x).
  • A. 0
  • B. 3/5
  • C. 5/3
  • D. 1
  • E. The limit does not exist.
Show answer (B)
The correct answer is B. At x = 0 the expression gives sin(0)/(0) = 0/0, an indeterminate form. Applying L'Hôpital's Rule: d/dx[sin(3x)] = 3cos(3x) and d/dx[5x] = 5. The limit becomes lim(x→0) 3cos(3x)/5 = 3cos(0)/5 = 3/5. Choice A (0) would result from incorrectly thinking sin(0) dominates. Choice C (5/3) inverts the ratio. Choice D (1) confuses this with lim sin(x)/x. Choice E is incorrect because the limit clearly exists and equals 3/5.

Question 3: INTERMEDIATE

Evaluate lim(x→∞) x² · e−xe^{−x}.
  • A. ∞
  • B. 1
  • C. 0
  • D. 2
  • E. The limit does not exist.
Show answer (C)
The correct answer is C. As x → ∞, x² → ∞ and e−xe^{−x} → 0, giving the indeterminate form ∞ · 0. Rewrite as x²/eˣ, which is ∞/∞. Applying L'Hôpital's Rule: d/dx[x²] = 2x, d/dx[eˣ] = eˣ, giving lim(x→∞) 2x/eˣ. This is still ∞/∞, so apply again: d/dx[2x] = 2, d/dx[eˣ] = eˣ, giving lim(x→∞) 2/eˣ = 0. Exponential growth dominates polynomial growth. Choice A incorrectly suggests the polynomial wins. Choices B and D have no justification from the computation. Choice E is wrong because the limit exists and equals 0.

Question 4: APPLIED

4 pts
A particle moves along the x-axis with position given by s(t) = (e2te^{2t} − 2t − 1) / t² for t > 0. As the particle approaches its initial instant (t → 0⁺), what value does s(t) approach? Find this limiting position and justify each step using L'Hôpital's Rule. State the indeterminate form at each stage.
Show answer
Point 1 (1 pt): Identify the indeterminate form. Substituting t = 0: numerator = e⁰ − 0 − 1 = 0, denominator = 0. The form is 0/0, confirming L'Hôpital's Rule applies. Point 2 (1 pt): First application. Differentiate: d/dt[e2te^{2t} − 2t − 1] = 2e2t2e^{2t} − 2, and d/dt[t²] = 2t. The new limit is lim(t→0⁺) (2e2t2e^{2t} − 2) / (2t). Substituting t = 0 gives (2 − 2)/(0) = 0/0, still indeterminate. Point 3 (1 pt): Second application. Differentiate again: d/dt[2e2t2e^{2t} − 2] = 4e2t4e^{2t}, and d/dt[2t] = 2. The limit becomes lim(t→0⁺) 4e2t4e^{2t} / 2. Point 4 (1 pt): Evaluate and state the answer. Substituting t = 0: 4e⁰/2 = 4/2 = 2. Therefore, lim(t→0⁺) s(t) = 2. The limiting position of the particle is x = 2.

Question 5: CRITICAL THINKING

3 pts
Evaluate lim(x→0⁺) xˣ. Begin by identifying the indeterminate form, then use logarithmic transformation and L'Hôpital's Rule to find the limit. Show all work and clearly state the final answer.
Show answer
Point 1 (1 pt): Identify the indeterminate form and set up the logarithmic transformation. As x → 0⁺, xˣ has the form 0⁰, which is indeterminate. Let y = xˣ, so ln y = x ln x. We evaluate lim(x→0⁺) x ln x. Point 2 (1 pt): Convert to a quotient and apply L'Hôpital's Rule. The expression x ln x is of the form 0 · (−∞). Rewrite as ln x / (1/x) = ln x / x⁻¹, which has the form −∞/∞. Differentiate: d/dx[ln x] = 1/x, and d/dx[x⁻¹] = −x⁻². The limit becomes lim(x→0⁺) (1/x) / (−1/x²) = lim(x→0⁺) (−x) = 0. Point 3 (1 pt): Exponentiate to find the original limit. Since lim(x→0⁺) ln y = 0, we have lim(x→0⁺) y = e⁰ = 1. Therefore, lim(x→0⁺) xˣ = 1.

SUMMARY

Summary & Key Concepts

Summary

L'Hôpital's Rule provides a systematic method for evaluating limits that produce the indeterminate forms 0/0 or ∞/∞ upon direct substitution. The rule states that if f(x)/g(x) yields one of these forms as x → c, then the limit equals the ratio of the derivatives f′(x)/g′(x), provided that new limit exists. The geometric intuition is that near the critical point, each function is well-approximated by its tangent line, so the ratio of functions approaches the ratio of their slopes.

Other indeterminate forms — 0 · ∞, ∞ − ∞, 0⁰, 1^∞, and ∞⁰ — require algebraic manipulation or logarithmic transformation before the rule can be applied. Always verify the indeterminate form before differentiating, never confuse the rule with the quotient rule, and consider whether factoring, conjugates, or Taylor series might resolve the limit more efficiently. Mastery of L'Hôpital's Rule — including its hypotheses, its limitations, and its interplay with series methods — is essential for success on the AP Calculus BC exam.

Varsity Tutors • AP Calculus BC • Using L'Hospital's Rule for Determining Limits of Indeterminate Forms