Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Wrong Limit

  • To: mathgroup at
  • Subject: [mg47790] Re: [mg47775] Wrong Limit
  • From: Andrzej Kozlowski <akoz at>
  • Date: Tue, 27 Apr 2004 04:46:33 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

First of all, Mathematica 5.0 gives:

Sum[1/k^p, {k, 1, Infinity}]


which is correct so there is no real need to take any limits. Still, 
your observation seems to reveal a bug in Mathematica 5.0. which may be 
related to one that was already discussed here recently.

First, look at this:


HarmonicNumber[m, 3] + PolyGamma[2, 1]/2 + Zeta[3]

This looks strange, but in fact is correct since:





PolyGamma[2, 1 + m]/2 + Zeta[3]

This is still correct:



However, it tells us that Limit[PolyGamma[2, 1 + m]/2,m->Infinity] 
ought to be zero, while Mathematica gives:



Andrzej Kozlowski
Chiba, Japan

On 26 Apr 2004, at 15:41, Ray wrote:

> In Mathematica 4.2, if s[n_]:= Sum[1/k^p,{k,1,n}], then the output for
> Limit[s[n],n->Infinity] was Limit[HarmonicNumber[n,p],n->Infinity].
> Under 5.0.1, the answer to Limit[s[n],n->Infinity] is given incorrectly
> as Infinity for odd p and the actual numerical value for even p. Anyone
> know why Mathematica now gives an incorrect result here for odd p. 
> Thanks.

  • References:
  • Prev by Date: Re: The unstable LinearSolve
  • Next by Date: Re: Parametric Plot
  • Previous by thread: Wrong Limit
  • Next by thread: Re: Wrong Limit