Finding the Fourier Sine Series

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
4 replies · 2K views
trap101
Messages
339
Reaction score
0
Find the Fourier SIne Series for f(x) = x on -L < x < L (Full Fourier)

Ok, so my issue is in calculating the coefficients for the sine and cosine parts, more so an interpretation. So I have calulated the sine and cosine series to this point:

let An: Cosine series Bn: sine series:



An = l/(n[itex]\pi[/itex])) [ sin(n[itex]\pi[/itex] + sin(-n[itex]\pi[/itex])] - l/(n2[itex]\pi[/itex]2) [sin(n[itex]\pi[/itex]) - sin(-n[itex]\pi[/itex])]

Bn = l/(n[itex]\pi[/itex])) [ cos(n[itex]\pi[/itex] + cos(-n[itex]\pi[/itex])] - l/(n2[itex]\pi[/itex]2) [cos(n[itex]\pi[/itex]) - cos(-n[itex]\pi[/itex])]


My questions are these: How do I interpret the relationship between cos(n[itex]\pi[/itex]) and cos(-n[itex]\pi[/itex])? and the same with the sine values?

My take is this: for the sine function, since all of the sine coeffcients have a [itex]\pi[/itex] in them then it doesn't matter what value I select for "n", they will all go to 0.

As for the cosine: Since cos(n[itex]\pi[/itex]) and cos(-n[itex]\pi[/itex]) end up going to the same value, just in opposite directions, I will have 2cos(ncos(n[itex]\pi[/itex]) since cos(n[itex]\pi[/itex]) = cos(-n[itex]\pi[/itex]) in values.
 
Physics news on Phys.org
trap101 said:
Find the Fourier SIne Series for f(x) = x on -L < x < L (Full Fourier)

Ok, so my issue is in calculating the coefficients for the sine and cosine parts, more so an interpretation. So I have calulated the sine and cosine series to this point:

let An: Cosine series Bn: sine series:



An = l/(n[itex]\pi[/itex])) [ sin(n[itex]\pi[/itex] + sin(-n[itex]\pi[/itex])] - l/(n2[itex]\pi[/itex]2) [sin(n[itex]\pi[/itex]) - sin(-n[itex]\pi[/itex])]

Bn = l/(n[itex]\pi[/itex])) [ cos(n[itex]\pi[/itex] + cos(-n[itex]\pi[/itex])] - l/(n2[itex]\pi[/itex]2) [cos(n[itex]\pi[/itex]) - cos(-n[itex]\pi[/itex])]


My questions are these: How do I interpret the relationship between cos(n[itex]\pi[/itex]) and cos(-n[itex]\pi[/itex])? and the same with the sine values?

My take is this: for the sine function, since all of the sine coeffcients have a [itex]\pi[/itex] in them then it doesn't matter what value I select for "n", they will all go to 0.

Yes. ##\sin n\pi = 0## for any integer ##n##, so just leave those terms out of your series.

As for the cosine: Since cos(n[itex]\pi[/itex]) and cos(-n[itex]\pi[/itex]) end up going to the same value, just in opposite directions, I will have 2cos(ncos(n[itex]\pi[/itex]) since cos(n[itex]\pi[/itex]) = cos(-n[itex]\pi[/itex]) in values.

I think you mean ##\cos(n\pi) + \cos(-n\pi) = 2\cos(n\pi)## and ##\cos(n\pi) - \cos(-n\pi) = 0##. Also sometimes you will see ##\cos(n\pi)=(-1)^n##.
 
LCKurtz said:
Yes. ##\sin n\pi = 0## for any integer ##n##, so just leave those terms out of your series.



I think you mean ##\cos(n\pi) + \cos(-n\pi) = 2\cos(n\pi)## and ##\cos(n\pi) - \cos(-n\pi) = 0##. Also sometimes you will see ##\cos(n\pi)=(-1)^n##.



Yes that actually brings up anouther question I had with regards to ##\cos(n\pi)=(-1)^n##

I noticed that they expressed a couple of final results using that expression of (-1)n. Why is that?
 
trap101 said:
Yes that actually brings up anouther question I had with regards to ##\cos(n\pi)=(-1)^n##

I noticed that they expressed a couple of final results using that expression of (-1)n. Why is that?

I don't understand your question. They are equal.
 
LCKurtz said:
I don't understand your question. They are equal.

It's ok I figured it out...there was another example with and extra (-1) that they didn't include initially so: (-1)(-1)n = (-1)n+1