Let us evaluate
$$\lim_{x \to -\infty} \frac{8x^2-2x^3+1}{6x^2+13x+4}$$
Dividing the numerator and denominator by $x^3$ we will be left with $$\lim_{x \to -\infty} \frac{\frac{8}{x}-2+\frac{1}{x^3}}{\frac{6}{x}+\frac{13}{x^2}+\frac{4}{x^3}}$$ and since all the terms containg $x$ term will go to $0$,our resultant limit becomes $-\frac{2}{0}=-\infty$.
But if we do it in another way substituting $x=-t$,then our limit becomes after dividing both numerator and denominator by $t$, $$\lim_{t \to \infty} \frac{\frac{8}{t}+2+\frac{1}{t^3}}{\frac{6}{t}-\frac{13}{t^2}+\frac{4}{t^3}}$$
Here also since terms containing $t$ go to $0$,we are left with $\frac{2}{0}=+\infty$.
Why are we getting two different answers? Surely one of the method is invalid. In books,the first answer was marked correct. But i want to know what's wrong with the second approach.