The definite integrate function sets logabs to true; thus
(%i8) assume(r > 0)$
(%i9) integrate(partfrac(gfactor(1/(x^2+1)),x),x,0,r);
(%o9) %i*(log(abs(r+%i))/2-log(abs(r-%i))/2)
Oops...
(%i10) limit(%,r,inf);
(%o10) 0
The user documentation for logabs, but not integrate, says that definite integration sets logabs
to true--the integrate documentation doesn't mention logabs :(
Should the definite integration code allow the user to choose the value for logabs?
--Barton