Since u<v, the interval I contains two distinct points. Let L=fβ²(x), the derivative of f at x as in Derivative of a Real Function on an Interval (ii), unique by Uniqueness of the Derivative of a Real Function on an Interval (i). For tβI with tξ =x write
q(t)=tβxf(t)βf(x)β.
Step 1: if Lξ =0, there are tββ,t+ββI with tββ<x<t+β, β£tβββxβ£<Ξ΄ and β£t+ββxβ£<Ξ΄, such that q(tββ) and q(t+β) are both positive if 0<L and both negative if L<0. Suppose Lξ =0. Then β£Lβ£>0 by Rules of Arithmetic and Order in an Ordered Field (x). First, Derivative of a Real Function on an Interval (i) with Ξ΅=β£Lβ£ gives Ξ΄1β>0 such that every tβI with 0<β£tβxβ£<Ξ΄1β satisfies β£q(t)βLβ£<β£Lβ£. For such t, Inequalities in an Ordered Field: Mixed Transitivity, Strict Sums, Signs, Products, Natural Numbers, Halving, Reciprocals, Absolute Values and Squares (ix) gives ββ£Lβ£<q(t)βL<β£Lβ£. By Absolute Value in an Ordered Field (i), β£Lβ£=L if 0<L, and β£Lβ£=βL if L<0. So if 0<L the left inequality gives 0<q(t), and if L<0 the right inequality gives q(t)<0. Next let
Ξ·+β=min{Ξ΄,Ξ΄1β,vβx},Ξ·ββ=min{Ξ΄,Ξ΄1β,xβu},
both positive since Ξ΄, Ξ΄1β, vβx and xβu are, the last two as x<v and u<x (Difference and Quotient Identities in β (i)), and put t+β=x+Ξ·+β/2 and tββ=xβΞ·ββ/2. By Inequalities in an Ordered Field: Mixed Transitivity, Strict Sums, Signs, Products, Natural Numbers, Halving, Reciprocals, Absolute Values and Squares (vii), 0<Ξ·Β±β/2<Ξ·Β±β, so x<t+β<x+Ξ·+ββ€v and uβ€xβΞ·ββ<tββ<x, whence x<t+β<v and u<tββ<x. As u,x,vβI, Basic Facts about Intervals of the Real Line (iii) gives t+β,tβββI. Finally t+ββx=(x+Ξ·+β/2)βx=Ξ·+β/2 and tβββx=β(xβtββ)=β(xβ(xβΞ·ββ/2))=β(Ξ·ββ/2) (Difference and Quotient Identities in β (i)); as 0<Ξ·Β±β/2, β£tΒ±ββxβ£=Ξ·Β±β/2 by Absolute Value in an Ordered Field (i) and Rules of Arithmetic and Order in an Ordered Field (x) for β£βwβ£=β£wβ£. So 0<β£tΒ±ββxβ£=Ξ·Β±β/2<Ξ·Β±ββ€min{Ξ΄,Ξ΄1β}, so β£tΒ±ββxβ£<Ξ΄, and q(tΒ±β) has the sign stated, by the choice of Ξ΄1β.
Step 2: signs of q from the sign of f(t)βf(x). Let tβI, tξ =x, and put w=f(t)βf(x), so that q(t)=w(tβx)β1 (Difference and Quotient Identities in β (ii)). If f(t)β€f(x), then wβ€0, by Rules of Order in an Ordered Ring: Differences, Sums, Negatives, Products and Squares (ii) with βf(x) added to both sides; if f(x)β€f(t), then 0β€w, by Rules of Order in an Ordered Ring: Differences, Sums, Negatives, Products and Squares (i). If x<t, then 0<tβx (Difference and Quotient Identities in β (i)) and 0<(tβx)β1 by Rules of Arithmetic and Order in an Ordered Field (viii); so by Rules of Order in an Ordered Ring: Differences, Sums, Negatives, Products and Squares (iv), q(t)β€0 when f(t)β€f(x) and 0β€q(t) when f(x)β€f(t). If t<x, then 0<xβt=β(tβx) (Difference and Quotient Identities in β (i)), so tβx<0 by Rules of Order in an Ordered Ring: Differences, Sums, Negatives, Products and Squares (iii), and (tβx)β1<0 (Difference and Quotient Identities in β (iii)); so by Rules of Order in an Ordered Ring: Differences, Sums, Negatives, Products and Squares (v), 0β€q(t) when f(t)β€f(x) and q(t)β€0 when f(x)β€f(t).
Proof of (i). Suppose f(t)β€f(x) for every tβI with β£tβxβ£<Ξ΄, and suppose Lξ =0. Take tββ,t+β as in Step 1. Since β£tΒ±ββxβ£<Ξ΄, Step 2 gives q(t+β)β€0 and 0β€q(tββ). If 0<L, Step 1 gives 0<q(t+β), contradicting q(t+β)β€0; if L<0, Step 1 gives q(tββ)<0, contradicting 0β€q(tββ). Hence L=0, that is fβ²(x)=0.
Proof of (ii). Suppose f(x)β€f(t) for every tβI with β£tβxβ£<Ξ΄, and suppose Lξ =0. Take tββ,t+β as in Step 1. Step 2 gives 0β€q(t+β) and q(tββ)β€0. If 0<L, Step 1 gives 0<q(tββ), contradicting q(tββ)β€0; if L<0, Step 1 gives q(t+β)<0, contradicting 0β€q(t+β). Hence fβ²(x)=L=0.