Corollary (derivative and monotonicity)
Let $f: [a,b]\to\R$ be a continuous function which is differentiable on $(a,b)$. Then
-
if $f'(x)>0$ for all $x\in(a,b)$, then $f$ is strictly increasing;
-
if $f'(x)\geq 0$ for all $x\in(a,b)$, then $f$ is increasing;
-
if $f'(x) = 0$ for all $x\in(a,b)$, then $f$ is constant.
Also if $f: \C\to\C$ with $f'(z)=0$ for all $z\in\C$, then $f$ is constant.