Not strictly a physics question, anyone good at Fourier Transforms?

  • Thread starter Thread starter Chowie
  • Start date Start date
  • Tags Tags
    Fourier Physics
Chowie
Messages
24
Reaction score
0

Homework Statement


7NeLc.png



Homework Equations



7JlxA.png


The Attempt at a Solution



To be perfectly honest I have not attempted a solution thus far, my knowledge of the Fourier transform is quite limited at the moment. I understand that I can use the above equation but what I want to know is if I can compute the transform for each step and then add them all together to create the final transform?

TLDR: Can i add the transform of each step to form the final transform?
 
Physics news on Phys.org
yes
when you integrate over the piecewise f that's pretty much what you're doing anyway

F[\omega]=\int_{-\infty}^{\infty} f[t]e^{i \omega x}dt

just becomes;

F[\omega]=A \int_{-2 \tau}^{- \tau} e^{i \omega x}dt + 2 A\int_{- \tau}^{\tau} e^{i \omega x}dt + A \int_{\tau}^{2\tau} e^{i \omega x}dt

which is what you'd get if you just added up each step

at least that's how I'd see it, I haven't spent much time looking at Fourier transforms myself
 
Just break the interval of integration [-2t,2t] up into three pieces where f(t) is nonzero.
 
The Fourier transform is linear, so you can treat the total signal as the sum of several step pulses and add their frequency responses after taking the FT.
 
No, you should break it into 2 signals and add them together to get the signal you have. These two signals have a sinc function as their Fourier transform.
 
That's what I have written down on my page right now pretty much, except my i's are negative.

I get the first integral in the second equation you've written to be = \frac{A}{i\omega}(e^{2i\omega\tau} - e^{i\omega\tau}

Do you think this is correct? I can't see a way to reduce that to a sine function yet but i'll work on the rest.
 
Wait I'm confused, LCKurtz says break into 3 but Dickfore says break it into 2 signals?

I've already broken it into three signals and I'm working on that, unless you can expand on your reason as to why that's a bad idea.
 
Because 3 signals would be asymertic w.r.t. t = 0 and you will need to do a F.T. on 3 different things. With 2, they are both symmetric w.r.t. t = 0 and you apply the same F.T. twice.
 
Again, FT is linear so you can break it however you want. The most obvious ways are to break it into 3 pulses -2τ to -τ (A), -τ to τ (2A), and τ to 2τ (A) or add 2 pulses -2τ to 2τ (A) to -τ to τ (A).
 
  • #10
Chowie said:
Wait I'm confused, LCKurtz says break into 3 but Dickfore says break it into 2 signals?

I've already broken it into three signals and I'm working on that, unless you can expand on your reason as to why that's a bad idea.

Both methods work. Dick is suggesting you can save a little work by using symmetry.
 
  • #11
Ah ok, so splitting it into 2 signals isn't immediately simpler as I have to find f(t) from -2tau to 0 but once I have this function and I have applied the F.T to it, it's symmetric and therefore simpler?

hmm... I'm going to work on the more obvious method of 3 transforms as I don't know what f(t) would be from -2tau to 0.
 
  • #12
I would recommend (as this problem seems geared towards a beginner) just defining f(t) explicitly in terms of a mathematical expression (it will involve Heaviside step functions) and then simply plug it in the integral and do the integral. People who try to take conceptual shortcuts get themselves in trouble unless they really know what they are doing. I tell my students to get good at the rigorous, formulaic approach before they start taking conceptual shortcuts.
 
  • #13
Chowie said:
That's what I have written down on my page right now pretty much, except my i's are negative.

I get the first integral in the second equation you've written to be = \frac{A}{i\omega}(e^{2i\omega\tau} - e^{i\omega\tau}

Do you think this is correct? I can't see a way to reduce that to a sine function yet but i'll work on the rest.

The sign of the i doesn't really matter since everything is symmetric, but I did actually mean to put a minus sign there, it was a typo, so is the x in the exponent instead of the t..

anyway, I just did the integration myself and got

\frac{i A e^{-i \tau \omega }}{\omega }-\frac{i A e^{i \tau \omega }}{\omega }+\frac{i A e^{-2 i \tau \omega }}{\omega }-\frac{i A e^{2 i \tau \omega }}{\omega }

and if I'm not mistaken this should go into sins, and you'll have to add your sqrt 2 pi back in also and that should be you sorted
 
  • #14
genericusrnme said:
The sign of the i doesn't really matter since everything is symmetric, but I did actually mean to put a minus sign there, it was a typo, so is the x in the exponent instead of the t..

anyway, I just did the integration myself and got

\frac{i A e^{-i \tau \omega }}{\omega }-\frac{i A e^{i \tau \omega }}{\omega }+\frac{i A e^{-2 i \tau \omega }}{\omega }-\frac{i A e^{2 i \tau \omega }}{\omega }

and if I'm not mistaken this should go into sins, and you'll have to add your sqrt 2 pi back in also and that should be you sorted

I have a very similar result generic; except that my i's are on the denominator (which is just as mathematically sound as your result)

The identity given to me for transforming exponentials into sine functions is:

sin(A) = \frac{1}{2i}(e^{iA}-e^{-iA})

I'm just trying to work out how to apply that to what you and I have, I'll put my result below for comparison:

F(\omega) = \frac{A}{i \omega sqrt{2\pi}}(e^{2 i \omega \tau}-e^{-2 i \omega \tau}) + \frac{A}{i \omega sqrt{2\pi}}(e^{i \omega \tau}-e^{- i \omega \tau})[\itex]<br /> <br /> It should just fall out into the answer provided, so I&#039;m not too worried at this point.<br /> <br /> Thanks a lot for all the help provided so far everyone, the discussion of different techniques has been quite enlightening.
 
  • #15
I can't seem to find the edit button so I've corrected my slashes in this post:

F(\omega) = \frac{A}{i \omega \sqrt{2\pi}}(e^{2 i \omega \tau}-e^{-2 i \omega \tau}) + \frac{A}{i \omega \sqrt{2\pi}}(e^{i \omega \tau}-e^{- i \omega \tau})
 
  • #16
Chowie said:
I can't seem to find the edit button so I've corrected my slashes in this post:

F(\omega) = \frac{A}{i \omega \sqrt{2\pi}}(e^{2 i \omega \tau}-e^{-2 i \omega \tau}) + \frac{A}{i \omega \sqrt{2\pi}}(e^{i \omega \tau}-e^{- i \omega \tau})

if you use the fact that 1/i = -i you can find what I had
\frac{A}{\sqrt{2 \pi }\omega }\left(i\text{ }e^{-i \tau \omega }-i e^{i \tau \omega }+i\text{ }e^{-2 i \tau \omega }-i\text{ }e^{2 i \tau \omega }\right)

then you use the fact that e^{-i \tau \omega }=cos(\tau \omega) - i sin(\tau \omega)
and then since cos is symmetric the cos parts in \frac{i A e^{-i \tau \omega }}{\omega }-\frac{i A e^{i \tau \omega }}{\omega } go away leaving you with 2 sins, you then do the same for the e^2 parts and you should get the result you're looking for
 
  • #17
I used the identity:
\frac{1}{i}(e^{i\omega\tau}-e^{-i\omega\tau}) = 2 sin(\omega \tau)

instead of the one you provided because it seemed to just cut out dealing with cosine terms altogether.

this left me with:

F(\omega) = \frac{2A\tau}{\sqrt{\omega\tau}} ( \frac{sin(2\omega\tau)}{2\omega\tau} + \frac{sin(\omega\tau)}{\omega\tau})

When comparing this to the final solution it seems I have lost the 2 that should go before the sin(2\omega\tau) term. I haven't provided my full working so no one will be able to see where I have gone wrong, but does this happen for your solution? I thought they were identical.
 
  • #18
Chowie said:
I used the identity:
\frac{1}{i}(e^{i\omega\tau}-e^{-i\omega\tau}) = 2 sin(\omega \tau)

instead of the one you provided because it seemed to just cut out dealing with cosine terms altogether.

this left me with:

F(\omega) = \frac{2A\tau}{\sqrt{\omega\tau}} ( \frac{sin(2\omega\tau)}{2\omega\tau} + \frac{sin(\omega\tau)}{\omega\tau})

When comparing this to the final solution it seems I have lost the 2 that should go before the sin(2\omega\tau) term. I haven't provided my full working so no one will be able to see where I have gone wrong, but does this happen for your solution? I thought they were identical.

yeah, it happened here too..
could it just be a typo?
I'm not sure where that extra 2 could come from
 
  • #19
I don't think it is, I haven't received any emails about it so I doubt so.

My friend is working on the same piece at the moment so we'll see if he gets the same apparent error as us and then I'll start thinking it could be a typo.
 
  • #20
it seems the solution given is just confusing, as the 2s should cancel but they have both been written in. There needs to be that extra 2 there for the simplification to be valid, what we have written does not simplify to what we once had.

If that makes any sense.
 
  • #21
I haven't taken the time to work this problem out, but I assume you are aware that different authors do different things with the 1/(2π), splitting it up different ways between the transform and its inverse. Might that account for your missing 2?
 
  • #22
LCKurtz said:
I haven't taken the time to work this problem out, but I assume you are aware that different authors do different things with the 1/(2π), splitting it up different ways between the transform and its inverse. Might that account for your missing 2?

It was pretty much this, turns out I had missed out the 2 in the final answer as it just didn't seem to go there, but it is necessary for the solution to be simplified in that way.

Thanks a bunch for all the support y'all have shown, much appreciated.
 
Back
Top