1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Question about Fourier Series

  1. Apr 27, 2013 #1
    1. The problem statement, all variables and given/known data
    I must calculate the Fourier Series of

    f(x) = 0, when -∏< x < 0 and f(x) = sinx, 0 < x < ∏


    2. Relevant equations



    3. The attempt at a solution
    Using the formulae, I calculated a0 = 2/pi, an = [ (-1)^n + 1 ] / [ ∏(1 - n^2) ], and bn = 0, so my Fourier series goes like this:

    f(x) = 1/∏ + (1/∏) Ʃ [ (-1)^n + 1 ] / [ ∏(1 - n^2) ] cos nx, but since n = 1 is not an option, I start Ʃ from n = 2 to infinity.

    However the book says that the answer is

    f(x) = 1/∏ + sin x / 2 + (1/∏) Ʃ [ (-1)^n + 1 ] / [ ∏(1 - n^2) ] cos nx, where n also goes from n = 2 to infinity.

    Where did that sin x / 2 came from?? I don't know there a sin term since bn = 0!!
     
  2. jcsd
  3. Apr 27, 2013 #2

    Office_Shredder

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    The fact that you threw out the n=1 cosine term because it wasn't defined at n=1 suggests you made the same mistake for the sine term.

    If you do the calculation for a general value of n, and find that there is a value of n for which your calculation wasn't defined (at ANY step) then you have to go back and do it again with that specific value of n to check what it is supposed to be.
     
  4. Apr 27, 2013 #3
    Ah I get it!! Now I got the correct answer if i do the integral. Thank you very much
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Question about Fourier Series
Loading...