Throughout, β£β
β£ is the absolute value on R, and local extrema of f are understood in the sense of Local Extremum at a Point, for the function f on the interval [a,b].
Since a<b we have aβ€b, so Extreme Value Theorem on a Closed Real Interval applies to f and yields xminβ,xmaxββ[a,b] with
f(xminβ)β€f(x)β€f(xmaxβ)forΒ everyΒ xβ[a,b].
We distinguish three cases; they are exhaustive, because if neither the condition of Case 1 nor that of Case 2 holds, then f(xmaxβ)=f(a)=f(xminβ).
Case 1: f(xmaxβ)ξ =f(a). Since f(a)=f(b), the point xmaxβ is neither a nor b; being in [a,b], it therefore satisfies a<xmaxβ<b, so xmaxββ(a,b) is an interior point of [a,b]. The function f has a local maximum, hence a local extremum, at xmaxβ: with Ξ΄=1, every xβ[a,b] with β£xβxmaxββ£<Ξ΄ satisfies f(x)β€f(xmaxβ), since every xβ[a,b] does. By hypothesis f is differentiable at xmaxβ. By Fermat Stationary Point Criterion, fβ²(xmaxβ)=0, and we take c=xmaxβ.
Case 2: f(xminβ)ξ =f(a). Symmetrically, xminββ(a,b), and f has a local minimum, hence a local extremum, at xminβ: with Ξ΄=1, every xβ[a,b] with β£xβxminββ£<Ξ΄ satisfies f(x)β₯f(xminβ). By hypothesis f is differentiable at xminβ, so Fermat Stationary Point Criterion gives fβ²(xminβ)=0, and we take c=xminβ.
Case 3: f(xminβ)=f(a)=f(xmaxβ). Then for every xβ[a,b],
f(a)=f(xminβ)β€f(x)β€f(xmaxβ)=f(a),
so f(x)=f(a) by antisymmetry of β€. Let c=a+(bβa)/2; since bβa>0, claim 8 of Elementary Order Arithmetic in an Ordered Field gives 0<(bβa)/2<bβa, hence a<c<b, so cβ(a,b) is an interior point of [a,b]. With Ξ΄=1, every xβ[a,b] with β£xβcβ£<Ξ΄ satisfies f(x)=f(a)=f(c)β€f(c), so f has a local extremum at c, and f is differentiable at c by hypothesis. By Fermat Stationary Point Criterion, fβ²(c)=0. β