I want to prove this statement: Suppose $g(x)$ is a decreasing function $\forall x>0$, hence $xg(x)$ has only one maxima $\forall x>0$.
Graphically it is clear that it has one maxima, but I need to prove it mathematically.
This question is similar to the one in Product of linear and convex function. I went through the answer, but I think it is not correct (when he gets the second derivative).
Can someone help?
Your statement is false as it is. Take $g(x) = \dfrac{1}{x^2}$. Then $g$ is decreasing for $x >0$, but $x g(x) = \dfrac{1}{x}$ is convex.