MathGroup Archive 2009

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

Search the Archive

Re: Bug in Limit

  • To: mathgroup at
  • Subject: [mg96469] Re: Bug in Limit
  • From: "David W. Cantrell" <DWCantrell at>
  • Date: Sat, 14 Feb 2009 03:09:38 -0500 (EST)
  • References: <gn3bst$q2f$>

azzteke <klaus.giesselmann at> wrote:
> In both V6 and V7 Limit[((-1)^n*n)/((-1)^n*n + 1), n -> Infinity]
> gives 0 instead of 1.
> Any idea?

You're right that it is a bug, and I've confirmed it in version 6. I don't
know the cause of the bug, but here's a way to avoid it in version 6:

In[8]:= Limit[FullSimplify[Re[((-1)^n*n)/((-1)^n*n + 1)]], n -> Infinity]

Out[8]= 1

In[9]:= Limit[FullSimplify[Im[((-1)^n*n)/((-1)^n*n + 1)]], n -> Infinity]

Out[9]= 0


  • Prev by Date: Re: New free introductory book on Mathematica programming, and a few
  • Next by Date: Re: Help! About drawing a high-precision 3D graph
  • Previous by thread: Re: Bug in Limit
  • Next by thread: Re: Bug in Limit