Given a function $f(x) = x^2 + g(x)$ such that $g(x) = O(x)$ and that $f'(x)$ is monotonic non-decreasing for all $x \geq x_0$
I need to prove that $g'(x) = O(\sqrt{x})$, and also that without the monotonic condtion such implication is false
For the latter question I have $g(x) = \sin(x^2) = O( x)$ but $g'(x) = 2x \cos(x^2) = O(x)$.
Which means that the solution to the first question $g'(x) = O(\sqrt{x})$ depends on the fact that $f'$ is monotonic but I couldn't prove it. How to prove it then?
Hint. Use the mean value theorem.