I'm trying to prove that if $f$ is an infinitely differentiable function on the real line that satisfies $\lim_{|x|\rightarrow \infty}f(x)P(x)=0$ for a any polynomial $P(x)$, then it follows that:
$$\int_{-\infty}^{\infty}|f'(x)|dx<\infty$$.
I have managed to prove that $\int_{-\infty}^{\infty}|f(x)|dx<\infty$ by the following argument:
Since $\lim_{|x|\rightarrow \infty}f(x)x^{2}=0$ there exists a sufficiently large $R$ such that if $|x|>R$ then $|f(x)|<\frac{1}{x^{2}}$ and therefore:
$$\int_{-\infty}^{\infty}|f(x)|dx<\int_{-R}^{R}|f(x)|dx+\int_{|x|>R}^{.} \frac{1}{x^2}dx<\infty$$
I'm not sure how my above method can be altered in order to prove the same for the derivative.
Thank you in advance
