Opened 4 years ago

Last modified 13 months ago

#17878 new defect

Wrong answer for a simple limit

Reported by: vdelecroix Owned by:
Priority: critical Milestone: sage-6.6
Component: calculus Keywords: bug
Cc: kcrisman Merged in:
Authors: Reviewers:
Report Upstream: Not yet reported upstream; Will do shortly. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by vdelecroix)

As reported in we have

sage: f = exp(-x) / (2 + sin(x))
sage: f.limit(x=+infinity)

but it is clearly defined. And sympy gives the expected answer

sage: import sympy
sage: sympy.limit(f,x,+oo)

Change History (4)

comment:1 Changed 4 years ago by vdelecroix

  • Description modified (diff)

comment:2 Changed 4 years ago by kcrisman

  • Cc kcrisman added
  • Component changed from symbolics to calculus

comment:3 Changed 4 years ago by vdelecroix

  • Description modified (diff)

comment:4 Changed 13 months ago by zimmerma

here is another example of wrong limit (thanks Manuel Eberl, here with Sage 8.2):

sage: f=log(log(x + e^(log(x)*log(log(x)))))/log(log(log(x + e^x + log(x))))
sage: f.limit(x=+infinity)

The correct answer is 1. See

Note: See TracTickets for help on using tickets.