# Need help checking working (limit at infinity)

Need help checking my working with this limit at infinity.

$$\lim_{x\to \infty} (1+x^2)^{1/\ln x}$$

All help is appreciated

My working was-

$$\ln(1+x^2)^{1/\ln(x)} = \frac {\ln(1+x^2)}{\ln(x)}$$

Using L'Hopital

$$\frac {\frac {2x}{1+x^2}}{\frac {1}{x}}$$

$$\frac {2x}{1+x^2}$$

My question is does the 1 here simply get cancelled as x approaches infinity. That would give me the correct answer but I want to know that I didn't accidentally get to it in which case my working would be wrong. $$2=\lim_{x\to \infty} \ln(1+x^2)^{1/\ln(x)}$$

$$e^2=\lim_{x\to \infty} (1+x^2)^{1/\ln(x)}$$

• You get ${2x^2\over 1+x^2}$ after using L'Hopital. – Edu Aug 7 '17 at 13:19
• what is $n$ here in your formula? – Dr. Sonnhard Graubner Aug 7 '17 at 13:20
• So you really mean $\ln\Big((1+x^2)^{1/\ln(x)}\Big)$ and not $\Big(\ln(1+x^2)\Big)^{1/\ln(x)}$ right ? – Surb Aug 7 '17 at 13:29
• Please get rid of $n$ in your question. – zhw. Aug 7 '17 at 15:23
• @zhw. sorry. Thank you for pointing that out – Virens Aug 7 '17 at 18:08

Simplifying the fraction after applying L'Hopital, you should get $$\frac{2x^2}{1+x^2}$$ instead of $$\frac{2x}{1+x^2}$$
Then to get $$\lim_{x \to \infty} \frac{2x^2}{1+x^2}$$ you can again apply L'Hopital and get $$\lim_{x \to \infty} \frac{2x^2}{1+x^2}=\lim_{x \to \infty} \frac{4x}{2x}=2$$