Proof
(Prerequisite proofs used below)
This block proves the Heine–Borel theorem and the extreme value theorem, and from them Fermat's condition, Rolle's theorem and Cauchy's mean value theorem. Cauchy's mean value theorem is the tool behind every form of l'Hôpital's rule proved below.
Fix an integer and the Euclidean norm on . A set is bounded if it lies in some finite-radius ball, closed if its complement is open, and compact if every cover by open subsets of has a finite subcover. We use real completeness, including the nested closed interval property.
Heine–Borel in finite-dimensional Euclidean space
Theorem. A set is compact if and only if it is closed and bounded. The empty set satisfies all three properties.
Compact implies bounded. The open balls , an integer, cover . A finite subcover puts inside the largest of these balls.
Compact implies closed. Suppose and . The balls , , cover . Choose a finite subcover with centers and set . If lies in the ball centered at , the triangle inequality gives . Hence misses , so the complement is open.
Closed and bounded implies compact. Let nonempty be closed and bounded. Enclose it in a closed cube with . Suppose an open cover of has no finite subcover. Divide each coordinate interval into two closed halves. The resulting closed subcubes cover . At least one subcube has intersection with that is not finitely coverable by the given family; otherwise the finite union of the finite subcovers would cover . Select such a subcube and repeat. This produces nested closed cubes with side length and not finitely coverable, hence nonempty.
For each coordinate, the nested interval property gives a common coordinate value. Together these give . Every pair of points in has distance at most , so the intersection contains only . Choose . Then . A closed set contains such a limit: if were in its open complement, a ball around would eventually contain outside , a contradiction. Thus .
One member of the cover contains , and openness gives for some . For sufficiently large , every point of is within of , so alone covers . This contradicts the selection of . Therefore every open cover has a finite subcover. The number is finite; replacing it by infinitely many subpieces would invalidate this argument.
Continuous images and extreme values
Theorem. If is compact and is continuous relative to , then is compact. In particular, a continuous on nonempty compact is bounded and attains its maximum and minimum.
Proof. An open cover of pulls back to relatively open sets , with open in . These cover , so finitely many suffice. Their corresponding cover , proving compactness. For scalar , the image is nonempty, closed and bounded by the theorem already proved in dimension one. Let . For each , the definition of supremum supplies with . Then , and closedness places in the image. Thus the maximum is attained. Applying the same argument to gives the minimum. This proves existence, not a formula for the maximizing input.
Fermat's necessary condition. At a differentiable interior local maximum or minimum, .
Proof. At a local maximum, sufficiently small positive increments give nonpositive difference quotients and negative increments give nonnegative ones. A two-sided derivative can satisfy both sign limits only by being zero. Negating the function treats a minimum.
The interior hypothesis matters: on has extrema at endpoints despite derivative 1. The converse fails: has zero derivative at zero but no extremum there.
Rolle's theorem. If , is continuous on , differentiable on and , then for some .
Proof. The extreme-value theorem supplies maximum and minimum. If the function is constant, every interior point works. Otherwise a value differs from the equal endpoint values, so either a maximum or a minimum occurs in the interior. Fermat's condition applies there.
Theorem: Cauchy's mean value theorem
If are continuous on and differentiable on with , some satisfies
Proof. The auxiliary function has equal endpoint values. Rolle's theorem gives , precisely the identity. It is valid even when a denominator in a ratio formulation would be zero. Dividing to write derivative ratios requires separately checking those denominators; this is essential in proofs of L'Hôpital's rule.
Learning goals and a precise one-sided setting
Identify genuine indeterminate forms, prove the rule rather than treating derivative division as algebra, and distinguish sufficient hypotheses from necessary ones. Let be differentiable on an open interval approaching an endpoint , which may be finite or , from the left. Assume is nonzero throughout a sufficiently late approach interval. The analogous right-hand approach and negative-infinity cases follow by reversing coordinates.
Cauchy's mean value theorem says that for distinct interior , some between them satisfies
The denominator cannot vanish, for otherwise Rolle's theorem on would give a zero derivative between them. This also shows takes any value, including zero, at most once there. By shortening the approach interval we may therefore ensure , so the desired quotient is defined.
Theorem: finite derivative-ratio limit
If as the endpoint is approached, then provided either (i) both , or (ii) . In case (ii), no separate assumption that is unbounded is necessary.
Proof of (i). Let . Given , throughout a sufficiently late interval . Cauchy's theorem gives for any two points there. Fix and let approach the endpoint. Since , this yields , so . This argument works even when the endpoint is infinity, without pretending infinity is an endpoint value of a continuous function.
Proof of (ii). Given , set . Again take and a late interval where the derivative ratio has magnitude below . Fix one point in it. Cauchy's theorem between and a later gives . Consequently
For sufficiently late , the first term is less than and the absolute factor in the second is less than . The total is therefore less than . Since was arbitrary, the quotient tends to .
Theorem: infinite derivative-ratio limits
Under the same denominator assumptions, if , then in either case (i) or (ii); replace signs for a limit of .
Proof. For any real threshold , on a sufficiently late interval . Cauchy's theorem makes every incremental ratio greater than . In case (i), fix and pass the other point to the endpoint to obtain . Since can be chosen above any requested threshold, this proves divergence to . In case (ii), fix and write the incremental ratio as :
For and sufficiently late , the multiplying factor exceeds and . Therefore . Taking arbitrarily large proves divergence to . Applying the result to covers the negative-infinity limit.
Proof X-ray
Why a fixed base point is harmless when the denominator blows up
In case (ii) nothing tends to zero, so the move of case (i), sending the second point to the endpoint, is unavailable. Instead the proof anchors one point and lets only move. Cauchy's theorem bounds the increment of from by times the increment of ; after division by , every term that still remembers carries a factor and fades because . The hypothesis is used twice: to make nonzero, and to form the derivative ratio at the Cauchy point.
Worked examples and diagnosis
A power form needs a logarithm first. For , and its logarithm is . The denominator tends to infinity and the derivative quotient is , so the proven rule gives log limit zero. Exponential continuity gives . Directly differentiating the numerator and denominator of the original power expression would not be an application of the rule.
Not every quotient is indeterminate. As , by continuity. Differentiating numerator and denominator would give one, an incorrect limit because neither zero-over-zero nor an unbounded denominator applies.
The rule is not reversible. For , let and . Then , but has no limit. A quotient may have a limit even when the derivative ratio does not.
Counterexample mode
Cancelling a zero of the denominator derivative breaks the rule
Claim: if has zeros but tends to after a common factor is cancelled, the conclusion still holds. Take , and . Then and ; after cancelling , the ratio tends to , and . Yet has no limit. The repair is the stated hypothesis: throughout a late interval.
Worked example 2.1.1
(Three applications in a row, with the hypotheses checked each time)
Find . Work first on the right approach , with the interval .
Stage 1. Put and . Both tend to , and on . The derivative ratio is . By case (i), if this ratio has a limit, the original quotient has the same limit.
Stage 2. Put and . Both tend to , and on . The derivative ratio is .
Stage 3. Since by the definition of the derivative, .
The logic now runs backwards: stage 3 supplies a limit, so stage 2 has limit , so stage 1 has limit . The quotient is even, because numerator and denominator are both odd functions, so the left approach gives the same value. Hence
Each stage was licensed only after its own two hypotheses (both functions tend to zero; denominator derivative nonzero near the point) had been checked.
Worked example 2.1.2
(An infinite derivative-ratio limit)
Show that as . Take , which tends to infinity with on . This is case (ii); no assumption on the numerator is needed. The derivative ratio is .
That ratio is again a case (ii) quotient: its denominator tends to infinity, its derivative never vanishes, and the new derivative ratio is . The infinite-ratio theorem gives , and a second application gives
The same two-step pattern, repeated times, shows for every positive integer .
Worked example 2.1.3
(A one-to-the-infinity form through its logarithm)
Find . For the real power is defined by , so it suffices to find the limit of the exponent. Its numerator and denominator both tend to , the denominator derivative is , and the derivative ratio is . Case (i) gives . Continuity of the exponential at then gives
The same computation on gives the left-hand limit. The rule was applied to the logarithm, which is a genuine quotient, and never to the power itself.
Quick checks
Quick check
(Find , checking the hypotheses at each application.)
Two applications of case (i) are needed.
Solution · Answer
Both and tend to , and for . The derivative ratio is . Again both parts tend to , the denominator derivative is , and the new ratio is . Working backwards, and therefore the original limit is .
Quick check
(Find .)
The denominator tends to infinity, so case (ii) applies; you may need it twice.
Solution · Answer
With , and . The derivative ratio is . This is again case (ii), with derivative ratio . Hence , and then .
Quick check
(Can the proved rule be used for ? Find the limit.)
Look at the zeros of the denominator derivative before differentiating anything.
Solution · Answer
The denominator derivative is , which vanishes at for every integer . Every tail interval contains such a zero, so the hypothesis on a late interval fails and the rule is unavailable; the derivative ratio is not even defined at those points. Dividing by instead gives , because . The limit is .
Graded practice
- Foundation. Evaluate with hypotheses stated.
- Core. Evaluate .
- Core. Evaluate by converting it to an admissible quotient.
- Proof. Explain why infinitely many zeros of the denominator derivative approaching the endpoint, so that every tail interval contains one, prevent direct use of the stated theorem but do not by themselves prove the quotient has no limit. Give an example.
Full solutions
- Both functions tend to zero; the denominator derivative is one and the derivative ratio is . Therefore the limit is one. This agrees with the derivative definition of the exponential at zero.
- The denominator tends to infinity, its derivative is , and the derivative quotient is . Hence the limit is zero.
- Write . The denominator tends to infinity and its derivative is ; the derivative quotient is . The right-hand approach version of case (ii) gives limit zero.
- The theorem requires a zero-free derivative on a whole approach interval, so repeated derivative zeros approaching the endpoint violate that sufficient hypothesis. Let as . Then has infinitely many zeros, but is identically one for all sufficiently large . Failure of a hypothesis means the theorem is unavailable, not that its desired conclusion is false.
Summary and term definitions
An indeterminate form names a limit pattern that does not decide a quotient by itself. A derivative-ratio rule is a sufficient limiting theorem, not cancellation of differentiation symbols. Eventual hypotheses must hold on an entire tail interval. Cauchy's theorem controls incremental ratios; endpoint limits or a growing denominator then remove the base values and justify the original quotient limit.