One of my coworkers asked me how to evaluate the integral of (sin(x)/x)^2 from -inf to inf and I am stumped. MATLAB says that the answer is pi, but I do not know how to solve it analytically.
Integration by parts does not work because I eventually get an integral with (cos(x))^2 in it and then I am essentially back where I started from. (And I can't take advantage of cos(x)^2 + sin(x)^2 = 1, because there is an integer multiple in front of cos(x)^2).
I tried using Euler's identity to break the sin(x) up into -j0.5e^(jx)+j0.5e^(-jx), but that lead me to an integral of sin(2x)/x, which I couldn't figure out either.
Apparently there is a class of integrals that I have totally forgotten how to solve. Any guidance would be appreciated.
Thanks,
-Mike