Since f is differentiable at x0, we have f′(x0)=x→x0;x∈X−{x0}limx−x0f(x)−f(x0) If f is monotone increasing, then we have f(x)≤f(x0),x<x0,f(x)≥f(x0),x>x0 Thus in both x<x0 and x>x0 we shall have x−x0f(x)−f(x0)≥0⇒f′(x0)=x→x0;x∈X−{x0}limx−x0f(x)−f(x0)≥0 The case when f is monotone decreasing can be similarly proved.
Exercise 10.3.2
Define f(x)={x,2x,x∈(−1,0]x∈(0,1) This doesn’t contradict Proposition 10.3.1 since Proposition 10.3.1 requires f to be differentiable at the point (0 in this case).
Exercise 10.3.3
Define f(x)=x3,x∈(−1,1) Then f is differentiable at 0, f′(0)=0, but f is monotone increasing. This doesn’t contradict Proposition 10.3.1 since f′>0 is a necessary but not sufficient condition for f to be strictly monotone increasing.
Exercise 10.3.4
For any x=y∈[a,b], without loss of generality we can suppose x<y, then f∣[x,y] is continuous and differentiable on [x,y], thus by mean value theorem, we can find a c∈(x,y)⊂(a,b) such that f′(c)=y−xf(y)−f(x)=x−yf(x)−f(y) If f′(x)>0,∀x∈[a,b], then f′(c)>0 and f(x)<f(y), so f is strictly monotone increasing. If f′(x)<0,∀x∈[a,b], then f′(c)<0 and f(x)>f(y), so f is strictly monotone decreasing. If f′(x)=0,∀x∈[a,b], then f′(c)=0 and f(x)=f(y), so f is a constant function.
Exercise 10.3.5
Define f(x)={x+1,x−1,x∈(−1,0)x∈(0,1) Then if X=(−1,0)∪(0,1), then f is differentiable on X and f′(x)=1>0,∀x∈X, but we have f(1/2)=−1/2<f(−1/2)=1/2, thus f in not strictly monotone increasing. The key condition which is different from Proposition 10.3.3 is that X is allowed to be a disconnected set.