#1525 Error computing a sum

closed
nobody
5
2008-12-01
2008-11-13
No

If I compute:

(%i6) load(simplify_sum);
(%o6)
/opt/sage/local/share/maxima/5.16.3/share/contrib/solve_rec/simplify_sum.ma c
(%i7) simplify_sum(sum(1/(x*(x+1)),x,1,inf));
(%o7) 1

it works perfectly fine, but it turns out that if I do:
(%i8) simplify_sum(sum(1/x - 1/(x+1),x,1,inf));

I get an error that the sum is divergent, even though

1/x - 1/(x+1) = 1/(x*(x+1))

Discussion

  • Andrej Vodopivec

    The error comes from

    (%i1) sm : sum(1/x - 1/(x+1), x, 1, inf)$
    (%i2) sm, simpsum;
    Sum is divergent
    -- an error. To debug this try debugmode(true);

    The simplify_sum in cvs computes the sum correctly.

    (%i3) simplify_sum(sm);
    (%o3) 1
    (%i4) build_info();
    Maxima version: 5.16post
    Maxima build date: 10:20 11/12/2008
    host type: i386-apple-darwin9.5.0
    lisp-implementation-type: CMU Common Lisp
    lisp-implementation-version: Stage 3 20071107T024924 (19D)

    Andrej

     
  • Dan Gildea

    Dan Gildea - 2008-11-16
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.