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

  • Context: Undergrad 
  • Thread starter Thread starter jennyjones
  • Start date Start date
  • Tags Tags
    Summation
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
jennyjones
Messages
34
Reaction score
0
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)

THANX!
 

Attachments

  • Knipsel.PNG
    Knipsel.PNG
    32 KB · Views: 826
Physics news on Phys.org
look at the two expressions:

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

and

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

so they are interchangeable.
 
  • Like
Likes   Reactions: 1 person