Maths WorkshopMaths problems with full solutions
Exercise 616Calculus › Single-variable calculus › Differentiation › Mean Value TheoremL1Added 4 Nov 2026

A function with zero derivative is constant

#consequence#constant function#zero derivative

Statement

Show that if ff is continuous on [a,b][a,b], differentiable on ]a,b[]a,b[, and f′(x)=0f'(x)=0 for all x∈]a,b[x\in]a,b[, then ff is constant on [a,b][a,b].

Hint

Apply the mean value theorem to any pair x<yx<y.

Show solutionHide solution

Solution

MVT. For any x<yx<y in [a,b][a,b], there is c∈]x,y[c\in]x,y[ with f(y)−f(x)=f′(c)(y−x)=0f(y)-f(x)=f'(c)(y-x)=0, so f(x)=f(y)f(x)=f(y).

Conclusion. ff is constant.