Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong answer for a simple limit #17878

Open
videlec opened this issue Feb 28, 2015 · 4 comments
Open

Wrong answer for a simple limit #17878

videlec opened this issue Feb 28, 2015 · 4 comments

Comments

@videlec
Copy link
Contributor

videlec commented Feb 28, 2015

As reported in ask.sagemath.org we have

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

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

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

Upstream: Not yet reported upstream; Will do shortly.

CC: @kcrisman

Component: calculus

Keywords: bug, limit

Issue created by migration from https://trac.sagemath.org/ticket/17878

@videlec videlec added this to the sage-6.6 milestone Feb 28, 2015
@videlec

This comment has been minimized.

@videlec

This comment has been minimized.

@zimmermann6
Copy link

comment:4

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)
0

The correct answer is 1. See https://sourceforge.net/p/maxima/bugs/3393/

@fchapoton
Copy link
Contributor

Changed keywords from bug to bug, limit

@mkoeppe mkoeppe removed this from the sage-6.6 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants