How do we evaluate the integral $$I=\displaystyle\int_{\mathbb{R}} \dfrac{x\sin {(\pi x)}}{(1+x^2)^2}$$
I have wasted so much time on this integral, tried many substitutions $(x^2=t, \ \pi x^2=t)$.
Wolfram alpha says $I=\dfrac{e^{-\pi} \pi^2}{2}$, but I don't see how.
How do I calculate it using any of the methods taught in real analysis, and not complex analytical methods?
Consider $$ \mathcal{I}(y,t)=\int_{-\infty}^{\infty}\frac{\cos xt}{x^2+y^2}\ dx=\frac{\pi e^{-yt}}{y}\quad;\quad\text{for}\ t>0.\tag1 $$ Differentiating $(1)$ with respect $t$ and $y$ yields \begin{align} \frac{\partial^2\mathcal{I}}{\partial y\partial t}=\int_{-\infty}^{\infty}\frac{2xy\sin xt}{(x^2+y^2)^2}\ dx&=\pi te^{-yt}\\ \int_{-\infty}^{\infty}\frac{x\sin xt}{(x^2+y^2)^2}\ dx&=\frac{\pi te^{-yt}}{2y}.\tag2 \end{align} Putting $y=1$ and $t=\pi$ to $(2)$ yields $$ \large\color{blue}{\int_{-\infty}^{\infty}\frac{x\sin\pi x}{(x^2+1)^2}\ dx=\frac{\pi^2 e^{-\pi}}{2}}. $$