problem with limits at infinity



Thank you for the bug report.

This is indeed a bug in limit. A workaround until it is fixed is to use
tlimit instead.

BTW, when reporting a bug, it's best if you can include the exact version
of Maxima you're running (the bug_report() command tells you that).

                  -s


On Fri, Nov 8, 2013 at 5:05 PM, Dan Drake <ddrake at math.wisc.edu> wrote:

> Hello,
>
> A Sage user encountered a problem that seems to come from Maxima. See
> https://groups.google.com/forum/#!topic/sage-support/dwR4kuBmiQo. In
> Sage:
>
> sage: n = var('n')
> sage: assume(n>0)
> sage: series = -(3*n^2 + 1)*(-1)^n/sqrt(n^5 + 8*n^3 + 8)
> sage: limit(series, n=infinity)
> 38/25*pi^2*und
>
> And in Maxima:
>
> (%i6) display2d:false;
>
> (%o6) false
> (%i7) limit(-(3*n^2 + 1)*(-1)^n/sqrt(n^5 + 8*n^3 + 8),n,inf);
>
> (%o7) -38*und*log(-1)^2/25
>
> I would expect Maxima to evaluate the limit and get zero. (Possibly with
> some encouragement?)
>
> (I'm not on the mailing list, I'm just reporting a bug -- further
> discussion can be directed to the sage-support mailing list or to our
> trac ticket: http://trac.sagemath.org/ticket/15386.)
>
> Thanks,
>
> Dan
>
> --
> ---  Dan Drake
> -----  www.math.wisc.edu/~ddrake/
> -------
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>