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

Summation for y(x)=Absolute value(sin(x)) -pi<x<pi

  1. Oct 16, 2013 #1
    i want to use the fourier method to fins an summation for
    y(x)=Absolute value(sin(x)) -pi<x<pi

    i know that cos(pi*n)=(-1)^n

    and get why they use cos(pi*(n+1))= (-1)^(n+1)

    but why is then cos(pi*(n-1)) also (-1)^(n+1)

    (see attachment)


    Attached Files:

  2. jcsd
  3. Oct 16, 2013 #2


    Staff: Mentor

    look at the two expressions:

    (-1)^(n+1) ==> (-1)^n * (-1)


    (-1)^(n-1) ==> (-1)^n*(1/(-1)) = (-1)^n * (-1)

    so they are interchangeable.
  4. Oct 16, 2013 #3
    Thank you!!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook