Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to calculate the following integrals:

  1. $$\int_{-\infty}^{+\infty} \quad \left(\frac{\sin(\pi a x)}{\pi ax}\right)^2\quad \exp(-bx^2)\,dx$$

  2. $$\int_{-\infty}^{+\infty} \quad \left(\frac{\sin(\pi a x\pm\pi)}{\pi ax\pm\pi}\right)^2\quad \exp(-bx^2) \,dx$$


share|cite|improve this question
is there anything you want from us? – V-X May 18 '13 at 10:48
try to use function Ei, if you want some help... – V-X May 18 '13 at 10:50
One can use the same idea as in your previous question, except that one has to integrate w.r.t. parameter instead of differentiating. – Start wearing purple May 18 '13 at 10:50
ok..thanks..I tried to solve the second case in the previous question and it turns to be equal to the first case. Is that correct? Now I'll try to do the 0-th moment. – JFNJr May 18 '13 at 10:56
If you need only the answer, I can calculate it with help of Wolfram Mathematica. – Piotr Semenov May 18 '13 at 15:22

I have got the following answers with help of Wolfram Mathematica 8.0:

  1. $\int_{-\infty}^{\infty} \left(\frac{sin(\pi a x)}{\pi a x}\right) e^{-b x^2} dx = \frac1{a^2 \cdot \pi^\frac{3}{2}} \cdot \left( -\sqrt{b} + \sqrt{b} \cdot e^{-\frac{a^2 \cdot \pi^2}{b}} + a \cdot \pi^\frac{3}{2} \cdot \operatorname{Erf}\left( \frac{\pi a}{\sqrt{b }} \right) \right)$ only if $\operatorname{Re}(b) > 0$ and $a \ge 0$, where $\operatorname{Erf}(x) = \frac{2}{\sqrt{\pi}} \cdot \int_0^x e^{-t^2} dt$
  2. Unfortunately, Mathematica falls to evaluate the integral $\int_{-\infty}^{\infty} \left(\frac{sin(\pi a x)}{\pi a x + \pi}\right)^2 e^{-b x^2} dx$

Hope, it helps.

share|cite|improve this answer
Thanks. It helps. – JFNJr May 20 '13 at 13:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.