If $f:\mathbb{R}\to \mathbb{R}$ such that $\lim\limits_{x \to \infty}xf(x)=L$. Then $\lim\limits_{x \to \infty}f(x)=0$.
My proof is as follows:
Let $g(x)=xf(x)$. Fix an $\epsilon>0$, then by definition, there exists a $\delta>0$ such that $$x>\delta \implies |g(x)-L|<\epsilon$$ Then $$|f(x)|=\frac{|g(x)|}{|x|}\le \frac{L+\epsilon}{\delta}$$ claiming the result.
Are there any flaws in my argument?
Unfortunately,
$$|f(x)|\le\frac{L+\epsilon}\delta$$ is not conclusive. Nothing says that $\delta$ is even large.
A simple proof is
$$\lim_{x\to\infty}f(x)=\lim_{x\to\infty}\left(xf(x)\cdot\frac1x\right)=\lim_{x\to\infty}(xf(x))\cdot\lim_{x\to\infty}\frac1x=L\cdot0.$$