--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/5e7fbd5a-f422-4268-b2fb-f77d58c4a2e2%40googlegroups.com.
sure, please open a ticket.
The old (> 5 years...) Trac#16816 ticket is germane...
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-...@googlegroups.com.
Le lundi 9 décembre 2019 03:16:10 UTC+1, rjf a écrit :
FYI:
In Maxima, integrate_use_rootsof: truechanges the result from an unevaluated integral tolsum(log(x-%r1)/(4*%r1^3+2*%r1),%r1,rootsof(a+%r1^4+%r1^2,%r1))which is fairly compact, and to the point, butwhich may or may not be what you want. The inside of rootsofcan be picked out and the 4 roots solved in terms of radicals
by Maxima's solve(). *
Aciddentally ! For example, doesn’t have a solution in terms of radicals. Trying to
solve
it in Maxima fails ; and %solve
gives a list of numerical roots.
If the expression rootsof() is replaced by a list of the rootsreturns by solve, { something like substpart( map(rhs, solve( Z,3,1,x)), Z 3), lsum }you get a large explicit mess of nested radicals and logs.
Indeed. And one may add that this solution has some drawbacks problems: computing only one value of the resultt primitive takes several seconds, trying to plot
it is pointless…
That Mathematical result with arctan is nicer that the explicitradical stuff.
“Nicer” depends of what you want to do with the result. In some cases, the approximate answer obtained via %solve
is preferable (e. g. plotting). In other cases, the explicit log/roots mess is preferable (e. g. trying to prove that the value of the primitive is real for all real values of the aurument).
The “exact” answers given by Sage via (x^5+x^3+1).roots(ring=QQbar)
may be preferable: a radical expression, if it exists, may be obtained via the radical_expression()
method, and the precision is not limited to any specific floating-point approximation ; some equalities may be provable using them.
OTOH, such values won’t pass to Maxima, and the resulting answers cannot be further simplif
ied…
The more general way to do this is :
HTH,
Well... My solution has problems,at list with 8.9.beta9 and also on Sagecell, which is currently at 9.0) . Consider :