Canonical: https://knowlpedia.com/real-analysis/zero-derivative-constant-corollary/

# Zero derivative implies constant

If f' vanishes everywhere on an interval, the function is constant

Let \(f:[a,b]\to\mathbb{R}\) be [continuous](https://knowlpedia.com/real-analysis/continuity-on-a-set/) on \([a,b]\) and [differentiable](https://knowlpedia.com/real-analysis/differentiability-one-variable/) on \((a,b)\).

**Corollary**: If \(f'(x)=0\) for all \(x\in(a,b)\), then \(f\) is constant on \([a,b]\).

**Connection to parent theorem**:
Apply the [mean value theorem](https://knowlpedia.com/real-analysis/mean-value-theorem/): for any \(x<y\), there exists \(c\in(x,y)\) with \(f(y)-f(x)=f'(c)(y-x)=0\).
