How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
The Derivative and the Mean Value Theorems
1 · Prerequisites
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Countability and Uncountability
- Foundations of the Real Numbers for Analysis
- Limits of Real Functions
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Suprema and Infima
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
2 · Summary
Objective. This page defines the derivative of a real function at a point, proves the rules that make it computable, and then proves four central theorems whose hypotheses use differentiability: Fermat's interior extremum theorem, Rolle's theorem, Cauchy's mean value theorem, and the mean value theorem itself. It closes with what the mean value theorem is actually spent on downstream: a vanishing derivative forces a constant, the sign of the derivative controls monotonicity, and a bound on the derivative gives a Lipschitz bound on the function.
The definition, and the two obligations it carries. The derivative of at a point that is a limit point of , and differentiability on a set takes and a point that is also a limit point of , forms the difference quotient on , and defines to be its limit at when that exists. Both obligations are discharged in the definition itself rather than assumed. The point must be a limit point of , since otherwise The - limit of at a limit point of leaves the symbol undefined and every real would satisfy the - condition vacuously; and the limit is unique, by At a limit point of the domain a function has at most one limit applied on the domain , which is what makes a name for one real number. Two further facts are established there because everything below uses them: a derivative survives shrinking the domain, provided the smaller domain still accumulates at the point; and every point of a nondegenerate interval is a limit point of it, so that on an interval the symbol is meaningful at every point, endpoints included.
Carathéodory, and why every rule on this page is one line. Carathéodory's characterisation: is differentiable at if and only if there is , continuous at , with for every , and then is unique and replaces the quotient by an algebraic identity: is differentiable at exactly when some , continuous at , satisfies throughout , and then is unique with . That reformulation is what carries the whole toolkit. A function differentiable at is continuous at becomes a product of two continuous factors; Sums, scalar multiples, products and quotients: , , , and when becomes four rearrangements of an increment, each followed by a reading of Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function; and The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with becomes a single substitution, with none of the case analysis that a difference-quotient proof needs where the inner increment vanishes. The linear-approximation form of the derivative: is differentiable at with if and only if the remainder satisfies ; at most one does so, so is the unique affine map approximating to first order at records the other standard reformulation, that is the unique slope for which the affine approximation has remainder small compared with the increment.
The rules, and the index trap inside the power rule. For a natural the function is differentiable everywhere with derivative ; for it is the constant , with derivative ; for a natural the function is differentiable at every with derivative ; consequently every polynomial function is differentiable at every real, with the derivative computed term by term proves that has derivative for every natural , that is the constant with derivative , and that has derivative away from ; the case is stated separately and not folded into the general formula, because is not defined at . Polynomial functions follow by induction along the recursion defining finite sums. Derivative of an inverse: if is continuous and injective on a nondegenerate interval and differentiable at with , then the inverse is differentiable at with ; and if then is not differentiable at closes the toolkit: at a point where is differentiable, the inverse is differentiable exactly when does not vanish, with the reciprocal derivative, and is not differentiable when it does; nothing is asserted at a point of where itself has no derivative. Both halves rest on Continuous inverse theorem: a continuous injective on an interval is a bijection onto the order-convex set , and the inverse is continuous and strictly monotone in the same sense as , which supplies the inverse and its continuity, and the second half is a one-line use of the chain rule against the identity.
Extrema, and the theorem that needs an interior point. Local (relative) maximum and minimum of at a point, the strict forms, and what it means for the point to be interior to fixes local maxima and minima, their strict forms, and what it means for a point to be interior to the domain; it also proves the two facts the theorems below need, that an interior point of a set is a limit point of it, which is what Fermat's theorem consumes, and that a global extremum is a local one, which is what Rolle's theorem consumes. Fermat's interior extremum theorem: if has a local extremum at a point interior to its domain and is differentiable at , then then shows that a derivative at an interior local extremum vanishes, by keeping the difference quotient on the sign of its limit (If then on a punctured neighbourhood of ; in particular if then there) and reading it on both sides of the point. The interiority hypothesis is exactly what places points of the domain on both sides, and it is not decoration: the companion page exhibits a function on with extrema at both endpoints and derivative at each.
Rolle, Cauchy, and the mean value theorem. Rolle's theorem: if , is continuous on , differentiable at every point of , and , then for some combines Fermat with Extreme value theorem: a continuous real function on a nonempty compact subset of attains a greatest and a least value: a continuous function on attains a greatest and a least value, and if neither is attained inside then the hypothesis makes the function constant, so any interior point serves. Cauchy's mean value theorem: for continuous on with and differentiable on there is with ; no hypothesis on is needed in this product form is one application of Rolle to with and , and it is stated as a product identity, , with no hypothesis on ; the familiar quotient form is not equivalent, and the companion page shows a pair for which it is meaningless while the product form holds. The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with is the case .
What the mean value theorem buys. Three consequences, each with the interval hypothesis doing real work. A function continuous on an interval whose derivative vanishes at every interior point of is constant on ; consequently two such functions with the same derivative differ by a constant: a function continuous on an interval with vanishing derivative at every interior point is constant, so two functions with the same derivative differ by a constant. On an interval , for continuous on and differentiable at every interior point: throughout gives nondecreasing, gives increasing, and give the two decreasing forms; conversely a nondecreasing has and a nonincreasing has wherever it is differentiable, and no strict converse is claimed: the four sign conditions on give the four monotonicity conditions of Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences, and conversely a nondecreasing function has wherever it is differentiable. That converse is non-strict, and no strict form holds. If is continuous on an interval and at every interior point, then for all , so is Lipschitz with constant and uniformly continuous on : a bound at every interior point gives throughout, so the function is Lipschitz with constant and, through Dictionary: for with the metric , continuity and uniform continuity of agree with the metric-space notions, the Lipschitz and Hölder conditions are the metric ones instantiated, and a subset of is compact in the open-cover sense of exactly when it is a compact metric subspace and Contraction implies Lipschitz implies uniformly continuous implies continuous; every Hölder map is uniformly continuous, and a Lipschitz map on a bounded space is Hölder for every exponent, uniformly continuous.
Two false statements, both with witnesses. FALSE: differentiability at every point of alone yields a with deletes the continuity hypothesis from the mean value theorem and is refuted by on with , which is differentiable at every interior point with derivative while ; the same witness kills Rolle's theorem under the same weakening. FALSE: if then is not increasing on any interval containing reads the monotonicity theorem backwards and is refuted by , which is increasing on with .
What this page does not fix. No one-sided derivative and no derivative of order above one is defined here, and no item on this page says anything about the continuity of or about the existence of an antiderivative. Darboux's theorem is not proved here either, so nothing below says that has the intermediate value property of The intermediate value property (Darboux property) of a function on an interval: the image of every subinterval is order-convex. The monotone-functions page names that theorem as the classical source of discontinuous functions with the intermediate value property and builds its own witness by hand instead; this page does not discharge it, and no item here may be cited for it. Nothing on either page depends on it. What is fixed here and what is not: the derivative is taken at a point of the domain that is also a limit point of it, one-sided derivatives and derivatives of order above one are not introduced at this point in the reading order, and and name the same real number records exactly what is settled and what is left open, including that and name the same real number and that the second is a name and not a quotient.
3 · Logical flowchart
4 · Definitions, theorems and proofs
The derivative of at a point that is a limit point of , and differentiability on a set
Definition
Throughout, is the complete ordered field (Complete ordered field (least-upper-bound property)), neighbourhoods are those of The -neighbourhood and the punctured -neighbourhood of a point of and limit points those of Limit point, isolated point, adherent point, derived set, and dense subset of .
Let , let and let be a limit point of . The difference quotient of at is the function
The division is legitimate at every point of the domain, since gives .
The point is a limit point of , not merely of . For every real the punctured neighbourhood omits , so
and the left-hand side is nonempty because is a limit point of . So is a function on a set having as a limit point, and is a notion that The - limit of at a limit point of defines.
is differentiable at when that limit exists, and then the derivative of at is
Two obligations are carried by that notation, and both are discharged here.
- Uniqueness. Writing treats the right-hand side as a name for a single real number. That is legitimate: is a limit point of the domain of , so at most one real can satisfy the - condition, by At a limit point of the domain a function has at most one limit applied to . Two reals both meeting the condition are therefore equal, and the symbol denotes.
- Meaningfulness. The hypothesis that is a limit point of is not decoration. At an isolated point of the punctured condition is met by no point of the domain at all, so the - formula is satisfied vacuously by every real at once; this is why The - limit of at a limit point of leaves the limit undefined there, and it is why this library defines only at a limit point of . At an isolated point of its domain a function is neither differentiable nor non-differentiable here: the question is not posed.
The limit sees only , so how the difference quotient is extended to is irrelevant. Let agree with at every point of , and let . Then if and only if . Both conditions read: for every real there is a real such that every point of the relevant domain with satisfies (The - limit of at a limit point of ). The clause removes from both quantifiers, so in both cases the points quantified over are exactly the with , at which and take the same value. The two conditions are the same condition.
Differentiability on a set. For , is differentiable on when it is differentiable at every ; implicit in that phrase is that every point of is a limit point of . is differentiable when it is differentiable on the whole of .
Restriction of the domain. Let , let and suppose is a limit point of . If is differentiable at , then so is the restriction , and
Indeed ; the displayed identity of punctured neighbourhoods above, applied to , shows that is a limit point of ; the difference quotient is the restriction of to , since ; and claim 2 of The limit at depends only on the restriction of to a punctured neighbourhood of , and passes to any subset of the domain having as a limit point carries the limit to that restriction.
Every point of a nondegenerate interval is a limit point of it. Let be order-convex (Intervals of : the nine order-convex forms, nondegeneracy, and length) with at least two elements and let . Choose with , and let a real be given. If , put ; then , and , so and order-convexity gives , while . If , the point serves in the same way. So for every real , that is, is a limit point of (Limit point, isolated point, adherent point, derived set, and dense subset of ).
Consequently, for defined on a nondegenerate interval , the symbol is meaningful at every , endpoints included. At an endpoint the difference quotient is taken over the points of lying on the one side that is available, so what other texts call a one-sided derivative is, here, simply the derivative of on .
Remarks
-
Notation. and denote the same real number, and this library uses the first. Neither is an operation performed on a symbol : the variable in the second is a name for the argument and nothing more.
-
Differentiability is a property of the pair at , not of alone. The restriction clause above goes in one direction only, and the converse fails. Take , , and . Then is the identity on , whose difference quotient at is constantly , so is differentiable at with derivative ; that itself is not differentiable at is is continuous everywhere and not differentiable at : the difference quotient equals on the right and on the left, so the two one-sided limits differ ↗ on the companion page. So enlarging the domain can destroy differentiability, and the phrase " is differentiable at " always carries the domain with it.
-
The relation to continuity is not definitional. Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point is a condition on near that does not mention a quotient, and it is defined at every point of , isolated points included, whereas differentiability is defined only at limit points of . That differentiability implies continuity is a theorem on this page and not a reading of the definitions.
-
No second derivative and no one-sided derivative is introduced here. Both are standard, and both are absent from this page on purpose; What is fixed here and what is not: the derivative is taken at a point of the domain that is also a limit point of it, one-sided derivatives and derivatives of order above one are not introduced at this point in the reading order, and and name the same real number records exactly what is fixed and what is left open at this point in the reading order.
Carathéodory's characterisation: is differentiable at if and only if there is , continuous at , with for every , and then is unique and
Statement
Let , let and let be a limit point of (Limit point, isolated point, adherent point, derived set, and dense subset of ). The following are equivalent.
- is differentiable at (The derivative of at a point that is a limit point of , and differentiability on a set).
- There is a function , continuous at (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point), with
When they hold, the function of claim 2 is unique and satisfies .
What the reformulation buys. Claim 2 contains no quotient and no limit: it is an algebraic identity plus a continuity hypothesis at one point. Every differentiation rule on this page is proved by exhibiting the factor for the new function and reading its continuity off the algebra and composition theorems for continuous functions. In particular the chain rule becomes a one-line substitution, with none of the case analysis that the difference-quotient proof needs where the inner increment vanishes.
The hypothesis that is a limit point of is used in both directions. It is what makes a defined symbol at all (The derivative of at a point that is a limit point of , and differentiability on a set), and it is what makes continuity of at equivalent to a statement about the limit of there (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, clause 1). At an isolated point of claim 2 holds for every , with arbitrary off , because every function is continuous at an isolated point; claim 1 is not even a statement there.
Facts & Assumptions
Given: A set , a function and a point that is a limit point of (Limit point, isolated point, adherent point, derived set, and dense subset of ).
Differentiability at (The derivative of at a point that is a limit point of , and differentiability on a set): the difference quotient is a function on , the point is a limit point of , and is differentiable at exactly when exists, its value then being ; moreover, for any agreeing with on and any real , the conditions and are the same condition, since the clause removes from both quantifiers.
The limit condition (The - limit of at a limit point of ): means that for every real there is a real such that every in the domain of with satisfies .
Continuity at a limit point (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, clause 1): for a limit point of , a function is continuous at if and only if exists and equals .
At a limit point of its domain a function has at most one limit (At a limit point of the domain a function has at most one limit).
Locality (claim 1 of The limit at depends only on the restriction of to a punctured neighbourhood of , and passes to any subset of the domain having as a limit point): if two functions on agree at every with for some real , then for every real one has for the first exactly when it holds for the second.
Proof
Claim 1 implies claim 2: the factor. Assume is differentiable at , and define by for with , and . This is a function on the whole of , since every falls under exactly one of the two clauses and the division is by a nonzero number.
Claim 2 implies claim 1: the hypothesis. Assume instead that some is continuous at and satisfies for every .
Uniqueness. Let and both be as in claim 2. For with the identity gives , and dividing by gives ; so the two agree on , hence at every with . By [L3] each has a limit at , equal to its own value there; by [L5] those two limits are limits of functions agreeing near , so by [L4] they are equal, that is . Hence .
The identity holds for the factor built in step 1.1. For with , multiplying the defining equation by gives ; and at both sides are , since and . So the identity of claim 2 holds for every .
The factor built in step 1.1 is continuous at . That agrees with the difference quotient at every point of is its definition, so by [L1] the limit exists and equals , which is . Since is a limit point of , [L3] turns that into continuity of at .
Under the hypothesis of step 1.2, extends the difference quotient. For with , dividing the identity by gives . So agrees with at every point of .
Under the hypothesis of step 1.2, has a limit at . Continuity of at the limit point gives, by [L3], that exists and equals .
Claim 2 implies claim 1. By step 2.3 the function agrees with off , so the last clause of [L1] applies with and : from , given by step 2.4, it follows that . By [L1] again, is differentiable at and .
Both implications and both supplementary claims are proved: claim 1 gives claim 2 by steps 1.1, 2.1 and 2.2, with by construction; claim 2 gives claim 1 by step 3.1, with established there; and the factor is unique by step 1.3.
Remarks
-
The identity at is empty, and that is the point. Both sides vanish there whatever is, so the identity alone determines only off ; it is the continuity hypothesis that pins the remaining value, and it pins it to . Drop continuity and claim 2 becomes true for every whatsoever, with arbitrary.
-
Why this is not circular. The proof of claim 2 from claim 1 builds out of the very quotient whose limit is , so nothing new is asserted in that direction. The content is the other direction: a factorisation with a factor merely continuous at one point already forces the quotient to converge. That is the direction every rule on this page uses.
-
The factor is a genuinely useful object, not a device. For it can be written down in closed form, as the polynomial supplied by Factorisation of , and the resulting Lipschitz estimate; the companion page writes that factor out and differentiates a composite with it.
A function differentiable at is continuous at
Statement
Let , let and let be a limit point of (Limit point, isolated point, adherent point, derived set, and dense subset of ). If is differentiable at (The derivative of at a point that is a limit point of , and differentiability on a set) then is continuous at (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
Consequently, if is differentiable on a set then is continuous at every point of .
No converse is asserted, and none holds. Continuity at does not give differentiability at , and the standard witness is worked out on the companion page.
Facts & Assumptions
Given: A set , a function and a point that is a limit point of at which is differentiable (The derivative of at a point that is a limit point of , and differentiability on a set, Limit point, isolated point, adherent point, derived set, and dense subset of ).
Carathéodory's characterisation (Carathéodory's characterisation: is differentiable at if and only if there is , continuous at , with for every , and then is unique and ): since is differentiable at the limit point of , there is , continuous at , with for every , and .
Algebra of continuous functions (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function): sums, scalar multiples and products of functions continuous at a point of the common domain are continuous there (claim 1); and every constant function on and the identity on are continuous at every point of (claim 5).
Continuity of at is the - condition of Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, and continuity on a set is continuity at each of its points.
Proof
Fix a function , continuous at , with for every .
The identity on and every constant function on are continuous at ; hence so is , which is the sum of the identity and the constant function with value .
The pointwise product is continuous at , being the product of two functions on continuous at .
For every one has , so is the sum of the constant function with value and the product of step 2.1.
A sum of two functions continuous at is continuous at , so is continuous at .
The point was an arbitrary point of , a limit point of , at which is differentiable; applying step 4.1 at every point of a set on which is differentiable gives continuity of at every point of .
Remarks
-
Where the work actually is. None of it is here. Carathéodory's characterisation already replaces the quotient by a product, and a product is visibly small when one factor is bounded near and the other tends to ; the algebra of continuous functions packages exactly that. A direct proof from the quotient would multiply and divide by and would have to say why that is legal, which is the same observation in a less convenient place.
-
The converse fails. is continuous at and not differentiable there, which is is continuous everywhere and not differentiable at : the difference quotient equals on the right and on the left, so the two one-sided limits differ ↗ on the companion page. So continuity is strictly weaker, and the gap is not exotic: it opens at a single corner.
-
What is not claimed. Nothing here says that a function differentiable on a set has a continuous derivative, and nothing here says that is defined anywhere except where it was assumed to be. Both are separate questions, and neither is settled on this page.
The linear-approximation form of the derivative: is differentiable at with if and only if the remainder satisfies ; at most one does so, so is the unique affine map approximating to first order at
Statement
Let , let , let be a limit point of (Limit point, isolated point, adherent point, derived set, and dense subset of ) and let . Write
for the affine map through of slope , and let , that is .
- is differentiable at with (The derivative of at a point that is a limit point of , and differentiability on a set) if and only if the quotient being taken as a function on (The - limit of at a limit point of ).
- At most one real satisfies the condition of claim 1. Some real satisfies it exactly when is differentiable at , and then that real is .
So among all affine maps through there is at most one whose error is small compared with near ; it exists exactly when is differentiable at , and its slope is the derivative. This is the sense in which the derivative is a first-order approximation and not merely a quotient.
What the statement does not say. It says nothing about how small is in absolute terms, and nothing about any away from . The assertion is only that the ratio tends to ; a second-order estimate on needs hypotheses this page does not have.
Facts & Assumptions
Given: A set , a function , a point that is a limit point of , a real , and the functions and of the statement (Limit point, isolated point, adherent point, derived set, and dense subset of , The derivative of at a point that is a limit point of , and differentiability on a set).
Differentiability at (The derivative of at a point that is a limit point of , and differentiability on a set): the difference quotient is a function on , the point is a limit point of , and is differentiable at with exactly when .
The limit condition (The - limit of at a limit point of ): means that for every real there is a real such that every in the domain of with satisfies .
At a limit point of its domain a function has at most one limit (At a limit point of the domain a function has at most one limit); in particular the value is a single real.
Absolute value: , since (Basic properties of the absolute value).
Proof
For every with the number is nonzero, so the quotient is defined, and . So and are the same function on .
Hence for every with one has .
Fix a real and a real . By step 2.1 the assertion "every with satisfies " and the assertion "every with satisfies " are the same assertion. Quantifying over and , the two limit conditions of [L2] on the common domain , of which is a limit point by [L1], coincide.
Therefore holds if and only if holds, which by [L1] is exactly differentiability of at with : claim 1.
Suppose reals and both satisfy the condition of claim 1. By step 3.2 the function is differentiable at with and with ; the derivative is a single real by [L1] and [L3], so . Conversely, if is differentiable at then satisfies the condition, again by step 3.2.
Claims 1 and 2 are proved, the first by step 3.2 and the second by step 4.1; so the affine map with the stated approximation property is unique when it exists, and its slope is .
Remarks
-
Why this is worth stating separately. The quotient form is what one computes with; the remainder form is what generalises, since it never divides by the increment and so survives verbatim in settings where the increment is not a number one may divide by. Nothing on this page needs that generality, but the equivalence is what licenses the phrase "best linear approximation" used informally elsewhere, and the phrase is otherwise unearned.
-
The two forms are the same - condition, not two conditions that happen to agree. Step 1.1 is an identity of functions on , and everything after it is bookkeeping. In particular the proof spends no limit theorem at all: no algebra of limits, no sequences and no choice principle.
-
Uniqueness is the whole of claim 2, and it is inherited. It comes from At a limit point of the domain a function has at most one limit, the same lemma that lets be written at all (The derivative of at a point that is a limit point of , and differentiability on a set). Without a limit point of the domain there is no uniqueness anywhere in sight, and the phrase "the best approximation" would name nothing.
Sums, scalar multiples, products and quotients: , , , and when
Statement
Let , let be a limit point of (Limit point, isolated point, adherent point, derived set, and dense subset of ), let be differentiable at (The derivative of at a point that is a limit point of , and differentiability on a set) and let . Then:
- is differentiable at and ;
- is differentiable at and ;
- is differentiable at and ;
- if then, writing , the point lies in and is a limit point of , the quotient , , is differentiable at as a function on , and
Each claim asserts two things: that the derivative on the left exists, and that it has the stated value. Both are proved.
Why claim 4 is stated on . The function is not defined where vanishes, and may vanish at points of far from ; restricting to is forced. That the restriction still has as a limit point, so that a derivative there means anything at all, is not free either, and it is the last claim of If then on a punctured neighbourhood of ; in particular if then there applied to . The hypothesis is , not " vanishes nowhere".
Everything is proved through Carathéodory's characterisation: is differentiable at if and only if there is , continuous at , with for every , and then is unique and . No difference quotient is estimated and no limit theorem beyond continuity is used, so no choice principle is spent. The four identities are four algebraic rearrangements of an increment, each followed by a reading of Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function.
Facts & Assumptions
Given: A set , a point that is a limit point of , functions differentiable at , and a real ; for claim 4 also the hypothesis together with (The derivative of at a point that is a limit point of , and differentiability on a set, Limit point, isolated point, adherent point, derived set, and dense subset of ).
Carathéodory's characterisation (Carathéodory's characterisation: is differentiable at if and only if there is , continuous at , with for every , and then is unique and ), used in both directions: for a set , a point that is a limit point of and a function , the function is differentiable at if and only if there is , continuous at , with for every , and then .
Algebra of continuous functions (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function): sums, scalar multiples and products of functions continuous at a point are continuous there (claim 1); every constant function and the identity are continuous everywhere on the domain (claim 5); and if are continuous at a point of their common domain with , then lies in and is continuous at as a function on (claim 4).
Continuity passes to a subset of the domain: if , if and if is continuous at , then is continuous at , the condition on the restriction quantifying over fewer points (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
A function differentiable at is continuous at (A function differentiable at is continuous at ); in particular is.
At a limit point of , continuity of at says exactly that exists and equals (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, clause 1, The - limit of at a limit point of ).
Sign preservation (If then on a punctured neighbourhood of ; in particular if then there): if is a limit point of and exists and is nonzero, then is a limit point of .
A product of two nonzero reals is nonzero (A field has no zero divisors: or ), and (Integer powers ).
Proof
By [L1], applied to and to on at , fix , both continuous at , with and for every , and with and .
Assume . Then by the definition of ; is continuous at by [L4], so by [L5]; and therefore is a limit point of by [L6].
Sum. For every , . The function is continuous at by [L2], and . So [L1] gives claim 1.
Scalar multiple. For every , . The function is continuous at by [L2], with value there. So [L1] gives claim 2.
Product. For every , . Put ; it is continuous at by [L2], since , and (by [L4]) are, and constants are; and . So [L1] gives claim 3.
Quotient, the rearrangement. Assume and let , so and . Then , and . So, defining by , one has for every .
Quotient, continuity of the factor. Assume . The restrictions of , and to are continuous at by [L3] and [L4], so by [L2] the numerator and the denominator are continuous at as functions on . By [L7] the denominator vanishes at no point of , so , and ; hence claim 4 of [L2] gives that is continuous at , with .
Quotient, conclusion. Assume . By step 1.2 the point lies in and is a limit point of ; by steps 2.4 and 2.5 the function is continuous at and factors the increment of . So [L1], applied on the domain at the point , gives that is differentiable at with derivative : claim 4.
Claims 1 to 4 are proved, by steps 2.1, 2.2, 2.3 and 3.1 respectively, each by exhibiting the Carathéodory factor of the new function and reading its continuity at off the algebra of continuous functions.
Remarks
-
The product rearrangement in one line. The identity splits the increment of a product into two increments, one multiplied by and one by a constant. It is the same identity that carries the product case of Sums, scalar multiples, products and quotients of function limits, the quotient under the hypothesis that the denominator limit is nonzero, read at the level of increments rather than of ; here the factor has to be continuous at rather than merely bounded near it, and A function differentiable at is continuous at is what supplies that.
-
The reciprocal is the case . Claim 4 then reads , since for a constant ; nothing separate has to be proved, and the derivative of a negative integer power on this page is obtained exactly this way.
-
Two hypotheses that look removable and are not. In claim 4 the hypothesis cannot be weakened to " is nonzero somewhere near ", because itself must lie in the smaller domain for a derivative there to be a statement about ; and the conclusion is about , not about any extension of it to , since no such extension is canonical.
For a natural the function is differentiable everywhere with derivative ; for it is the constant , with derivative ; for a natural the function is differentiable at every with derivative ; consequently every polynomial function is differentiable at every real, with the derivative computed term by term
Statement
Powers are those of Integer powers , and is the canonical natural of The canonical natural of a field, so that and . Let .
- The function , , is the constant function , and it is differentiable at every with (The derivative of at a point that is a limit point of , and differentiability on a set).
- For the function , , is differentiable at every , and
- For put . The function , , is differentiable at every as a function on , and
- Let with for , and let be the polynomial function (Finite sums and finite products, by recursion). Then is differentiable at every , and, defining by and for ,
Claim 2 is stated for and not for , and that is not timidity. At its right-hand side reads , and is not defined at (Integer powers ), so the formula is not a statement about the whole line. Claim 1 is what covers , and it says the derivative is there, which is what the informal reading "" is reaching for. The same shift is why the term of claim 4 is defined to be outright rather than by the formula.
Facts & Assumptions
Given: A natural , a real , and the functions , and of the statement.
Powers (Integer powers ): and for every and ; for and ; and for .
Canonical naturals (The canonical natural of a field): , , and hence .
Algebra of derivatives (Sums, scalar multiples, products and quotients: , , , and when ): at a limit point of the common domain, sums, scalar multiples and products of functions differentiable at are differentiable at with the four stated formulas, and if the denominator is nonzero at then the quotient, restricted to the set where the denominator does not vanish, is differentiable at with the quotient formula; that restricted set has as a limit point.
Derivative and difference quotient (The derivative of at a point that is a limit point of , and differentiability on a set): is differentiable at a limit point of its domain exactly when the difference quotient , a function on , has a limit at , and is that limit. A constant function on a set having as a limit point has : given a real , any real serves, since (The - limit of at a limit point of ).
Induction principle on (The principle of mathematical induction).
Finite sums (Finite sums and finite products, by recursion): and .
Integer exponent laws for a nonzero base (Laws of integer exponents): for every when ; and for integers one has , and .
Every real is a limit point of , punctured neighbourhoods in being never empty (Limit point, isolated point, adherent point, derived set, and dense subset of , The -neighbourhood and the punctured -neighbourhood of a point of ).
Proof
Base case, claim 2 at . By [L1], , so is the identity. Fix ; for every the difference quotient is , so it is the constant function on , and by [L4] and [L8] its limit at is . Since by [L1] and [L2], claim 2 holds at .
Inductive hypothesis. Fix a natural and assume that is differentiable at every with .
Claim 1. By [L1] the function is the constant function . Fix ; for every its difference quotient is , the constant function on , whose limit at is by [L4] and [L8]. So is differentiable at every with .
Successor step. Let . By [L1], for every . Both factors are differentiable at , by step 1.2 and step 1.1, so the product rule of [L3] gives that is differentiable at with . Now by [L1], so the right-hand side is by [L2].
Claim 2. Steps 1.1 and 2.1 are the base case and the successor step of an induction over the naturals , so by [L5] the function is differentiable at every with , for every natural .
Claim 3. Let . The set is exactly : a nonzero has by [L7], and by [L1]. Fix . The constant function on is differentiable at with derivative by step 1.3, and is differentiable at with derivative by step 3.1, with . So the quotient rule of [L3] applies: the function on , which by [L1] and [L7] is , is differentiable at with derivative , where and are [L7].
Claim 4, by a second induction on . Fix and the sequence . At the sum is for every by [L6], so is the constant function and, as in step 1.3, . Suppose the claim holds at , and let . By [L6], for every , where . The function is differentiable at with derivative : for it is the constant , of derivative , by step 1.3 and the scalar rule of [L3]; for it is the scalar multiple , of derivative , by step 3.1 and the scalar rule of [L3]. The inductive hypothesis gives , so the sum rule of [L3] gives that is differentiable at with by [L6]. By [L5] claim 4 holds for every .
All four claims are established: claim 1 by step 1.3, claim 2 by step 3.1, claim 3 by step 4.1 and claim 4 by step 4.2.
Remarks
-
Why the induction starts at and not at . The successor step multiplies by the identity, and the identity is ; starting at would require the formula of claim 2 to hold at , which it does not, since is undefined at . The two statements are therefore kept apart, and claim 1 is proved on its own from the definition. This is the same index care that The canonical natural of a field records for families of reciprocals: contains , and a formula written for "" is a claim about unless it says otherwise.
-
The negative exponents cost nothing extra. Claim 3 is the quotient rule of Sums, scalar multiples, products and quotients: , , , and when applied with numerator the constant , and the domain it produces, the set where does not vanish, is exactly ; no separate argument and no separate limit is needed. Rational exponents are a different matter, resting on Existence and uniqueness of -th roots: a unique with , and are treated on the companion page rather than here.
-
Claim 4 is a statement about a finite sum, not about an infinite one. Nothing here says anything about differentiating a series term by term; that is a separate question, needing hypotheses about convergence that this page does not have and does not assume.
The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with
Statement
Let , let with and let , so that the composite is defined. Let be a limit point of (Limit point, isolated point, adherent point, derived set, and dense subset of ) at which is differentiable (The derivative of at a point that is a limit point of , and differentiability on a set), put , and suppose is a limit point of at which is differentiable. Then is differentiable at and
Both limit-point hypotheses are needed, and neither is automatic. That is a limit point of is what makes and defined symbols; that is a limit point of is what makes one. Nothing forces the second: may be differentiable at and send to an isolated point of , and there is not defined and the formula asserts nothing.
No case analysis appears anywhere. The naive difference-quotient proof writes and then has to say what happens where , which may occur at points arbitrarily close to . Carathéodory's factorisation never divides by the inner increment, so the difficulty does not arise.
Facts & Assumptions
Given: Sets , functions with and , a point that is a limit point of at which is differentiable, and the point , a limit point of at which is differentiable (The derivative of at a point that is a limit point of , and differentiability on a set, Limit point, isolated point, adherent point, derived set, and dense subset of ).
Carathéodory's characterisation (Carathéodory's characterisation: is differentiable at if and only if there is , continuous at , with for every , and then is unique and ), used in both directions: for , a point that is a limit point of and , the function is differentiable at if and only if there is , continuous at , with for every , and then .
Algebra of continuous functions (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claim 1): a product of two functions continuous at a point of their common domain is continuous there.
Composition of continuous functions (A composite of continuous functions is continuous, with no side hypothesis of the kind the composition of limits needs): if has and is continuous at , and if is continuous at , then is continuous at (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
A function differentiable at a point is continuous there (A function differentiable at is continuous at ).
Proof
By [L1], applied to on at , fix , continuous at , with for every and .
By [L1], applied to on at , fix , continuous at , with for every and .
The factorisation. Let . Then , so taking in step 1.2 gives , and by step 1.1. Since , this reads for every , where is the pointwise product .
The outer factor is continuous at . By [L4] the function is continuous at ; by step 1.2 the function is continuous at ; and . So is continuous at by [L3].
The factor is continuous at , with the right value. is the product of , continuous at by step 2.2, with , continuous at by step 1.1, so is continuous at by [L2]; and .
By step 2.1 the function factors the increment of at , and by step 3.1 it is continuous at . So [L1], applied to on at the limit point , gives that is differentiable at with .
Remarks
-
Where the classical proof goes wrong, precisely. It divides by , which may vanish at points arbitrarily close to even when is differentiable at with ; the usual repair defines an auxiliary function equal to the outer quotient off the bad set and to on it, and then proves that auxiliary function continuous. That auxiliary function is , and Carathéodory's characterisation: is differentiable at if and only if there is , continuous at , with for every , and then is unique and is the observation that it exists before any repair is attempted.
-
What is composed is continuity, not differentiability. The only theorem about composites used above is A composite of continuous functions is continuous, with no side hypothesis of the kind the composition of limits needs, and it needs no side hypothesis, unlike the corresponding statement for limits. That is the whole reason the proof has no cases.
-
The formula is about the point , not about near . Both derivatives on the right are taken at single points, and the theorem says nothing about on the image of any neighbourhood of . In particular no hypothesis is placed on beyond its lying in .
Derivative of an inverse: if is continuous and injective on a nondegenerate interval and differentiable at with , then the inverse is differentiable at with ; and if then is not differentiable at
Statement
Let be order-convex with at least two elements (Intervals of : the nine order-convex forms, nondegeneracy, and length), let be continuous on (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point) and injective (Injection, surjection, bijection), and let be the inverse of supplied by Continuous inverse theorem: a continuous injective on an interval is a bijection onto the order-convex set , and the inverse is continuous and strictly monotone in the same sense as . Let and put .
Then is a limit point of and is a limit point of , so that and are meaningful symbols (The derivative of at a point that is a limit point of , and differentiability on a set), and, assuming is differentiable at :
- if , then is differentiable at and
- if , then is not differentiable at .
The two claims together say that the inverse inherits differentiability exactly where the derivative does not vanish. Nothing is asserted at a point of that is not of the form with differentiable at , and nothing is asserted about being differentiable on a set.
No compactness and no boundedness is assumed. may be open, half-open or unbounded; all that is used of it is order-convexity and the presence of two distinct points, the latter being exactly what makes every point of a limit point of (The derivative of at a point that is a limit point of , and differentiability on a set).
Facts & Assumptions
Given: An order-convex with at least two elements, a continuous injective , a point , and ; from step 1.3 onwards also the hypothesis that is differentiable at (Intervals of : the nine order-convex forms, nondegeneracy, and length, Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, Injection, surjection, bijection, The derivative of at a point that is a limit point of , and differentiability on a set).
Continuous inverse theorem (Continuous inverse theorem: a continuous injective on an interval is a bijection onto the order-convex set , and the inverse is continuous and strictly monotone in the same sense as , claims 2, 3 and 5): is order-convex; is a bijection, so there is exactly one with for every and for every ; and is continuous on .
Carathéodory's characterisation (Carathéodory's characterisation: is differentiable at if and only if there is , continuous at , with for every , and then is unique and ), used in both directions: for , a point that is a limit point of and , the function is differentiable at if and only if there is , continuous at , with for every , and then .
Every point of an order-convex subset of with at least two elements is a limit point of that set (The derivative of at a point that is a limit point of , and differentiability on a set, Intervals of : the nine order-convex forms, nondegeneracy, and length, Limit point, isolated point, adherent point, derived set, and dense subset of ).
Injectivity (Injection, surjection, bijection): implies , so gives ; and the image .
Algebra and composition of continuous functions: a composite of functions continuous at the relevant points is continuous (A composite of continuous functions is continuous, with no side hypothesis of the kind the composition of limits needs); every constant function is continuous (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claim 5); and if are continuous at with , then restricted to is continuous at (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claim 4).
Chain rule (The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with ): with differentiable at the limit point of and differentiable at the limit point of , the composite is differentiable at with .
The identity on a set is differentiable at every limit point of with derivative : its difference quotient is for every , a constant function, whose limit at is (The derivative of at a point that is a limit point of , and differentiability on a set, The - limit of at a limit point of ). The derivative at a point is a single real (The derivative of at a point that is a limit point of , and differentiability on a set), and in (The multiplicative identity is positive).
Proof
has at least two elements, so by [L4] its image has at least two elements; and is order-convex by [L1]. So [L3] applies to both sets: every point of is a limit point of , and every point of is a limit point of . In particular is a limit point of and is a limit point of .
Fix the inverse of , continuous on ; it satisfies for every , so in particular .
Assume is differentiable at . By [L2], applied to on at the limit point , fix , continuous at , with for every and .
for every with : injectivity gives , so and hence . If moreover then as well, so vanishes at no point of .
The increment of , rewritten. Let and put , so by [L1]. Then , using from step 1.2.
Claim 2. Assume , and suppose were differentiable at . Since , since is differentiable at the limit point of and since is a limit point of by step 1.1, the chain rule [L6] gives that is differentiable at with . But is the identity on by step 1.2, and by [L7] the identity on is differentiable at the limit point with derivative ; the derivative at being a single real, this forces , which [L7] excludes. So is not differentiable at .
The reciprocal factor. Assume . The map is continuous at by step 1.2 and sends into , and is continuous at by step 1.3, so is continuous at by [L5]; by step 2.1 it vanishes at no point of , since takes values in , and . Hence, by [L5] applied with the constant numerator and denominator on the domain , where the set on which the denominator does not vanish is the whole of , the function is continuous at and .
The factorisation for . Assume and let . Dividing the identity of step 2.2 by the nonzero number gives , and this holds for every .
Claim 1. Assume . By step 1.1 the point is a limit point of ; by step 4.1 the function factors the increment of at ; and by step 3.1 it is continuous at . So [L2], applied to on at , gives that is differentiable at with .
Claim 1 is step 5.1 and claim 2 is step 2.3, and the two limit-point assertions are step 1.1.
Remarks
-
Why claim 2 is not a defect of the method. It is a theorem: at a point where no inverse can be differentiable, because the chain rule would then make the derivative of the identity equal to . The geometry is the familiar one, a horizontal tangent reflecting into a vertical one, and the argument above is that picture with no picture in it.
-
What is used of Continuous inverse theorem: a continuous injective on an interval is a bijection onto the order-convex set , and the inverse is continuous and strictly monotone in the same sense as , and what is not. Only that is order-convex, that the two-sided inverse exists and is unique, and that it is continuous. The strict monotonicity that theorem also proves is not needed here, though it is what makes the situation intelligible.
-
The formula is often written , which is the same statement since . Written that way it is a formula for at every point of at which the hypothesis holds, and that is how the companion page uses it to differentiate .
Local (relative) maximum and minimum of at a point, the strict forms, and what it means for the point to be interior to
Definition
Throughout, is the complete ordered field (Complete ordered field (least-upper-bound property)) and neighbourhoods are those of The -neighbourhood and the punctured -neighbourhood of a point of . Let , let and let .
- has a local maximum at , also called a relative maximum, when there is a real with
- has a local minimum at when there is a real with for every .
- has a local extremum at when it has a local maximum or a local minimum at .
- has a strict local maximum at when there is a real with for every , the neighbourhood being punctured; and a strict local minimum at when for every such .
The point is interior to when (Interior, closure, boundary and exterior of a subset of ), equivalently when there is a real with ; that equivalence is the pointwise description of the interior proved in Interior, closure, boundary and exterior of a subset of and is not reproved here.
The strict forms must puncture, and the weak forms must not. With an unpunctured neighbourhood the strict condition would read at , which no function satisfies, so the notion would be empty. With a punctured neighbourhood the weak condition would say nothing at , which is harmless but pointless, since holds anyway. So each form is stated with the quantifier that makes it a condition.
Four consequences, each an obligation this definition carries.
-
The condition does not depend on which witness is produced. If it holds for , it holds for every real with , because (The -neighbourhood and the punctured -neighbourhood of a point of ). So the existential quantifier may be read as "for all sufficiently small ", and two witnesses can always be replaced by the smaller of them.
-
A local maximum really is a maximum, of a set. has a local maximum at exactly when there is a real with (Maximum and minimum of a set). Indeed , since and (The -neighbourhood and the punctured -neighbourhood of a point of ), so belongs to that image; and the defining inequality says exactly that bounds the image above. Conversely a maximum of the image is an element of it bounding it above, which is the defining inequality. The same argument with the order reversed identifies a local minimum with a minimum of the same image.
-
A strict local extremum is a local extremum. If for every , then for every : the points of the unpunctured neighbourhood other than are covered by the hypothesis, and at the inequality is automatic.
-
A global extremum is a local one. If then has a local maximum at , with serving, since ; and dually for the minimum.
An interior point of is a limit point of . Suppose with real, and let a real be given. The punctured neighbourhood with is nonempty (The -neighbourhood and the punctured -neighbourhood of a point of ) and is contained both in and in ; so . As was arbitrary, is a limit point of (Limit point, isolated point, adherent point, derived set, and dense subset of ). This is what makes an interior extremum a place where a derivative can be spoken of at all, and it is the reason the interiority hypothesis appears in Fermat's theorem below rather than being replaced by something weaker.
Remarks
-
"The local maximum" is not a legitimate phrase. A function may have local maxima at many points, and the definite article belongs only to the value once the point is fixed. A global maximum value is unique when it exists (Maximum and minimum of a set); a local one is not, and neither is the point.
-
Local is a statement about , not about . The comparison runs over , so a function on a small domain has local maxima easily: every point of at which for some , that is every isolated point of (Limit point, isolated point, adherent point, derived set, and dense subset of ), carries both a strict local maximum and a strict local minimum, the punctured condition being vacuous there. Interiority is the hypothesis that rules that degenerate case out.
-
Endpoints are the case to keep in mind. For with (Intervals of : the nine order-convex forms, nondegeneracy, and length) the points and are not interior to : any contains , which is not in . A function may perfectly well attain its greatest value there, with no vanishing derivative anywhere, and the companion page works that case out.
-
Nothing here mentions a derivative. The definition is purely about the order, and it applies to functions that are nowhere differentiable. What the next items add is the interaction, in one direction only: differentiability at an interior extremum forces the derivative to vanish, and the converse is false.
Fermat's interior extremum theorem: if has a local extremum at a point interior to its domain and is differentiable at , then
Statement
Let , let and let be interior to (Local (relative) maximum and minimum of at a point, the strict forms, and what it means for the point to be interior to , Interior, closure, boundary and exterior of a subset of ). Suppose has a local extremum at (Local (relative) maximum and minimum of at a point, the strict forms, and what it means for the point to be interior to ) and is differentiable at (The derivative of at a point that is a limit point of , and differentiability on a set). Then
The symbol is meaningful under these hypotheses because an interior point of is a limit point of , which is proved in Local (relative) maximum and minimum of at a point, the strict forms, and what it means for the point to be interior to .
Interiority is a hypothesis and not a convenience. At a point of that is not interior, the argument below cannot place points of on both sides of , and the conclusion genuinely fails: the companion page exhibits a function on attaining both its greatest and its least value at points where the derivative is .
No converse is asserted. A vanishing derivative does not produce an extremum. The witness is the cubic of FALSE: if then is not increasing on any interval containing , which has and neither a local maximum nor a local minimum at ; that failure is recorded in the remarks of that item, not as an item of its own.
Facts & Assumptions
Given: A set , a function and a point interior to , at which has a local extremum and is differentiable (Local (relative) maximum and minimum of at a point, the strict forms, and what it means for the point to be interior to , The derivative of at a point that is a limit point of , and differentiability on a set).
is interior to : there is a real with ; and such a is a limit point of , so is defined (Local (relative) maximum and minimum of at a point, the strict forms, and what it means for the point to be interior to , Interior, closure, boundary and exterior of a subset of , Limit point, isolated point, adherent point, derived set, and dense subset of ).
has a local extremum at : there is a real such that either for every , or for every (Local (relative) maximum and minimum of at a point, the strict forms, and what it means for the point to be interior to ).
Derivative (The derivative of at a point that is a limit point of , and differentiability on a set): the difference quotient is a function on , the point is a limit point of , and (The - limit of at a limit point of ). In particular for every with .
Sign preservation (If then on a punctured neighbourhood of ; in particular if then there): if is a function on a set having as a limit point and with , then there is a real such that every with satisfies when , and when .
Neighbourhoods (The -neighbourhood and the punctured -neighbourhood of a point of ): , and of finitely many positive reals the smallest is positive.
Order arithmetic (Sign rules for products and monotonicity of multiplication, Ordered field): a product of two positive reals is positive, a product of a positive and a negative real is negative, and trichotomy, so means or , exclusively.
Proof
Suppose, for contradiction, that ; by trichotomy either or .
Fix a real with .
Fix a real as in [A2], so that on the function never exceeds , or never falls below it.
Apply [L2] to on the domain , of which is a limit point by [L1], with : fix a real such that every with satisfies if , and if . The clause makes the two descriptions of the range of , over and over , the same.
Put , a positive real, and set and . Each satisfies , so each lies in , each lies in , and each satisfies . In particular and both differ from .
Suppose . By step 2.1, and . Since , [L1] and [L4] give ; since , they give . So and .
Suppose instead . By step 2.1, and . The same two products, with the signs of the quotients reversed, give and . So and .
In both cases of step 1.1 there is a point of at which takes a value strictly greater than , and a point of at which it takes a value strictly smaller: the two points are and in one order or the other, and both lie in by step 3.1.
By step 1.3 one of two things holds on : either no value exceeds , or none falls below it. Step 5.1 produces a value of each kind, so both alternatives fail, and [A2] guarantees that one of them holds. The assumption of step 1.1 is therefore untenable, and .
Remarks
-
What the proof actually uses. Only that the difference quotient keeps the sign of its limit near , and that has points of on both sides of it arbitrarily close. The first is If then on a punctured neighbourhood of ; in particular if then there; the second is exactly what interiority buys, and it is where the hypothesis is spent. No continuity of away from , and no hypothesis on beyond containing a neighbourhood of , is needed.
-
The one-sided reading. At a point with points of on one side only, the argument still gives half of the conclusion: if has a local maximum there and only points to the right, then . This page does not state that refinement, because it does not use it, and the companion page's witness at an endpoint is the same observation seen from outside (The identity on attains its maximum at and its minimum at with derivative at both, so Fermat's theorem genuinely needs the extremum to be at an interior point ↗).
-
A stationary point is not an extremum. The converse of this theorem is false, and the standard witness, at , is the same function that this page uses to refute a different plausible claim about vanishing derivatives.
Rolle's theorem: if , is continuous on , differentiable at every point of , and , then for some
Statement
Let with , let be continuous on (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, Intervals of : the nine order-convex forms, nondegeneracy, and length) and differentiable at every point of as a function on (The derivative of at a point that is a limit point of , and differentiability on a set), and suppose
Then there is with .
Three hypotheses, three different jobs. Continuity on the closed interval is what the extreme value theorem consumes; differentiability on the open interval is what Fermat's theorem consumes, and it is asked for nowhere else; and is what forces the extremum inside when neither extremum is attained in the interior. Continuity at the two endpoints cannot be dropped, and a false statement later on this page records a witness for that.
Differentiability is meant with respect to the domain . For in the open interval that is the same condition as differentiability of any restriction of to a subinterval around , since only points near enter, but the phrase is fixed here so that the citation of Fermat's interior extremum theorem: if has a local extremum at a point interior to its domain and is differentiable at , then , whose hypothesis is interiority in the domain, is exact.
Facts & Assumptions
Given: Reals , a function continuous on and differentiable at every point of , with .
is closed (Open subset of (every point has a neighbourhood inside it), closed subset (complement open), and clopen) and bounded (Intervals of : the nine order-convex forms, nondegeneracy, and length, Lower bound, bounded below, bounded set), hence compact (A subset of is compact if and only if it is closed and bounded, Open cover, subcover, compact subset of (every open cover has a finite subcover), and sequentially compact subset); and it is nonempty, since gives .
Extreme value theorem (Extreme value theorem: a continuous real function on a nonempty compact subset of attains a greatest and a least value): for continuous on and nonempty and compact there are with for every , so that and (Maximum and minimum of a set).
Every point of is interior to : for with put , a positive real; every with satisfies and , so (The -neighbourhood and the punctured -neighbourhood of a point of , Intervals of : the nine order-convex forms, nondegeneracy, and length, Interior, closure, boundary and exterior of a subset of ).
A value that is a greatest value of over the whole of its domain is a local maximum at , and a least value is a local minimum at (Local (relative) maximum and minimum of at a point, the strict forms, and what it means for the point to be interior to , claim 4 of its body).
Fermat's interior extremum theorem (Fermat's interior extremum theorem: if has a local extremum at a point interior to its domain and is differentiable at , then ): a local extremum at a point interior to the domain, at which the function is differentiable, forces the derivative there to vanish.
is nonempty when , since (Intervals of : the nine order-convex forms, nondegeneracy, and length).
A constant function on is differentiable at every point of with : every point of the nondegenerate order-convex set is a limit point of it, and the difference quotient of at is the constant on , whose limit at is (The derivative of at a point that is a limit point of , and differentiability on a set, The - limit of at a limit point of ).
Proof
The set is nonempty and compact, and is continuous on it.
Since , the open interval is nonempty; fix .
By [L2], applied with , fix with for every .
Case A: at least one of lies in . Fix such a point and call it . By [L3] the point is interior to , and is differentiable at because . By step 2.1 and [L4], has a local maximum at if is the point , and a local minimum at if it is the point ; either way a local extremum. So [L5] gives , and .
Case B: neither nor lies in . A point of outside satisfies and not , hence equals or ; so and, since , both and equal . By step 2.1, every satisfies , so . Thus is the constant function with value on .
In case B, [L7] gives that is differentiable at every point of with derivative ; in particular , and by step 1.2.
The two cases are exhaustive, since either at least one of lies in or neither does. Case A supplies a point with by step 3.1, and case B supplies the point by step 4.1.
Remarks
-
The constant case is not a degenerate nuisance, it is the case where the extremum sits on the boundary. When is constant the greatest and least values are attained at the endpoints as well as everywhere else, so nothing forces the extreme value theorem to hand back an interior point; the argument has to produce a point of by hand, and any point will do.
-
Why compactness enters at all. Only through Extreme value theorem: a continuous real function on a nonempty compact subset of attains a greatest and a least value, and only to know that the greatest and least values are attained. A supremum that is not attained is useless here: Fermat's theorem is a statement about a point, not about a bound. That is precisely the hypothesis the companion page's witness removes.
-
Nothing is claimed about how many such there are, or where. A single is produced, and the proof gives no way to locate it; the theorem is an existence statement and is used only as one.
Cauchy's mean value theorem: for continuous on with and differentiable on there is with ; no hypothesis on is needed in this product form
Statement
Let with and let be continuous on (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, Intervals of : the nine order-convex forms, nondegeneracy, and length) and differentiable at every point of as functions on (The derivative of at a point that is a limit point of , and differentiability on a set). Then there is with
The statement is a product identity, and that is deliberate. The familiar quotient form
is not asserted here, and it is not equivalent: its left side needs and its right side needs , and neither follows from the hypotheses. The product form above needs neither, holds under exactly the hypotheses stated, and specialises to the quotient form whenever both denominators happen to be nonzero. The companion page exhibits an and a for which the quotient form is meaningless while the product form holds.
Facts & Assumptions
Given: Reals and functions , both continuous on and both differentiable at every point of .
Rolle's theorem (Rolle's theorem: if , is continuous on , differentiable at every point of , and , then for some ): a function continuous on , differentiable at every point of and taking equal values at and at has a vanishing derivative at some point of .
Algebra of continuous functions (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claim 1): sums and scalar multiples of functions continuous on a set are continuous on that set.
Algebra of derivatives (Sums, scalar multiples, products and quotients: , , , and when , claims 1 and 2): at a limit point of the common domain, a sum of functions differentiable there is differentiable with the sum of the derivatives, and a scalar multiple with the scalar multiple of the derivative.
Every point of lies in and is a limit point of , since is order-convex with at least two elements when (The derivative of at a point that is a limit point of , and differentiability on a set, Intervals of : the nine order-convex forms, nondegeneracy, and length).
Proof
Put and , two reals, and define by .
is continuous on , being the sum of the scalar multiples and of two functions continuous on .
is differentiable at every with : such a is a limit point of by [L4], and and are differentiable there, so the scalar-multiple and sum rules of [L3] apply on the domain .
. Expanding, , and . The two expressions are the same.
By steps 2.1, 2.2 and 2.3 the function satisfies every hypothesis of [L1], so there is with , that is , that is .
Remarks
-
Where the auxiliary function comes from. is built so that the two cross terms and cancel against themselves at the two endpoints, leaving the same antisymmetric expression at each. Nothing is optimised and nothing is guessed: the two coefficients are forced, up to a common scalar, by the requirement .
-
The ordinary mean value theorem is the case , and it is recorded as the next item rather than reproved. Cauchy's theorem is the more general statement and is proved first for that reason, not because it is harder: it costs one application of Rolle either way.
-
What fails in the quotient form. If the left side is not a real number at all, and the theorem still says something: it says for some . That is the case worked out in With and on the quotient form is meaningless because , while the product form of Cauchy's theorem still holds ↗.
The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with
Statement
Let with and let be continuous on (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, Intervals of : the nine order-convex forms, nondegeneracy, and length) and differentiable at every point of as a function on (The derivative of at a point that is a limit point of , and differentiability on a set). Then there is with
Equivalently, since , there is at which : the derivative somewhere inside equals the average rate of change across the whole interval.
Continuity on the closed interval cannot be dropped. Differentiability at every point of alone does not suffice: a function on , differentiable at every point of with derivative constantly , for which no works, is exhibited later on this page as a false statement, and the companion page works the same witness out in full.
Facts & Assumptions
Given: Reals and a function continuous on and differentiable at every point of .
Cauchy's mean value theorem (Cauchy's mean value theorem: for continuous on with and differentiable on there is with ; no hypothesis on is needed in this product form): for continuous on and differentiable at every point of there is with .
The identity is continuous at every point of any (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claim 5).
The identity on is differentiable at every with : with the set is order-convex with at least two elements, so every one of its points is a limit point of it (The derivative of at a point that is a limit point of , and differentiability on a set, Intervals of : the nine order-convex forms, nondegeneracy, and length); and the difference quotient of at is for every with , a constant function, whose limit at is (The - limit of at a limit point of , The derivative of at a point that is a limit point of , and differentiability on a set).
Proof
Define by .
is continuous on by [L2]; it is differentiable at every with by [L3]; and .
By step 2.1 the pair satisfies every hypothesis of [L1], so there is with . Substituting and gives .
Remarks
-
The geometric reading, and what it is not. The conclusion says that some tangent line is parallel to the chord from to . It does not say which one, it does not say there is only one, and it says nothing at all about between the endpoints beyond the hypotheses. Every use of the theorem on this page is a use of the equation, never of the picture.
-
Why this is a corollary and not the primitive statement. Cauchy's mean value theorem: for continuous on with and differentiable on there is with ; no hypothesis on is needed in this product form is proved from Rolle's theorem: if , is continuous on , differentiable at every point of , and , then for some with one auxiliary function, and this statement is that theorem at ; deriving it the other way round, from this statement to Cauchy's, is also possible but needs an auxiliary function of its own, so nothing is saved. What matters is that both rest on Rolle, and Rolle on the extreme value theorem.
-
The two hypotheses are on different sets on purpose. Continuity is asked for on the closed interval and differentiability only on the open one, so nothing at all is required of the difference quotients at and at . Weakening the continuity in step with the differentiability, so that both are asked for on only, destroys the theorem, which is exactly what on with is differentiable at every point of with , yet no satisfies , so continuity on the closed interval cannot be dropped from the mean value theorem ↗ shows on the companion page.
A function continuous on an interval whose derivative vanishes at every interior point of is constant on ; consequently two such functions with the same derivative differ by a constant
Statement
Let be order-convex (Intervals of : the nine order-convex forms, nondegeneracy, and length) and let be continuous on (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point) and differentiable at every point of that is interior to (Interior, closure, boundary and exterior of a subset of , The derivative of at a point that is a limit point of , and differentiability on a set), with
Then is constant on : there is a real with for every .
Consequently, if are both continuous on and both differentiable at every interior point of , with at every interior point , then there is a real with
Order-convexity of is essential and is not a convenience. The conclusion is false on a domain that falls into separate pieces, since a function may be constant on each piece with different constants; nothing in the proof would survive, because the mean value theorem is applied to the segment joining two points of the domain and that segment must lie in the domain.
The hypothesis is imposed only at interior points. At an endpoint of nothing is asked at all: need not be differentiable there, and the proof never evaluates a difference quotient at an endpoint, since it applies the mean value theorem on a segment and uses the derivative only at points of , all of which are interior to . What is not meant is that the derivative at an endpoint is free to be nonzero: once is known to be constant its difference quotient at an endpoint is constantly , so wherever exists at an endpoint it is too. That is a consequence of the theorem, not a hypothesis of it.
Facts & Assumptions
Given: An order-convex and a function , continuous on and differentiable with vanishing derivative at every interior point of ; for the second claim also a second such function with at every interior point.
Mean value theorem (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with ): for and continuous on and differentiable at every point of , there is with .
Order-convexity (Intervals of : the nine order-convex forms, nondegeneracy, and length): if and then ; so with gives .
For in and , the point is interior to : put , a positive real; every with satisfies , so (The -neighbourhood and the punctured -neighbourhood of a point of , Interior, closure, boundary and exterior of a subset of , Intervals of : the nine order-convex forms, nondegeneracy, and length).
Restriction of the domain (The derivative of at a point that is a limit point of , and differentiability on a set): if , if is a limit point of and if is differentiable at , then is differentiable at with . Moreover every point of an order-convex subset of with at least two elements is a limit point of it (The derivative of at a point that is a limit point of , and differentiability on a set, Limit point, isolated point, adherent point, derived set, and dense subset of ).
Continuity passes to a subset of the domain: if and is continuous at , then is continuous at (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
Algebra (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claim 1, and Sums, scalar multiples, products and quotients: , , , and when , claims 1 and 2): sums and scalar multiples of functions continuous at a point are continuous there, and sums and scalar multiples of functions differentiable at a limit point of the common domain are differentiable there, with the corresponding derivatives.
Proof
If has at most one element then is constant on and there is nothing to prove, the second claim following likewise. So assume has at least two elements and let with be arbitrary.
By [L2] the segment is contained in , and , so is a nondegenerate interval. The restriction is continuous on by [L5].
Let . By [L3] the point is interior to , so is differentiable at with by hypothesis. By [L4] the point is a limit point of , so is differentiable at with .
By steps 2.1 and 2.2 the function satisfies the hypotheses of [L1] on , so there is with . Hence .
Any two distinct points of can be named and with , and step 3.1 then gives ; at a single point the equality is trivial. So takes one and the same value at every point of , and is constant on .
Second claim. Put , so on . By [L6] the function is continuous on . If has at most one element the claim is trivial; otherwise every point of is a limit point of by [L4], so at every interior point of the sum rule of [L6] applies and gives that is differentiable at with . By step 4.1, applied to in place of , the function is constant on ; writing for its value, for every .
Remarks
-
What is really being used. Only that any two points of are joined by a segment inside , and that on such a segment the mean value theorem turns a vanishing derivative into a vanishing increment. Both facts are about , not about , which is why order-convexity is the hypothesis and not, say, openness or connectedness in some other sense.
-
The second claim is the uniqueness half of antidifferentiation. It says that a function on an interval is determined by its derivative up to one additive constant. It says nothing about existence: that some given function is a derivative is a separate question, settled by different machinery, and this page does not address it.
-
A vanishing derivative at every interior point is far stronger than a vanishing derivative somewhere. The theorem consumes the hypothesis at every point of a segment at once; a single stationary point carries no information about anywhere else, which is what Fermat's interior extremum theorem: if has a local extremum at a point interior to its domain and is differentiable at , then already made clear from the other side.
On an interval , for continuous on and differentiable at every interior point: throughout gives nondecreasing, gives increasing, and give the two decreasing forms; conversely a nondecreasing has and a nonincreasing has wherever it is differentiable, and no strict converse is claimed
Statement
Let be order-convex (Intervals of : the nine order-convex forms, nondegeneracy, and length), let be continuous on (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point) and differentiable at every point of interior to (Interior, closure, boundary and exterior of a subset of , The derivative of at a point that is a limit point of , and differentiability on a set). The words nondecreasing, increasing, nonincreasing and decreasing are those of Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences, in which increasing is the strict notion.
- If at every interior point of , then is nondecreasing on .
- If at every interior point of , then is increasing on .
- If at every interior point of , then is nonincreasing on .
- If at every interior point of , then is decreasing on .
Conversely, with no continuity hypothesis and no hypothesis at any other point:
- If is nondecreasing on and differentiable at a point that is a limit point of , then ; if is nonincreasing and differentiable at such a , then .
No strict converse is claimed here, and none is true. Claim 5 gives the weak inequality only, and it cannot be improved: an increasing function may have a vanishing derivative at a point. That failure is recorded separately, as a false statement later on this page, with its witness worked out on the companion page. Reading claim 2 backwards is the single most common misuse of this theorem, and this statement does not license it.
Claims 1 to 4 need the interval; claim 5 does not. The forward direction runs through the mean value theorem on a segment joining two points of , so order-convexity is essential. Claim 5 is a statement about one point and uses only that the difference quotients have a constant sign.
Facts & Assumptions
Given: An order-convex and a function ; for claims 1 to 4 also that is continuous on and differentiable at every interior point of , with the stated sign condition; for claim 5 that is monotone on and differentiable at a limit point of .
Mean value theorem (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with ): for and continuous on and differentiable at every point of , there is with .
Order-convexity (Intervals of : the nine order-convex forms, nondegeneracy, and length): with gives ; and for in every is interior to , since for (The -neighbourhood and the punctured -neighbourhood of a point of , Interior, closure, boundary and exterior of a subset of ).
Difference quotient and restriction of the domain (The derivative of at a point that is a limit point of , and differentiability on a set): differentiability of at means that on has limit ; if , if is a limit point of and if is differentiable at , then is differentiable at with the same derivative; and every point of an order-convex set with at least two elements is a limit point of it (Limit point, isolated point, adherent point, derived set, and dense subset of ).
Continuity passes to a subset of the domain (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
Monotone vocabulary (Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences): is nondecreasing on when for all with ; increasing when for all ; nonincreasing and decreasing are the two conditions with the inequalities on the values reversed.
Order arithmetic (Sign rules for products and monotonicity of multiplication, Inverses of positives are positive, and reciprocation reverses order, Ordered field): for reals and with , gives , gives and gives , so by trichotomy gives and gives ; a nonzero real and its inverse have the same sign, so a quotient with and , or with and , is , and a quotient with and , or with and , is .
Limits preserve the non-strict order (If on a punctured neighbourhood of then , non-strictly): if are functions on a set having as a limit point, if both limits at exist and if at every with for some real , then . The constant function on has limit at (The - limit of at a limit point of ).
Proof
If has at most one element then all four of the conditions in [L5] hold on vacuously or trivially, since there is no pair in , and claims 1 to 4 are immediate. So assume has at least two elements, and let with be arbitrary.
Claim 5. Let be nondecreasing on and differentiable at a limit point of , and let on , so by [L3]. For with one has by [L5], so the numerator is while the denominator is , and [L6] gives . For with one has , so the numerator is while , and [L6] again gives . So the constant function is at every point of , in particular at every such point with ; both functions have limits at the limit point of , namely and , so [L7] gives . The nonincreasing case is the same argument with both inequalities on the values reversed, which makes throughout and hence .
By [L2] the segment is contained in and is nondegenerate. The restriction is continuous on by [L4]; and for the point is interior to by [L2], so is differentiable at , while is a limit point of by [L3], so is differentiable at with .
By step 2.1 the function satisfies the hypotheses of [L1] on , so fix with ; and since .
If at every interior point of then in particular , so by [L6], that is . If at every interior point then and the same product is , that is .
If at every interior point then and by [L6], that is . If at every interior point then and , that is .
The pair in was arbitrary, so steps 4.1 and 4.2 establish exactly the four conditions of [L5]: for the two non-strict ones the case is the trivial equality , and the two strict ones are conditions on pairs only. Claims 1 to 4 are proved.
Claims 1 to 4 are step 5.1 and claim 5 is step 1.2.
Remarks
-
The forward direction is one application of the mean value theorem, and nothing more. The sign of at the single point the theorem produces is what decides the sign of the increment; no information about anywhere else is used in a given comparison, and the hypothesis is imposed at every interior point only because the point produced cannot be located in advance.
-
Claim 5 is genuinely weaker than the converse of claim 2, and that is not a defect of the proof. If on a punctured neighbourhood of then , non-strictly destroys strictness in the limit, and no argument can restore it here, because the conclusion is false: an increasing function may have a vanishing derivative. The false statement recording that, and its witness on the companion page, are the honest form of what a reader is tempted to write.
-
What a vanishing derivative at every interior point gives is the case and together, hence nondecreasing and nonincreasing, hence constant. That is A function continuous on an interval whose derivative vanishes at every interior point of is constant on ; consequently two such functions with the same derivative differ by a constant, proved directly above rather than deduced here, since the direct proof is shorter.
If is continuous on an interval and at every interior point, then for all , so is Lipschitz with constant and uniformly continuous on
Statement
Let be order-convex (Intervals of : the nine order-convex forms, nondegeneracy, and length), let be continuous on (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point) and differentiable at every point of interior to (Interior, closure, boundary and exterior of a subset of , The derivative of at a point that is a limit point of , and differentiability on a set), and let with satisfy
Then
which is exactly the statement that is Lipschitz with constant on (Lipschitz map, -Hölder map for rational , and contraction, clause 3 of Dictionary: for with the metric , continuity and uniform continuity of agree with the metric-space notions, the Lipschitz and Hölder conditions are the metric ones instantiated, and a subset of is compact in the open-cover sense of exactly when it is a compact metric subspace). Consequently is uniformly continuous on (Uniform continuity of : one serving every pair of points of ).
is a hypothesis, not a deduction. It follows from at any single interior point, absolute values being nonnegative, but need have no interior point at all, and then the sign condition has to be asked for. With assumed the conclusion is a genuine statement in every case, and at it reads .
Boundedness of cannot be dropped. A function may be continuous on an interval and differentiable at every interior point with no bound on , and then it need not be Lipschitz there; the companion page's square root on is such a function.
Facts & Assumptions
Given: An order-convex , a function continuous on and differentiable at every interior point of , and a real with at every interior point of .
Mean value theorem (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with ): for and continuous on and differentiable at every point of , there is with .
Order-convexity (Intervals of : the nine order-convex forms, nondegeneracy, and length): with gives ; and for in every is interior to , since for (The -neighbourhood and the punctured -neighbourhood of a point of , Interior, closure, boundary and exterior of a subset of ).
Restriction of the domain (The derivative of at a point that is a limit point of , and differentiability on a set): if , if is a limit point of and if is differentiable at , then is differentiable at with the same derivative; every point of an order-convex set with at least two elements is a limit point of it (Limit point, isolated point, adherent point, derived set, and dense subset of ).
Continuity passes to a subset of the domain (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
Absolute value (Basic properties of the absolute value): ; exactly when ; ; and , so .
Dictionary (Dictionary: for with the metric , continuity and uniform continuity of agree with the metric-space notions, the Lipschitz and Hölder conditions are the metric ones instantiated, and a subset of is compact in the open-cover sense of exactly when it is a compact metric subspace, clause 3): for a real , " is Lipschitz with constant " means exactly that for all , this being the metric condition of Lipschitz map, -Hölder map for rational , and contraction instantiated at with .
Regularity hierarchy (Contraction implies Lipschitz implies uniformly continuous implies continuous; every Hölder map is uniformly continuous, and a Lipschitz map on a bounded space is Hölder for every exponent, claim 2), transported to real functions by clauses 2 and 6 of Dictionary: for with the metric , continuity and uniform continuity of agree with the metric-space notions, the Lipschitz and Hölder conditions are the metric ones instantiated, and a subset of is compact in the open-cover sense of exactly when it is a compact metric subspace: a Lipschitz is uniformly continuous on in the sense of Uniform continuity of : one serving every pair of points of .
Multiplying non-strict inequalities of nonnegatives (Multiplying inequalities of positives): and imply .
Proof
Let . If then and , so the asserted inequality holds. Assume therefore , and put and , so that , , and by [L5].
By [L2] the segment lies in and is nondegenerate; the restriction is continuous on by [L4]; and each is interior to by [L2], hence a point at which is differentiable with , while is a limit point of by [L3], so is differentiable at with the same derivative.
By step 2.1 the function satisfies the hypotheses of [L1], so fix with .
Taking absolute values in step 3.1 and using gives . The point lies in , hence is interior to by step 2.1, so ; and . So [L8] gives , whence . Since and by [L5], and by step 1.1, this is .
The pair was arbitrary and the case was settled in step 1.1, so for all . By [L6] that is the statement that is Lipschitz with constant on , and by [L7] such an is uniformly continuous on .
Remarks
-
The constant is the bound on the derivative, unchanged. No factor is lost and none is gained: the mean value theorem turns the increment into a single value of times the increment of the argument, so whatever bounds bounds the Lipschitz ratio. That is why this corollary is so much sharper than the mere uniform continuity that follows from it.
-
Uniform continuity is obtained through the metric dictionary, not reproved. Dictionary: for with the metric , continuity and uniform continuity of agree with the metric-space notions, the Lipschitz and Hölder conditions are the metric ones instantiated, and a subset of is compact in the open-cover sense of exactly when it is a compact metric subspace says that the Lipschitz condition for a real function is the metric one instantiated, and Contraction implies Lipschitz implies uniformly continuous implies continuous; every Hölder map is uniformly continuous, and a Lipschitz map on a bounded space is Hölder for every exponent says that a Lipschitz map is uniformly continuous. Neither statement is restated here in an -native form, because both already exist in the library and duplicating them would create exactly the seam those items were written to close.
-
What the converse would say, and why it is not asserted. A Lipschitz function need not be differentiable at any particular point, so no statement about follows from a Lipschitz bound alone, and this corollary asserts none.
-
The boundedness hypothesis is exactly what is needed. on is differentiable with unbounded derivative and is not Lipschitz there, so the boundedness hypothesis in the Lipschitz corollary cannot be dropped ↗ on the companion page exhibits a function continuous on and differentiable at every interior point, with bounded by no real at all, which is not Lipschitz there. So the hypothesis cannot be replaced by mere differentiability, and it cannot be replaced by a bound holding only near one end of the interval.
What is fixed here and what is not: the derivative is taken at a point of the domain that is also a limit point of it, one-sided derivatives and derivatives of order above one are not introduced at this point in the reading order, and and name the same real number
This page fixes fewer conventions than a reader of a calculus text may expect, and it is worth saying which, so that a later page can rely on them and so that nothing here is read as more than it is.
Where a derivative may be taken. is defined only when belongs to the domain of and is a limit point of (The derivative of at a point that is a limit point of , and differentiability on a set, Limit point, isolated point, adherent point, derived set, and dense subset of ). At an isolated point of the symbol is not defined, and the function is neither differentiable nor non-differentiable there: the question is not posed. This is inherited from The - limit of at a limit point of , which leaves undefined at an isolated point for the reason recorded there, namely that the - condition would be satisfied vacuously by every real at once.
The domain is part of the data. "Differentiable at " is a statement about the pair and the point , not about near in isolation. Shrinking the domain preserves differentiability and the value of the derivative whenever the smaller domain still has as a limit point (The derivative of at a point that is a limit point of , and differentiability on a set), but enlarging it need not, and the companion page's witness at a corner shows that it need not. Wherever a statement on this page says "differentiable at every point of " for a function on , the domain meant is .
One-sided derivatives are not introduced at this point in the reading order. No item up to this point in the reading order defines one, and nothing below may be cited as though one had been. The ingredient is available: The left and right limits of at , as limits of the restrictions of to and defines the limit of at from the right as the limit at of the restriction of to (Intervals of : the nine order-convex forms, nondegeneracy, and length), and a right derivative would be that limit applied to the difference quotient. Nothing on this page needs it, so nothing on this page defines it. What does occur, and should not be confused with it, is the derivative at an endpoint of an interval: for on the symbol is defined by The derivative of at a point that is a limit point of , and differentiability on a set without any new convention, because the domain supplies points on one side of only and the difference quotient is a function on . So the object other texts call a one-sided derivative appears here as an ordinary derivative on a domain that happens to lie on one side.
Derivatives of order above one are not introduced at this point in the reading order either, and no item up to this point in the reading order defines one. A later page takes them up; nothing on this page anticipates it. Doing so requires more than iterating the definition: is a function on the set of points at which is differentiable, and to differentiate that function at a point one needs the point to be a limit point of that set, which is a hypothesis about and not a formality. No statement on this page mentions , and none should be read as implying anything about it.
Two notations, one object. and name the same real number. The second is a name, not a quotient: nothing in this library divides by , no object called is introduced, and the letter in it is a name for the argument of and not a variable that is being fixed or varied. This page writes throughout.
Two descriptions, one notion. By Carathéodory's characterisation: is differentiable at if and only if there is , continuous at , with for every , and then is unique and , " is differentiable at " may be read either as the convergence of the difference quotient or as the existence of a factorisation with continuous at . The two are equivalent, and the factor is unique, so either may be taken as the meaning of the word without ambiguity. Every statement on this page is phrased in the first, and the two readings divide the proofs between them: the differentiation rules use the factorisation, namely A function differentiable at is continuous at , Sums, scalar multiples, products and quotients: , , , and when , The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with and Derivative of an inverse: if is continuous and injective on a nondegenerate interval and differentiable at with , then the inverse is differentiable at with ; and if then is not differentiable at , each exhibiting a factor and reading its continuity off the algebra of continuous functions; while the rest of the page works with the difference quotient directly, among them The linear-approximation form of the derivative: is differentiable at with if and only if the remainder satisfies ; at most one does so, so is the unique affine map approximating to first order at , the base cases of For a natural the function is differentiable everywhere with derivative ; for it is the constant , with derivative ; for a natural the function is differentiable at every with derivative ; consequently every polynomial function is differentiable at every real, with the derivative computed term by term, and Fermat's interior extremum theorem: if has a local extremum at a point interior to its domain and is differentiable at , then , whose whole mechanism is the sign of the quotient near the point.
What is deliberately not claimed anywhere on this page. That is continuous where it exists; that differentiability alone, with no hypothesis on , gives any regularity beyond the continuity of A function differentiable at is continuous at — a bound on does give more, and that is If is continuous on an interval and at every interior point, then for all , so is Lipschitz with constant and uniformly continuous on ; and that a vanishing derivative marks a local extremum. None of the three is addressed here, and no item on this page may be cited for any of them. What is recorded, as the two false statements of this page, is that the mean value theorem needs continuity on the closed interval and that a vanishing derivative at a point does not prevent a function from being increasing; each carries its own witness.
5 · Examples, counterexamples and false statements
FALSE: differentiability at every point of alone yields a with
Statement
False claim: let with and let be differentiable at every point of as a function on (The derivative of at a point that is a limit point of , and differentiability on a set, Intervals of : the nine order-convex forms, nondegeneracy, and length). Then there is with
This is The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with with the hypothesis " is continuous on " deleted, everything else left as it stands. It is false.
Why it is tempting. The conclusion mentions only at interior points, and the hypothesis of continuity on the closed interval looks like a technical condition guaranteeing nothing the differentiability does not already give. It is not: the values and appear on the left-hand side of the conclusion, and nothing in a hypothesis about alone connects them to the behaviour of inside. A single unrelated value at one endpoint breaks the identity outright.
Facts & Assumptions
Given: The interval and the function defined by for and (Intervals of : the nine order-convex forms, nondegeneracy, and length).
Derivative (The derivative of at a point that is a limit point of , and differentiability on a set): for a limit point of , the difference quotient is a function on , and is differentiable at with exactly when for every real there is a real such that every with satisfies (The - limit of at a limit point of ).
Every point of is a limit point of , that set being order-convex with at least two elements (The derivative of at a point that is a limit point of , and differentiability on a set, Intervals of : the nine order-convex forms, nondegeneracy, and length, Limit point, isolated point, adherent point, derived set, and dense subset of ).
Absolute value and order (Basic properties of the absolute value): ; exactly when ; and for the condition is .
in , since (The multiplicative identity is positive).
Continuity at a point (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point): is continuous at when for every real there is a real such that every with satisfies .
Rolle's theorem (Rolle's theorem: if , is continuous on , differentiable at every point of , and , then for some ) carries the same continuity hypothesis on the closed interval as The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with does.
Refutation
is a well-defined function on : every either equals or does not, exclusively, so exactly one of the two clauses applies to it.
, since , and by the second clause. Hence , and also .
The derivative inside. Let and put , a positive real. Every with satisfies by [L3], so and ; and , so . Therefore for every such .
is not continuous at . Take and let a real be given. Put ; then , so and , while . Yet . So no witnesses the condition of [L5] at for this .
Let and let a real be given. The of step 2.1 satisfies: every with has by [L3]. Since is a limit point of by [L2], this is exactly the condition of [L1] with . So is differentiable at with .
The claim fails on this witness. By step 3.1 the function is differentiable at every point of , so it satisfies the hypothesis of the false claim with and . For every one has , while by step 1.2. By [L4] these are different, so no satisfies the asserted identity, and the claim is false.
The same witness refutes the corresponding weakening of Rolle's theorem: by step 1.2 one has , and by step 3.1 one has at every , so no interior point carries a vanishing derivative. What is missing in both cases is exactly the hypothesis deleted, continuity on the closed interval, and step 2.2 shows it fails at the single point .
Remarks
-
The witness is as small as it can be. It agrees with the identity except at one endpoint, and it is differentiable at every interior point with the constant derivative . Nothing about the interior is disturbed; only the value is moved, and the conclusion of the mean value theorem is a statement about that value.
-
Where the true proof would break. The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with runs through Rolle's theorem: if , is continuous on , differentiable at every point of , and , then for some , and Rolle runs through Extreme value theorem: a continuous real function on a nonempty compact subset of attains a greatest and a least value, which needs continuous on the compact set . With continuity failing at the supremum of over is and is not attained, so the extreme value theorem has nothing to hand back and every later step is unavailable.
-
Continuity at the endpoints is the only thing deleted. In particular the witness is continuous at every point of , being differentiable there; it is even continuous at . So the false claim cannot be repaired by asking for continuity on , or on after reflecting the witness, and it is the closed interval that is needed.
FALSE: if then is not increasing on any interval containing
Statement
False claim: let be an interval (Intervals of : the nine order-convex forms, nondegeneracy, and length), let and let be a point at which is differentiable with
(The derivative of at a point that is a limit point of , and differentiability on a set). Then is not increasing on , in the strict sense of Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences.
Why it is tempting. On an interval , for continuous on and differentiable at every interior point: throughout gives nondecreasing, gives increasing, and give the two decreasing forms; conversely a nondecreasing has and a nonincreasing has wherever it is differentiable, and no strict converse is claimed proves that at every interior point gives an increasing function, and one reads the implication backwards: if strict increase comes from a strictly positive derivative, surely a derivative that fails to be strictly positive somewhere must destroy the strict increase there. It does not. Claim 5 of that theorem is the true converse, and it is non-strict: an increasing has wherever it is differentiable, and nothing forbids equality at isolated points.
Facts & Assumptions
Given: The interval , the point and the function , (Integer powers , Intervals of : the nine order-convex forms, nondegeneracy, and length).
Power rule (For a natural the function is differentiable everywhere with derivative ; for it is the constant , with derivative ; for a natural the function is differentiable at every with derivative ; consequently every polynomial function is differentiable at every real, with the derivative computed term by term, claim 2): for a natural the function is differentiable at every real with derivative .
Canonical naturals (The canonical natural of a field, Canonical naturals are positive and strictly increasing): for every natural , so in particular .
Powers (Integer powers ): , , and , so .
Order arithmetic (Sign rules for products and monotonicity of multiplication, Ordered field): a product of two positive reals is positive and a product of two negative reals is positive; the order is total and transitive, and trichotomy holds.
Monotonicity from the derivative (On an interval , for continuous on and differentiable at every interior point: throughout gives nondecreasing, gives increasing, and give the two decreasing forms; conversely a nondecreasing has and a nonincreasing has wherever it is differentiable, and no strict converse is claimed, claim 2): for order-convex and continuous on and differentiable at every interior point of with there, is increasing on .
Continuity (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claim 5): is continuous at every point of its domain for every natural ; and continuity passes to a subset of the domain (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
Restriction of the derivative (The derivative of at a point that is a limit point of , and differentiability on a set): if , if is a limit point of and if is differentiable at , then is differentiable at with the same derivative; every point of an order-convex set with at least two elements is a limit point of it (Limit point, isolated point, adherent point, derived set, and dense subset of ); and a point is interior to a set exactly when for some real (The -neighbourhood and the punctured -neighbourhood of a point of , Interior, closure, boundary and exterior of a subset of ).
A positive base has positive natural powers (Monotonicity of and of , claim 1).
Refutation
By [L1] with , the function is differentiable at every real with . In particular by [L3].
For every real one has : if this is [L9]; if then is a product of two negative reals, hence positive by [L3] and [L4]. Therefore for every , being a product of two positive reals by [L2] and [L4].
Put and , both order-convex with at least two elements (Intervals of : the nine order-convex forms, nondegeneracy, and length). Every real is interior to , since ; and is not interior to , since every contains , which is not in . As every interior point of lies in and so satisfies , the interior points of are exactly the reals . The same argument gives that the interior points of are exactly the reals .
By [L6] the function is continuous on , hence is continuous on and is continuous on . At every interior point of one has by step 1.3, so is a limit point of by [L7] and is differentiable at with derivative by step 1.2 and [L7]. So [L5] gives that is increasing on ; the same argument on gives that is increasing on .
Let with . If then and step 2.1 gives . If then and step 2.1 gives . Otherwise and , so with gives , while with gives , and transitivity gives . The three cases are exhaustive, since failing both and means and . So is increasing on by [L8].
The false claim fails on this witness: is an interval, is differentiable at with by step 1.1, and yet is increasing on by step 3.1. So a vanishing derivative forbids nothing of the kind, and the claim is false.
Remarks
-
What survives. Claim 5 of On an interval , for continuous on and differentiable at every interior point: throughout gives nondecreasing, gives increasing, and give the two decreasing forms; conversely a nondecreasing has and a nonincreasing has wherever it is differentiable, and no strict converse is claimed is the correct converse and is non-strict: an increasing function differentiable at a point of its interval has there. This witness saturates that inequality at exactly one point, and no more can be said in general.
-
How large the vanishing set can be is not settled here. The witness has at a single point. Nothing on this page says how big the set may be for an increasing , and nothing here should be read as suggesting that it must be small.
-
The same function is the standard witness for a second false reading, that a vanishing derivative marks a local extremum: has neither a local maximum nor a local minimum at , precisely because it is increasing. is increasing on although its derivative vanishes at , which is the witness for the false statement that a vanishing derivative forbids strict increase, and which makes its inverse non-differentiable at ↗ on the companion page computes the derivative in full and draws the further consequence, through Derivative of an inverse: if is continuous and injective on a nondegenerate interval and differentiable at with , then the inverse is differentiable at with ; and if then is not differentiable at , that the inverse of this function is not differentiable at .
Sources
Standard references
Recommended treatments; not extraction sources.
- Derivative (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 5 (Def. 5.1)
- J. Lebl, Basic Analysis I, §4.1
- T. Tao, Analysis I, 3rd ed., §10.1
- T. Gantumur, Differentiation
- J. Lebl, Basic Analysis I, The Derivative
- Carathéodory's theorem (Wikipedia)
- S. Kuhn, The Derivative à la Carathéodory, Amer. Math. Monthly 98 (1991)
- Differentiable function (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 5 (Thm 5.2)
- Linear approximation (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 5
- Product rule (Wikipedia)
- Quotient rule (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 5 (Thm 5.3)
- Power rule (Wikipedia)
- Chain rule (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 5 (Thm 5.5)
- J. Hunter, An Introduction to Real Analysis
- Inverse function rule (Wikipedia)
- J. Lebl, Basic Analysis I, §4.4
- Maximum and minimum (Wikipedia)
- J. Lebl, Basic Analysis I, §4.2
- J. Lebl, Basic Analysis I, Mean Value Theorem
- Fermat's theorem (stationary points) (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 5 (Thm 5.8)
- Rolle's theorem (Wikipedia)
- Mean value theorem (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 5 (Thm 5.9)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 5 (Thm 5.10)
- Monotonic function (Wikipedia)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 5 (Thm 5.11)
- Lipschitz continuity (Wikipedia)
- Notation for differentiation (Wikipedia)
- One-sided limit (Wikipedia)
- Stationary point (Wikipedia)