
I am trying to find the area of this graph $\int_{-\infty}^\infty\frac{x}{x^2 + 1}$
The question first asks to use the u-substitution method to calculate the integral incorrectly by evaluating $\lim \limits_{a \to \infty}\int_{-a}^a\frac{x}{x^2+1}dx$
My approach to this (not sure) is as follows:
$$u=x^2+1$$ $${du}=2x*dx $$ $$\frac12\int_{-\infty}^{\infty}{\frac1u}du$$ $$=\left[\frac12\log(x^2+1)\right]_{-\infty}^\infty$$
But how do I solve that part?
If I am asked to find
the $\int_1^a\frac{x}{x^2+1}dx$ where a is infinity, how do I do that?
Also what is the proper way to evaluate the integral from $-\infty to \infty$
The function $x\mapsto \frac x{1+x^2}$ is odd so the integral $$\int_{-a}^a\frac{x}{1+x^2}dx=0$$ so the given limit is $0$. Notice that even so the first given integral doesn't exist since
$$\frac x{1+x^2}\sim_\infty \frac1x$$ and the integral $$\int_1^\infty \frac{dx}x$$ is undefined.