Efficient Integration Techniques: Solving the Gaussian Distribution

  • Thread starter Thread starter Bladibla
  • Start date Start date
  • Tags Tags
    Integration
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
Bladibla
Messages
362
Reaction score
1
Hi everyone,

I am new to Physics Forums so please excuse me - I am so embarrassed that I can't do this integral, but its quite urgent and so if anyone here could help me I would be much obliged!

The integral I must carry out is:

[tex]\int_{-\infty}^{\infty}e^{-ax^{2}}\,\text{cos}kx\,dx[/tex]

I already know that the solution is

[tex]\sqrt{\frac{\pi}{a}}e^{-k^{2}/4a}[/tex]

But the task is to find out how one can get to this answer...I think the hint is in:

[tex]\int_{-\infty}^{\infty}e^{-ax^{2}}\,dx =\sqrt{\frac{\pi}{a}}[/tex]

which is from the standard Gaussian distribution.

Any information would be much appreciated!

Thank you,
Bladibla.
 
Physics news on Phys.org
Try integration by parts, twice.
 
Hi zhermes, could you please be a little more specific? Thanks!
 
zhermes said:
Try integration by parts, twice.

That's not it. What you want to do is write cos(kx)=(e^(ikx)+e^(-ikx))/2. Combine the exponentials. You get integrands like exp(-a*(x^2+i*x*k/a)), right? You can complete the square and change variables.
 
Hi Dick,

Thank you so much!

Warm regards,
Bladibla.