MHB Fourier transform of a gaussian

AI Thread Summary
The discussion revolves around applying the Fourier transform to a Gaussian function, specifically \(f(x)=\frac{1}{\sqrt{a\sqrt{\pi}}}e^{ik_ox}e^{-\frac{x^2}{2a^2}}\). The user struggles with integrating the resulting expression after completing the square in the exponent, leading to the integral \(g(k)=\frac{1}{\sqrt{2\pi{a}\sqrt{\pi}}}\int_{-\infty}^{\infty}exp[-(\frac{x}{\sqrt{2}a}-\frac{i\sqrt{2}a}{2}(k_o-k))^2]dx\). Guidance is provided on using known integral results and substitutions to simplify the integration process. Ultimately, the correct result for the Fourier transform is confirmed as \(g(k)=\sqrt{\frac{a}{\sqrt{\pi}}}e^{-\frac{(k_o-k)^2a^2}{2}}\). This showcases the importance of completing the square and using integral properties in solving Fourier transforms of Gaussian functions.
skate_nerd
Messages
174
Reaction score
0
I'm given a Gaussian function to apply a Fourier transform to.
$$f(x)=\frac{1}{\sqrt{a\sqrt{\pi}}}e^{ik_ox}e^{-\frac{x^2}{2a^2}}$$
Not the most appetizing integral...
$$g(k)=\frac{1}{\sqrt{2\pi}}\frac{1}{\sqrt{a\sqrt{\pi}}}\int_{-\infty}^{\infty}e^{ik_ox}e^{-\frac{x^2}{2a^2}}e^{-ikx}dx$$
$$=\frac{1}{\sqrt{2\pi{a}\sqrt{\pi}}}\int_{-\infty}^{\infty}exp[-\frac{x^2}{2a^2}+i(k_o-k)x]dx$$
I don't really want to write out the whole process, but I multiplied this expression by
$$\frac{e^{A^2(k_o-k)^2}}{e^{A^2(k_o-k)^2}}$$
and then I found \(A\) in order to complete the square in the exponent inside the integrand,
$$A=-\frac{i\sqrt{2}a}{2}$$
So I now have the integral
$$g(k)=\frac{1}{\sqrt{2\pi{a}\sqrt{\pi}}}e^{-\frac{a^2}{2}(k_o-k)^2}\int_{-\infty}^{\infty}exp[-(\frac{x}{\sqrt{2}a}-\frac{i\sqrt{2}a}{2}(k_o-k))^2]dx$$
But this is where I get stuck. I don't really understand how to integrate this expression. I learned from my lecture that this whole completing the square process is how we simplify the integrand, but I am iffy on the process after this point. Any hints in the right direction would be nice. (Also there is definitely a chance that this integrand isn't quite correct. There is a lot of room for error to arrive at this point, though I did check my work multiple times)
 
Last edited:
Mathematics news on Phys.org
Re: Fourier transform of a gaussian

Also, it may help to know that I am supposed to verify that the result is
$$g(k)=\sqrt{\frac{a}{\sqrt{\pi}}}e^{-\frac{(k_o-k)^2a^2}{2}}$$
 
Re: Fourier transform of a gaussian

skatenerd said:
I'm given a Gaussian function to apply a Fourier transform to.
$$f(x)=\frac{1}{\sqrt{a\sqrt{\pi}}}e^{ik_ox}e^{-\frac{x^2}{2a^2}}$$
Not the most appetizing integral...
$$g(k)=\frac{1}{\sqrt{2\pi}}\frac{1}{\sqrt{a\sqrt{\pi}}}\int_{-\infty}^{\infty}e^{ik_ox}e^{-\frac{x^2}{2a^2}}e^{-ikx}dx$$
$$=\frac{1}{\sqrt{2\pi{a}\sqrt{\pi}}}\int_{-\infty}^{\infty}exp[-\frac{x^2}{2a^2}+i(k_o-k)x]dx$$
I don't really want to write out the whole process, but I multiplied this expression by
$$\frac{e^{A^2(k_o-k)^2}}{e^{A^2(k_o-k)^2}}$$
and then I found \(A\) in order to complete the square in the exponent inside the integrand,
$$A=-\frac{i\sqrt{2}a}{2}$$
So I now have the integral
$$g(k)=\frac{1}{\sqrt{2\pi{a}\sqrt{\pi}}}\int_{-\infty}^{\infty}exp[-(\frac{x}{\sqrt{2}a}-\frac{i\sqrt{2}a}{2}(k_o-k))^2]dx$$
But this is where I get stuck. I don't really understand how to integrate this expression. I learned from my lecture that this whole completing the square process is how we simplify the integrand, but I am iffy on the process after this point. Any hints in the right direction would be nice. (Also there is definitely a chance that this integrand isn't quite correct. There is a lot of room for error to arrive at this point, though I did check my work multiple times)

I would probably set it up this way.

You're given that $f(x) = \dfrac{1}{\sqrt{a\sqrt{\pi}}} \exp(ik_ox) \exp\left(-\dfrac{x^2}{2a^2}\right) = \dfrac{1}{\sqrt{a\sqrt{\pi}}} \exp\left(-\dfrac{x^2}{2a^2} + ik_o x\right)$.

The integral formula you use to compute $g(k)$ is the one that restores the symmetry of the Fourier transform and it's inverse. So, using that formula, we have that

\[\begin{aligned}g(k) &= \frac{1}{\sqrt{2\pi}} \int_{-\infty}^{\infty} f(x) \exp(-ikx)\,dx \\ &= \frac{1}{\sqrt{2\pi a\sqrt{\pi}}} \int_{-\infty}^{\infty} \exp\left(-\dfrac{x^2}{2a^2} -i(k-k_o)x\right)\,dx \\ &= \frac{1}{\sqrt{2\pi a\sqrt{\pi}}} \int_{-\infty}^{\infty}\exp\left(-\frac{x^2}{2a^2}\right) \exp\left(-i(k-k_o)x\right) \\ &= \frac{1}{\sqrt{2\pi a\sqrt{\pi}}}\left[ \int_{-\infty}^{\infty}\exp\left(-\frac{x^2}{2a^2}\right) \cos\left((k-k_o)x\right)\,dx - \underbrace{i\int_{-\infty}^{\infty} \exp\left(-\frac{x^2}{2a^2}\right) \sin\left( (k-k_o)x\right)\,dx}_{ =0\text{ since integrand is odd.}}\right] \\ &= \frac{1}{\sqrt{2\pi a\sqrt{\pi}}} \int_{-\infty}^{\infty} \exp\left(-\frac{x^2}{2a^2}\right) \cos\left((k-k_o)x\right)\,dx \end{aligned}\]

Now, I'm going to cheat a little bit (because I don't want to evaluate that integral; if someone wants to fill in the details of that integration, I'd be intrigued to see how it would be done). Anyways, due to Abramowitz and Stegun, we know that

\[\int_{-\infty}^{\infty} e^{-bx^2}\cos(2\pi y x)\,dx = \sqrt{\frac{\pi}{b}} \exp\left(-\frac{\pi^2 y^2}{b}\right).\]

To apply this formula, take $b=\dfrac{1}{2a^2}$ and $y=\dfrac{k-k_o}{2\pi}$.

Thus,

\[\begin{aligned}\frac{1}{\sqrt{2\pi a\sqrt{\pi}}} \int_{-\infty}^{\infty} \exp\left(-\frac{x^2}{2a^2}\right) \cos\left((k-k_o)x\right)\,dx &= \frac{1}{\sqrt{2\pi a\sqrt{\pi}}} \cdot \sqrt{2\pi a^2}\exp\left(-\frac{2a^2\pi^2 (k-k_o)^2}{4\pi^2}\right) \\ &= \sqrt{\frac{a}{\sqrt{\pi}}} \exp\left(-\frac{a^2(k-k_o)^2}{2}\right)\end{aligned}\]

and therefore

\[g(k) = \sqrt{\frac{a}{\sqrt{\pi}}} \exp\left(-\frac{a^2(k-k_o)^2}{2}\right).\]

(Whew)

I'm actually kind of glad to see that this matches up with the answer you're supposed to get. (Nod)

I hope this makes sense!
 
Re: Fourier transform of a gaussian

skatenerd said:
So I now have the integral
$$g(k)=\frac{1}{\sqrt{2\pi{a}\sqrt{\pi}}}\int_{-\infty}^{\infty}exp[-(\frac{x}{\sqrt{2}a}-\frac{i\sqrt{2}a}{2}(k_o-k))^2]dx$$
But this is where I get stuck. I don't really understand how to integrate this expression. I learned from my lecture that this whole completing the square process is how we simplify the integrand, but I am iffy on the process after this point. Any hints in the right direction would be nice. (Also there is definitely a chance that this integrand isn't quite correct. There is a lot of room for error to arrive at this point, though I did check my work multiple times)

I think you're supposed to use that:
$$\int_{-\infty}^{\infty} e^{-u^2} du = \sqrt{\pi}$$

To get to the point that you can, use the substitution:
$$u = \frac{x}{\sqrt{2}a}-\frac{i\sqrt{2}a}{2}(k_o-k)$$
 
@Chris L T521:
That's an interesting and impressive solution you got there...I appreciate you going through all that. However I think since I already went through all the trouble of the method with completing the square inside the exponent and finding the constant I needed and all that I will go with I Like Serena's method.
Pretty much that substitution was all I needed to get to the answer. It was smooth sailing from that point. Thanks for all the help you guys! Such a cool problem in the end.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top