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.
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.
Depends on
- The derivative $f'(c) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c}$ of $f : A \to \mathbb{R}$ at a point $c \in A$ that is a limit point of $A$, and differentiability on a set
- Local (relative) maximum and minimum of $f : A \to \mathbb{R}$ at a point, the strict forms, and what it means for the point to be interior to $A$
- If $\lim_{x \to c} f(x) = L \ne 0$ then $|f| > |L|/2$ on a punctured neighbourhood of $c$; in particular if $L > 0$ then $f > L/2 > 0$ there
- The $\varepsilon$-$\delta$ limit $\lim_{x \to c} f(x) = L$ of $f : A \to \mathbb{R}$ at a limit point $c$ of $A$
- The $\varepsilon$-neighbourhood and the punctured $\varepsilon$-neighbourhood of a point of $\mathbb{R}$
- Interior, closure, boundary and exterior of a subset of $\mathbb{R}$
- Limit point, isolated point, adherent point, derived set, and dense subset of $\mathbb{R}$
- Sign rules for products and monotonicity of multiplication
- Ordered field
Used by
- The identity on [0,1] attains its maximum at 1 and its minimum at 0 with derivative 1 at both, so Fermat's theorem genuinely needs the extremum to be at an interior point Counterexample
- 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 f'(c) and df/dx(c) name the same real number Remark
- A constrained local extremum annihilates every velocity of a differentiable parametrization Theorem
- Darboux's theorem: every derivative has the intermediate-value property Theorem
- Fermat's theorem: an interior differentiable local extremum has zero gradient Theorem
- Rolle's theorem: if a < b, f is continuous on [a,b], differentiable at every point of (a,b), and f(a) = f(b), then f'(c) = 0 for some c ∈ (a,b) Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 39 results over 15 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- Fermat's theorem (stationary points) (Wikipedia) (standard reference, not scraped)
- W. Rudin, Principles of Mathematical Analysis, 3rd ed., Ch. 5 (Thm 5.8) (standard reference, not scraped)
- J. Lebl, Basic Analysis I, §4.2 (standard reference, not scraped)
- J. Lebl, Basic Analysis I, Mean Value Theorem (standard reference, not scraped)
- J. Hunter, An Introduction to Real Analysis (standard reference, not scraped)