Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symbolic sums of roots #16816

Open
kcrisman opened this issue Aug 14, 2014 · 1 comment
Open

symbolic sums of roots #16816

kcrisman opened this issue Aug 14, 2014 · 1 comment

Comments

@kcrisman
Copy link
Member

See this sage-devel discussion, where it is pointed out that both Maxima and Sympy can return solutions to integrals using a symbolic sum of roots, e.g.

sage: f=1/(x^4+x^3+1)
sage: fm=f._maxima_()
sage: fm.integrate()
'integrate(1/(x^4+x^3+1),x)
sage: fs=f._sympy_()
sage: fs.integrate()
RootSum(229*_t**4 + 6*_t**2 + _t + 1, Lambda(_t, _t*log(-37785*_t**3/3547 - 5496*_t**2/3547 + 12979*_t/3547 + x + 691/3547)))

(Thanks to mmarco for this.)

Perhaps this shouldn't be the default return for integrals but it certainly could be useful.

Component: calculus

Issue created by migration from https://trac.sagemath.org/ticket/16816

@miguelmarco
Copy link
Contributor

comment:1

The object itself can be created in pynac using algebraic numbers. The problem is to handle it then. I posted an example in the sage-devel discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants