Problem:
Suppose that $\displaystyle f:R \mapsto R $ is twice differentiable everywhere; $\displaystyle f(x) \leq 0 $ and $\displaystyle f''(x) \geq 0 \ \ \ \ \ \forall x$. Prove that $\displaystyle f:R \mapsto R $ is constant.
I'm trying to prove this thing by showing f'(x) = 0 for all x. Now, I know f' is either monotonically increasing or constant. But I have problem using the f <= 0 for my proof.
Please help, thank you.