Let $f \, : \, \mathbb{R} \to \mathbb{R}$ be such that
- $f \in C^\infty(\mathbb{R})$
- $\lim_{n \to \infty}{f(nx)} = 0 \; \forall x \in \mathbb{R}$
- $0 \leq f(x) \leq 1 \, \forall x \in \mathbb{R}$
- $f(x) = 0 \, \forall x \in (-\infty,1]$
Prove that
$\lim_{x \to \infty}{f(x)} = 0$
I would like a proof that doesn't use Baire category theorem.
I thought that it would be enough to show that
$\lim_{\beta \to \infty}{\int_{0}^{\beta}{ f'(x) dx }} = 0$
But this doesn't seem to help.