Let $f$ be a non-negative differentiable function such that $f'$ is continuous and $\displaystyle\int_{0}^{\infty}f(x)\,dx$ and $\displaystyle\int_{0}^{\infty}f'(x)\,dx$ exist.
Prove or give a counter example: $f'(x)\overset{x\rightarrow \infty}{\rightarrow} 0$
Note: I think it is not true but I couldn't find a counter example.
Let $\varphi(x)=\exp\left(\dfrac{1}{3}-\dfrac{1}{4-x^{2}}\right)$ for $|x|\leq 2$, $\varphi(x)=0$ for $|x|>2$.
Let $f(x)=\displaystyle\sum_{n=1}^{\infty}\dfrac{1}{2^{n}}\varphi\left(2^{n}(x-n)\right)$, one may check that $f\in C^{\infty}(0,\infty)$ and that $f,f'\in L^{1}(0,\infty)$.
For all $x$ with $1<2^{n}(x-n)\leq 2$, that is, $n+\dfrac{1}{2^{n}}<x\leq n+\dfrac{2}{2^{n}}$, we have \begin{align*} f'(x)&=\dfrac{1}{2^{n}}\exp\left(\dfrac{1}{3}-\dfrac{1}{4-(2^{n}(x-n))^{2}}\right)\cdot-\dfrac{2(2^{n}(x-n))}{(4-(2^{n}(x-n))^{2})^{2}}\cdot 2^{n}\\ &=-\dfrac{2(2^{n}(x-n))}{(4-(2^{n}(x-n))^{2})^{2}}\exp\left(\dfrac{1}{3}-\dfrac{1}{4-(2^{n}(x-n))^{2}}\right), \end{align*} localizing to $x=n+1/2^{n}$ we have $f'(n+1/2^{n})=-2/9$.