2

It is given that $f(x)=|x|$ in $-\pi\le x\le \pi$ then the value of $$\sum_{n=1}^{\infty}\frac{1}{(2n-1)^2}$$ is equal to

a) $\Large \frac{\pi^2}{2}\qquad$ b) $\Large\frac{\pi^2}{4}\qquad$ c) $\Large\frac{\pi^2}{6}\qquad$ d) $\Large\frac{\pi^2}{8}$

I expanded the series $$\sum_{n=1}^{\infty}\frac{1}{(2n-1)^2}$$ $$=\frac{1}{1^2}+\frac{1}{3^2}+\frac{1}{5^2}+\frac{1}{7^2}+\ldots$$ Now, I don't have any clue how to proceed.

Bhaskara-III
  • 1,571

3 Answers3

11

Hint: $$ \sum_{n=1}^\infty \frac1{n^2} = \sum_{n=1}^\infty \frac1{(2n)^2}+\sum_{n=1}^\infty \frac1{(2n-1)^2}.$$

  • @ Vincenzo how does it help?. please explain me more – Bhaskara-III Sep 27 '16 at 08:48
  • It helps if you know that $\sum_{n=1}^{+\infty}\frac{1}{n^2} = \frac{\pi^2}{6}$. If not, I suggest you use Fourier theory as suggested in the comments. – Augustin Sep 27 '16 at 08:51
  • 1
    @Bhaskara: I guess you know the value of the leftmost sum. See if you can "simplify" something on the right-hand side and then try isolating your sum. – Vincenzo Oliva Sep 27 '16 at 08:52
8

If we compute the Fourier cosine series of $f(x)$ over $(-\pi,\pi)$ through $$\forall n\geq 1,\qquad \int_{-\pi}^{\pi}f(x)\cos(nx) = 2\int_{0}^{\pi}x\cos(nx)\,dx = 2\,\frac{-1+\cos(\pi n)}{n^2}\tag{1}$$ we get: $$ |x|=\frac{\pi}{2}-\frac{4}{\pi}\sum_{n\geq 1}\frac{\cos((2n-1)x)}{(2n-1)^2} \tag{2} $$ and by evaluating both sides at $x=0$ (pointwise convergence - as a by-product of uniform convergence - is ensured by the fact that the Fourier coefficients give a summable sequence) $$ \sum_{n\geq 1}\frac{1}{(2n-1)^2}=\color{red}{\frac{\pi^2}{8}}\tag{3} $$ follows. On the other hand, it is trivial that $$ \sum_{n\geq 1}\frac{1}{(2n-1)^2}\leq 1+\int_{1}^{+\infty}\frac{dx}{(2x-1)^2}=\frac{3}{2} \tag{4}$$ hence $(d)$ is the only reasonable option.

Jack D'Aurizio
  • 353,855
  • @Jack : how did you get the result of (2) i.e. $|x|=\frac{\pi}{2}-\frac{4}{\pi}\sum_{n\geq 1}\frac{\cos((2n-1)x)}{(2n-1)^2}$ ? – Bhaskara-III Sep 27 '16 at 11:35
  • @Bhaskara-III: how do you compute a Fourier series, usually? I just did it. Notice that the coefficient $c_0$ is given by $$\frac{1}{2\pi}\int_{-\pi}^{\pi}|x|,dx = \frac{\pi}{2}.$$ – Jack D'Aurizio Sep 27 '16 at 11:53
  • i don't know please explain me how to compute a fourier series – Bhaskara-III Sep 27 '16 at 11:54
  • @Bhaskara-III: have a look at here: https://en.wikipedia.org/wiki/Fourier_series – Jack D'Aurizio Sep 27 '16 at 11:55
  • Why does the question mention $f(x)$? I can probably use some other function to compute this sum. – xyz Sep 27 '16 at 15:12
  • @prakharsingh95: there are thousand ways for tackling the Basel problem (http://math.stackexchange.com/questions/8337/different-methods-to-compute-sum-limits-k-1-infty-frac1k2) but since the question mentions $f(x)$, the intended solution was probably to exploit such function. – Jack D'Aurizio Sep 27 '16 at 15:15
0

Use the Fourier Series of the function $f$ in the interval $[-\pi, \pi]$ And substitute $x = 0$. The series converges at this point to the value of $f$. This gives you the desired result.