As stated the condition is:
- $\int_0^\infty f(x) dx=0$
- $f(x)$ continuous on $x\in[0,\infty)$
What I would like to prove is $\lim_{x\to\infty}f(x)=0$
It is easy to prove that if $\lim_{x\to\infty}f(x)$ exists, or $\lim_{x\to\infty}f(x)=\infty$.
But I would like to ask if only with the condition of continuity, which is $\lim_{x\to x_0}f(x)=f(x_0)$, the statement is true or not.