I was looking at old complex analysis exams, and there is one problem I can't figure out.
"Use the partial fraction expansion of $\frac{z}{e^z-1}$ to show $\sum_1^\infty 1/k^2=\frac{\pi^2}{6}$."
I recognize that as the generating function for the Bernoulli numbers, but I think the point of the problem is to solve it "from scratch", without that kind of knowledge.
The function has simple poles at $2\pi i k$ for $k\in\mathbb{Z}$, and residue $2\pi i k$ at $2\pi i k$ . Unfortunately, the obvious series, with terms of the form $\frac{2\pi i k}{z-2\pi i k}$, doesn't converge. Adding convergence terms (like in the proof of Mittag-Leffler's theorem) I get a series with terms of the form $\frac{z^2}{z^2-k^2}$, modulo some constants, but I don't see where to go from there, because it vanishes at 0. I think point is that we are supposed to evaluate the partial fraction decomposition at 0, as the function is clearly 1 there.
Thanks for the help.
As noted in the comments, there is an answer here that looks similar to what is intended: https://math.stackexchange.com/a/8373/1102 , however it seems much too involved for an exam setting, and is deliberately not rigorous. Would it be possible to modify it to be simpler and faster?
Edit: I managed to figure out a fairly slick solution that's much better than the accepted answer. I don't have time to write it up right now. If you read this and want to see it, ping me by posting a comment to this question.