How to convert an alternating sum into a positive sum?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 1K views
Eclair_de_XII
Messages
1,085
Reaction score
92

Homework Statement


"Given that ##FS f(x)=\frac{L^2}{3}+(\frac{2L}{\pi})^2⋅\sum_{n=1}^\infty \frac{(-1)^n}{n^2}cos(\frac{n\pi}{L}x)##, prove that ##\sum_{n=1}^\infty \frac{(-1)^n}{n^2}=\frac{\pi^2}{12}## and ##\sum_{n=1}^\infty \frac{1}{n^2}=\frac{\pi^2}{6}##.

Homework Equations


##FS f(x) = f(x) = x^2##

The Attempt at a Solution


Setting ##x=0##, we have here ##f(0)=0## and ##FS f(x)=\frac{L^2}{3}+(\frac{2L}{\pi})^2⋅\sum_{n=1}^\infty \frac{(-1)^n}{n^2}=0##. Now we have ##-\frac{L^2}{3}=\frac{4L^2}{\pi^2}⋅\sum_{n=1}^\infty \frac{(-1)^n}{n^2}##, so ##\sum_{n=1}^\infty \frac{(-1)^n}{n^2}=-\frac{\pi^2}{12}##, or ##\sum_{n=1}^\infty \frac{(-1)^{n+1}}{n^2}=\frac{\pi^2}{12}##.

I basically got the first half. I took Calculus II over a year ago, and cannot exactly remember how to do this. Either that, or I would prove that the value of ##\frac{1}{4} \sum_{n=1}^\infty \frac{1}{n^2} = \frac{\pi^2}{24}## and add two of that to the first part of the problem. Can anyone point me in the right direction as to what I should do?
 
Physics news on Phys.org
Oh, so set ##x=L##. Thanks!