Ticket #10868 (closed defect: fixed)
A wrong (easy) limit
| Reported by: | jvarona | Owned by: | burcin |
|---|---|---|---|
| Priority: | major | Milestone: | sage-5.0 |
| Component: | calculus | Keywords: | |
| Cc: | mjo | Work issues: | |
| Report Upstream: | Fixed upstream, in a later stable release. | Reviewers: | Aly Deines |
| Authors: | Michael Orlitzky | Merged in: | sage-5.0.beta3 |
| Dependencies: | #12094 | Stopgaps: |
Description
If we define f(n)=2+1/factorial(n) the answer of sage for limit(1/f(n),n=oo) is 1, that is clearly wrong. However, limit(f(n),n=oo) gives the answer 2, that is correct.
I have seen this problem in (at least) sage 4.6 and sage 4.6.2, in several kind of computers.
Attachments
Change History
comment:1 Changed 2 years ago by kcrisman
- Report Upstream changed from N/A to Reported upstream. Little or no feedback.
- Authors jvarona deleted
comment:2 Changed 2 years ago by kcrisman
- Report Upstream changed from Reported upstream. Little or no feedback. to Fixed upstream, but not in a stable release.
This report suggests it is fixed in the latest upstream. This would need a patch to verify, once we would update Maxima to that release.
comment:3 Changed 18 months ago by mjo
- Cc mjo added
- Dependencies set to #12094
- Report Upstream changed from Fixed upstream, but not in a stable release. to Fixed upstream, in a later stable release.
This is fixed in stable maxima 5.24.0:
sage: f(n)=2+1/factorial(n) sage: limit(1/f(n),n=oo) 1/2 sage: limit(f(n),n=oo) 2 sage: maxima.version() '5.24.0'
Changed 16 months ago by mjo
-
attachment
sage-trac_10868.patch
added
comment:4 Changed 16 months ago by mjo
- Status changed from new to needs_review
- Authors set to Michael Orlitzky
Note: See
TracTickets for help on using
tickets.

This is in Maxima.
This is still present in the latest Maxima. See this report.