Fourier transform of cos x the answer involves δ functions

Click For Summary

Homework Help Overview

The discussion revolves around finding the Fourier transform of the function cos(x), specifically addressing the inclusion of delta functions in the result. The original poster expresses frustration over discrepancies between their calculations and those presented by their lecturer, who provides minimal working steps.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to derive the Fourier transform step-by-step but questions the correctness of their constant factor compared to the lecturer's result. Other participants raise concerns about the definitions of the delta function and the Fourier transform, suggesting that different conventions may affect the outcome.

Discussion Status

Participants are actively engaging with the problem, questioning assumptions about the definitions and constants involved in the Fourier transform and delta function. Some have offered clarifications regarding the normalization factors, while others express uncertainty about the implications of these definitions on the calculations.

Contextual Notes

There is an ongoing discussion about the conventions used in defining the Fourier transform and the delta function, which may lead to different results. The original poster acknowledges their confusion and seeks clarification on the discrepancies in the constants used.

Koldstream
Messages
8
Reaction score
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.
 
Physics news on Phys.org
I don't have time to look at your work, now, other than to notice that infinity is both the lower and upper limit of integration for all your integrals. I'll try to take a closer look later today.
 
it looks at first like if your definition of dirac delta were true, then the coefficients would remain unaltered simply by direct substitution. please clarify why I'm seeing this incorrectly, since my Fourier analysis isn't very good.

you remain unstated what the actual definition of the Fourier transform that says that the coefficient must be 1/2pi.

presumably, if there is no normalizing factor, then you just multiply and divide by 2pi/2pi and the 1/2pi goes into the evaluating the integral with the remaining 2pi/1 as a coefficient. this with the original coefficient should give you sqrt(pi/2), right?
 
I think the definition of the delta function should be

\delta(x)=\frac{1}{2\pi}\int_{-\infty}^{\infty}e^{ikx}\,dx

With the Fourier transform, you have different conventions for where the constants go, but I don't think you have that with the delta function. That factor in the front needs to be there.

EDIT:

The Fourier transform of the delta function is:

F[\delta(x)] = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} \delta(x)e^{-ikx}\,dx = \frac{1}{\sqrt{2\pi}}

so its inverse is

\delta(x) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} F[\delta(x)]e^{ikx}\,dk = \frac{1}{2\pi}\int_{-\infty}^{\infty} e^{ikx}\,dk
 
Last edited:
Thanks for your replies everyone :)

vela said:
I think the definition of the delta function should be

\delta(x)=\frac{1}{2\pi}\int_{-\infty}^{\infty}e^{ikx}\,dx

With the Fourier transform, you have different conventions for where the constants go, but I don't think you have that with the delta function. That factor in the front needs to be there.

EDIT:

The Fourier transform of the delta function is:

F[\delta(x)] = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} \delta(x)e^{-ikx}\,dx = \frac{1}{\sqrt{2\pi}}

so its inverse is

\delta(x) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} F[\delta(x)]e^{ikx}\,dk = \frac{1}{2\pi}\int_{-\infty}^{\infty} e^{ikx}\,dk

You are correct that is the definition of the delta function sorry about that.

I still don't understand how he gets that though.

@Xaos: I'm sorry I'm not sure i understand you :(
 
sorry i don't know latex so well.

if delta=1/2pi*int(exp(ikx))
then int(exp(ikx))=2pi/2pi*int(exp(ikx))=2pi*delta.

but if you have 1/2sqrt(2pi)*int(exp(ikx)), then
1/2sqrt(2pi)*int(exp(ikx))=1/2sqrt(2pi)*2pi/2pi*int(exp(ikx))=2pi/2sqrt(2pi)*delta
and this is = sqrt(pi/2)delta which is what you want.
 
Last edited:
xaos said:
sorry i don't know latex so well.

if delta=1/2pi*int(exp(ikx))
then int(exp(ikx))=2pi/2pi*int(exp(ikx))=2pi*delta.

but if you have 1/2sqrt(2pi)*int(exp(ikx)), then
1/2sqrt(2pi)*int(exp(ikx))=1/2sqrt(2pi)*2pi/2pi*int(exp(ikx))=2pi/2sqrt(2pi)*delta
and this is = sqrt(pi/2)delta which is what you want.

legendary. Thanks Xaos :)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
5
Views
2K