Let $f:[a, b] \rightarrow \mathbb{R}$ where $a, b \in \mathbb{R}$ with $a <b$. Suppose $f$ is continuous on $[a,b]$ and differentiable on $(a,b)$. Suppose $f$ is monotonically increasing on $[a,b]$. Show that $f'(x) \ge 0$ for all $x \in (a,b)$.
My attempt: I tried using the Mean Value Theorem, but it doesn't quite seem to work. For example, by the MVT we can conclude that there exists a $c \in (a,b)$ such that $f(b) - f(a) = f'(c) (b-a)$. Which implies that $f'(c) = \frac{f(b) - f(a)}{b-a}$. Now since $f$ is monotonically increasing, $f(b) - f(a) \ge 0$ whenever $b>a$, so $f'(c) \ge 0$. But this only shows for one particular $c \in (a,b)$, and the question asks to show this is true for ALL $x \in (a,b)$. What can I do to complete the proof?
My attempt: I tried using the Mean Value Theorem, but it doesn't quite seem to work.
May I ask, then, why you chose to put "using mean value theorem" in the title? Maybe MVT is indeed not the right way to solve this, and such a title can only discourage better alternative answers. $\endgroup$