Understanding of the fourier coefficients?

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 3K views
cabellos
Messages
76
Reaction score
1
Im just looking through examples of finding the Fourier coefficients.

in one particular example bn is found to be = (-1/npi) (cosnpi - cos 0)

then it says this is 0 when n is even
and 2/npi when n is odd

are we just substituting values of n e.g. 1,2,3... to find this result?

i apologise if i am doing something stupid with my calculation but when i put even numbers in place of n i do not get 0 as it states i should?
 
Physics news on Phys.org
cos(n*pi) - cos(0) = cos(n*pi) - 1 = (-1)n - 1

(-1)n = 1 when n is even and -1 when n is odd.
So when n is even: 1-1 = 0, when odd: -1-1 = -2
These are of course divided by -n*pi to get bn.
 
Last edited:
cosine of an odd multiple of [itex]\pi[/itex] is -1 and cosine of an even multiple of [itex]\pi[/itex] is 1. That's exactly what they are doing.