#10311: solve()-ing Equations in CC
------------------------------+---------------------------------------------
   Reporter:  tux21b          |       Owner:  jason, was
       Type:  defect          |      Status:  new       
   Priority:  major           |   Milestone:            
  Component:  linear algebra  |    Keywords:            
     Author:                  |    Upstream:  N/A       
   Reviewer:                  |      Merged:            
Work_issues:                  |  
------------------------------+---------------------------------------------
 The following looks like a bug to me, but feel free to correct me if I'm
 mistaken.

 {{{
 sage: var('z')
 sage: g1 = z^5 - (2 - I)*z^4 - (34 + 13*I)*z^3 + (22 - 51*I)*z^2 \
 + (53 - I)*z - 728 - 196*I == 0
 sage:
 sage: solve([g1], z)
 [0 == z^5 + (I - 2)*z^4 - (13*I + 34)*z^3 - (51*I - 22)*z^2 -
 (I - 53)*z - 196*I - 728]
 sage:
 sage: solve([g1, I == I], z)
 [[z == (-4.00420663449 - 1.03443096055*I)], [z == (7.03872088238 +
 1.11154206861*I)], [z == (1.40276621 - 2.70758376454*I)], [z == (
 -3.78854832152 - 0.122376366114*I)], [z == (1.35126786363 +
 1.7528490226*I)]]
 sage:
 sage: solve([g1, z == z], z)
 [[z == (-4.00420663449 - 1.03443096055*I)], [z == (7.03872088238 +
 1.11154206861*I)], [z == (1.40276621 - 2.70758376454*I)], [z == (
 -3.78854832152 - 0.122376366114*I)], [z == (1.35126786363 +
 1.7528490226*I)]]
 }}}

 I think the problem is that `solve()` refuses to solve equation systems
 with more variables than equations, even if some of the variables are
 already known.

 Regards[[BR]]
 Christoph

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10311>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to