Calculating Fourier Series of f(x) = |x| - \pi

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
8 replies · 3K views
squenshl
Messages
468
Reaction score
4
How do work out the Fourier series of f(x) = |x| - [tex]\pi[/tex] on ([tex]\pi[/tex],[tex]\pi[/tex]].
 
Physics news on Phys.org
squenshl said:
How do work out the Fourier series of f(x) = |x| - [tex]\pi[/tex] on ([tex]\pi[/tex],[tex]\pi[/tex]].

What have you tried? Have you noticed that is an even function?
 
I know that |x| = x, x [tex]\geq[/tex] 0 & -x, x < 0.
So does that mean |x| - [tex]\pi[/tex] = x - [tex]\pi[/tex], x [tex]\geq[/tex] 0 & -x - [tex]\pi[/tex], x < 0.
Then just find the Fourier series as a sum of these functions. If not I don't have a clue where to start.
 
Yes, that would work. But the fact that the function is even can reduce the work by half. Have you studied half-range expansions?
 
I see. Since f(x) is an even function, when it goes to finding bn you multiply an even function with sin which an odd function to get an odd function and the integral of an odd function is always zero
 
squenshl said:
I see. Since f(x) is an even function, when it goes to finding bn you multiply an even function with sin which an odd function to get an odd function and the integral of an odd function is always zero

Yes. And for the an you have even times even and you can use symmetry, which will help you with the absolute values. Again, look at "half range" expansions.
 
Are there values of x at which this series fails to converge to f(x). To what values does it converge at these points.
 
Draw a couple of periods of f(x). Read what the Dirichlet conditions say about convergence of the FS and apply it to this f(x).