$\text{Determine the sum of the Fourier series of $f(x)=x\sin(x)$ on $[-\pi,\pi]$ all |x| $\leq$ $\pi$}$
I found that the Fourier series was:
$$1-\frac{1}{2}\cos(x)+2\sum_{n=2}^{\infty} \frac{(-1)^{n+1}}{n^2-1}\cos(nx)$$
Do I just take the average of the right and left endpoints? $f(x)$ and $f'(x)$ is both convergent on $[-\pi,\pi]%$ so I would just think I average $f(x)$ at the endpoints.
That gives me a sum of $0$ though. I'm not sure if that's right...
$\text{Find the Fourier series of $f(x)=x\sin(x)$ on $[-\pi,\pi]$ and determine its sum for all |x| $\leq$ $\pi$}$
– Future Math person Apr 02 '17 at 09:13