1. Limited time only! Sign up for a free 30min personal 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 Sawtooth

  1. Nov 8, 2004 #1


    User Avatar

    I can derive the Fourier series for a regular
    sawtooth wave.

    A different kind of sawtooth is represented by:

    [tex] f(x)=\left\{\begin{array}{cc}-\frac{1}{2}(\pi +x),&\mbox{ if }
    =-\pi \leq x < 0\\+\frac{1}{2}(\pi -x),& \mbox{ if } 0 < x \leq \pi\end{array}\right. [/tex]

    For the life of me I can't figure out how
    to derive the series for this, which is:

    [tex]f(x)=\sum_{n=1}^{\infty} sin (nx/n)[/tex]
  2. jcsd
  3. Nov 8, 2004 #2


    User Avatar
    Science Advisor
    Homework Helper

    Probably a typo, but:

    It's obtained the usual way. The function is odd, so all the cosine coefficients are zero.
    Now just get:


    where [itex]a_n[/itex] is the coefficient of sin(nx)
  4. Nov 8, 2004 #3


    User Avatar

    Yes, you're right -- there was a typo.

    Does the integration breaks down

    [tex]a_n=\frac{1}{\pi}\int_{0}^{\pi}f(x)\sin(nx)dx + \frac{1}{\pi}\int_{-\pi}^{0}f(x)\sin(nx)dx \text { ??}[/tex]

    Also, does an [itex]a_0[/itex] term need to be
    determined? I'm not sure when,
    or when not, to include an [itex]a_n[/itex].

    Thanks a lot.

  5. Nov 8, 2004 #4


    User Avatar
    Science Advisor
    Homework Helper

    No. There's an easy way to remember/see it. If n=0, then sin(nx)=0.
    So the zeroth coeff. of the sine is always zero.
    For the cosine: cos(nx)=1 if n=0.

    That's correct, so that's all there's to it.
    Both integrals are equal though, since f(x) and sin(nx) are odd, f(x)sin(nx) is even.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook