Suppose that $f$ is differentiable function such that $f(x)\ge 0$ and $\int_0^\infty f(x)dx < \infty$. Which of the followings are true?
A. $\lim_{x\to\infty} f(x) = 0$
B. $\lim_{x\to\infty} f'(x) = 0$
C. For every $\epsilon>0$, there is an $M$ such that $\int_{x>M} f(x) dx < \epsilon$
D. $f$ is bounded
I know that C is true but I couldn't come up with counter examples for the other three. The few examples in my head are $f(x)=\frac{1}{x}$ and Gaussians.
Hint: You can have a series of (smooth) spikes that are extremely tall and even more extremely skinny.