Fourier Example: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:




<math>a_0=\frac{1}{2\pi}(\int_{-\pi}^00\ dx+\int_{0}^\pi\pi\ dx)=\frac{\pi}{2}</math>
<math>a_o=\frac{1}{2\pi}(\int_{-\pi}^00\ dx+\int_{0}^\pi\pi\ dx)=\frac{\pi}{2}</math>





Revision as of 01:31, 19 January 2010

Find the Fourier Series of the function:


f(x)={0,−π≤x<0π,0≤x≤π


Solution


Here we have



ao=12π(∫−π00dx+∫0ππdx)=π2


an=∫0ππcos(nx)dx=0,n≥1,


and


bn=∫0ππsin⁡(nx)dx=1n(1−cos(xπ))=1n(1−(−1)n)


We obtain b2n = 0 and


b2n+1=22n+1


Therefore, the Fourier series of f(x) is

f(x)=π2+2(sin(x)+sin(3x)3+sin(5x)5+...)

References:

Fourier Series: Basic Results