Is This the Correct Method for Calculating Fourier Coefficients?

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
2 replies · 5K views
cscott
Messages
778
Reaction score
1
Yes, another thread... lab due tomorrow :-p

We take the integral of the function f(t) times one of the components:

integral(0->T) of [a0 + sigma(n=1->N) acos(nwt) + bsin(nwt)]sin(nwt)

Now, in order to evaluate this is it correct to say we multiple sin(nwt) through then take the integral of each term separately, and given the orthogal properties of sine/cosine we say the first two terms are 0 but the bsin^2(nwt) becomes bT/2?

I guess I should say what's confusing me: the sigma; because shouldn't the acos and bsin be in brackets and then we couldn't isolate the terms in the same way.

Is it because this is true?:

integral(0->T) of [a0 + sigma(n=1->N) acos(nwt) + sigma(n=1->N) bsin(nwt)]sin(nwt)
and then we can multiply through by sin(nwt) to get the three terms?

Sorry for the shotty math.
 
Physics news on Phys.org
Yupp,

sigma(n=1->N)[acos(nwt) + bsin(nwt)] =
sigma(n=1->N) [acos(nwt)] + sigma(n=1->N)[bsin(nwt)]

if that was what you wondered.

Then you need to understand why you can take the sum of the integrals as the integral of the sum.
Thats because integration improves the rate of convergence for the sum.
This is not true for the derivative, where you need to know that the sum converge uniformly before you can differentiate each term separately.
 
Thanks for your reply.