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

How can I calculate the integral: $$\int_{-\infty}^{+\infty}e^{-\frac{(x-a)^2}{0.01}}\cos(bx)dx$$ I can not find in the references. Excuse my bad English.

share|cite|improve this question
You could expand the cosine in a Taylor series around $x=a$... – Fabian Oct 19 '12 at 16:21
up vote 5 down vote accepted


$$ \cos(bx)=\frac12\left(\mathrm e^{\mathrm ibx}+\mathrm e^{-\mathrm ibx}\right)\;, $$

the integrand becomes the sum of two Gaussians with complex exponents, whose integrals can be evaluated like this.

share|cite|improve this answer

A reference is Rudin, Principles of mathematical analysis, Example 9.43. Here the integral $$ \int_{-\infty}^{\infty}e^{-x^2}\cos(xt)\,dx $$ is calculated using the theory of ordinary differential equations. The integral is $$ \sqrt{\pi}\exp\left(-\frac{t^2}{4} \right). $$ (Hint) In your integral after introducing new variable you should calculate $$ \int_{-\infty}^{\infty}e^{-z^2}\cos(cz)\,dz $$ and $$ \int_{-\infty}^{\infty}e^{-z^2}\sin(cz)\,dz. $$

share|cite|improve this answer

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.