Opened 5 years ago

Last modified 10 months ago

#20452 new defect

spurious limit computation

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

Status badges


From this sage-support thread:

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

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?).


(%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

Change History (1)

comment:1 Changed 10 months ago by chapoton

  • Keywords limit added
Note: See TracTickets for help on using tickets.