Find the Fourier series for the function:
$$f(x) =
\begin{cases}
\hfill 0 \hfill & \text{$- \pi
on −π<x<π. Hence show that:
∞∑n=11−(−1)nn2=π24
My attempt:
Fourier series general form:
FS[f(t)]=a02+∞∑n=1ancos(nx)+∞∑n=1bnsin(nx)
Calculating a0:
a0=1π∫π0(π−x)dx=π2
Calculating an:
an=1π∫π0(π−x)cos(nx)dx
=−1π([xsin(nx)n]π0−∫π0sin(nx)ndx)
=1−(−1)nπn2
Calculating bn:
bn=1π∫π0(π−x)sin(nx)dx
=−1π([−(π−x)cos(nx)n]π0−∫π0cos(nx)ndx)
=1n
giving the FS[f(t)]:
FS[f(t)]=π4+∞∑n=11−(−1)nn2cos(nx)+∞∑n=1sin(nx)n
However I am now stuck on showing:
∞∑n=11−(−1)nn2=π24
Anyone have any idea? Or see where I might have gone wrong?
Kind Regards,
Answer
When you compute an (which you typo-ed a0), you left off the 1/π. After sticking that back into the FS, and plugging in 0 you have
f(0)=π4+1π∑1−(−1)nn2.
Well, this is a little wrong. The FS doesn't exactly equal the original function. The FS convergence theorem says that the series converges to the average of the left and right hand limits of the function at its discontinuities. So instead of f(0), we should have (0+π)/2. It's easy to get your result from there.
No comments:
Post a Comment