We have that Let $f$ be continuous on an interval $I$ and differentiable on the interior of $I$. If $f'(x)>0$ for all $x\in I$, then $f$ is increasing on $I$. If $f'(x)<0$ for all $x\in I$, then $f$ is decreasing on $I$. If $f'(x)=0$ for all $x\in I$, then $f$ is constant on $I$.
My question is can we conclude in opposite direction as well, i.e., If $f$ is increasing on $I$, then $f'(x)>0$ for all $x\in I$, in all three cases? If not why?