integrate(u/(u+1)^2,u) appears to return a correct antiderivative.
OP reports that integrate(u/(u+1)^2,u,0,inf) was correctly reported to be divergent in Maxima 5.32.1.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Some additional info:
integrate(u/(u+1)^2,u)
appears to return a correct antiderivative.integrate(u/(u+1)^2,u,0,inf)
was correctly reported to be divergent in Maxima 5.32.1.I don't know if KEYHOLE is returning an incorrect result or maybe
ZTORAT is calling KEYHOLE with an incorrect argument.
[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]