Simplifying Trigonometric Functions with Arbitrary n

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 73K views
Deathfish
Messages
80
Reaction score
0
ok i know that

sin n*(pi/2)
= 1 if n=1,5,9,13...
= -1 if n=3,7,11,15...
= 0 if n is even

cos n*(pi/2)
= 0 if n is odd
= -1 if n=0,4,8,12
= 1 if n=2,6,10,14...

is there a simpler way of expressing this?
for example simple way to express cos(n*pi)=cos(-n*pi)=(-1)^n

is there a similar way to express cos n*(pi/2) and sin n*(pi/2)
thanks
 
Physics news on Phys.org
and how do you use the term in Fourier series?

lets say you encounter the term .. sin n*(pi/2)

just replace with sin((2n + 1)π/2) ? don't know how to use this expression properly

any simple example will be helpful.
 
ok what is the (something)
 
ok is it because the 'n' is arbitrary you can just replace sin n*(pi/2) with sin((2n + 1)π/2) ?
 
Deathfish said:
ok is it because the 'n' is arbitrary you can just replace sin n*(pi/2) with sin((2n + 1)π/2) ?

abritrary and odd :wink:

yes :smile:

(though of course, it's a different n …

any odd n is 2m + 1, then we rename m as n :wink:)​