TITLE: Calculating limit $\lim\limits_{x\to\infty}\frac{3x^2-\frac{3}{x^2+1}-4f'(x)}{f(x)}$ for an unknown function.
QUESTION [6 upvotes]: Given that $f(x)$ is a continuous function and satisfies $f'(x)>0$ on $(-\infty,\infty)$ and $f''(x)=2 \forall x \in(0,\infty)$.We need to find the limit 
$$\lim_{x\to\infty}\frac{3x^2-\frac{3}{x^2+1}-4f'(x)}{f(x)}$$ 
Now the numerator is tending to infinity so denominator must also go to infinity else limit won't exist.So I tried the L'Hospitals rule and it became$$\lim_{x\to\infty}\frac{6x+\frac{6x}{(x^2+1)^2}-4f''(x)}{f'(x)}$$The numerator is still infinity so once again applying L'Hospitals rule (assuming denominator must still be infinity) we get 
$$\lim_{x\to\infty}\frac{6+\frac{6(x^2+1)^2-6x×2(x^2+1)×2x}{(x^2+1)^4}+0}{f''(x)}$$
Now putting $f''(x)=2$ we get 
$$3+\lim_{x\to\infty}\frac{3(x^2+1)^2-12x^2(x^2+1)^2}{(x^2+1)^4}$$

Collecting the coefficients of $x^4$ from numerator and denominator we get the limit to be$3-9=-6$ but the answer is not -6. Is applying LHospital wrong?Help.Thanks.

REPLY [2 votes]: The condition $f''(x) =2$ makes the problem far simpler because then we can use integration to get $f(x) =x^2+bx+c$ and perform the limit evaluation easily. The answer however remains the same if we are given the weaker hypothesis that $f''(x) \to 2$ as $x\to\infty$ and I prove this below. 
First we observe that derivative $f'$ is positive and hence $f$ is strictly increasing. Therefore $f(x) $ tends to a limit or to $\infty$ as $x\to\infty$. By similar argument $f'(x) $ also tends to a limit or to $\infty$. If $f(x) $ tends to a limit then $f(x+1)-f(x)=f'(c)$ (via mean value theorem) tends to $0$. This is a contradiction as derivative $f'$ is positive and strictly increasing for large $x$ so it can't tend to $0$. Thus it follows that $f(x) \to\infty$ as $x\to\infty$. Similarly $f'(x) \to \infty$ because $f''(x) \to 2$.
Thus the desired limit is equal to the limit of $$\frac{3x^2-4f'(x)}{f(x)}$$ And since denominator tends to $\infty $ we can try L'Hospital's Rule to get the ratio $$\frac{6x-4f''(x)}{f'(x)}$$ whose limit is same as that of $6x/f'(x)$. Applying L'Hospital's Rule once again we get the ratio $6/f''(x)$ which tends to $3$ and therefore the original limit is also $3$.