## [Maxima-bugs] [ maxima-Bugs-2912391 ] wrong result

 [Maxima-bugs] [ maxima-Bugs-2912391 ] wrong result From: SourceForge.net - 2009-12-28 02:20:29 ```Bugs item #2912391, was opened at 2009-12-11 02:01 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2912391&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lisp Core - Limit Group: None >Status: Closed Resolution: Works For Me Priority: 5 Private: No Submitted By: Rudolf Vyborny (ynrobyvr) Assigned to: Nobody/Anonymous (nobody) Summary: wrong result Initial Comment: Calculating the limit of x+sqrt(1+x^2) as x goes to - infinity gives the wrong result -inf instead of correct answer 0 ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2009-12-28 02:20 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Dieter Kaiser (crategus) Date: 2009-12-13 17:50 Message: I am not sure about the notation of infinities which is used in this bug report. Maxima knows inf, minf, and infinity. infinity represents the complex infinity, inf and minf the real infinities.Furthermore, we have minf = -inf. With these notations I get: (%i11) limit(x+sqrt(1+x^2),x,inf); (%o11) inf (%i12) limit(x+sqrt(1+x^2),x,-inf); (%o12) 0 (%i13) limit(x+sqrt(1+x^2),x,minf); (%o13) 0 (%i14) limit(x+sqrt(1+x^2),x,infinity); (%o14) infinity I think all results from above are correct. Setting this bug report to pending and the status to "works for me". Dieter Kaiser ---------------------------------------------------------------------- Comment By: Martin (m-h-s) Date: 2009-12-11 09:05 Message: I cannot reproduce this on ------------------------------------------------------------- Maxima version: 5.19.2 Maxima build date: 8:55 8/31/2009 host type: i686-pc-mingw32 lisp-implementation-type: GNU Common Lisp (GCL) lisp-implementation-version: GCL 2.6.8 ------------------------------------------------------------- (%i1) expr: x+sqrt(1+x^2); (%o1) sqrt(x^2+1)+x (%i2) limit(expr, x, -inf); (%o2) 0 (%i3) limit(expr, x, minf); (%o3) 0 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2912391&group_id=4933 ```