Reason: Proof of the Mean Value Theorem by subtracting the secant line and applying Rolle's theorem.
Proof
Throughout, β£β β£ is the absolute value on R. Since a<b, we have bβa>0, so bβaξ =0 and the quotient
m=bβaf(b)βf(a)β
is defined. Define g:[a,b]βR by
g(x)=f(x)+(βm)x+ma.
Step 1: g is continuous on [a,b]. The identity function id:[a,b]βR, id(x)=x, is continuous on [a,b]: for xβ[a,b] and real Ξ΅>0 the choice Ξ΄=Ξ΅ works, since every yβ[a,b] with dRβ(x,y)<Ξ΄ satisfies dRβ(id(y),id(x))=dRβ(y,x)=dRβ(x,y)<Ξ΅, using the symmetry required of a metric. Now apply Continuity of Sums and Products of Real-Valued Functions on a Metric Space with Xthe real line and A=[a,b]: by its claim 5 the function (βm)id is continuous on [a,b]; by its claim 1, applied at each xβ[a,b], the constant function k:[a,b]βR with value ma is continuous on [a,b]; and by its claim 5, applied twice, g=f+((βm)id+k) is continuous on [a,b].
Step 2: g is differentiable at every xβ(a,b) with gβ²(x)=fβ²(x)βm. Fix xβ(a,b), an interior point of [a,b], and write L=fβ²(x). Let Ξ΅>0 be real, and let Ξ΄>0 be as provided for this Ξ΅ by the differentiability of f at x. For every real h with 0<β£hβ£<Ξ΄ and x+hβ[a,b],
so g(a)=g(b). By Steps 1 and 2 the function g satisfies the hypotheses of Rolle's Theorem on a Closed Real Interval, so there exists cβ(a,b) with gβ²(c)=0, that is, fβ²(c)βm=0, that is,