Suppose that $f:[0,\infty)\to\Bbb R$ is differentiable, and $\lim_{x\to\infty}(f(x)+f'(x))=0$. Prove that $\lim_{x\to\infty}f(x)=0$.
I tried to show that $\lim_{x\to\infty}f(x)\neq0\rightarrow \lim_{x\to\infty}(f(x)+f'(x))\neq0$
If $\lim_{x\to\infty}f(x)\neq0, \exists e>0, \forall N\in\Bbb N, \exists x_1, x_2, ...>N,|f(x_i)|\ge e$.
So that the possibility for $\lim_{x\to\infty}(f(x)+f'(x))=0$ is only when $f(x_i)+f'(x_i)=0$ is true for any $i$.
So if $f(x_1)\gt0,$ it must be decreasing, to less than $e$
But there exists $x_2\gt x_1 s.t. |f(x_2)|\ge e$
In conclusion, $f(x)$ has to decrease when $x$ is large enough and $f(x)\ge e$ but there must exists infinitely many points whose function value is no less than $e$. But it cannot happen.
Is my idea of proof valid?
I don't know how to formally write my idea...please teach me..