| 1 | initial version |
With the algorithm set to mathematica_free, Sage is returning the antiderivative even though you are asking for the improper integral. You can get the improper integral by doing the following:
f=integral(log(x)/(x^2 - 1),x,algorithm='mathematica_free')
limit(f,x=oo)-limit(f,x=0)
This returns pi^2/4.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.