Fix v,h∈R and let R=f(v+h)−f(v)−f′(v)h−21f′′(v)h2. If h=0, then R=0 and there is nothing to prove; let h=0, and put w=v+h, so that w−v=h=0.
The remainder as an increment of f′′. Let K=(f(w)−f(v)−f′(v)h)/h2, so that R=Kh2−21f′′(v)h2, and let ψ:R→R be the function
ψ(s)=f(s)+f′(s)(w−s)+K(w−s)2.
Then ψ(v)=f(v)+f′(v)h+Kh2=f(w) by the choice of K, and ψ(w)=f(w). By the sum and product rules, the function ψ is differentiable, with
ψ′(s)=f′(s)+f′′(s)(w−s)−f′(s)−2K(w−s)=(w−s)(f′′(s)−2K)(s∈R)
(Derivatives of Constants, the Identity, Sums, Scalar Multiples, Products, Reciprocals, Quotients and Powers (i), Derivatives of Constants, the Identity, Sums, Scalar Multiples, Products, Reciprocals, Quotients and Powers (ii), Derivatives of Constants, the Identity, Sums, Scalar Multiples, Products, Reciprocals, Quotients and Powers (iv), Derivatives of Constants, the Identity, Sums, Scalar Multiples, Products, Reciprocals, Quotients and Powers (v), Derivatives of Constants, the Identity, Sums, Scalar Multiples, Products, Reciprocals, Quotients and Powers (vi)), and hence continuous (The Increment Form of the Derivative, and Differentiability Implies Continuity (ii)). Let x=min{v,w} and y=max{v,w}, so x<y. By the mean value theorem on the interval R (Mean Value Theorem on a Closed Real Interval and on Any Interval (ii)) there is ξ with x<ξ<y, that is, ξ strictly between v and w, and
0=ψ(y)−ψ(x)=ψ′(ξ)(y−x).
Since y−x=∣h∣=0 and w−ξ=0, this gives f′′(ξ)=2K, and therefore
f(w)−f(v)−f′(v)h−21f′′(v)h2=R=21(f′′(ξ)−f′′(v))h2.
Two bounds on the increment. First, ∣f′′(ξ)−f′′(v)∣≤∣f′′(ξ)∣+∣f′′(v)∣≤2M2. Second, ξ=v and f′′ is differentiable, hence continuous (The Increment Form of the Derivative, and Differentiability Implies Continuity (ii)), so the mean value theorem (Mean Value Theorem on a Closed Real Interval and on Any Interval (ii)), applied to f′′ on the interval R between v and ξ, gives η strictly between v and ξ with f′′(ξ)−f′′(v)=f′′′(η)(ξ−v); hence ∣f′′(ξ)−f′′(v)∣≤M3∣ξ−v∣. Since ξ lies strictly between v and w, ∣ξ−v∣<∣w−v∣=∣h∣, and since M3≥∣f′′′(v)∣≥0, it follows that M3∣ξ−v∣≤M3∣h∣. Together,
∣f′′(ξ)−f′′(v)∣≤min{2M2,M3∣ξ−v∣}≤min{2M2,M3∣h∣},
and so
∣R∣≤21min{2M2,M3∣h∣}h2=min{M2h2,21M3∣h∣3},
which is (i).