Friday, 21 April 2017

analysis - Fourier Series of a Constant Function



My question is kinda dumb, but here I go: I'm studying Fourier Series on my own for my next semester. I needed to calculate the Fourier Series of the function f(x)=5 defined in [4,4].




In this case, using the standard notation, L=4 are the coefficients are
a0=1LLLf(x) dx; an=1LLLf(x)cos(nπxL) dx and bn=1LLLf(x)sin(nπxL) dx, correct?



Since the function is constant the sines and cosines must have no contribution to the Fourier series at all, i.e., an=bn=0, but when I'm doing the calculations I'm getting an=10πnsin(πn). It must be a pretty dumb mistake I'm not seeing, I'm kinda new at this subject.



Thanks for the help :]


Answer



an=1LLL5cos(nπxL)dx1L(5sin(nπxL)(Lnπ)|LL(5nπ)(sin(nπ)sin(nπ))=0




since sin(nπ)=0



bn=1LLL5sin(nπxL)dx1L(5cos(nπxL)(Lnπ)|LL(5nπ)(cos(nπ)cos(nπ))=0



since cosx is an even function.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...