Say we have a function $f:\mathbb{R}\to\mathbb{R}$, differentiable such that $\lim_{x\to\infty}f(x)=a, a\in\mathbb{R}$ and $\exists\lim_{x\to\infty}xf'(x).$ And I have to calculate: $$\lim_{x\to\infty}xf'(x)$$
...First let's rewrite this as:
$\lim_{x\to\infty}\frac{f'(x)}{\frac 1x}$. Now... Can I use "inverse l'hospital"? and what I mean by that is... to integrate the top and bottom and have: $\lim_{x\to\infty}\frac{f(x)}{ln(x)}$ and use the fact that $\lim_{x\to\infty}f(x)=a$.... so my limit would be $\lim_{x\to\infty}\frac {a + c_1}{ln(x)+c_2}=0?$
And if I can't do this, how can I solve this problem?
I am not convinced about the inverse of L'Hopital's rule at all. All I know is there are plenty of examples when it does not work.
Instead, you can use L'Hopital itself. The idea is that $(xf(x))' = f(x) + xf'(x)$.
Note that since $\lim_{x \to \infty} f(x) = a$ exists and $\lim_{x \to \infty} xf'(x)$ exists, we get that $\lim_{x \to \infty} (xf(x))'$ exists.
Now, all we need is the following transformation: $$ \lim_{x \to \infty} f(x) = \lim_{x \to \infty} \frac{xf(x)}{x} = \lim_{x \to \infty} \frac{(xf(x))'}{1} = \lim_{x \to \infty} f(x) + \lim_{x \to \infty} xf'(x) $$
Where weare a slight generalization of L'Hopital(where the indeterminate form can be anything over infinity) by the fact that the denominator is infinite at infinity, and both numerator and denominator are at least differentiable in $x > R$ for some $R$, and that $\lim_{x \to \infty} (xf(x))'$ exists, since otherwise the inequality is not valid. That is why we need $\lim_{x \to \infty} xf'(x)$ to exist before knowing its value : L'Hopital cannot be used here otherwise.
From here, it is fairly clear that $\lim_{x\to \infty} xf'(x) = 0$. I will attach a link to the other L'Hopital rule shortly.
EDIT : In this answer :If $f'$ tends to a positive limit as $x$ approaches infinity, then $f$ approaches infinity you may find the generalized rule.