Compute $$ \int_{-\infty}^{\infty} \frac{x^2}{(1+x^2)^2} dx$$
Of course we have $$ \int_{-\infty}^{\infty} \frac{x^2}{(1+x^2)^2} dx = 2 \int_{0}^{\infty} \frac{x^2}{(1+x^2)^2} dx = 2 \int_{0}^{\infty} \left( \frac{x}{1+x^2} \right) ^2 dx = \lim_{ A \to \infty } \int_{0}^{A} \left( \frac{x}{1+x^2} \right) ^2 dx $$
I think that firstly I should compute $ \int \left( \frac{x}{1+x^2} \right) ^2 dx $ but I don't have idea.