41

Inspired by this answer, I'm trying to show that $$\sum_{n=1}^{\infty} \frac{n}{e^{2 \pi n}-1} = \frac{1}{24} - \frac{1}{8 \pi}$$ using the inverse Mellin transform.

But the answer I get is twice as much as it should be, and I don't understand why.


EDIT:

With Marko Riedel's help, I corrected the error in my evaluation.

Since $$ \left\{ \mathcal{M} \ \frac{x}{e^{2\pi x}-1} \right\}(s) = \int_{0}^{\infty} \frac{x^{s}}{e^{2 \pi x}-1} \, dx = (2\pi)^{-(s+1)}\Gamma(s+1)\zeta(s+1) $$ for $\operatorname{Re}(s) >1$,

we have $$ \frac{x}{e^{2\pi x}-1}=\frac{1}{2\pi i}\int_{c-i\infty}^{c+i\infty}(2\pi)^{-(s+1)}\Gamma(s+1)\zeta(s+1) x^{-s} \, ds , $$ where $c >1$.

Replacing $x$ with $n$ and summing both sides, we get $$ \begin{align} \sum_{n=1}^{\infty}\frac{n}{e^{2\pi n}-1} &= \frac{1}{2\pi i}\int_{c-i\infty}^{c+i\infty}(2\pi)^{-(s+1)}\Gamma(s+1)\zeta(s+1)\zeta(s)\, ds \\&= \frac{1}{2 \pi i} \int_{c-i\infty}^{c+i\infty} f(s) \, ds. \end{align} $$

The integrand has simple poles at $s=-1, 0$, and $1$.

The fact that $\left|\Gamma(s)\right|$ decays exponentially fast to $0$ as $\text{Im} (s) \to \pm \infty$ allows us to shift the contour to the left.

I originally shifted the contour all the way to negative infinity.

But as Marko Riedel explains below, we want to shift the contour to the imaginary axis since the integrand is odd there.

Indeed, using the functional equation of the Riemann zeta function, we get $$ f(it) = \frac{it}{2 \pi} \sinh \left(\frac{\pi t }{2} \right) \operatorname{csch}(\pi t) \left|\zeta(1+it)\right|^{2}, \quad t \in \mathbb{R}.$$

Therefore,

$$ \int_{c-i \infty}^{c+i \infty} f(s) \, ds = 2 \pi i \ \text{Res}[f,1] + \pi i \ \text{Res}[f,0] ,$$

where

$$ \begin{align} \text{Res}[f,0] &= \lim_{s \to 0} s (2 \pi)^{-(s+1)} \Gamma(s+1) \zeta(s+1) \zeta(s) \\ &= \lim_{s\to 0} s\zeta(s+1) (2\pi)^{-(s+1)}\Gamma(s+1)\zeta(s) \\ &= 1\left(\frac{1}{2 \pi} \right)(1)\left(- \frac{1}{2} \right) \\ &=-\frac{1}{4 \pi} \end{align} $$

and

$$ \begin{align} \text{Res}[f,1] &= \lim_{s \to 1} (s-1) (2 \pi)^{-(s+1)} \Gamma(s+1) \zeta(s+1) \zeta(s) \\ &= \lim_{s\to 1}(s-1)\zeta(s) (2\pi)^{-(s+1)}\Gamma(s+1)\zeta(s+1) \\&= 1\left(\frac{1}{4 \pi^{2}}\right)(1)\left(\frac{\pi^{2}}{6}\right) \\ &=\frac{1}{24} . \end{align} $$

The result then follows.

2 Answers2

9

In response to your query on the other thread -- I don't have the time to typeset this properly, here are some comments. The effort looks good and you should keep working on it.

  1. Don't extract any terms out from the transform function in front of the integral. As you have noticed yourself these reappear later on in the computation, reducing readability.

  2. Now this is the important part -- when evaluating harmonic sums you get an asymptotic expansion about zero when shifting to the left and about infinity when shifting to the right. So it is no surprise that you do not get the right value -- the expansion does not converge there (at $x=1$).

  3. With $g(s)$ being the transform of your sum we have $$ g(s) = \left( 2\,\pi \right) ^{-s-1}\Gamma \left( s+1 \right) \zeta \left( s+1 \right) \zeta \left( s \right).$$ The residues are $$\operatorname{Res}(g(s)/x^s; s=1) = \frac{1}{24x},$$ $$\operatorname{Res}(g(s)/x^s; s=0) = -\frac{1}{4\pi},$$ $$\operatorname{Res}(g(s)/x^s; s=-1) = \frac{x}{24}.$$ Now I suggest you shift from $\Re(s)=3/2$ to $\Re(s)=0$, indenting around the pole at zero by making a half-circle of radius $\epsilon$ around said pole at $s=0.$ This only picks up half the residue, so that your result is $$\frac{1}{24\times 1} + \frac{1}{2}\left(-\frac{1}{4\pi} \right) = \frac{1}{24} - \frac{1}{8\pi}.$$ You still need to verify that $g(s)$ is odd on the imaginary axis when $x=1$ by simplifying with the functional equation of the Riemann Zeta function.

That is all for now. I hope there are no mistakes.

Marko Riedel
  • 61,317
  • 1
    What do you mean by "shifting?" We're trying to evaluate the integral of $g(s)$ along the vertical line $\Re (s)=\frac{3}{2}$ by closing the contour in such a way that the integral along the rest of the contour evaluates to zero (or evaluates to some finite value we can determine), right? I originally assumed that it would evaluate to zero along a half-circle of infinite radius opening to the left. That turned out to be an incorrect assumption. And when you say I should shift from $\Re (s)=\frac{3}{2}$ to $\Re (s)=0$ does that mean to use the rectangular contour with those sides? – Random Variable May 16 '13 at 13:54
  • How did you close the contour in this other problem you did? http://math.stackexchange.com/questions/297900/compute-sum-k-1-inftye-pi-k2-left-pi-k2-frac14-right/298374#298374 – Random Variable May 16 '13 at 14:02
  • Using the same contour (but not indented at the origin) I get that $\sum_{n=0}^{\infty} \frac{2n+1}{e^{2n+1}-1}$ $= \frac{1}{2\pi i} \int_{\frac{3}{2} - i \infty}^{\frac{3}{2} + i \infty} \Gamma(s+1)\zeta(s+1)(1-2^{-s}) \zeta(s) \ ds = \text{Res} [\Gamma(s+1) \zeta(s+1) (1- 2^{-s}) \zeta(s), 1] = \frac{\pi^{2}}{12}$ which is not correct. The integrand appears to be odd along the imaginary axis here as well. So what's the issue? – Random Variable May 16 '13 at 14:25
  • 1
    Yes, shifting refers to rectangular contours where the verb "shift" means to create a rectangle by moving the original Mellin integral to the left or to the right. As for question 297900, you need the half-plane of convergence of the transform term that is farthest to the right, giving $2(s-1)>1$ or $s>3/2.$ – Marko Riedel May 16 '13 at 19:30
  • Using your second example from your comment above I get that the integrand is not odd on the imaginary axis, it sends $z$ to $\bar{z},$ so the method above does not apply. Here you do have to shift all the way to negative infinity, which picks up the residue of the pole at $s=-1,$ which is $-1/24$, giving $\pi^2/12-1/24$ which seems to be correct numerically. – Marko Riedel May 16 '13 at 19:40
  • Why can't we shift the left side of the rectangle all the way to negative infinity for the first transform but we can for the second transform? And $\frac{\pi^{2}}{12} - \frac{1}{24}$ almost seems like it might not be the actual sum but rather a really good estimate of the sum. – Random Variable May 16 '13 at 21:16
  • 1
    Remember that we are dealing with asymptotic expansions here -- these are not like a Taylor series that eventually converges to the exact value. You are right about $\pi^2/12-1/24$ being off the mark. This is because we are evaluating the sum $$\sum_{n\ge 0}\frac{x(2n+1)}{e^{x(2n+1)}-1}$$ at $x=1.$ The closer you get to $x=0$ the better the approximation $$\pi^2/12/x-x/24$$ gets. This just means that the integral on the left does not vanish. In the other example we had an integral on the left at $\Re(s)=0$ that vanished (!), so of course we used that to get an exact value. – Marko Riedel May 16 '13 at 21:40
  • OK. I think I'm starting to understand now. I was thinking that the first integral didn't vanish on the left side at negative infinity and the second integral did vanish for some strange reason. But I think I need to know more about the asymptotic expansion of series to understand where expansions converge. And in the other problem you did, did the asymptotic expansion actually converge to the actual value of the sum at $x=1$? – Random Variable May 16 '13 at 22:09
  • Which one is that ... we have been talking about several posts here. – Marko Riedel May 16 '13 at 22:12
  • Sorry. I'm referring to the one I linked to that you did a few months ago. – Random Variable May 16 '13 at 22:13
  • 1
    This is the type where we can get an exact answer. If we recast it in the mechanics that we have been talking about these past few days the transform of the relevant sum is $$\Gamma(s)(s-1/4)\zeta(2s).$$ The Mellin integral is on the line $\Re(s)=1$, we shift to $\Re(s)=1/4$ where the integrand vanishes, picking up the residue of the pole at $s=1/2$, which is $1/8\sqrt{\pi/x},$ getting $1/8$ when $x=\pi$ as an exact answer. The base function here is $e^{-x}(x-1/4).$ The old version that you refer to does it a bit differently. – Marko Riedel May 16 '13 at 22:33
  • I hate to bother you again, but you stated that the integrand $\Gamma(s)(s-\frac{1}{4}) \zeta(2s)$ vanishes along the line $\Re(s) = \frac{1}{4}$. Doesn't it only vanish at $s=\frac{1}{4}$ and not along the entire line? – Random Variable May 17 '13 at 14:56
  • 1
    Yes of course. Fortunately Maple says that the Mellin inversion integrand is odd on the line $\Re(s)=1/4,$ so everything works out (the integral vanishes when $x=\pi$). You might want to verify this yourself and post your work here (shouldn't be more than a few lines). – Marko Riedel May 17 '13 at 20:35
  • @RandomVariable I added the proof that I suggested you do. I hope it makes useful reading. – Marko Riedel May 20 '13 at 01:44
  • Stil I don't understand the property that $g(s)$ is odd on $s=0$, I see that $\pi^{-s}\Gamma(s)\zeta(2s)$ is even on $s=1/4$, but how does one, please, derive the symmetry also for $g(s)$ at $s=0$ ?? – Machinato Aug 04 '16 at 12:06
  • Ad myself : It is not so obvious but $$\begin{align}(2\pi)^{-s}\Gamma(1+s)\zeta(1+s)\zeta(s) & = \frac{1}{\pi}\Gamma(1+s)\Gamma(1-s)\zeta(1+s)\zeta(1-s)\sin\frac{\pi s}{2} \ & = \frac{i}{\pi}\left|\Gamma(1+i |t| )\right|^2\left|\zeta(1+i |t| )\right|^2\sinh\frac{t}{2}\end{align}$$ at $s=it$, where Riemann reflection formula for $\zeta(s)$ was used – Machinato Aug 04 '16 at 13:56
6

There is another missing piece (in response to the comments) that must be added here, and that is the proof of the claim that $$\frac{1}{\pi^s}\Gamma(s)(s-1/4)\zeta(2s)$$ is odd and purely imaginary on the line $\Re(s) = 1/4.$ This is due to a deep connection to the functional equation of the Riemman zeta function. We will show that $$\frac{1}{\pi^s}\Gamma(s)\zeta(2s)$$ is even and real when $\Re(s) = 1/4.$ The initial claim then follows.

We have from the proof of the functional equation of the Riemann zeta function that $$ \frac{1}{\pi^s}\Gamma(s)\zeta(2s) = -\frac{1}{2s(1-2s)} + \int_1^\infty (x^{s-1} + x^{-s-1/2}) \left(\sum_{q\ge 1} e^{-\pi q^2 x}\right)dx.$$ (The first term in the integral here is a straightforward Mellin transform while the second one requires more work.)

Putting $s=1/4+it$, we have that $$ \frac{1}{\pi^s}\Gamma(s)\zeta(2s) = -\frac{4}{1+16t^2} + \int_1^\infty (x^{-3/4+it} + x^{-3/4-it}) \left(\sum_{q\ge 1} e^{-\pi q^2 x}\right)dx.$$ But clearly $$x^{it} + x^{-it} = \exp(it\log x) + \exp(-it\log x) = 2\cos(t\log x)$$ is a real number and even in $t$ as is the fractional term in front and the result follows.

Marko Riedel
  • 61,317
  • Thanks. Can I ask you another question? When we have to close the contour at negative infinity, how do we know how close we have to be to $x=0$ for the asymptotic expansion to be valid? In the other two examples we looked at, $x=1$ was close enough in one case and too far away in the other. – Random Variable May 20 '13 at 19:26
  • 1
    @RandomVariable There is really nothing to stop you from studying additional harmonic sums to learn more. E.g. Maple will tell you what the Mellin transform of the sum is (though I like to prove these myself in SE posts) and it will compute the residues at the poles for you. You might want to attack a sum that has five poles instead of three in the left half plane and examine what the optimal location is for shifting the integral to the left. – Marko Riedel May 20 '13 at 20:01
  • Another relevant concept is that of the fundamental strip of the transform of the base function, which is documented in the links I have posted. – Marko Riedel May 20 '13 at 20:04
  • Yeah, I read about how two functions can have the same Mellin transform but for different strips like $e^{-x}$ and $e^{-x}-1$. I've been thinking of these strips as simply the values of $s$ on the complex plane where $\int_{0}^{\infty} f(x) x^{s-1} \ dx$ exists/converges. So we want $c$ to be in that region. That might be oversimplifying things. – Random Variable May 20 '13 at 20:26
  • Reasoning quickly I would say if we can close the contour of the original Mellin inversion integral in a way that makes all the extra contributions be finite, use that, else use all of the asymptotic expansion. If you can get a bound on the contribution from the extra path segments, that bound will tell you how far off your asymptotics are. As you see above it may be possible to establish a functional equation for the sum in x. I would conjecture that a finite asymptotic expansion may imply the existence of a functional equation and thus exact values for sums. – Marko Riedel May 21 '13 at 02:42
  • @RandomVariable I have written another item that shows how to manage fundamental strips in a sophisticated way. You might want to try calculating the asymptotic expansion of $\sum_{k=1}^n k^{3/2}$ and see how far you get, posting your results here at MSE. The references I gave earlier should be helpful. – Marko Riedel Jul 17 '13 at 13:33
  • 1
    @RandomVariable see http://mathoverflow.net/questions/242907/xi-function-on-critical-strip-mellin-transform/242959#242959 it is exactly about that. two different functions can have the same Mellin transform but with different domain of convergence – reuns Jul 21 '16 at 16:36