0

i have some difficults to prove that the fourier series of

$$ f(x) = \begin{cases} 0, & -\pi < x \leq 0, \\ x^2, & 0 < x \leq \pi. \end{cases} $$

can be aproximated to

$$ \frac{\pi^2}{6} = 1 + \frac{1}{2^2} + \frac{1}{3^2} + \ldots$$

My attempt:

I computed the fourier series of $f$ and i get:

$$f(x) = \frac{\pi^2}{6} + \sum_k^\infty \left(\frac{2(-1)^k}{k^2}\cos(kx) + \frac{1}{\pi}\left[\frac{-\pi^2k^2(-1)^k + 2(-1)^k-2}{k^3}\right]\sin(kx)\right)$$

If $x = 0$ then

$0 = f(0) = \frac{\pi^2}{6} + \displaystyle\sum_k^{\infty} \frac{2(-1)^k}{k^2}$

that implies

$\frac{\pi^2}{6} = -\displaystyle\sum_k^{\infty} \frac{2(-1)^k}{k^2}$

Here i'm stuck, can someone help me?

WA Don
  • 4,598
rcoder
  • 4,665
  • $\displaystyle \sum_{k}^{\infty}$? What's the range of it? 2) When the sum term is so long, putting parentheses on it can make it easy to read. 3) I computed the Fourier series - where did it come from? Did you put it in Wolfram Alpha or somewhere else? Please check the trustability of the Fourier series.
  • – RDK Nov 29 '24 at 11:22
  • I computed the Serie of Fourier on Wolfram/Symbolab!.. thx – rcoder Nov 29 '24 at 11:26
  • Your title and question are confusing: you want to compute the value of the series $\sum_{n=1}^\infty \frac{1}{n^2}$ by computing the Fourier series of $f$ and not that the Fourier series of $f$ is $\frac{\pi^2}{6}$, which is a number. – psl2Z Nov 29 '24 at 11:57
  • See https://math.stackexchange.com/questions/8337/different-ways-to-prove-sum-k-1-infty-frac1k2-frac-pi26-the-b/8378#8378 – R. J. Mathar Nov 29 '24 at 12:46