Ticket #11990 (needs_work defect)
infinite sums that are infinite produce errors
|Reported by:||dkrenn||Owned by:||burcin|
|Component:||calculus||Keywords:||infinite sums, infinite, maxima|
|Report Upstream:||Fixed upstream, but not in a stable release.||Reviewers:|
Description (last modified by kcrisman) (diff)
Look at the following code:
sage: m = var('m') sage: sum(m, m, 0, oo) Traceback (most recent call last): ... ValueError: Computation failed since Maxima requested additional constraints; using the 'assume' command before summation *may* help (example of legal syntax is 'assume(m>0)', see `assume?` for more details) Is m positive or zero?
But inside the sum, it should be clear what m is. Using one of or both of the commands
sage: assume(m>=0) sage: assume(m, 'integer')
does not change the result. Execution of
sage: maxima.sum(m, m, 0, oo)
results in the same (except that a TypeError is thrown).
A different behaviour brings the following example
sage: m = var('m') sage: sum(2^m, m, 0, oo) Traceback (most recent call last): ... ValueError: Sum is divergent.
sage: maxima.sum(2^m, m, 0, oo) inf
- Status changed from new to needs_review
- Reviewers set to Burcin Erocal
- Status changed from needs_review to needs_info
- Report Upstream changed from N/A to Reported upstream. No feedback yet.
comment:11 Changed 6 months ago by kcrisman
- Status changed from needs_info to needs_review
- Reviewers Burcin Erocal deleted
- Report Upstream changed from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release.