I was thinking about the following problem:
Let $f:\mathbb R\rightarrow \mathbb R$ be a continuous function such that $\int_{0}^{\infty}f(x)dx$ exists. Then which of the following statements are correct?
(a) If $\lim_{x\to\infty}f(x)$ exists, then $\lim_{x\to\infty}f(x)=0,$
(b) The limit $\lim_{x\to\infty}f(x)$ must exist and is zero,
(c) In case $f$ is a nonnegative function, the limit $\lim_{x\to\infty}f(x)$ must exist and is zero,
(d) In case $f$ is a differentiable function, the limit $\lim_{x\to\infty}f'(x)$ must exist and is zero.
If I take $f(x)=e^{-x}$, so that the given condition is satisfied then we see that options (a) and (c) are correct. But I am not sure about the choice given in (b) and (d). But If I have to prove it in general, then how can I prove it? I mean an alternative better approach. Please help. Thanks in advance for your time.