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

let solve delegate to roots #18900

Open
rwst opened this issue Jul 15, 2015 · 0 comments
Open

let solve delegate to roots #18900

rwst opened this issue Jul 15, 2015 · 0 comments

Comments

@rwst
Copy link

rwst commented Jul 15, 2015

A natural convenience improvement is possible. At the moment:

sage: z = var('z')
sage: f =  1 - z - z^2 - z^3 - z^4 - z^5
sage: solve(f == 0,z)
[0 == z^5 + z^4 + z^3 + z^2 + z - 1]
sage: f.roots(ring=QQbar)
[(0.5086603916420041?, 1),
 (-1.011836827437571? - 0.6839585956421031?*I, 1),
 (-1.011836827437571? + 0.6839585956421031?*I, 1),
 (0.2575066316165687? - 1.118790314198966?*I, 1),
 (0.2575066316165687? + 1.118790314198966?*I, 1)]

Algebraists know how to use Sage's ring elements, so they are not relevant here. Calculus users are satisfied to get all roots in the most general ring, i.e., QQbar for degree >3. So, in the uni polynomial case this should be the default behaviour instead of Maxima which does nothing.

Component: symbolics

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

@rwst rwst added this to the sage-6.8 milestone Jul 15, 2015
@mkoeppe mkoeppe removed this from the sage-6.8 milestone Dec 29, 2022
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