Koldstream
- 8
- 0
Homework Statement
This is an example provided by my lecturer in his notes. He puts practically zero working in.
When i work the problem through i do not get the same answer as he does.
In this section i have copied the exact text from the problem:
Find the Fourier transform of cos(x). Your answer will include delta functions
We shall use the definition \delta(k)=\int\limits_\infty^\infty dx \ e^{ikx}
and
\delta(k)=\delta(-k)
he then simply writes:
Fourier[cos(x)]=\frac{1}{\sqrt{2\pi}}\int\limits_\infty^\infty dx \ e^{-ikx}\ \frac{e^{ix}+e^{-ix}}{2}=\sqrt{\frac{\pi}{2}}\left[\delta(k-1)+\delta(k+1)\right]
As you can imagine this makes me very irritated so I start to solve it myself
Homework Equations
Fourier[f(x)]=\frac{1}{\sqrt{2\pi}}\int\limits_\infty^\infty dx \ e^{-ikx}\ f(x)
\delta(k)=\int\limits_\infty^\infty dx \ e^{ikx}
The Attempt at a Solution
So i work it through line by line:
Fourier[cos(x)]=\frac{1}{\sqrt{2\pi}}\int\limits_\infty^\infty dx \ e^{-ikx}\ \frac{e^{ix}+e^{-ix}}{2}
Fourier[cos(x)]=\frac{1}{2\sqrt{2\pi}}\int\limits_\infty^\infty dx \ e^{-ikx}\left(\ e^{ix}+e^{-ix}\right)
Fourier[cos(x)]=\frac{1}{2\sqrt{2\pi}}\int\limits_\infty^\infty dx \ e^{-ikx+ix}+e^{-ikx-ix}
Fourier[cos(x)]=\frac{1}{2\sqrt{2\pi}}\int\limits_\infty^\infty dx \ e^{ix(-k+1)}+e^{ix(-k-1)}
Fourier[cos(x)]=\frac{1}{2\sqrt{2\pi}}\int\limits_\infty^\infty dx \ e^{ix(-k+1)}+\frac{1}{2\sqrt{2\pi}}\int\limits_\infty^\infty dx \e^{ix(-k-1)}
now recognise
\delta(k)=\int\limits_\infty^\infty dx \ e^{ikx}
can be used. However the definition for the Fourier transform shows that the constant should be:
\frac{1}{2\pi}
therefore we need a constant such that \frac{1}{2\sqrt{2\pi}}*x=\frac{1}{2\pi}
this implies x = \frac{2}{\sqrt{2\pi}}
this leads to:
Fourier[cos(x)]=\frac{1}{2\sqrt{2\pi}}x\frac{2}{\sqrt{2\pi}}\ \delta(-k+1)+\frac{1}{2\sqrt{2\pi}}x\frac{2}{\sqrt{2\pi}}\ \delta(-k-1)
Fourier[cos(x)]=\frac{1}{2\pi}\ \delta(-k+1)+\frac{1}{2\pi}}\ \delta(-k-1)
then recognise \delta(k)=\delta(-k)
Fourier[cos(x)]=\frac{1}{2\pi}\ \delta(k-1)+\frac{1}{2\pi}}\ \delta(k+1)
This is of course not:
<br /> Fourier[cos(x)]=\sqrt{\frac{\pi}{2}}\left[\delta(k-1)+\delta(k+1)\right]<br />
The constant is incorrect.
I am certain that he is correct and that I am wrong.
Why have I got it wrong?
Thanks very much for your time.