horizontal asymptotes and derivatives Suppose that $f(x)$ has a horizontal asymptote. Must it be the case that the derivative approaches $0$ as $x$ tends to infinity? I do not think so, and I think I have a counter example, but I have yet to prove it. 
Of course, I know that the converse is not true (a derivative approaching $0$ need not come from a function with a horizontal asymptote... think $\ln x, \sqrt x$, etc).

Suppose $f(x)=\frac{\sin(x^2)}{x}$.  Then, surely we have $\lim_{x\to \infty}\frac{\sin(x^2)}{x}=0$.
However, the derivative $f'(x)$ is given by $f'(x)=2\cos(x^2)-\frac{\sin(x^2)}{x^2}$ and $\lim_{x\to\infty }\left(2\cos(x^2)-\frac{\sin(x^2)}{x^2}\right)$ does not even exist.
