How do I find f(t) when using Fourier series formulas?

6 replies · 6K views · last reply
EugP
Messages
104
Reaction score
0
Hi,

I am having trouble understanding how to use Fourier series. To be more specific, here's what I mean.

Typeset Fourier series formulas: trigonometric form f(t) = sum from n=1 to infinity of (a_n cos nw0t + b_n sin nw0t), with a_0, a_n and b_n defined as integrals over one period T0, and exponential form f(t) = sum from n=-infinity to infinity of F_n e^(jnw0t), with F_n = (1/T0) integral of f(t) e^(-jnw0t) dt.


My question about those formulas is, how do I know what f(t) is?
When I do excercises, I never get what f(t) is. Can anyone tell me how to find it?
 
Attachments
  • Typeset Fourier series formulas: trigonometric form f(t) as a sum from n=1 to infinity of a_n cos(n w0 t) + b_n sin(n w0 t), with a_0, a_n and b_n given as integrals over one period T0; and exponential form f(t) as a sum from n=-infinity to infinity of F_n e^(j n w0 t), with F_n = (1/T0) times the integral of f(t) e^(-j n w0 t) dt.
    fourier.gif
    3.7 KB · Views: 612
Isn't f(t) the function for which you are attempting to find a Fourier series expansion?
 
cristo said:
Isn't f(t) the function for which you are attempting to find a Fourier series expansion?

Yes, but in excersies that I've tried doing, I am not told f(t). I only get a graph usually.
 
EugP said:
Yes, but in excersies that I've tried doing, I am not told f(t). I only get a graph usually.
Can you not spot an equation for the graph? Why don't you post an example, and it'll be easier to help.
 
cristo said:
Can you not spot an equation for the graph? Why don't you post an example, and it'll be easier to help.

Yes, here is one of the excersises. I need to find the Fourier series of that function:

Graph of a periodic square-wave voltage v(t) in volts against time t in microseconds, stepping between 80 V, 40 V, -40 V and -80 V over a range from -150 to 300 microseconds.
 
Use the graph to define your f(t). This called a piecewise function, it means you will need to break the integrals into pieces which correspond to the different parts of the function.

0 <= t < 50 f(t) = 40
50 <= t < 100 f(t) = 80
100 <= t < 150 f(t) = -40
150<= t <200 f(t) = -80

Now simply evaluate the integrals, using the different segments as that limits for each section.
 
Integral said:
Use the graph to define your f(t). This called a piecewise function, it means you will need to break the integrals into pieces which correspond to the different parts of the function.

0 <= t < 50 f(t) = 40
50 <= t < 100 f(t) = 80
100 <= t < 150 f(t) = -40
150<= t <200 f(t) = -80

Now simply evaluate the integrals, using the different segments as that limits for each section.

Alright, so I took your advice, but my results are still wrong. Here's what I did:

[tex]a_v=\frac{1}{T}\int{f(t)dt}[/tex]
[tex]a_v=\frac{1}{50}\int{40dt}[/tex]
from 0 to 50, and I got 40, but the answer is 0.

EDIT: The answer I got was correct, I just didn't finish. Thank you cristo and Integral for your help.
 
Last edited: