Why is the limit $$\lim_{x\to-\infty} \frac{2x}{\sqrt{1+x^2}}-\arctan x=\pi/2-2$$ and not $\pi/2 + 2$?
Evaluating I calculate the "2" to be positive but wolfram alpha says its negative. I've made the mistake before but can't figure out what the reason is.
$$\lim_{x\to-\infty} \frac{2x}{\sqrt{1+x^2}}=\lim_{t\to\infty} \frac{-2t}{\sqrt{1+t^2}}=\lim_{t\to\infty} \frac{-2}{\sqrt{1+\frac 1{t^2}}}=-2$$
Quite possibly, the error might have occurred when you would have directly taken x inside the square root.