10
$\begingroup$

I was trying to get some interesting result for $\zeta(3)$, exploring the following function: $$W(a) = \sum_{k=1}^\infty \frac{1}{k^3 + a^3}, \mbox{ with } \lim_{a\rightarrow 0} W(a) = \zeta(3).$$

Let $w_1, w_2, w_3$ be the three roots (one real, two complex) of $(w+1)^3+a^3=0$, with $w_1=-(a+1)$. Also, $a$ is a real number. Using Wolfram Alpha (see here), I get

$$W(a)=\frac{-1}{3}\cdot\sum_{j=1}^3 W_j(a), \mbox{ with } W_j(a) = \frac{\psi^{(0)}(-w_j)}{(w_j+1)^2}.$$

Here $\psi^{(0)}$ is the digamma function. The result is wrong because $W_1(a) \rightarrow \infty$ as $a\rightarrow 0^+$ while $W_2(a)$ and $W_3(a)$ remain bounded. Indeed using $a=0.0001$, Wolfram yields $W(a)\approx -2334.16$, see here. Surprising, with $a=0.01$ it yields $W(a)\approx 1.20206$ which is very close to the true result.

Surprisingly, Wolfram knows (see here) that $$\lim_{a\rightarrow 0} W(a) = -\frac{\psi^{(2)}(1)}{2}.$$

Of course (this is a well known fact), $\zeta(3)=-\psi^{(2)}(1)/2$ and thus Wolfram is correct this time.

My question:

What is going on with this computation (or is it me?), and what is the correct formula for $W(a)$?

Update

See the two answers below proving that I was wrong, and that the Mathematica formula I though was incorrect, is indeed right. Kudos Mathematica! You were successful at solving a nice problem involving a few challenging steps, and coming with a somewhat unexpected but neat formula involving derivatives of the digamma function instead of the classic $\zeta(3)$.

Final note

It is possible to use a different, simpler approach that does not involve complex numbers. Consider

$$V(a) =\sum_{k=1}^\infty (-1)^{k+1}\frac{1}{k(k^2-a^2)}.$$

Wolfram is able to compute the limit of $V(a)$ as $a\rightarrow 0$, and returns the correct value $3\zeta(3)/4$, see here. It is easy to establish that

$$V(a)=\frac{1}{a^2} \Big[\int_0^\infty \frac{\cosh(ax)}{1+e^x} dx -\log 2\Big].$$

To compute $\lim_{a\rightarrow 0} V(a)$, we apply L'Hospital Rule twice to the above expression, the denominator in this case being $a^2$. This yields

$$\lim_{a\rightarrow 0}V(a) = \frac{1}{2}\lim_{a\rightarrow 0}\int_0^\infty \frac{x^2\cosh(ax)}{1+e^x}dx =\frac{1}{2}\int_0^\infty \frac{x^2}{1+e^x}dx=\frac{3\zeta(3)}{4}.$$

Here, we assume $a<1$.

$\endgroup$
3
  • 8
    $\begingroup$ This might be better on mathematica.stackexchange.com $\endgroup$
    – Stopple
    Commented Sep 4, 2020 at 17:40
  • 1
    $\begingroup$ @Stopple: Thank you, I was not aware of that forum. $\endgroup$ Commented Sep 4, 2020 at 17:42
  • $\begingroup$ There is a very similar problem with $\sum_{k=1}^\infty (-1)^{k+1} (k^3 +a^3)^{-1}$. $\endgroup$ Commented Sep 4, 2020 at 18:03

2 Answers 2

12
$\begingroup$

I think the statement in the OP that $W_2(a)$ and $W_3(a)$ remain bounded when $a\rightarrow 0$ is mistaken, so that there is no inconsistency with the Mathematica result.

The three roots of $(w+1)^3+a^3=0$ are $$w_1= -a-1,\;\; w_2= \tfrac{1}{2} \left(-i \sqrt{3} a+a-2\right),\;\;w_3= \tfrac{1}{2} \left(i \sqrt{3} a+a-2\right).$$ Then the denominator $(w+1)^2$ vanishes for all three roots when $a\rightarrow 0$, while the numerator remains finite (equal to $-\gamma_{\rm Euler}$).

And indeed, a numerical check suggets that the Mathematica output is actually correct, and the erroneous numerical result for small $a$ is a numerical instability in the computation of the digamma function. See these two plots that compare the digamma expression (blue) with a numerical evaluation of the sum (gold), as a function of $a$. For $a\gtrsim 0.01$ the two answers are nearly indistinguishable.

$\endgroup$
2
  • $\begingroup$ There is definitely one thing I agree with you: the derivative of the series (your gold curve) wrt $a$ must be equal to zero when $a=0$. Indeed it's $a^2 O(1)$. $\endgroup$ Commented Sep 4, 2020 at 20:45
  • $\begingroup$ I have to redo my limit computations. Maybe I got them wrong in the first place. $\endgroup$ Commented Sep 4, 2020 at 20:48
8
$\begingroup$

We have the partial fraction decomposition $$\frac{ca^2}{k^3+a^3}=\frac{-\omega}{k-a/\omega }+\frac{\omega -1}{k+a}+\frac{1}{k-a \omega},$$ where $c:=3(\omega-1)$ and $\omega:=e^{i\pi/3}$. Also, $$\sum_{k=1}^n\frac1{k+b}=\ln n-\psi(1+b)+o(1)$$ (as $n\to\infty$), where $\psi$ is the digamma function. Collecting the pieces, for $a\in(-1,\infty)\setminus\{0\}$ we get $$s(a):=\sum_{k=1}^\infty\frac1{k^3+a^3} =\frac1{ca^2}\, \left((1-\omega) \psi(1+a)+\omega\psi\left(1-a/\omega\right) -\psi(1-a \omega)\right).$$ For $a\to0$, $$s(a)=-\frac{\psi ^{(2)}(1)}{2}-\frac{\pi ^6 a^3}{945}+O\left(a^4\right) =\zeta(3)-\frac{\pi ^6 a^3}{945}+O\left(a^4\right).$$

Here is the graph $\{(a,s(a))\colon0<a\le1\}$, with $s(0)=\zeta(3)=1.2020\ldots$:

enter image description here

(I am not geting instability.)

$\endgroup$
6
  • $\begingroup$ Thanks. In your last formula, I assume you mean $\sum_{k=1}^\infty$, right? $\endgroup$ Commented Sep 4, 2020 at 20:04
  • $\begingroup$ @VincentGranville : Thank you for your comment. I have corrected the typo. $\endgroup$ Commented Sep 4, 2020 at 20:16
  • $\begingroup$ @ Iosif: You get the right value for $s(0)$, but not for $s'(0)$ (the derivative of $s$ wrt $a$). We should have $s'(0)=0$. $\endgroup$ Commented Sep 4, 2020 at 20:47
  • 1
    $\begingroup$ @VincentGranville : I had confused $\omega$ with $-\omega$. This mistake is now corrected. In fact, now I have $s(a)=\zeta(3)+O(a^3)$ for $a\to0$, as it of course should be. $\endgroup$ Commented Sep 4, 2020 at 21:13
  • 1
    $\begingroup$ @VincentGranville : I think this latter series can be dealt with quite similarly. $\endgroup$ Commented Sep 7, 2020 at 0:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .