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

Wrong multiplicities when solving a univariate polynomial equation #6228

Closed
simon-king-jena opened this issue Jun 5, 2009 · 7 comments
Closed

Comments

@simon-king-jena
Copy link
Member

At http://groups.google.com/group/sage-support/browse_thread/thread/d8e22deb18d97253 Michael Friedman asked how to get the multiplicities when solving a set of nonlinear equations.

It turns out that actually even the multiplicities for a single and rather simple equation are wrong:

----------------------------------------------------------------------
| Sage Version 4.0, Release Date: 2009-05-29                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: z = var('z')
sage: solve((z^3-1)^3,z,multiplicities=True)
([z == (sqrt(3)*I - 1)/2, z == (-sqrt(3)*I - 1)/2, z == 1], [1, 1, 3])

I am afraid that symbolics isn't my field of expertise. So, I don't know how to cure it.

Component: symbolics

Keywords: multiplicities solve

Author: Karl-Dieter Crisman

Reviewer: Mike Hansen

Merged: sage-4.2.alpha0

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

@simon-king-jena
Copy link
Member Author

comment:1

Note that it seems to be a problem in maxima:

sage: maxima.eval('solve((z^3-1)^3,z)')
'[z=(sqrt(3)*%i-1)/2,z=-(sqrt(3)*%i+1)/2,z=1]'
sage: maxima.eval('multiplicities')
'[1,1,3]'

So, I suspect this ticket will get a "won't fix"...

@kcrisman
Copy link
Member

comment:2

This is now fixed, presumably in the Maxima upgrade.

@kcrisman
Copy link
Member

Author: Karl-Dieter Crisman

@kcrisman
Copy link
Member

Attachment: trac_6228-multiplicity-maxima.patch.gz

Based on 4.1.2.alpha4

@mwhansen
Copy link
Contributor

mwhansen commented Oct 5, 2009

comment:3

Looks good to me.

@mwhansen
Copy link
Contributor

mwhansen commented Oct 5, 2009

Reviewer: Mike Hansen

@mwhansen
Copy link
Contributor

Merged: sage-4.2.alpha0

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

3 participants