CALCULUS 1 • APPLICATIONS OF DERIVATIVES: CONTEXTUAL

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

A powerful shortcut that turns impossible-looking limits into straightforward derivative calculations.

Historical Context & Motivation

Imagine you're trying to evaluate a limit and both the numerator and denominator approach zero at the same time. Direct substitution gives you 0/0, which is meaningless — it doesn't tell you the actual value of the limit. This frustrating situation, called an indeterminate form, plagued mathematicians for centuries. They needed a reliable, general technique for resolving these ambiguous expressions.

The solution came from the early days of calculus, when derivatives were still a brand-new tool. The story of L'Hôpital's Rule involves a famous collaboration (and a paid arrangement) between two mathematicians in the late 1600s. The rule itself connected the world of limits to the world of derivatives in a surprisingly elegant way.

1655
Early Limit Struggles
Mathematicians like John Wallis explored infinite processes and ratios, but lacked a systematic method for evaluating expressions that yield 0/0 or ∞/∞ upon substitution.
1694
Bernoulli's Discovery
Johann Bernoulli, a Swiss mathematician, discovered the rule for evaluating indeterminate forms using derivatives. He communicated it privately to the Marquis de L'Hôpital as part of a paid tutoring arrangement.
1696
L'Hôpital Publishes the Rule
Guillaume de L'Hôpital published the first calculus textbook, 'Analyse des Infiniment Petits,' which included the rule. Because of the publication agreement, it became known as L'Hôpital's Rule rather than Bernoulli's Rule.
1821
Cauchy's Rigorous Proof
Augustin-Louis Cauchy provided the first rigorous proof of L'Hôpital's Rule using the formal definition of limits, placing the technique on solid mathematical footing.

The central question that L'Hôpital's Rule addresses is this: when direct substitution into a limit produces an indeterminate form like 0/0 or ∞/∞, how can we determine the actual value? The answer lies in replacing the original functions with their derivatives, which reveal the rates at which the numerator and denominator approach their limiting values.

Core Principles & Definitions

Before applying L'Hôpital's Rule, you need to understand what makes certain limit expressions unsolvable by direct substitution. The key concept is the indeterminate form — an expression whose value cannot be determined from the limiting behavior of its parts alone. The two most common indeterminate forms you'll encounter are 0/0 and ∞/∞, and L'Hôpital's Rule applies directly to both of these.

1

Indeterminate Form 0/0

When both the numerator f(x) and denominator g(x) approach 0 as x approaches a value c, the limit is indeterminate. The actual limit could be any real number, or it might not exist at all.
2

Indeterminate Form ∞/∞

When both numerator and denominator grow without bound (approach ±∞), the ratio is also indeterminate. The limit depends on which function grows faster, which L'Hôpital's Rule can reveal.
3

The Rule Itself

If lim f(x)/g(x) yields 0/0 or ∞/∞, then it equals lim f′(x)/g′(x), provided this new limit exists. You differentiate the top and bottom separately — this is NOT the quotient rule.
4

Conditions to Check

You must verify the indeterminate form before applying the rule. Also, g′(x) must not be zero near the point. If the new limit is still indeterminate, you can apply the rule again.
⚠️ COMMON MISTAKE
L'Hôpital's Rule does not use the quotient rule. You take the derivative of the numerator and the derivative of the denominator independently. Think of it as replacing f(x)/g(x) with f′(x)/g′(x), not as differentiating the entire fraction.
KEY TAKEAWAY
Think of L'Hôpital's Rule like a tiebreaker in a race. If two runners (the numerator and denominator) both cross the finish line at exactly the same time (both reaching 0 or both reaching ∞), you can't tell who "wins" by looking at the finish. Instead, you check their speeds (derivatives) near the finish line to determine the outcome of the ratio.

Visual Explanation

The following diagram illustrates what happens graphically when you encounter a 0/0 indeterminate form. Two functions, f(x) and g(x), both pass through zero at x = 2, making f(x)/g(x) undefined at that point. However, the limit of the ratio as x approaches 2 exists and equals the ratio of the slopes (derivatives) of the two functions at that point.

At x = 2, both f(x) = x² − 4 and g(x) = x − 2 equal zero, creating the 0/0 form. The open circle shows the point where direct substitution fails. L'Hôpital's Rule tells us to compare the derivatives: f′(2) = 4 and g′(2) = 1, so the limit equals 4.

Notice how both curves pass through the same y-value of zero at x = 2. The ratio f(x)/g(x) is undefined at that exact point, but if you zoom in close enough, the curves look almost like straight lines — and the ratio of those "straight-line slopes" is precisely what the derivatives capture. That's the geometric intuition behind L'Hôpital's Rule: near the point of interest, the functions behave like their tangent lines, and the ratio of tangent-line slopes gives the true limit.

Mathematical Framework

Let's state L'Hôpital's Rule formally. This is the precise mathematical statement you'll rely on when solving problems. Pay attention to the conditions — they must all be satisfied before you can apply the rule.

L'HÔPITAL'S RULE (0/0 FORM)
If lim(x→c) f(x) = 0 and lim(x→c) g(x) = 0, then lim(x→c) [f(x)/g(x)] = lim(x→c) [f′(x)/g′(x)]
provided that g′(x) ≠ 0 near c (except possibly at c itself) and that the limit on the right side exists or equals ±∞. Here c can be a finite number or ±∞.
L'HÔPITAL'S RULE (∞/∞ FORM)
If lim(x→c) f(x) = ±∞ and lim(x→c) g(x) = ±∞, then lim(x→c) [f(x)/g(x)] = lim(x→c) [f′(x)/g′(x)]
The same conditions apply: g′(x) ≠ 0 near c, and the limit of the derivative ratio must exist (or be ±∞). This version handles cases where both functions blow up.

Step-by-Step Procedure

  1. Step 1: Try direct substitution. If you get a defined value, that's your answer — no need for L'Hôpital's Rule.
  2. Step 2: Verify that you have an indeterminate form: 0/0 or ∞/∞.
  3. Step 3: Differentiate the numerator f(x) and denominator g(x) separately.
  4. Step 4: Evaluate lim(x→c) f′(x)/g′(x). If this limit exists, it equals the original limit.
  5. Step 5: If f′(x)/g′(x) is still indeterminate (0/0 or ∞/∞), apply L'Hôpital's Rule again.
REPEATED APPLICATION
lim(x→c) f(x)/g(x) = lim(x→c) f′(x)/g′(x) = lim(x→c) f″(x)/g″(x) = ...
You may apply the rule multiple times, as long as each intermediate step produces an indeterminate form 0/0 or ∞/∞. Stop as soon as the limit can be evaluated directly.

Indeterminate Forms & Special Cases

While L'Hôpital's Rule directly handles only the 0/0 and ∞/∞ forms, other indeterminate forms can be rewritten into one of these two types. The table below summarizes the seven classical indeterminate forms and how to convert them so that L'Hôpital's Rule can be applied.

Seven classical indeterminate forms and their conversion strategies
Indeterminate FormExample ExpressionConversion Strategy
0/0sin(x)/x as x → 0Apply L'Hôpital's Rule directly
∞/∞ln(x)/x as x → ∞Apply L'Hôpital's Rule directly
0 × ∞x × ln(x) as x → 0⁺Rewrite as f/(1/g) to get 0/0 or ∞/∞
∞ − ∞1/x − 1/sin(x) as x → 0Combine into a single fraction, then apply rule
0⁰x^x as x → 0⁺Take ln, evaluate, then exponentiate
∞⁰x^(1/x) as x → ∞Take ln, evaluate, then exponentiate
1^∞(1 + 1/x)^x as x → ∞Take ln, evaluate, then exponentiate
This flowchart shows the decision process for applying L'Hôpital's Rule. Start by trying direct substitution. If you get 0/0 or ∞/∞, differentiate the numerator and denominator separately. If the new limit is still indeterminate, apply the rule again.
💡 OTHER INDETERMINATE FORMS
Forms like 0 × ∞, ∞ − ∞, 0⁰, ∞⁰, and 1^∞ are not directly handled by L'Hôpital's Rule. You must first use algebraic manipulation (combining fractions, taking logarithms) to convert them into 0/0 or ∞/∞ before applying the rule.

Worked Example

Let's work through a complete example that requires applying L'Hôpital's Rule. We'll evaluate each step carefully so you can see the reasoning in action.

Evaluate lim(x→0) [sin(x) − x] / x³
1
Step 1 — Try Direct SubstitutionSubstituting x = 0 into the expression: the numerator becomes sin(0) − 0 = 0, and the denominator becomes 0³ = 0. We get the indeterminate form 0/0.
Indeterminate form 0/0 confirmed → L'Hôpital's Rule applies
2
Step 2 — Apply L'Hôpital's Rule (First Time)Differentiate the numerator and denominator separately. The derivative of sin(x) − x is cos(x) − 1. The derivative of x³ is 3x². Our new limit is lim(x→0) [cos(x) − 1] / (3x²). Substituting x = 0 gives (1 − 1)/(3 × 0) = 0/0 — still indeterminate!
lim(x→0) [cos(x) − 1] / (3x²) → still 0/0
3
Step 3 — Apply L'Hôpital's Rule (Second Time)Differentiate again. The derivative of cos(x) − 1 is −sin(x). The derivative of 3x² is 6x. Our new limit is lim(x→0) [−sin(x)] / (6x). Substituting x = 0 gives −sin(0)/(6 × 0) = 0/0 — still indeterminate! We apply the rule one more time.
lim(x→0) [−sin(x)] / (6x) → still 0/0
4
Step 4 — Apply L'Hôpital's Rule (Third Time)Differentiate once more. The derivative of −sin(x) is −cos(x). The derivative of 6x is 6. Our new limit is lim(x→0) [−cos(x)] / 6. Now we can substitute directly: −cos(0)/6 = −1/6. This is a definite value, so we're done!
lim(x→0) [sin(x) − x] / x³ = −1/6
📌 NOTICE
We applied L'Hôpital's Rule three times in a row! Each time, we confirmed the indeterminate form before differentiating again. You can apply the rule as many times as needed, but always check that you still have 0/0 or ∞/∞ before each application.

Strengths, Limitations & Common Pitfalls

L'Hôpital's Rule is one of the most useful tools in your calculus toolkit, but it isn't a universal fix. Understanding when it works well and when it fails will save you from common errors on tests and homework.

Strengths vs. Limitations of L'Hôpital's Rule
StrengthsLimitations / Pitfalls
Handles limits that are extremely difficult or impossible to evaluate algebraicallyOnly works for 0/0 and ∞/∞ forms — must convert other indeterminate forms first
Can be applied repeatedly if the result is still indeterminateMay loop forever (e.g., lim(x→∞) eˣ/eˣ gives ∞/∞ repeatedly but the answer is simply 1)
Works for one-sided limits and limits at infinityApplying the rule to a non-indeterminate form gives a WRONG answer
Elegant for exponential vs. polynomial growth-rate comparisonsSometimes algebraic simplification or factoring is faster and easier
Works with trigonometric, logarithmic, and exponential functionsRequires that both f(x) and g(x) be differentiable near the point
KEY TAKEAWAY
L'Hôpital's Rule is like a powerful power tool — incredibly effective for the right job, but dangerous if used carelessly. Always check your safety conditions (is it really 0/0 or ∞/∞?) before turning it on. And remember: sometimes a simple screwdriver (basic algebra or factoring) gets the job done faster than a power drill.

Connection to Advanced Theory

L'Hôpital's Rule is your first taste of a deeper idea in calculus: that the behavior of a function near a point is largely determined by its derivatives. This principle extends far beyond simple limit evaluation. Here's how it connects to more advanced topics you may encounter later.

How L'Hôpital's Rule connects to more advanced mathematics
Concept in This LessonAdvanced Extension
Comparing growth rates via L'Hôpital's RuleAsymptotic analysis and Big-O notation in computer science — classifying how fast algorithms run
Approximating functions by their tangent lines at a pointTaylor series — approximating functions using polynomials built from derivatives of all orders
Repeated application of the rule (taking higher derivatives)Taylor's theorem with remainder, which generalizes the idea of how well derivatives approximate a function
Evaluating limits of the form 1^∞ using logarithmsThe definition of e as lim(n→∞) (1 + 1/n)ⁿ, foundational to exponential growth models in science

One particularly important result you can prove with L'Hôpital's Rule is the growth rate hierarchy: as x → ∞, logarithmic functions grow slower than any polynomial, and any polynomial grows slower than any exponential function. In symbols: ln(x) ≪ xⁿ ≪ eˣ. This hierarchy shows up constantly in advanced math, physics, and computer science, and L'Hôpital's Rule is the easiest way to prove it.

Growth Rate Hierarchy (as x → ∞)
Logarithmic: ln(x)
Polynomial: xⁿ
Exponential: eˣ
SlowestFastest

Practice Problems

Test your understanding with these five problems. They increase in difficulty, so start from the top and work your way down. For each problem, remember to verify the indeterminate form before applying L'Hôpital's Rule.

PROBLEM 1CONCEPTUAL
A student claims that L'Hôpital's Rule can be used to evaluate lim(x→3) (x² + 1)/(x − 1) because "it has a fraction." Explain why the student is wrong.
PROBLEM 2BASIC CALCULATION
Evaluate lim(x→0) (eˣ − 1)/x using L'Hôpital's Rule.
PROBLEM 3INTERMEDIATE
Evaluate lim(x→∞) x²/eˣ. You may need to apply L'Hôpital's Rule more than once.
PROBLEM 4APPLIED
In a population model, the average cost per individual is given by C(n) = (ln(n) − 2)/(n − e²) dollars, where n is the population size. Find the limiting average cost as the population approaches e² (approximately 7.389) individuals.
PROBLEM 5CRITICAL THINKING
Evaluate lim(x→0⁺) x·ln(x). Note that this is not in the form 0/0 or ∞/∞ directly. Describe how to rewrite the expression, then find the limit.

Lesson Summary

L'Hôpital's Rule is a technique for evaluating limits that produce indeterminate forms of type 0/0 or ∞/∞. The rule states that if direct substitution yields one of these forms, then lim f(x)/g(x) equals lim f′(x)/g′(x), where the numerator and denominator are differentiated separately (not using the quotient rule). The rule can be applied repeatedly when successive applications still yield indeterminate forms.

Other indeterminate forms such as 0 × ∞, ∞ − ∞, 0⁰, ∞⁰, and 1^∞ must first be converted into 0/0 or ∞/∞ through algebraic manipulation before the rule can be used. Always verify the indeterminate form before applying L'Hôpital's Rule — using it on a non-indeterminate expression will produce an incorrect answer. The rule connects beautifully to the growth rate hierarchy (logarithmic ≪ polynomial ≪ exponential) and foreshadows advanced topics like Taylor series.

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