Suppose $f$ is differentiable on $[0,\infty)$ and $\displaystyle \lim_{x \to \infty} \frac{f(x)}{x} = 0$. Show that $\displaystyle \liminf_{x \to \infty}|f'(x)| = 0$.
What I have tried is to apply the mean value theorem to $\frac{f(y)}{y} - \frac{f(x)}{x}$ with $0 < x < y$. There exists $c_x \in (x,y)$ such that $\dfrac{\frac{f(y)}{y} - \frac{f(x)}{x}}{y-x} = \frac{f'(c_x)}{c_x}- \frac{f(c_x)}{c_x^2}$. From here we get $$|f'(c_x)| \leq \frac{c_x}{y-x}\left|\frac{f(y)}{y} - \frac{f(x)}{x} \right| + \left|\frac{f(c_x)}{c_x} \right| $$
Now I want to set $y = 2x$ and take $\liminf$ of both sides to get $0$, but I am unclear on:
If $\liminf_{x \to \infty} |f'(c_x)| = 0$, then $\liminf_{x \to \infty} |f'(x)| = 0$. I think this is true?
How to handle the factor $c_x/(y-x) = c_x/x$ when taking $\liminf$?