       Re: Troubles with HarmonicNumber, empty sums, and Zeta

• To: mathgroup at smc.vnet.net
• Subject: [mg85934] Re: Troubles with HarmonicNumber, empty sums, and Zeta
• From: "David W.Cantrell" <DWCantrell at sigmaxi.net>
• Date: Thu, 28 Feb 2008 02:47:29 -0500 (EST)
• References: <200802130915.EAA21588@smc.vnet.net> <fouma4\$qu3\$1@smc.vnet.net> <fphbpe\$84a\$1@smc.vnet.net>

```"David W.Cantrell" <DWCantrell at sigmaxi.net> wrote:
[snip]
> Here's another bug, which might be unrelated to the other troubles I had
> mentioned:
>
> In:= Limit[Zeta[z, 9/10] - Zeta[z, 9/10 + z], z -> 1]
>
> Out= Infinity
>
> But it's easy to guess the correct result:
>
> In:= N[Zeta[z, 9/10] - Zeta[z, 9/10 + z] /. z -> 9999/10000, 12]
> Out= 1.11103060226
> In:= N[Zeta[z, 9/10] - Zeta[z, 9/10 + z] /. z -> 10001/10000, 12]
> Out= 1.11119161012
> In:= (% + %%)/2
> Out= 1.11111110619
>
> and so our guess would be 10/9.
>
> Furthermore, we can get the correct exact result by "converting" to
> HarmonicNumber by hand (and then there is no need of Limit):
>
> In:= -HarmonicNumber[-1/10, z] + HarmonicNumber[-1/10 + z, z] /. z ->
> 1 Out= -HarmonicNumber[-1/10] + HarmonicNumber[9/10]
> In:= FullSimplify[%]
> Out= 10/9
>
> Finally, I wonder about things like ZetaClassical and
> ZetaClassicalRegularized. They are used at the Wolfram Functions site.
> For example, the third and fourth entries at
> <http://functions.wolfram.com/ZetaFunctionsandPolylogarithms/Zeta2/02/>
> concern ZetaClassical and ZetaClassicalRegularized, resp. And in the
> output from one of the bugs mentioned in my original post in this thread,
> there was mention of ZetaClassical in a system dump. So are ZetaClassical
> and ZetaClassicalRegularized things that users of Mathematica have access
> to, or are they strictly for internal work, to be hidden from the user?

Having just now updated to version 6.0.2, I'm sorry to note that bugs
mentioned earlier in this thread still exist. And here's another bug
related to Zeta (but probably not directly related to bugs previously

In:= Sum[i*(1/(i - 1/10)^2 - 1/(i + 9/10)^2), {i, 1, Infinity}]

Out= EulerGamma - (2*Sqrt[5/8 + Sqrt/8]*Pi)/(-1 + Sqrt) -
(100/361)*HypergeometricPFQ[{19/10, 19/10, 2}, {29/10, 29/10}, 1] +
2*Log + Log + (1/4)*Log[5/8 - Sqrt/8] - (1/4)*Sqrt*Log[5/8 -
Sqrt/8] + (1/4)*Log[5/8 + Sqrt/8] + (1/4)*Sqrt*Log[5/8 +
Sqrt/8] - (1/2)*Log[-1 + Sqrt] - (1/2)*Sqrt*Log[-1 + Sqrt] -
(1/2)*Log[1 + Sqrt] + (1/2)*Sqrt*Log[1 + Sqrt] +
(1/10)*PolyGamma[1, 9/10]

In:= N[%]

Out= ComplexInfinity

In:= FullSimplify[%%]

Out= Indeterminate

Out is incorrect. (BTW, it seems strange to me that N[Out] is
ComplexInfinity while FullSimplify[Out] is Indeterminate. But that is
not my point.) A correct result from In would have been simply
Zeta[2, 9/10], and that's why I had said this bug is related to Zeta.

In:= N[Zeta[2, 9/10]]

Out= 1.92254

In:= NSum[i*(1/(i - 1/10)^2 - 1/(i + 9/10)^2), {i, 1, Infinity}]

Out= 1.92254

David W. Cantrell

```

• Prev by Date: Re: Finding a continuous solution of a cubic
• Next by Date: Re: Finding a continuous solution of a cubic
• Previous by thread: Re: Troubles with HarmonicNumber, empty sums, and Zeta
• Next by thread: Mathematica Book and Documentation