Taken from Thomas' Calculus 12e Find the horizontal asymptote of the graph of:
$$f(x) = \frac{x^3-2}{\lvert x\rvert^3+1}$$
Solution: We calculate the limits as ${x \to \pm \infty}$
For $x\ge0$: $$\lim\limits_{x\to\infty}\frac{x^3-2}{\lvert x\rvert ^3+1} =\lim\limits_{x\to\infty}\frac{x^3-2}{x^3+1}=\lim\limits_{x\to\infty}\frac{1-(2/x^3)}{1+(1/x^3)}=1$$
I understand all except why the answer is one. I actually cannot find out how to get the answer.
Turning your second expression into your third isn't always too helpful for calculating the limit. In general, when you have the expression $$ \lim_{n \to \infty}\frac{p(x)}{q(x)} $$ where $p$ and $q$ are polynomials of the same degree, this limit is the ratio of the leading coefficients. In your example, this is 1.