I want to show that for a function $f \in C_c^2((a,b))$ non-negative, the inequality $$\sup \left(\frac{|f'(x)|^2}{f(x)} \right) \le 2 \sup |f''(x)|$$ holds.
I noticed that the left term is equal to $2 |\sqrt{f(x)}'|^2.$ So the question is equivalent to: Can I bound this term just by the second derivative? Currently, I don't see how this could work.
The problem I am also having with the exercise is that we get problems if $f(x)=0$ cause then we may divide zero by zero on the left-hand side and it is not immediate to me that the limit is finite.
If anything is unclear, please let me know.