TITLE: Evaluate $\int_{-\infty}^{\infty}\frac{\sin x}{x}\mathop{}\! \mathrm dx$
QUESTION [9 upvotes]: I am trying to evaluate the following:
$$\int_{-\infty}^{\infty}\frac{\sin(x)}{x}\, dx$$
My first approach was to find the antiderivative but I can't seem to express it as I have not yet learnt about $\text{Si}(x)$. I then tried replacing the $\sin(x)$ with $(e^{ix}-e^{-ix})/(2i)$ but I just ended something even more complicated. Does making it go from $0$ to $\infty$ by multiplying by $2$ help? 
Please help me in evaluating this integral.
By the way, I am familiar with substitution and integration by parts but not complex analysis or contour integration. However, if this question requires something I don't already know, I am willing to try and understand it. 
Thanks.

REPLY [8 votes]: 1. If you are familiar with Dirac Delta$$
\int_{-\infty}^{\infty}{\sin(x) \over x}\,{\rm d}x
=
\int_{-\infty}^{\infty}\left({1 \over 2}\,\int_{-1}^{1}{\rm e}^{{\rm i}kx}\,{\rm d}k\right)
\,{\rm d}x
=
\pi\int_{-1}^{1}{\rm d}k
\int_{-\infty}^{\infty}{{\rm d}x \over 2\pi}\,{\rm e}^{{\rm i}kx}
=
\pi\int_{-1}^{1}{\rm d}k\,\delta(k) = \pi
$$
2. Trick Calculus way
$$\begin{align*}
\int_{-\infty}^{\infty} \frac{\sin x}{x} \; dx
&= 2 \int_{0}^{\infty} \frac{\sin x}{x} \; dx \\
&= 2 \int_{0}^{\infty} \sin x \left( \int_{0}^{\infty} e^{-xt} \; dt \right) \; dx \\
&= 2 \int_{0}^{\infty} \int_{0}^{\infty}  \sin x \, e^{-tx} \; dx dt \\
&= 2 \int_{0}^{\infty} \frac{dt}{t^2 + 1} \\
&= \vphantom{\int}2 \cdot \frac{\pi}{2} = \pi.
\end{align*}$$
You would love also Feynman differentiation under the integral sign