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

  • Level: Undergrad 
  • Thread starter jennyjones
  • Start date
  • Tags Tags
    Summation
2 replies · 3K views · last reply
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
  • Handwritten derivation of the Fourier cosine coefficients of |sin x| on (-pi, pi), with yellow highlights and annotations, ending in the series expansion of |sin x|. Graph of |sin x| at the top left.
    Knipsel.PNG
    32 KB · Views: 842
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