Why Do Cosine and Sine Waves Have Different Fourier Transforms?

  • Thread starter Thread starter frenzal_dude
  • Start date Start date
  • Tags Tags
    Cos Frequency Sin
Click For Summary
SUMMARY

The discussion clarifies the differences in Fourier Transforms between cosine and sine waves, specifically addressing their amplitude and phase characteristics. The cosine wave has an impulse at frequency Fc with an amplitude of 1, while the sine wave has an impulse at the same frequency with an amplitude of 1/j, indicating a phase shift. The magnitude of the Fourier Transform remains constant, but the phase varies, which is essential for distinguishing between the two waveforms. The conversation also highlights the implications of using different definitions for the Fourier Transform, particularly in relation to the Dirac delta function.

PREREQUISITES
  • Understanding of Fourier Transform properties
  • Familiarity with complex numbers and their representation
  • Knowledge of Dirac delta functions and impulse response
  • Experience with Mathematica or similar computational tools for signal analysis
NEXT STEPS
  • Explore the translation property of Fourier Transforms in detail
  • Learn about the implications of phase shifts in signal processing
  • Investigate the definitions and applications of Dirac delta functions in Fourier analysis
  • Practice using Mathematica for computing Fourier Transforms of various signals
USEFUL FOR

Signal processing engineers, physicists, and students studying Fourier analysis will benefit from this discussion, particularly those interested in the mathematical distinctions between sine and cosine waveforms in frequency domain analysis.

frenzal_dude
Messages
76
Reaction score
0
Hi, if cosine and sine waves are exactly the same wave except cosine starts earlier in time, why do they have different Fourier Transforms? I know the cos would have an impulse at f=Fc with amplitude of 1, and sin would have an impulse at f=Fc and amplitude of 1/j. I don't understand why the amplitude of the sine goes complex in the amplitude spectrum just from having a different phase.

Hope you guys can explain it to me :)
Dave
 
Engineering news on Phys.org
frenzal_dude said:
Hi, if cosine and sine waves are exactly the same wave except cosine starts earlier in time, why do they have different Fourier Transforms? I know the cos would have an impulse at f=Fc with amplitude of 1, and sin would have an impulse at f=Fc and amplitude of 1/j. I don't understand why the amplitude of the sine goes complex in the amplitude spectrum just from having a different phase.

Hope you guys can explain it to me :)
Dave

The MAGNITUDE of the Fourier Transform (|F(w)|) remains the same. The phase is what changes, according to the translation property:
http://en.wikipedia.org/wiki/Fourier_transform#Basic_properties

You can try this for yourself when you compare the Fourier transform of cos(x-pi/2) with the transform of sin(x), realizing that they have exactly the same graph.

When you say the amplitude changes (by a factor of j) realize that the magnitude hasn't changed, but phase has.
 
From a heuristic point of view, a Fourier transform is invertible; there is no information lost. The Fourier transform of a Fourier transform returns the original function (or is it the negative of it?) Something has to encode phase information to distinguish cos from sin. As phi increases from 0 to 2pi the amplitude of cos(x+phi) rotates through the complex plane.
 
So basically if you take the FT of sin(2piFct) you'd get 2 impulses, one at f=-Fc with amplitude of -1/(2j), and one at f=Fc with amplitude +1/(2j).

So in the single sided spectrum you'd get an impulse with f=Fc and magnitude 1/j.

Does this mean that the amplitude is actually 1, but with a phase of pi/2 (because 1/j is on the +ve imaginary axis which corresponds to pi/2)?

But what if you multiply 1/j by j/j, you'd end up with -j which would then mean you have an amplitude of 1 with a phase of 3pi/2 because it's now on the -ve imaginary axis?
 
Wait I think I get it now. So if you take the FT of sin(2piFct) you can see from the frequency domain that your function is made up of one Cosine with a frequency of f=Fc, and with an amplitude of 1, and with a phase of pi/2 or 3pi/2 (since cos(pi/2)=cos(3pi/2)=0).
 
Yes, 1/j = -j.

Rather than trust memory, I used Mathematica which came up with the following:

The transform of sin(2pi Fc t) has an amplitude of j sqrt(pi/2) DiracDelta at f=Fc,
The amplitude is -j sqrt(pi/2) DiracDelta at f=-Fc, where Fc is positive, real.

Essentially you're in agreement. Your phases agree. I don't what a unit impulse amplitude should be.

To establish a unit impulse you might use

FourierTransform[Exp(-j t omega)= Sqrt(2/pi) DiracDelta(omega-1),

or you may already using something different.
 
For your double sided spectrum, how did you get -j sqrt(pi/2) at f=-Fc. Isn't the amplitude just -1/(2j) (from Euler's Formula) ?
 
A Fourier transform can be defined in several ways. The choice of definition effects the amplitude. Mathematica uses

F(omega) = 1/(Sqrt[2pi]) Integral[f(t)ej omega t] dt

This is why I was questioning what a unit impulse was in your definition.
 
ahk, that's a bit different to what we got taught in Signal Theory.
Here's the formula we use:

<br /> G(f)=\int_{-\infty}^{\infty }g(t)e^{-j2\pi ft}dt

A unit impulse (from what my lecturer says) is just a straight line with amplitude of 1 at a certain frequency Fc.
 
  • #10
frenzal_dude said:
ahk, that's a bit different to what we got taught in Signal Theory.
Here's the formula we use:

<br /> G(f)=\int_{-\infty}^{\infty }g(t)e^{-j2\pi ft}dt

A unit impulse (from what my lecturer says) is just a straight line with amplitude of 1 at a certain frequency Fc.

OK. I errored and left the negative sign out of the exponent by the way. omega = 2 pi F, so that is unchanged.

The unit amplitude should be a scaled Dirac delta function. A Dirac delta function has unit area and zero width. So a pure sine wave has "infinite amplitude". Normalizing this to one doesn't make a lot of sense to me unless you are only dealing with linear combinations of sine waves. Talk to your lecturer about this.
 
  • #11
This is something my lecturer couldn't even explain. Apparantely a dirac delta function aka unit impulse, has infinite amplitude and 0 width, with unit area.

So why do they talk about sin and cos functions having a frequency content with 2 impulse functions with a height of 1/2 or 1/(2j) when the height has to be infinite?
 
  • #12
Let's look at the impulse areas instead. In your units each impulse has an area of one half. The total area is one.

|j/2| Integral[Dirac Delta] + |-j/2| Integral[Dirac Delta]

The integral is taken over all frequencies.
 

Similar threads

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