rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

integrate(log(1-x^2)/x, x) looks invalid #72

Open rtoy opened 3 days ago

rtoy commented 3 days ago

Imported from SourceForge on 2024-07-01 18:03:06 Created by dimpase on 2017-01-17 23:04:30 Original: https://sourceforge.net/p/maxima/bugs/3275


integrate(log(1-x^2)/x, x); used to give no terms with log(x) and log(-x), but now, while formally correct, numerically this makes no sense:

(%i4) integrate(log(1-x^2)/x, x); (%o4) log(-x)*log(x+1)+li[2](x+1)+log(1-x)*log(x)+li[2](1-x)

Edited by David Scherfgen: Fixed formatting.

rtoy commented 3 days ago

Imported from SourceForge on 2024-07-01 18:03:07 Created by tomasriker on 2017-01-20 07:55:17 Original: https://sourceforge.net/p/maxima/bugs/3275/#18a6


I think the answer should be -li[2](x^2)/2.