Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Fourier series

  1. Nov 28, 2006 #1


    User Avatar
    Gold Member

    Lets say that you have a function f and a FS:
    \sum_{n=1}^{\inf}a_{n}cos(xn) + b_{n}sin(xn)
    what is the FS of
    g(x) = (f(x) + f(-x))/2
    I think that the answer is
    am i right?
  2. jcsd
  3. Nov 28, 2006 #2


    User Avatar
    Science Advisor
    Homework Helper

    Of course, the sine expansion from the Fourier series for an even function goes away, since sine is an odd function.

    So,yes, the Fourier series will contain only cosines.

  4. Nov 28, 2006 #3


    User Avatar
    Science Advisor

    Yes, g(x) is the "even part" of f.

    If h(x)= (f(x)- f(-x))/2, the "odd part" of f, then the Fourier series for h would be
    [tex] \sum_{n=1}^{\inf}a_{n}sin(xn) [/tex]

    Since sine is an odd function and cosine is an even function they divide f into even and odd parts.

    If you want a more "formal" demonstration of that just note that g(x)sin(nx) and h(x)cos(nx) are odd functions themselves. Their integrals from -a to a must be 0.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook