Let $f$ be a complex-valued piecewise continuous function defined on the interval $[-\pi,\pi]$ and let \begin{equation} \frac{a_{0}}{2}+\sum_{n=1}^{\infty}\left[a_{n}\cos(nx)+b_{n}\sin(nx) \right] \end{equation} denote its Fourier series on $[-\pi,\pi]$. Determine the value of \begin{equation} \frac{1}{\pi}\int_{-\pi}^{\pi}| f(x+\pi)-f(x)|^{2}dx \end{equation} in terms of $a_{n}$ and $b_{n}$.
I realize that this question will have to deal with Parseval's identity, however, I don't know how to use this fact to answer the question.
The question should have specified that $f$ is considered to be periodic with period $2\pi$ (otherwise your integrand is undefined for $x > 0$).
Start by substituting $x+\pi$ for $x$ in the Fourier series and simplifying.