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!

Fourier series

  1. Oct 9, 2004 #1
    Hi!

    I have to calculate the Fourier coefficients [tex] c_n = \frac{1}{2\pi}\int_{-\pi}^{\pi}f(x)e^{-inx}dx [/tex] and the Fourier series for the following function:

    [tex]
    f(x)=
    \begin{cases}
    \frac{2}{\pi}x + 2 & \text{for } x\in \left[-\pi,-\pi/2\right]\\
    -\frac{2}{\pi}x & \text{for } x\in \left[-\pi/2,\pi/2\right]\\
    \frac{2}{\pi}x - 2 & \text{for } x\in \left[\pi/2,\pi\right]
    \end{cases}
    [/tex]

    Since this function is odd the Fourier series should only contain [tex]\sin{x} [/tex] (right?), but I keep getting a series containing both sine and cosine. Furthermore I'm having big trouble with the integrals; are there any "tricks" when doing such integrals?
     
  2. jcsd
  3. Oct 9, 2004 #2
    is the function really odd?
    what is f(pi/2)?what is f(-pi/2)?
    are they equal?

    -- AI
     
  4. Oct 9, 2004 #3
    no.. f(pi/2) = -f(pi/2) => f is odd?
     
  5. Oct 10, 2004 #4
    Note to self : "should not study some dumb subject like software engineering, post something at physicsforums, listen to music and chat .... all at the same time"

    whoops! apologies broegger!

    anyways, back to ur question ...
    could u post ur working ?
    prolly u overlooked something ....
    since u seem to have the problem well understood, u should have got the answer by now.

    -- AI
     
  6. Oct 10, 2004 #5
    nope.. I can't get the right answer.. I'd rather not post my working, since it's is very messy :/ I'm not asking someone to do the calculations; I would just like a general (the easiest) way to deal with such problems...
     
  7. Oct 10, 2004 #6

    Dr Transport

    User Avatar
    Science Advisor
    Gold Member

    grunt it out.......no easy way to get your coefficients.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Fourier series
  1. Fourier Series (Replies: 1)

  2. Fourier series (Replies: 11)

  3. Fourier series (Replies: 1)

  4. Fourier Series (Replies: 4)

Loading...