Parseval's Identity: For continuous $f: [- \pi , \pi] \to \mathbb{R}$
$$ \sum_{n=- \infty}^{+ \infty} |c_n|^2 = \frac{1}{2 \pi} \int_{ - \pi}^{ \pi} |f(x)|^2dx, \text{ where } c_n = \frac{1}{2 \pi} \int_{- \pi}^{ \pi} f(x)e^{-inx}dx$$
Problem: Using Parseval's Identity, consider the even function $f:= \frac{1}{2} - \frac{\pi}{4} \sin \left( \frac{x}{2} \right), \ x \in [0, \pi] $ to compute the sum: $$\sum_{n =1}^{+ \infty} \frac{1}{(4n^2-1)^2} $$
This is my first attempt to work with Parseval's Identity and Fourier coefficients. I did read this similar question beforehand, but it didn't help me to complete this task Use Fourier series for computing $\sum_{n=1}^{\infty}\frac{1}{(2n-1)^2}$.
My approach: I will merely write down the results, I did all the calculations by hand on paper and then double-checked by using Mathematica. Writing out the entire process would only make this post blow up in length further.
To get the Fourier Coefficients I did integrate using only the definition as above, I first did look at the case for $n=0$. I got $$ c_0 = \frac{1}{2}$$ for the case $ n \neq 0$ I applied integration by parts two times and after a pretty tedious process I did end up with $$c_n = \frac{ in \cos (n \pi)}{4n^2-1}= \frac{in (-1)^n}{4n^2-1} $$ Which was a very satisfying result, because now I have $$|c_n|^2 = \frac{n^2}{(4n^2-1)^2}$$which somewhat looks very close to what I am supposed to get, except for that annoying $n^2$ in the numerator.
Finally evaluating $$ \frac{1}{2 \pi} \int_{- \pi}^\pi |f(x)|^2dx = \frac{1}{32}(8+ \pi^2)$$
Doubts and Questions:
- I have a feeling that my method of integrating was wrong, because I did not make use of $f$ being even which would mean that $f(-x)=f(x)$ and therefore integration from $- \pi, \pi$ would result to be twice the original integral with bounds from 0 to $2 \pi$
- I did not make use of the statement $f$ is even, because when I plot $f$ it does not look even at all to me, so I wonder about this statement in general. I suppose it has something to do with the definitions of Fourier Coefficients and their application to $A$-periodical Functions.
If the above procedure would happen to be right, how could I get the final statement? More precisely formulated, how would I possible get from $$ \sum_{- \infty}^{+ \infty} \frac{n^2}{(4n^2-1)^2}$$ to the Sum that starts from $1$ and ends at $\infty$ ?