Opened 17 months ago

Last modified 3 months ago

#13712 needs_work defect

wrong evaluation of infinite sum

Reported by: burcin Owned by: burcin
Priority: major Milestone: sage-6.2
Component: symbolics Keywords: maxima
Cc: Merged in:
Authors: Reviewers: Jeroen Demeyer
Report Upstream: Fixed upstream, in a later stable release. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

From this ask.sagemath.org question:

sage: n = var('n')
sage: sum(1/((2*n-1)^2*(2*n+1)^2*(2*n+3)^2), n, 0, oo)
3/256*pi^2 - 1/32

The correct answer is 3/256*pi^2.

We should report this to maxima:

(%i10) load(simplify_sum);
(%o10) /tmpbig/burcin/sage-5.4/local/share/maxima/5.26.0/share/contrib/solve_r\
ec/simplify_sum.mac
(%i11) simplify_sum(sum(1/((2*n-1)^2*(2*n+1)^2*(2*n+3)^2), n, 0, inf));

                                          2
                                       %pi
                                   2   ---- - 4
                                %pi     2
(%o11)                          ---- + --------
                                128      128

Change History (7)

comment:1 Changed 17 months ago by kcrisman

  • Report Upstream changed from N/A to Reported upstream. No feedback yet.

I can confirm this is true in Maxima 5.28.0 as well. This is now Maxima artifact 3587514.

comment:2 Changed 10 months ago by jdemeyer

  • Reviewers set to Jeroen Demeyer
  • Status changed from new to needs_review

Fixed in Maxima 5.30.0: #13973.

comment:3 Changed 10 months ago by jdemeyer

  • Report Upstream changed from Reported upstream. No feedback yet. to Fixed upstream, in a later stable release.
  • Status changed from needs_review to positive_review

comment:4 Changed 10 months ago by jdemeyer

  • Milestone changed from sage-5.10 to sage-5.11

comment:5 Changed 10 months ago by jdemeyer

  • Status changed from positive_review to needs_work

Should add doctest.

comment:6 Changed 8 months ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:7 Changed 3 months ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2
Note: See TracTickets for help on using tickets.