AP Calculus AB • Contextual Applications of Differentiation

Using L'Hôpital's Rule for Determining Limits of Indeterminate Forms

Transform stubborn indeterminate limits into solvable problems by differentiating the numerator and denominator separately.

AP Calculus AB illustration with a smooth curve, infinity sign, and measuring ruler
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

When you first encounter limits in calculus, many can be evaluated through direct substitution, factoring, or algebraic simplification. However, certain limits stubbornly resist these techniques—substituting the limiting value into both the numerator and denominator yields expressions like 0/0 or ∞/∞, which convey no information about the limit's actual value. These are called indeterminate forms, and they have challenged mathematicians since the earliest days of infinitesimal calculus. The story of how this challenge was resolved involves two remarkable figures of the late seventeenth century and a mathematical bargain that has intrigued historians ever since.

1655 • Early Limit Methods

John Wallis and other predecessors of Newton and Leibniz develop ad hoc methods for evaluating ratios that tend toward 0/0, but no general technique exists.

1694 • Bernoulli's Private Tutoring

Johann Bernoulli, one of the era's most brilliant analysts, privately tutors the Marquis Guillaume de L'Hôpital in the new Leibnizian calculus under a paid agreement.

1696 • Publication of the Rule

L'Hôpital publishes Analyse des Infiniment Petits, the first calculus textbook, which contains the rule that bears his name—though the proof was largely Bernoulli's work.

1922 • Bernoulli's Authorship Confirmed

A manuscript from Bernoulli's correspondence is discovered, confirming that Bernoulli originally derived the result. The name 'L'Hôpital's Rule' persists by convention.

The fundamental question that motivated this rule remains central to AP Calculus AB: when direct substitution into a quotient yields an indeterminate form, how can we systematically determine whether the limit exists, and if so, what its value is? L'Hôpital's Rule provides an elegant answer—by converting the limit of a quotient of functions into a limit of the quotient of their derivatives, it exploits the local linear behavior of differentiable functions near the point of indeterminacy.

SECTION 2

Core Principles & Definitions

Before applying L'Hôpital's Rule, you must understand what makes a form indeterminate, what conditions the rule requires, and how the rule transforms the problem. The following foundational ideas establish the logical framework you need.

1

Indeterminate Forms

An expression like 0/0 or ∞/∞ is indeterminate because it does not determine a unique limit value. The ratio could converge to any real number, diverge to infinity, or fail to exist entirely—you need more information to decide.
2

Differentiability Requirement

L'Hôpital's Rule requires that both f and g be differentiable on an open interval containing the limit point (except possibly at the point itself), and that g'(x) ≠ 0 near that point.
3

Not a Quotient Rule

A critical distinction: you differentiate the numerator and denominator separately, not as a single quotient. You are not computing d/dx [f(x)/g(x)] but rather forming the new quotient f'(x)/g'(x).
4

Iterative Application

If the new limit f'(x)/g'(x) is itself an indeterminate form and the hypotheses still hold, you may apply the rule again. Repeat until you reach a determinate form or recognize that the rule does not resolve the limit.
5

Verification of Hypotheses

Every application of L'Hôpital's Rule must begin by confirming the indeterminate form. Applying the rule to a non-indeterminate quotient produces incorrect results—this is the most common student error on the AP exam.
✦

KEY TAKEAWAY

Think of L'Hôpital's Rule like zooming into a satellite image. When two functions both approach zero (or both blow up), their ratio at that scale is ambiguous—like trying to compare two cities from outer space. By differentiating, you effectively zoom into the rates at which the functions approach their common value, revealing which function 'wins the race' to zero or infinity. The ratio of slopes provides the fine-grained comparison that the original ratio could not.

SECTION 3

Visual Explanation

The geometric intuition behind L'Hôpital's Rule becomes clear when you graph two functions f(x) and g(x) that both pass through zero at the same point. Near that shared root, each function is well-approximated by its tangent line—so the ratio f(x)/g(x) behaves like the ratio of the tangent line slopes, which is precisely f'(a)/g'(a).

0123−1123xya = 2 (shared root)f(x)g(x)tangent to f: slope = f'(a)tangent to g: slope = g'(a)Near x = a: f(x)/g(x) ≈ f'(a)·(x−a) / g'(a)·(x−a) = f'(a)/g'(a)
Both f(x) (cyan) and g(x) (violet) pass through the origin at x = a. Near this shared root, each curve is approximated by its tangent line. The ratio of the tangent slopes equals f'(a)/g'(a), which is precisely what L'Hôpital's Rule computes.

The diagram above captures the heart of the matter. Because f(a) = g(a) = 0, both functions vanish at the shared root, making the ratio 0/0 at x = a. However, the linear approximation of each function near x = a replaces f(x) with f'(a)(x − a) and g(x) with g'(a)(x − a). The common factor (x − a) cancels, leaving the ratio of derivatives as the limit. This geometric reasoning is exactly why L'Hôpital's Rule works for the 0/0 case, and an analogous argument extends to the ∞/∞ case by considering reciprocals.

SECTION 4

Mathematical Framework

L'Hôpital's Rule can be stated precisely as a theorem. Understanding the formal statement ensures you know exactly when the rule applies and, just as importantly, when it does not.

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

Iflim(x→a)f(x)=0andlim(x→a)g(x)=0,andlim(x→a)[f′(x)/g′(x)]exists(orequals±∞),thenlim(x→a)[f(x)/g(x)]=lim(x→a)[f′(x)/g′(x)]If lim(x→a) f(x) = 0 and lim(x→a) g(x) = 0, and lim(x→a) [f'(x)/g'(x)] exists (or equals ±∞), then lim(x→a) [f(x)/g(x)] = lim(x→a) [f'(x)/g'(x)]

Here a may be a finite number, +∞, or −∞. Both f and g must be differentiable on an open interval containing a (except possibly at a), and g'(x) ≠ 0 on that interval (except possibly at a).

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

Iflim(x→a)∣f(x)∣=∞andlim(x→a)∣g(x)∣=∞,andlim(x→a)[f′(x)/g′(x)]exists(orequals±∞),thenlim(x→a)[f(x)/g(x)]=lim(x→a)[f′(x)/g′(x)]If lim(x→a) |f(x)| = ∞ and lim(x→a) |g(x)| = ∞, and lim(x→a) [f'(x)/g'(x)] exists (or equals ±∞), then lim(x→a) [f(x)/g(x)] = lim(x→a) [f'(x)/g'(x)]

The same differentiability and non-vanishing-derivative conditions apply. The ∞/∞ form arises frequently with limits at infinity involving exponential, logarithmic, and polynomial functions.

Common Indeterminate Forms on the AP Exam

The AP Calculus AB exam focuses on the two primary indeterminate forms to which L'Hôpital's Rule applies directly: 0/0 and ∞/∞. Other indeterminate forms such as 0 · ∞, ∞ − ∞, 0⁰, 1^∞, and ∞⁰ can sometimes be rearranged algebraically or transformed via logarithms into one of these two quotient forms, at which point the rule applies. Always begin by confirming the indeterminate form through direct substitution before proceeding to differentiate.

ALGEBRAIC REARRANGEMENT STRATEGY

0⋅∞form:rewritef(x)⋅g(x)asf(x)/[1/g(x)]toproduce0/0,orasg(x)/[1/f(x)]toproduce∞/∞0 · ∞ form: rewrite f(x) · g(x) as f(x) / [1/g(x)] to produce 0/0, or as g(x) / [1/f(x)] to produce ∞/∞

Choose whichever rearrangement yields simpler derivatives. This technique extends L'Hôpital's Rule to product-type indeterminate forms.

SECTION 5

Indeterminate vs. Determinate Forms

One of the most frequent errors on the AP exam is applying L'Hôpital's Rule to a form that is not actually indeterminate. A clear understanding of which forms are indeterminate and which are determinate is essential. The following classification diagram and table provide a comprehensive reference.

Decision Flowchart: When to Apply L'Hôpital's RuleEvaluate lim f(x)/g(x) by substitutionIs the result 0/0 or ∞/∞?NOYESSTOP: Do NOT applyL'Hôpital's RuleCheck: f, g differentiableand g'(x) ≠ 0 near a?Apply: lim f'(x)/g'(x)Still indeterminate? Repeat. Otherwise, done.Determinate Forms:c/0 → ±∞ or DNEc/∞ → 0 (c finite, ≠ 0)∞ + ∞ → ∞
This flowchart summarizes the decision process for applying L'Hôpital's Rule. The key checkpoint—confirming the indeterminate form—must precede every application, including repeated applications.
FormTypeApply L'Hôpital's Directly?Strategy
0/0IndeterminateYesApply the rule directly
∞/∞IndeterminateYesApply the rule directly
0 · ∞IndeterminateAfter rewritingRewrite as quotient: f/(1/g) or g/(1/f)
c/0 (c ≠ 0)DeterminateNoLimit is ±∞ or DNE; analyze sign
0/∞DeterminateNoLimit equals 0

Classification of common limit forms encountered in AP Calculus AB

SECTION 6

Worked Example

Let us work through a complete application of L'Hôpital's Rule, carefully verifying hypotheses at each stage. This mirrors the level of rigor expected on free-response questions.

Evaluate lim(x→0) [sin(x) − x] / x³

  1. 1

    Step 1 — Verify the Indeterminate Form

    Substitute x = 0 into the numerator: sin(0) − 0 = 0. Substitute into the denominator: 0³ = 0. The direct substitution yields 0/0, which is indeterminate. L'Hôpital's Rule may be applied.
    Indeterminate form: 0/0 ✓
  2. 2

    Step 2 — First Application of L'Hôpital's Rule

    Differentiate the numerator: d/dx [sin(x) − x] = cos(x) − 1. Differentiate the denominator: d/dx [x³] = 3x². The limit becomes lim(x→0) [cos(x) − 1] / [3x²]. Substituting x = 0 gives (1 − 1)/(0) = 0/0, which is still indeterminate.
    Still 0/0 → apply L'Hôpital's Rule again
  3. 3

    Step 3 — Second Application

    Differentiate the numerator: d/dx [cos(x) − 1] = −sin(x). Differentiate the denominator: d/dx [3x²] = 6x. The limit becomes lim(x→0) [−sin(x)] / [6x]. Substituting x = 0 gives 0/0 once more.
    Still 0/0 → apply L'Hôpital's Rule a third time
  4. 4

    Step 4 — Third Application

    Differentiate the numerator: d/dx [−sin(x)] = −cos(x). Differentiate the denominator: d/dx [6x] = 6. The limit becomes lim(x→0) [−cos(x)] / 6. Substituting x = 0 gives −cos(0)/6 = −1/6. This is a determinate form—the process terminates.
    lim(x→0) [sin(x) − x] / x³ = −1/6
⚠

AP Exam Tip

On free-response questions, you must explicitly state the indeterminate form before each application of L'Hôpital's Rule. Omitting this verification—even if your final answer is correct—will cost you points. Write something like "Since the limit has the form 0/0, L'Hôpital's Rule applies" before each differentiation step.

SECTION 7

Common Pitfalls & Exam Strategies

L'Hôpital's Rule is deceptively simple to state, which can lead students to over-apply it or apply it incorrectly. The table below catalogs the most common errors and their corrections, followed by strategic guidance for the AP exam.

Common MistakeWhy It's WrongCorrect Approach
Applying the rule to a non-indeterminate formThe theorem's hypothesis is not met; the derivative ratio may yield a completely different valueAlways substitute first. If the form is determinate (e.g., 5/0, 0/∞, 3/7), evaluate directly.
Using the Quotient Rule instead of differentiating separatelyThe Quotient Rule computes d/dx [f/g], which is a completely different expression from f'/g'Differentiate numerator alone, differentiate denominator alone, then form a new fraction.
Applying the rule infinitely in a cycleSome limits cycle under repeated differentiation (e.g., eˣ/eˣ remains ∞/∞ forever)If the form doesn't simplify after one or two applications, try algebraic simplification, factoring, or substitution instead.
Forgetting to verify the form before a second applicationThe new quotient f'/g' might not be indeterminate, even if the original wasRe-check the indeterminate form every time you apply the rule. State this explicitly on the FRQ.

Common errors and corrections when using L'Hôpital's Rule

🎯

EXAM STRATEGY

L'Hôpital's Rule should be your second resort, not your first. Many 0/0 limits on the AP exam can be resolved more quickly by factoring and canceling, rationalizing, or recognizing a derivative definition. For instance, lim(x→3) (x² − 9)/(x − 3) is most efficiently evaluated by factoring rather than differentiating. Reserve L'Hôpital's Rule for limits where algebraic simplification is impractical.

SECTION 8

Connections to Advanced Topics

L'Hôpital's Rule connects naturally to several other topics you encounter in AP Calculus AB and beyond. Understanding these connections deepens your conceptual toolkit and reveals the rule as part of a larger mathematical framework rather than an isolated trick.

AP Calculus AB TopicConnection to L'Hôpital's Rule
Definition of the DerivativeThe limit definition f'(a) = lim(h→0) [f(a+h) − f(a)]/h is itself a 0/0 form. L'Hôpital's Rule provides an alternative way to evaluate such limits, though it creates a circular argument if used to define the derivative.
Local Linear ApproximationL'Hôpital's Rule rests on the idea that near the limit point, a differentiable function behaves like its tangent line. This is the same principle underlying linearization and differentials.
Relative Growth RatesEvaluating limits like lim(x→∞) eˣ/x² via L'Hôpital's Rule demonstrates that exponential growth dominates polynomial growth—a key result used in analyzing long-term behavior of models.
Taylor/Maclaurin Series (BC)In AP Calculus BC, Taylor series provide an alternative to repeated applications of L'Hôpital's Rule: expand both numerator and denominator, cancel common powers, and read off the limit directly.

How L'Hôpital's Rule connects to other calculus concepts

If you continue to AP Calculus BC or college analysis courses, you will encounter Taylor series as an even more powerful tool for evaluating indeterminate limits. Series expansions can resolve limits that require many iterations of L'Hôpital's Rule in a single algebraic step. The conceptual bridge is local linear approximation: L'Hôpital's Rule uses the first-order (tangent line) approximation, while Taylor series extend this to higher-order polynomial approximations around a point.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A student claims that lim(x→0) (eˣ)/(x + 1) can be evaluated using L'Hôpital's Rule because 'there's a fraction with x in it.' Which of the following best explains why the student's reasoning is incorrect?
  • A. L'Hôpital's Rule only applies when the denominator equals zero.
  • B. The limit requires the Quotient Rule, not L'Hôpital's Rule.
  • C. Direct substitution gives e⁰/(0 + 1) = 1/1 = 1, which is not an indeterminate form, so L'Hôpital's Rule does not apply.
  • D. L'Hôpital's Rule cannot be used with exponential functions.
  • E. The functions eˣ and x + 1 are not differentiable at x = 0.
Show answer (C)
Answer: C. L'Hôpital's Rule requires that direct substitution produce an indeterminate form (0/0 or ∞/∞). Substituting x = 0 gives e⁰/(0 + 1) = 1/1 = 1, which is a determinate form, so the limit is simply 1 by direct substitution. Choice A is incomplete—the rule also applies to ∞/∞, not just when the denominator is zero. Choice B confuses the Quotient Rule (a differentiation technique) with L'Hôpital's Rule (a limit technique). Choice D is false—L'Hôpital's Rule works with any differentiable functions including exponentials. Choice E is false—both eˣ and x + 1 are differentiable everywhere.

Question 2: BASIC CALCULATION

Evaluate lim(x→0) sin(5x) / (3x).
  • A. 0
  • B. 1
  • C. 3/5
  • D. 5/3
  • E. The limit does not exist
Show answer (D)
Answer: D. Substituting x = 0 gives sin(0)/(0) = 0/0, an indeterminate form. Applying L'Hôpital's Rule: differentiate the numerator to get 5cos(5x) and the denominator to get 3. The limit becomes lim(x→0) 5cos(5x)/3 = 5cos(0)/3 = 5(1)/3 = 5/3. Choice A (0) would result from incorrectly evaluating sin(0). Choice B (1) confuses this with the standard limit lim(x→0) sin(x)/x = 1 without accounting for the different coefficients. Choice C (3/5) inverts the correct ratio. Choice E is incorrect—the limit exists and equals 5/3.

Question 3: INTERMEDIATE

Evaluate lim(x→∞) (3x² + 2x) / (eˣ).
  • A. ∞
  • B. 3
  • C. 0
  • D. 6
  • E. The limit does not exist
Show answer (C)
Answer: C. As x → ∞, both the numerator (3x² + 2x → ∞) and denominator (eˣ → ∞) diverge, giving the ∞/∞ indeterminate form. First application: lim(x→∞) (6x + 2)/eˣ, which is again ∞/∞. Second application: lim(x→∞) 6/eˣ = 6/∞ = 0. This is now a determinate form. The result demonstrates that exponential growth dominates polynomial growth. Choice A incorrectly assumes the polynomial dominates. Choice B would arise from stopping after the wrong step. Choice D (6) comes from only evaluating the numerator's second derivative without dividing by eˣ. Choice E is incorrect because the limit exists and equals 0.

Question 4: APPLIED

6 pts
A particle moves along the x-axis. For t > 0, the position of the particle is given by x(t) = (t² − 4t + 4)/(t − 2) for t ≠ 2, and the position at t = 2 is defined to make x(t) continuous. A second particle has position y(t) = (ln(t − 1))/(t − 2) for t ≠ 2. (a) Find the position of the first particle at t = 2. (b) Determine lim(t→2) y(t) using L'Hôpital's Rule. State the indeterminate form before applying the rule. (c) If the first particle's position at t = 2 equals the limit found in (b), verify or disprove this claim. (d) Explain why the limit in (b) represents the instantaneous rate of change of a specific function at a specific point.
Show answer
Rubric (6 points): (a) [1 point] Factor the numerator: t² − 4t + 4 = (t − 2)². So x(t) = (t − 2)²/(t − 2) = t − 2 for t ≠ 2. For continuity, x(2) = lim(t→2)(t − 2) = 0. [1 point for correct position x(2) = 0.] (b) [3 points] Substituting t = 2: numerator = ln(2 − 1) = ln(1) = 0; denominator = 2 − 2 = 0. The form is 0/0, which is indeterminate. [1 point for identifying 0/0.] Applying L'Hôpital's Rule: differentiate the numerator d/dt[ln(t−1)] = 1/(t−1); differentiate the denominator d/dt[t−2] = 1. [1 point for correct derivatives.] The limit becomes lim(t→2) [1/(t−1)]/1 = 1/(2−1) = 1. [1 point for correct limit value of 1.] (c) [1 point] The first particle's position at t = 2 is 0, while lim(t→2) y(t) = 1. Since 0 ≠ 1, the claim is false. [1 point for correct comparison and conclusion.] (d) [1 point] The expression [ln(t − 1)]/(t − 2) = [ln(t − 1) − ln(1)]/(t − 2) has the form [f(t) − f(2)]/(t − 2) where f(t) = ln(t − 1). This is the difference quotient for f at t = 2, so the limit equals f'(2). Since f'(t) = 1/(t − 1), we get f'(2) = 1, confirming the limit is the derivative of ln(t − 1) evaluated at t = 2. [1 point for connecting to the derivative definition.]

Question 5: CRITICAL THINKING

4 pts
Consider two differentiable functions f and g such that f(3) = 0, g(3) = 0, f'(3) = 4, and g'(3) = 0, g''(3) = 2. (a) Explain why a single application of L'Hôpital's Rule to lim(x→3) f(x)/g(x) does not yield a finite limit. (b) Explain why a second application of L'Hôpital's Rule is not valid in this situation without additional information. (c) Describe what additional conditions on f would be needed for a second application to be valid, and under those conditions, find the limit.
Show answer
Rubric (4 points): (a) [1 point] Since f(3) = g(3) = 0, the original limit is 0/0, and L'Hôpital's Rule applies. After one application, the limit becomes lim(x→3) f'(x)/g'(x). Substituting gives f'(3)/g'(3) = 4/0, which is not indeterminate but rather suggests the limit is ±∞ or does not exist (depending on the sign behavior of g'(x) near 3). [1 point for correctly identifying that 4/0 is a determinate form that does not yield a finite limit.] (b) [1 point] A second application of L'Hôpital's Rule would require lim(x→3) f'(x)/g'(x) to be an indeterminate form (0/0 or ∞/∞). Since f'(3)/g'(3) = 4/0, this is not an indeterminate form—the numerator approaches a nonzero finite value while the denominator approaches zero. Therefore the hypotheses for a second application are not satisfied. [1 point for explaining that the non-indeterminate form bars re-application.] (c) [2 points] If instead f'(3) = 0 (not 4), then after one application we would have lim(x→3) f'(x)/g'(x) with f'(3) = 0 and g'(3) = 0, giving 0/0 again. [1 point for identifying f'(3) = 0 as the needed condition.] Under these conditions, a second application yields lim(x→3) f''(x)/g''(x). If f''(3) exists, then the limit equals f''(3)/g''(3) = f''(3)/2. For instance, if f''(3) = 6, the limit would be 6/2 = 3. [1 point for correctly computing the limit using the second derivatives.]

SUMMARY

Lesson Summary

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 the limit of f(x)/g(x) yields such a form and both functions are differentiable near the limit point, then the original limit equals the limit of f'(x)/g'(x) (the ratio of separate derivatives, not the Quotient Rule). The geometric intuition rests on local linear approximation: near a shared root, the ratio of two functions approximates the ratio of their tangent-line slopes.

On the AP exam, always verify the indeterminate form before every application, differentiate the numerator and denominator separately, and remember that the rule can be applied iteratively if the resulting limit is again indeterminate. Distinguish indeterminate forms (where the rule applies) from determinate forms (where it does not), and consider algebraic simplification before invoking the rule for maximum efficiency.

Varsity Tutors • AP Calculus AB • Using L'Hôpital's Rule for Determining Limits of Indeterminate Forms