consider a continuous function $f:[0.\infty)\rightarrow \mathbb{R},$ with the property that $f\sim \frac{\sin(x)}{x}, $ as $x\rightarrow \infty$.
We know that the function $\frac{\sin(x)}{x}$ is improper Riemann integrable. I would like to know if one can deduce that $f$ must be integrable under this conditions as well over the interval $(0,\infty)$, i.e. is it true that
$$\int_0^{\infty}f(x)dx<\infty?$$
Or more generally. If $f \sim g $ as $x\rightarrow \infty$ and f,g are ciontinuous and $\int_{0}^{\infty}g(x)dx <\infty$. Can one deduce that $\int_0^{\infty}f(x)dx<\infty$
edit: $f\sim g$ iff $\lim_{x\rightarrow \infty}\frac{f(x)}{g(x)}=1.$
Best wishes