Prove: $$\int_{0}^{\infty} \frac{\sin(x)}{x} dx=\frac{\pi}{2}$$ starting with the facts that: $$\int_{-\pi}^{\pi}D_N(\theta)=2\pi, \ \ \ \ \ \text{and }\ f(\theta)=\frac{1}{\sin(\frac{\theta}{2})}-\frac{2}{\theta}\ \text{ is continuous on} \ [-\pi, \pi] $$ (apply the Riemann-Lebesgue lemma)
I realize there are many different proofs of this fact already but I haven't seen one using the given facts.
What I have so far is that as is given:
$$\int_{- \pi}^{\pi} \frac{\sin((N+\frac{1}{2})\theta)}{\sin(\frac{\theta}{2})} =2\pi$$
and in order to use the Riemann-Lebesgue lemma I need to find a useful function $g(x)$ and use $\lim_{n \to \infty} \hat{g}(n)=0$. Given what I know, it seems like if I were able to have:
$$\hat{g}(n) =\int_{0}^{n} \frac{\sin(x)}{x}dx -\frac{\pi}{2} $$
then I would be done, so I attempted to find the Fourier coefficients of the given $f(\theta)$ but this did not seem particularly fruitful.
Here's a simplified version of a proof with which Richard Feynman popularised differentiation under the integral sign among physicists, who to this day call it Feynman's trick. (He integrated $\int_0^\infty\sin x\,e^{-xy}dx$ with respect to $y$, but we can make it simpler.) Using $\dfrac{1}{x}=\int_0^\infty e^{-xy}dy$ we have $$\int_0^\infty\frac{\sin x}{x}dx=\int_0^\infty dy\int_0^\infty dx \,e^{-xy}\sin x=\int_0^\infty \frac{dy}{1+y^2}=\frac{\pi}{2}.$$