Difficulty: Intermediate | Prerequisites: Limits, derivatives (including chain rule, product rule, trig derivatives, exponential/logarithmic derivatives)
L'Hopital's Rule lets you evaluate limits that produce indeterminate forms (like 0/0 or infinity/infinity) by differentiating the numerator and denominator separately and taking the limit again. Not every tricky limit starts in a form where you can apply the rule directly, so a large part of the skill is rewriting expressions (products, differences, exponentials) into a fraction first. Once you can do that reliably, most limit problems on an exam become mechanical.
L'Hopital's Rule
If lim f(x)/g(x) as x approaches c produces the indeterminate form 0/0 or infinity/infinity, and if lim f'(x)/g'(x) exists (or is plus or minus infinity), then lim f(x)/g(x) = lim f'(x)/g'(x). In simple terms, when direct substitution gives you a meaningless ratio, you can differentiate the top and bottom separately and try the limit again.
Indeterminate form
An expression whose value cannot be determined from the limiting behaviour of its parts alone. There are seven classic indeterminate forms. Think of it as: the pieces of the expression are pulling the answer in competing directions, so you need more information (usually from derivatives) to settle the result.
0/0
Both numerator and denominator approach zero. This is the most common form and the one L'Hopital's Rule handles most directly.
Infinity/infinity
Both numerator and denominator grow without bound. L'Hopital's Rule applies directly here as well.
0 times infinity
One factor shrinks to zero while the other grows without bound. Rewrite as a fraction (move one factor to the denominator as its reciprocal) to convert into 0/0 or infinity/infinity.
Infinity minus infinity
Two quantities both grow without bound but their difference is uncertain. Combine into a single fraction or factor to convert into a form where L'Hopital's Rule applies.
1 to the power infinity
The base approaches 1 while the exponent grows without bound. Take the natural log, evaluate the resulting limit (which is usually 0 times infinity), then exponentiate at the end.
0 to the power 0
The base approaches 0 while the exponent also approaches 0. Same logarithmic technique as 1 to the power infinity.
Infinity to the power 0
The base grows without bound while the exponent approaches 0. Again, take the natural log and convert to a quotient.
Confirm the limit produces 0/0 or infinity/infinity by substituting the limiting value.
Differentiate the numerator and denominator separately. Do not use the quotient rule on the whole fraction.
Take the limit of the new fraction. If it is still indeterminate, apply the rule again.
The rule requires both f and g to be differentiable near c, and g'(x) must not be zero near c.
Example: lim (x to 0) of x / tan x. Direct substitution gives 0/0. Differentiate: numerator gives 1, denominator gives sec^2 x. The limit becomes 1 / sec^2(0) = 1 / 1 = 1.
If the limit has the form f(x) times g(x) where one factor goes to 0 and the other to infinity, rewrite as f(x) / (1/g(x)) or g(x) / (1/f(x)).
Choose whichever rearrangement produces a simpler derivative.
Example: lim (alpha to 0) of alpha times cot(2 alpha). This is 0 times infinity. Rewrite as alpha / tan(2 alpha), which is 0/0. Apply L'Hopital's Rule: 1 / (2 sec^2(2 alpha)). At alpha = 0 this gives 1/2.
Combine the two terms into a single fraction using a common denominator, or factor out a dominant term.
The resulting expression is typically 0/0 or infinity/infinity.
Example: lim (w to infinity) of (ln w minus sqrt(w)). Factor out sqrt(w): sqrt(w) times (ln w / sqrt(w) minus 1). The term ln w / sqrt(w) goes to 0 by L'Hopital's Rule (infinity/infinity), so the whole expression goes to negative infinity.
All three use the same logarithmic technique:
Let y = the expression whose limit you want.
Take ln of both sides: ln y = (exponent) times ln(base).
The right side is now a product, typically 0 times infinity. Convert to a quotient and apply L'Hopital's Rule.
Once you find lim ln y = L, the original limit is e^L.
Example: lim (x to infinity) of (1 + 1/x)^(3x). This is the form 1^infinity. Let y = (1 + 1/x)^(3x). Then ln y = 3x times ln(1 + 1/x). As x goes to infinity, this is infinity times 0. Rewrite as ln(1 + 1/x) / (1/(3x)), which is 0/0. Apply L'Hopital's Rule and simplify to get lim ln y = 3. So the answer is e^3.
Some limit problems are secretly the definition of a derivative. The expression lim (h to 0) of [f(a + h) minus f(a)] / h is f'(a).
Example: lim (h to 0) of [8(1/2 + h)^8 minus 8(1/2)^8] / h. Let f(x) = 8x^8. This limit is f'(1/2). We get f'(x) = 64x^7, so f'(1/2) = 64 times (1/2)^7 = 64/128 = 1/2.
When a limit involves logarithms of different bases, convert using the change-of-base formula: log_a(x) = ln(x) / ln(a). This often simplifies the expression or makes L'Hopital's Rule unnecessary.
Example: lim (x to infinity) of log_2(x) / log_3(x). Convert both: [ln x / ln 2] / [ln x / ln 3] = ln 3 / ln 2. The ln x terms cancel, so no L'Hopital's Rule is needed.
AP-style problems sometimes give a differential equation dy/dx = F(x, y) with an initial condition f(a) = b, then ask for a limit of the form f(x) / g(x) as x approaches a. Since f(a) = b and g(a) = 0, you need both numerator and denominator to approach 0 for L'Hopital's Rule to apply. The derivative f'(a) comes from the differential equation itself: f'(a) = F(a, b).
Students often use the quotient rule when applying L'Hopital's Rule. You differentiate the numerator and denominator separately, not as a single fraction. The quotient rule and L'Hopital's Rule are entirely different operations.
Students sometimes apply L'Hopital's Rule when the limit is not actually indeterminate. If direct substitution gives a definite value (like 5/3, or 7/0), the rule does not apply. Always check the form first.
Students forget to verify that the new limit (after differentiating) actually exists. If the new limit also fails to resolve, you may need to apply the rule again, or switch to a different algebraic technique.
Students treat expressions like 0 times infinity, infinity minus infinity, or 1^infinity as though L'Hopital's Rule applies directly. It does not. These forms must first be rewritten as a 0/0 or infinity/infinity quotient before the rule can be used.
L'Hopital's Rule appears on virtually every AP Calculus BC exam, usually as a multiple-choice question and sometimes embedded in a free-response differential equation problem.
The most commonly tested pattern is a limit disguised as a derivative definition. If you see [f(a + h) minus f(a)] / h, recognise it and compute f'(a) directly rather than applying L'Hopital's Rule.
Exponential indeterminate forms (1^infinity especially) appear frequently. You must know the logarithmic conversion technique cold.
Free-response questions often pair L'Hopital's Rule with differential equations: you are given dy/dx and an initial condition, then asked for a limit. The key is using the differential equation to find f'(a).
Simplify before differentiating whenever possible. Problems like (1 minus 1/x) / (1 minus 1/x^2) can be solved by algebraic simplification alone, with no derivatives needed.
True or false: L'Hopital's Rule can be applied whenever a limit involves a fraction. (False. It applies only when substitution gives the indeterminate form 0/0 or infinity/infinity.)
Fill in the blank: To handle a limit of the form 1^infinity, you take the ______ of both sides and convert the problem into one involving a product. (natural logarithm)
True or false: When applying L'Hopital's Rule, you differentiate the numerator and denominator using the quotient rule. (False. You differentiate them separately.)
Fill in the blank: The expression lim (h to 0) of [f(a + h) minus f(a)] / h is the definition of ______. (f'(a), the derivative of f at a)
True or false: The limit of (ln x) / x as x approaches infinity can be evaluated by L'Hopital's Rule because it is of the form infinity/infinity. (True. Differentiating gives (1/x) / 1 = 1/x, which goes to 0.)
Q: What is lim (x to 0) of x / tan x?
A: The form is 0/0. Apply L'Hopital's Rule: d/dx[x] = 1, d/dx[tan x] = sec^2 x. The limit becomes 1 / sec^2(0) = 1/1 = 1. Answer: (C) 1.
Q: What is lim (x to 1) of (1 minus 1/x) / (1 minus 1/x^2)?
A: Substitution gives 0/0, but algebraic simplification is cleaner. Multiply numerator and denominator by x^2: numerator becomes x^2 minus x = x(x minus 1), denominator becomes x^2 minus 1 = (x minus 1)(x + 1). Cancel (x minus 1): x / (x + 1). At x = 1 this gives 1/2. Answer: (D) 1/2.
Q: What is lim (x to infinity) of log_2(x) / log_3(x)?
A: Use change of base. log_2(x) = ln x / ln 2, log_3(x) = ln x / ln 3. The ratio is (ln x / ln 2) / (ln x / ln 3) = ln 3 / ln 2. The ln x cancels. Answer: (B) ln 3 / ln 2.
Q: What is lim (x to infinity) of (1 + 1/x)^(3x)?
A: This is the form 1^infinity. Take ln: 3x times ln(1 + 1/x). Rewrite as 3 times ln(1 + 1/x) / (1/x), which is 0/0. Apply L'Hopital's Rule: differentiate to get 3 times [(-1/x^2) / (1 + 1/x)] / (-1/x^2) = 3 times 1/(1 + 1/x). As x goes to infinity, this is 3. So lim ln y = 3, and the answer is e^3. Answer: (E) e^3.
Q: What is lim (h to 0) of [8(1/2 + h)^8 minus 8(1/2)^8] / h?
A: This is the derivative definition for f(x) = 8x^8 at x = 1/2. f'(x) = 64x^7. f'(1/2) = 64 times (1/128) = 1/2. Answer: (B) 1/2.
Q: What is lim (x to 0) of (e^(2x) minus 1) / tan x?
A: The form is 0/0. Apply L'Hopital's Rule: 2e^(2x) / sec^2 x. At x = 0: 2(1) / 1 = 2. Answer: (D) 2.
Q: What is lim (m to 0) of (1/m) times ln((2 + m)/2)?
A: This is 0/0 if rewritten as ln(1 + m/2) / m. Apply L'Hopital's Rule: [1/(1 + m/2) times 1/2] / 1 = (1/2) / (1 + m/2). At m = 0 this is 1/2. Answer: (C) 1/2.
Q: What is lim (n to infinity) of 4n^2 / (10000n + n^2)?
A: Divide numerator and denominator by n^2: 4 / (10000/n + 1). As n goes to infinity, 10000/n goes to 0. The limit is 4/1 = 4. Answer: (D) 4.
Q: What is lim (x to 0) of (1 + 2x)^(csc x)?
A: This is the form 1^infinity. Take ln: csc x times ln(1 + 2x) = ln(1 + 2x) / sin x, which is 0/0. Apply L'Hopital's Rule: [2/(1 + 2x)] / cos x. At x = 0: 2/1 = 2. So lim ln y = 2, and the answer is e^2. Answer: (E) e^2.
L'Hopital's Rule connects directly to the definition of the derivative: many limit problems are derivative definitions in disguise, and recognising this saves time. It also ties into improper integrals, where you often need to evaluate limits of the form infinity/infinity as part of determining convergence. In the context of series (Taylor and Maclaurin), L'Hopital's Rule can verify the value a series converges to by comparing with the corresponding limit of the closed-form function.
L'Hopital's Rule, L'Hospital's Rule, indeterminate forms, 0/0, infinity over infinity, zero times infinity, infinity minus infinity, one to the infinity, zero to the zero, infinity to the zero, logarithmic limits, exponential limits, derivative definition limit, limit evaluation techniques, AP Calculus BC limits, Calculus III limits, change of base formula, Euler's method, differential equations and limits