Re: Bug in Limit
- To: mathgroup at smc.vnet.net
- Subject: [mg96469] Re: Bug in Limit
- From: "David W. Cantrell" <DWCantrell at sigmaxi.net>
- Date: Sat, 14 Feb 2009 03:09:38 -0500 (EST)
- References: <gn3bst$q2f$1@smc.vnet.net>
azzteke <klaus.giesselmann at web.de> 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 David