Menu

#2862 Incorrect result for integrate(u/(u+1)^2,u,0,inf);

None
closed
None
5
2014-12-22
2014-12-19
No

The command

integrate(u/(u+1)^2,u,0,inf)

should return infinity but it returns -1.

Related

Wiki: 5.36.0

Discussion

  • Robert Dodier

    Robert Dodier - 2014-12-22

    Some additional info:

    1. integrate(u/(u+1)^2,u) appears to return a correct antiderivative.
    2. OP reports that integrate(u/(u+1)^2,u,0,inf) was correctly reported to be divergent in Maxima 5.32.1.
    3. Looks like the error comes from ZTORAT and KEYHOLE in src/defint.lisp.
      I don't know if KEYHOLE is returning an incorrect result or maybe
      ZTORAT is calling KEYHOLE with an incorrect argument.
     
  • Dan Gildea

    Dan Gildea - 2014-12-22
    • status: open --> closed
    • assigned_to: Dan Gildea
     
  • Dan Gildea

    Dan Gildea - 2014-12-22

    [86685c3e400a893535dad1b940707750868e1de2]
    src/defint.lisp:
    o poles-in-interval: return pole at infinity, even when
    $csign tells us no poles strictly within interval

     

    Related

    Commit: [86685c]


Log in to post a comment.