I am given $f(x) = x$ for $0 \le x \le 2$. The question wants me to evaluate $\sum_{n=1}^\infty \frac{1}{(2n+1)^4}$ by first evaluating the Fourier sine of $f(x)$ by extending it outside the interval.
I get $f(x) = 2 + \sum_{n=1}^\infty \frac{-4}{\pi}\sin(\frac{n\pi x}{2})$. And I know that I probably have to make use of Parseval's theorem. Yet, I am not sure how to proceed as I don't know how to get an expression to the power of $4$ from the Fourier sine expression of $f(x)$.
Thanks!
Once you manage to get that $$ g_1(x)=\frac{4}{\pi}\sum_{n\geq 1}\frac{\sin((2n-1)x)}{2n-1} \tag{1}$$ is the Fourier series of a rectangle wave that equals $1$ over $(0,\pi)$ and $-1$ over $(\pi,2\pi)$, by termwise integration $$ g_2(x) = \frac{4}{\pi}\sum_{n\geq 1}\frac{1-\cos((2n-1)x)}{(2n-1)^2}=C+\frac{4}{\pi}\sum_{n\geq 1}\frac{\cos((2n-1)x)}{(2n-1)^2}\tag{2}$$ is the Fourier series of a triangle wave that equals $x$ over $(0,\pi)$ and $2\pi-x$ over $(\pi,2\pi)$.
In particular $$ C=\frac{1}{2\pi}\left(\int_{0}^{\pi}x\,dx+\int_{\pi}^{2\pi}(2\pi-x)\,dx\right) = \frac{\pi}{2}\tag{3}$$ in order to ensure that $g_2(x)-C$ has mean zero over $(0,2\pi)$. By Parseval's identity $$ \int_{-\pi}^{\pi}(g_2(x)-C)^2\,dx = \frac{16}{\pi}\sum_{n\geq 1}\frac{1}{(2n-1)^4}\tag{4} $$ and $$ \eta(4)=\sum_{n\geq 1}\frac{1}{(2n-1)^4}=\frac{\pi}{16}\int_{-\pi}^{\pi}\left(|x|-\frac{\pi}{2}\right)^2\,dx =\color{red}{\frac{\pi^4}{96}}.\tag{5} $$