Skip to content

spurious limit computation #20452

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

Open
kcrisman opened this issue Apr 17, 2016 · 1 comment
Open

spurious limit computation #20452

kcrisman opened this issue Apr 17, 2016 · 1 comment

Comments

@kcrisman
Copy link
Member

From this sage-support thread:

     sage: assume(x, 'real')
       sage: limit((x^(1/x)-1)*sqrt(x), x=infinity)
       +Infinity
       sage: limit(((1/x)^x-1)/sqrt(x), x=0, dir='+')
       +Infinity


Thanks.  In pure Maxima we get:

(%i3) limit((x^(1/x)-1)*sqrt(x),x,inf);
(%o3)                                 inf
(%i4) limit((x^(1/x)-1)*sqrt(x),x,0);
(%o4)                                 und
(%i5) limit((x^(1/x)-1)*sqrt(x),x,0,plus);
(%o5)                                  0
(%i6) limit((x^(1/x)-1)*sqrt(x),x,0,minus);
(%o6)                                 inf

From what I understand, the first of these is wrong, maybe also the last (should it be infinity (complex infinity) instead?).


Interestingly,

(%i7) domain:complex;
(%o7)                               complex
(%i10) limit((x^(1/x)-1)*sqrt(x),x,0,minus);

;;;
;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'.
;;; Jumping to the outermost toplevel prompt

<lots of times>

Segmentation fault: 11

Upstream: Not yet reported upstream; Will do shortly.

Component: calculus

Keywords: limit

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

@kcrisman kcrisman added this to the sage-7.2 milestone Apr 17, 2016
@fchapoton
Copy link
Contributor

Changed keywords from none to limit

@mkoeppe mkoeppe removed this from the sage-7.2 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

3 participants