If $\lim\limits_{x\rightarrow\infty} (f'(x)+f(x)) =L<\infty$, does $\lim\limits_{x\rightarrow\infty} f(x) $ exist? I want to prove or disprove this problem:
If there exist $\lim\limits_{x\rightarrow \infty} (f'(x)+f(x))=L<\infty$ then $\lim\limits_{x\rightarrow\infty} f(x) =L$.
When I assume problem below:
If there exist $\lim\limits_{x\rightarrow\infty} (f'(x)+f(x)) =L<\infty$, There exists $\lim\limits_{x\rightarrow\infty} f(x)$?
I can use mean-value theorem to show that.
So my question is:

If $\lim\limits_{x\rightarrow\infty} (f'(x)+f(x))=L<\infty$, does $\lim\limits_{x\rightarrow\infty} f(x)$ exist?


Consider the function $$g(x)=e^{x} f(x).$$ Then $$Dg(x)=e^{x}f(x)+e^{x}Df(x)=e^{x} \left( f(x)+Df(x) \right).$$
Now,
$$
\lim_{x \to +\infty} f(x) = \lim_{x \to +\infty} \frac{g(x)}{e^x} = \lim_{x \to +\infty} \frac{Dg(x)}{e^x} = \lim_{x \to +\infty} Df(x)+f(x)
$$
by De l'Hospital's theorem.
N.B. I think this exercise was solved by G. Hardy in one of his books.
