Evaluate $\displaystyle\int_{-\infty}^\infty\frac{\sin(t)}{t(1+t^2)}\,\mathrm{d}t.$
$$\int_{-\infty}^\infty\frac{\sin t}{t(1+t^2)}\,\mathrm{d}t= \mathfrak{Im}\left\{\int_{-\infty}^\infty\frac{\mathrm{e}^{\mathrm{i}t}}{t(1+t^2)} \,\mathrm{d}t\right\}$$ To get the roots of the denominator, we consider $t(1+t^2)=0$. Then, the roots are $\{0,\mathrm{i},-\mathrm{i}\}$.
I am going to calculate the integral by determining residues associated with $z=0$ and $z=\mathrm{i}$.
\begin{eqnarray} \mathfrak{Im}\left\{\int_{-\infty}^\infty\frac{\mathrm{e}^{\mathrm{i}t}}{t(1+t^2)} \,\mathrm{d}t\right\} &=&\mathfrak{Im}\left\{\pi\mathrm{i}\lim_{t\to0}\frac{\mathrm{e}^{\mathrm{i}t}}{1+t^2}+2 \pi\mathrm{i}\lim_{t\to\mathrm{i}}\frac{\mathrm{e}^{\mathrm{i}t}}{t(t+\mathrm{i})}\right\}\\ &=&\mathfrak{Im}\left\{\pi\mathrm{i}+ 2\pi\mathrm{i}\frac{\mathrm{e}^{-1}}{-2}\right\}\\ &=&\pi(1-\mathrm{e}^{-1}) \end{eqnarray}
Is it correct?
How can I apply Plancherel's theorem to calculate the same integral?
Thanks!