Suppose that $f: \mathbb{R^+}\to \mathbb{R}$ satisfies $\lim_{x\to \infty} (f+f')(x)=0$. Show that $\lim_{x\to \infty} f(x)=0$.
This is one solution I found to this problem.
Solution: If $x=a$ is in the domain of the function $f$, then by the generalized mean value theorem applied to the functions $e^x f(x)$ and $e^x$, there exists $c\in (a,x)$ such that $\frac{e^x f(x)-e^a f(a)}{e^x -e^a}=\frac{e^c f'(c)+e^c f(c)}{e^c}.$ This yields $\frac{e^x}{e^x -e^a} f(x)-\frac{e^a}{e^x - e^a}f(a)=f'(c)+f(c)$. Taking limits as $c$ tends to infinity we have, $\lim_{c\to \infty}\frac{e^x}{e^x -e^a} \lim_{c\to \infty}f(x)-\lim_{c\to \infty}\frac{e^a}{e^x - e^a}\lim_{c\to \infty}f(a)=\lim_{c\to \infty}[f'(c)+f(c)]$. But $c\lt x$, thus we obtain $1 \cdot \lim_{x\to \infty}f(x)-0\cdot f(a)=\lim_{c\to \infty}[f'(c)+f(c)].$ Hence, since the right hand side is equal to $0$, it follows that $\lim_{x\to \infty}f(x)=0.$
Taking a close look at this solution, however, I think it may not be correct since the $c$ used in the answer is actually a function of $x$ and it may not make sense to take $c\to \infty$. I mean how do we know that there will always be such a $c$ greater than any given positive number? Is this solution correct? If so, how can my question be answered? I would greatly appreciate any help.