TITLE: Calculate $\int_{-\infty}^\infty\frac{\sin t}{t(1+t^2)}\,\mathrm{d}t$
QUESTION [5 upvotes]: 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!

REPLY [4 votes]: It seems no one has yet adressed the question of how to do this using Plancherel's theorem. Here it goes:
The Fourier transform of $f(x) := \chi_{[-1,1]}(x)$ is easily computed to be $$\hat f (t) = \sqrt{\frac{2}{\pi}} \frac{\sin(t)}{t},$$ and the Fourier transform of $g(x) := \exp(-|x|)$ is $$\hat g(t) =\frac{1}{\sqrt{2\pi}} \frac{2}{1+t^2}$$ (See this question for a proof of the latter). Using Plancherel's theorem, we obtain
$$\int_{-\infty}^{\infty} \frac{\sin(t)}{t(1+t^2)}\mathrm{d}t = \frac{\pi}{2} \cdot (\hat f, \hat g)_{L^2} = \frac{\pi}{2}\cdot (f,g)_{L^2} = \pi \int_{0}^{1} e^{-x} ~\mathrm{d}x = \pi(1-e^{-1})  $$