Real Analysis 42 | L'Hospital's Rule [dark version]
Based on The Bright Side of Mathematics's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.
The extended mean value theorem replaces the usual slope with (f(b)−f(a))/(g(b)−g(a)) and matches it to f′(x̂)/g′(x̂) at some interior point x̂.
Briefing
L’Hospital’s Rule is built from a more general “extended mean value theorem” that links two differentiable functions through a special mean slope. The key move is to replace the usual single-function mean slope with a ratio that combines both functions’ derivatives: for differentiable f and g on an interval, with g′ never zero inside the interval, there exists an interior point x̂ where
(f(b)−f(a))/(g(b)−g(a)) = f′(x̂)/g′(x̂).
That statement matters because it turns an otherwise hard limit of the form f(x)/g(x) into something computable from derivatives—provided the right hypotheses hold. The derivation uses the same backbone as the standard mean value theorem: construct an auxiliary function H that vanishes at the endpoints, then apply Rolle’s theorem to force H′(x̂)=0 at some interior point. The “extended” part comes from how H is defined: it subtracts a secant-like expression built from the quotient (f(b)−f(a))/(g(b)−g(a)), so differentiating H produces exactly the combined slope f′(x̂)/g′(x̂).
Once the extended mean value theorem is in place, L’Hospital’s Rule follows for limits that initially look like indeterminate forms. Consider a point x0 in an interval I and two differentiable functions f and g. The rule targets limits of the quotient f(x)/g(x) as x→x0, focusing on the common problematic case where f(x0)=0 and g(x0)=0. Under additional conditions—most importantly that g′ does not vanish near x0 except possibly at x0, and that the derivative quotient f′(x)/g′(x) has a (one-sided) limit—the theorem guarantees that the original quotient f(x)/g(x) has a matching limit.
The proof strategy is sequence-based: take any sequence x_n→x0 with x_n≠x0, apply the extended mean value theorem on the interval between x_n and x0, and obtain points x̂_n where the derivative quotient equals a secant quotient. Because f(x0)=g(x0)=0, the secant quotient collapses to f(x_n)/g(x_n). If the derivative quotient f′(x̂_n)/g′(x̂_n) converges (by assumption), then the secant quotient—and thus f(x_n)/g(x_n)—must converge to the same value. That forces the limit of f(x)/g(x) to exist and equal the limit of f′(x)/g′(x).
Two worked examples show the mechanics. For
lim_{x→0} log(1+x)/x,
the indeterminate form 0/0 is resolved by differentiating: (1/(1+x))/1 → 1. For
lim_{x→0} (1−cos x)/x,
differentiation gives sin(x)/2x, still 0/0, so the rule is applied again: cos(x)/2 → 1/2. In both cases, the derivative quotient’s limit determines the original limit, illustrating why the extended mean value theorem is the engine behind L’Hospital’s Rule.
Cornell Notes
L’Hospital’s Rule is justified using an extended mean value theorem that compares two functions f and g. If f and g are differentiable on an interval and g′ never equals 0 inside the interval, then there is an interior point x̂ where (f(b)−f(a))/(g(b)−g(a)) = f′(x̂)/g′(x̂). Rolle’s theorem drives the proof by applying it to a carefully constructed auxiliary function H that vanishes at the endpoints. With this tool, limits of the form f(x)/g(x) as x→x0 (especially when f(x0)=g(x0)=0) can be reduced to limits of f′(x)/g′(x), assuming g′ stays nonzero near x0 and the derivative quotient limit exists. Sequence arguments then force the original quotient limit to exist and match the derivative quotient’s value.
What changes when moving from the standard mean value theorem to the extended mean value theorem?
How does the proof using Rolle’s theorem work in the extended setting?
Why does L’Hospital’s Rule require f(x0)=0 and g(x0)=0?
What role does the condition “g′ does not vanish near x0” play?
How does the sequence argument force the limit of f(x)/g(x) to exist?
Why do the example limits work after one or two applications of L’Hospital’s Rule?
Review Questions
- State the extended mean value theorem and list the key assumptions on f and g.
- In the L’Hospital proof, why does the condition f(x0)=g(x0)=0 simplify the secant quotient?
- For lim_{x→0} (1−cos x)/x, what derivative quotient appears after the first and second applications of L’Hospital’s Rule?
Key Points
- 1
The extended mean value theorem replaces the usual slope with (f(b)−f(a))/(g(b)−g(a)) and matches it to f′(x̂)/g′(x̂) at some interior point x̂.
- 2
A nonvanishing condition on g′ inside the interval is essential to make the derivative ratio well-defined.
- 3
Rolle’s theorem is applied to an auxiliary function H engineered to vanish at the endpoints, forcing H′(x̂)=0.
- 4
L’Hospital’s Rule targets limits where f(x0)=0 and g(x0)=0, turning an indeterminate 0/0 into a derivative-based limit.
- 5
If the limit of f′(x)/g′(x) exists (one-sided as needed) and g′ stays nonzero near x0, then the limit of f(x)/g(x) exists and equals that derivative limit.
- 6
Sequence arguments show that convergence of the derivative quotient forces convergence of f(x)/g(x) for every sequence approaching x0.