Fourier transform of a function

Click For Summary

Homework Help Overview

The discussion revolves around finding the Fourier transform of a piecewise function defined as f(x) = 1 - 3|x| for |x| < 2 and 0 for |x| > 2. The second part of the problem involves determining the values of the inverse Fourier transform of the obtained function F(k).

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the calculation of the Fourier transform and the challenges faced in computing the inverse Fourier transform. There are attempts to rearrange equations and clarify notation, particularly regarding the use of delta functions and the implications of discontinuities in the function.

Discussion Status

Some participants have confirmed the correctness of the Fourier transform calculation and are exploring the implications of the inverse transform. There is ongoing dialogue about the treatment of discontinuities and the potential use of the sinc function in the context of the inverse transform.

Contextual Notes

Participants note a potential misunderstanding regarding the definition of the function at x=2, with some suggesting it may not be defined at that point. The discussion includes considerations of how to handle discontinuities in the context of Fourier transforms.

Jalo
Messages
117
Reaction score
0

Homework Statement



a) Find the Fourier transform of the function f(x) defined as:

f(x) = 1-3|x| , |x|<2 and 0 for |x|>2

b) Find the values of the inverse Fourier transform of the function F(k) obtained in a)

Homework Equations



F(k) = \frac{1}{\sqrt{2π}}\int f(t) eikx dx
f(x) = \frac{1}{\sqrt{2π}}\int F(k) e-ikx dk

(Both integrals are from -inf to +inf)

The Attempt at a Solution



I solved the a) and got the result:

F(k) = \frac{1}{\sqrt{2π}}(-\frac{10}{k}sin(2k) - \frac{6}{k^2}cos(2k) + \frac{6}{k^2})

The problem arrises at question b)
If I insert the function F(k) into the formula
f(x) = \frac{1}{\sqrt{2π}}\int F(k) e-ikx dk
I'll get an integral that I can't solve.. I tried inserting the definition of F(k) into the formula above, and I got:

f(x) = \frac{1}{2π}\int dk e-ikx \int dx f(x) eikx

I get stuck here tho... I suspect it has something to do with delta dirac's function, but it is not making much sense in my head right now...

If someone could point me in the right direction I'd appreciate!

Thanks.
 
Physics news on Phys.org
yep, you've got part a) correct. And you've almost finished part b). You just need to slightly rearrange your final equation, and use the definition of the delta dirac, then you will show that the inverse Fourier transform of F is simply f, the equation you started with. Nice work, you're so close now.

Edit: also, your final equation isn't quite right. (Or at least, it is bad notation). You should have two different x variables (the one that gets integrated over, and the one which doesn't). So you should use two different variables, like x and y for example.
 
Ok, rewriting the equation which I had I get:

f(x) = \frac{1}{2π}\int dk e-iky \int dx f(x) eikx =
= \intdx f(x) eikx \frac{1}{2π}\int dk e-iky =
= \intdx f(x) \frac{1}{2π}\intdk e-iky eikx =
= \intdx f(x) \frac{1}{2π}\intdk eik(x-y)

Since \frac{1}{2π}\intdk eik(x-y) is equal to the function f(x) I can conclude that:
\frac{1}{2π}\intdk eik(x-y) = δ(x-y)

And therefore:

f(x) = \intdx f(x) δ(x-y) = f(y)

Is this correct or have I done some illegal step along the way?

If this is correct I still have a little problem. I'm asked the values of the inverse Fourier transform at x=0 and x=2. At x=0 I just need to substitute the value of x, however at x=2 I have a descontinuity point, and the function is not defined, laying between the values of -5 and 0. Should I take the average between those two, as is done with Fourier series descontinuity points?
 
Jalo said:
Ok, rewriting the equation which I had I get:

f(x) = \frac{1}{2π}\int dk e-iky \int dx f(x) eikx =
= \intdx f(x) eikx \frac{1}{2π}\int dk e-iky =
= \intdx f(x) \frac{1}{2π}\intdk e-iky eikx =
= \intdx f(x) \frac{1}{2π}\intdk eik(x-y)

Since \frac{1}{2π}\intdk eik(x-y) is equal to the function f(x) I can conclude that:
\frac{1}{2π}\intdk eik(x-y) = δ(x-y)

And therefore:

f(x) = \intdx f(x) δ(x-y) = f(y)
Almost right. The first line should have had f(y) on the left-hand side, since that is the variable which is not being integrated over on the right-hand side. So that means in your final equation you get f(y)=f(y) :)
 
Jalo said:
If this is correct I still have a little problem. I'm asked the values of the inverse Fourier transform at x=0 and x=2. At x=0 I just need to substitute the value of x, however at x=2 I have a descontinuity point, and the function is not defined, laying between the values of -5 and 0. Should I take the average between those two, as is done with Fourier series descontinuity points?

hmm. The function should have been defined for x=2. Are you sure it didn't have |x|=>2 in the definition ? Well, I think your answer of average of the two nearest points is right, but I am not sure. It looks like they intended for you to explicitly calculate the inverse Fourier transform of F(k). I don't think it should be too tricky. Have you used the sinc function before?
 
BruceW said:
hmm. The function should have been defined for x=2. Are you sure it didn't have |x|=>2 in the definition ? Well, I think your answer of average of the two nearest points is right, but I am not sure. It looks like they intended for you to explicitly calculate the inverse Fourier transform of F(k). I don't think it should be too tricky. Have you used the sinc function before?

Sadly I'm sure it is not defined at x=2 ...
I know that if I integrate the delta dirac function I'll get something involving the sinc function, I don't know what to do with it tho.. I'll still have an integral that I won't be able to solve.
 
hint: wikipedia the sinc function. Its integral is not too difficult when the limits are +- infinity

Edit: another hint because it is quite tricky. I think you need to make use of the fact that the sinc function times by a complex exponential, then integrated over infinity gives a form of the rectangular function. This is the explicit way to find the inverse Fourier transform of the Fourier transform. But the way you have done it already is just as correct. So which way you want to do it depends on which way you would guess the teacher wants you to do it.

another edit: but there is the problem (as you said) of when x=2. So if you want to find this from the inverse Fourier transform, then I think you will need to do it explicitly.
 
Last edited:
BruceW said:
hint: wikipedia the sinc function. Its integral is not too difficult when the limits are +- infinity

Edit: another hint because it is quite tricky. I think you need to make use of the fact that the sinc function times by a complex exponential, then integrated over infinity gives a form of the rectangular function. This is the explicit way to find the inverse Fourier transform of the Fourier transform. But the way you have done it already is just as correct. So which way you want to do it depends on which way you would guess the teacher wants you to do it.

another edit: but there is the problem (as you said) of when x=2. So if you want to find this from the inverse Fourier transform, then I think you will need to do it explicitly.

My professor said the solution was quite simple, so I think it involves delta dirac's function. My only remaining doubt is at x=2. Since the sinc function is delta dirac's function won't the integral of it be equal to 1? I'm not sure how that would help me.
 
Jalo said:
My professor said the solution was quite simple, so I think it involves delta dirac's function. My only remaining doubt is at x=2. Since the sinc function is delta dirac's function won't the integral of it be equal to 1? I'm not sure how that would help me.
The sinc function is not the same as the dirac delta. I am not sure what you mean. We have two different ways to calculate the inverse Fourier transform of the Fourier transform of the given function:
1)simply calculate it for a general function (which is what you have done already), which involves using the definition of the dirac delta function.
2)actually calculating it for the specific function given. And for the specific function, its Fourier transform is a sum of sinc functions. So then you would also need to calculate the inverse Fourier transform of the sum of sinc functions. (Which is not too bad, as long as you know that the transform of a sinc function gives a rectangular function).

Now, by definition, method 1) will give you back the same function that you started with. But method 2) will give a function that is the same except at a few special points. (since the function is discontinuous).

You already guessed that method 2) would give a value at x=2 which is an average of the points around it. I am not sure if this is true, but it sounds plausible. Maybe this is the simple solution which your professor mentioned. Otherwise, I can only think that you are supposed to use method 2), but if you haven't learned about the sinc and rectangular functions, then it seems unlikely that your professor would call this a simple solution.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
938
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 18 ·
Replies
18
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K