The question is as follows.
Let $f$ be differentiable real function defined in $(a,b)$. Prove that $f$ is convex iff $f'$ is monotonically increasing. Assume next that $f″(x)$ exists for every $x\in (a,b)$, and prove that $f$ is convex iff $f″(x)\geq 0$ for all $x\in (a,b)$.
For the second part of the question, can we directly say that $f'(x)$ is monotonically increasing if and only if $f''(x)\geq 0$? I have this question because the theorem derived from the Mean Value Theorem only directly implies the backwards direction (i.e. if the derivative is larger than 0, the function is monotonically increasing).