Fourier coefficients of cos(4πt)

Click For Summary
SUMMARY

The forum discussion centers on calculating the Fourier coefficients of the continuous time signal x(t) = cos(4πt) with a fundamental period of T = 1/2. The user initially computes the coefficients using the formula a_{k} = (1/T) ∫ x(t)e^{-jω₀kt} dt, resulting in a value of 0, which contradicts the textbook's assertion that a_{1} = a_{-1} = 1/2. The confusion arises from the need to apply Euler's formula, leading to the correct coefficients. The discussion emphasizes the importance of recognizing the properties of trigonometric functions in Fourier analysis.

PREREQUISITES
  • Understanding of Fourier Series and Fourier Transform concepts
  • Familiarity with Euler's formula in complex analysis
  • Knowledge of integration techniques in calculus
  • Basic understanding of complex exponentials and their applications in signal processing
NEXT STEPS
  • Study the derivation of Fourier coefficients for different types of signals
  • Learn about the application of Euler's formula in Fourier analysis
  • Explore the differences between trigonometric and complex Fourier series
  • Practice solving Fourier series problems using various integration techniques
USEFUL FOR

Students studying signal processing, electrical engineering, or applied mathematics, particularly those focusing on Fourier analysis and its applications in continuous time signals.

Jncik
Messages
95
Reaction score
0

Homework Statement


suppose that we have the continuous time signal

x(t) = cos(4πt) with fundamental period of T=1/2

Homework Equations



a_{k} = \frac{1}{T} \int_{T}{}x(t)e^{-j\omega_{0}kt}dt

where \omega_{0} is obviously \frac{2\pi}{1/2} = 4\pi

well the problem is that this integration becomes

<br /> a_{k} = \frac{1}{T} \int_{T}{}x(t)e^{-j\omega_{0}kt}dt =<br /> 2\int_{0}^{\frac{1}{2}}cos(4 \pi t)e^{-j4 \pi kt}dt=<br /> ...=0<br />

I find as a result 0, the calculation is complicated but using wolfram alpha's calculator I have the same result

here is the picture

[PLAIN]http://img52.imageshack.us/img52/6729/36554157.gif

as you can see

we have

1 - e^{-2\pi j k} = 1 - ( cos(2\pi k) - jsin(2\pi k)) = 1 - 1 = 0

hence it must be 0
now my book says the following

The nonzero FS coefficients of x(t) are a_{1} = a_{-1} = 1/2

but I have 0 as a result, and if I plug 1 or -1 I will get 0 again, what's wrong here?

thanks in advance
 
Last edited by a moderator:
Physics news on Phys.org
Hi Jncik! :smile:

πj212 + π = πj2(-1)2 + π = 0 :wink:
 
thanks tiny-tim, I didn't notice that :)
 
And the numerator is 0 also, giving an indeterminate form. You can best see the problem if you calculate the sine/cosine coefficients. You will see that the integrals for an and bn have a different form when n = 1, requiring a separate and easier integration. If you work out the complicated formulas for other n and plug n = 1 in those answers, you will get the same of indeterminate answer.
 
LCKurtz said:
And the numerator is 0 also, giving an indeterminate form. You can best see the problem if you calculate the sine/cosine coefficients. You will see that the integrals for an and bn have a different form when n = 1, requiring a separate and easier integration. If you work out the complicated formulas for other n and plug n = 1 in those answers, you will get the same of indeterminate answer.

thanks what I did for n = 1 first I tried to find out the result using the integration but I used these two formulas

2\int_{0}^{\frac{1}{2}}cos(4 \pi t)e^{-4 \pi t} dt = 2\int_{0}^{\frac{1}{2}}cos(4 \pi t)cos(4 \pi t) dt - 2j\int_{0}^{\frac{1}{2}}cos(4 \pi t)sin(4 \pi t) dt = ...

because as you said it wouldn't work using just the integration without expanding the form of e^{-j 4 \pi t}

sadly our professor doesn't want the trigonometric expansion but prefers the series with the e^...

after solving this I thought it would be better if I just used Euler's formula about the cos(4πt)

it is known that

cos(4\pi t) = \frac{e^{j 4 \pi t} + e^{-j 4 \pi t}}{2}

hence the coefficients are a_{1} = a_{-1} = \frac{1}{2}

but I am not sure if this was what the exercise wanted cause this solution takes less than 5 seconds to finish
 
Jncik said:
… but I am not sure if this was what the exercise wanted cause this solution takes less than 5 seconds to finish

:smile: :smile: :smile: :smile:

ruined your day, did it? :rolleyes:
 
tiny-tim said:
:smile: :smile: :smile: :smile:

ruined your day, did it? :rolleyes:

haha yes :p :smile:
 
Jncik said:
after solving this I thought it would be better if I just used Euler's formula about the cos(4πt)(

it is known that

cos(4\pi t) = \frac{e^{j 4 \pi t} + e^{-j 4 \pi t}}{2}

hence the coefficients are a_{1} = a_{-1} = \frac{1}{2}

but I am not sure if this was what the exercise wanted cause this solution takes less than 5 seconds to finish


On a quiz I would expect that is exactly what the professor wanted. The point being for the student to recognize that trig functions like that are their own (finite) Fourier Series.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K