I am trying to calculate $$\lim _{x\to \infty }\left(\frac{x^2+3x+2}{x^2\:-x\:+\:1\:}\right)^x$$
My initial thought is that it is in exponential form $\left(1+\frac{a}{f(x)}\right)^{f(x)}$.
I tried to factor the polynomials $\frac{(x+1)(x+2)}{x(x-1)+1}$ in order to bring it to that form, but had no success.
I also tried to apply the chain rule as following, but found nothing interesting either
$$e^{x\ln({\left(\frac{x^2+3x+2}{x^2\:-x\:+\:1\:}\right)}}$$
Any ideas that don't involve D'Hopital's Rule?
Your initial thought is right. Keep thinking. $$\lim _{x\to \infty }\left(\frac{x^2+3x+2}{x^2\:-x\:+\:1\:}\right)^x=\lim _{x\to \infty }\left(1+\frac{4x+1}{x^2\:-x\:+\:1\:}\right)^x=\\ \lim _{x\to \infty }\left[\left(1+\frac{1}{f(x)}\right)^{f(x)}\right]^{\frac{x}{f(x)}}=\exp\left({\lim\limits_{x\to \infty }\frac{4x^2+x}{x^2\:-x\:+\:1\:}}\right)=e^4.$$ where $f(x)=\frac{x^2-x+1}{4x+1}$ and $\lim_\limits{x\to\infty} f(x)=\infty$.