## maxima-bugs

 [Maxima-bugs] [ maxima-Bugs-2505241 ] solve multiplicities wrong From: SourceForge.net - 2009-01-13 19:20:35 ```Bugs item #2505241, was opened at 2009-01-13 14:20 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2505241&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Raymond Toy (rtoy) Assigned to: Nobody/Anonymous (nobody) Summary: solve multiplicities wrong Initial Comment: This is right: (%i543) solve((x^2+2*x+1)^7,x); (%o543) [x = - 1] (%i544) multiplicities; (%o544) [14] But this is wrong: (%i545) solve((y^4+3*y^2+1)^7,y)\$ (%i546) multiplicities; (%o546) [1, 1, 1, 1] Each root has multiplicity 7, not 1. In solve.lisp, after easy-cases, there is a comment from Barton about commenting out some code dealing with multiplicities. Not sure if this would fix the problem, or what the actual problem is in the comment. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2505241&group_id=4933 ```
 [Maxima-bugs] [ maxima-Bugs-2505241 ] solve multiplicities wrong From: SourceForge.net - 2009-01-15 11:11:44 ```Bugs item #2505241, was opened at 2009-01-13 13:20 Message generated for change (Comment added) made by willisbl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2505241&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Raymond Toy (rtoy) Assigned to: Nobody/Anonymous (nobody) Summary: solve multiplicities wrong Initial Comment: This is right: (%i543) solve((x^2+2*x+1)^7,x); (%o543) [x = - 1] (%i544) multiplicities; (%o544) [14] But this is wrong: (%i545) solve((y^4+3*y^2+1)^7,y)\$ (%i546) multiplicities; (%o546) [1, 1, 1, 1] Each root has multiplicity 7, not 1. In solve.lisp, after easy-cases, there is a comment from Barton about commenting out some code dealing with multiplicities. Not sure if this would fix the problem, or what the actual problem is in the comment. ---------------------------------------------------------------------- >Comment By: Barton Willis (willisbl) Date: 2009-01-15 05:11 Message: I wish that my comment had more details. I tried uncommenting the code--then (%i1) solve((x^2+2*x+1)^7,x)\$ Wrong, but previously correct. (%i2) multiplicities; (%o2) [2] Wrong: (%i3) solve((y^4+3*y^2+1)^7,y)\$ (%i4) multiplicities; (%o4) [1, 1, 1, 1] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2505241&group_id=4933 ```
 [Maxima-bugs] [ maxima-Bugs-2505241 ] solve multiplicities wrong From: SourceForge.net - 2009-01-15 11:26:55 ```Bugs item #2505241, was opened at 2009-01-13 13:20 Message generated for change (Comment added) made by willisbl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2505241&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Raymond Toy (rtoy) Assigned to: Nobody/Anonymous (nobody) Summary: solve multiplicities wrong Initial Comment: This is right: (%i543) solve((x^2+2*x+1)^7,x); (%o543) [x = - 1] (%i544) multiplicities; (%o544) [14] But this is wrong: (%i545) solve((y^4+3*y^2+1)^7,y)\$ (%i546) multiplicities; (%o546) [1, 1, 1, 1] Each root has multiplicity 7, not 1. In solve.lisp, after easy-cases, there is a comment from Barton about commenting out some code dealing with multiplicities. Not sure if this would fix the problem, or what the actual problem is in the comment. ---------------------------------------------------------------------- >Comment By: Barton Willis (willisbl) Date: 2009-01-15 05:26 Message: Also after uncommenting, the code in solve.lisp I commented out in 2004, the testsuite reports two problems: Error found in c:\maximacvs3\maxima\tests\rtest15.mac, problem: (137) Error found in c:\maximacvs3\maxima\tests\rtestint.mac, problem: (45) ---------------------------------------------------------------------- Comment By: Barton Willis (willisbl) Date: 2009-01-15 05:11 Message: I wish that my comment had more details. I tried uncommenting the code--then (%i1) solve((x^2+2*x+1)^7,x)\$ Wrong, but previously correct. (%i2) multiplicities; (%o2) [2] Wrong: (%i3) solve((y^4+3*y^2+1)^7,y)\$ (%i4) multiplicities; (%o4) [1, 1, 1, 1] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2505241&group_id=4933 ```
 [Maxima-bugs] [ maxima-Bugs-2505241 ] solve multiplicities wrong From: SourceForge.net - 2009-01-15 18:35:30 ```Bugs item #2505241, was opened at 2009-01-13 14:20 Message generated for change (Settings changed) made by dgildea You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2505241&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Raymond Toy (rtoy) Assigned to: Nobody/Anonymous (nobody) Summary: solve multiplicities wrong Initial Comment: This is right: (%i543) solve((x^2+2*x+1)^7,x); (%o543) [x = - 1] (%i544) multiplicities; (%o544) [14] But this is wrong: (%i545) solve((y^4+3*y^2+1)^7,y)\$ (%i546) multiplicities; (%o546) [1, 1, 1, 1] Each root has multiplicity 7, not 1. In solve.lisp, after easy-cases, there is a comment from Barton about commenting out some code dealing with multiplicities. Not sure if this would fix the problem, or what the actual problem is in the comment. ---------------------------------------------------------------------- >Comment By: Dan Gildea (dgildea) Date: 2009-01-15 13:35 Message: In solve.lisp rev 1.22, pass multiplicity parameter through easy-cases to solve. (%i2) solve((x^2+2*x+1)^7,x); (%o2) [x = -1] (%i3) multiplicities; (%o3) [14] (%i4) solve((y^4+3*y^2+1)^7,y)\$ (%i5) multiplicities; (%o5) [7,7,7,7] I didn't touch the commented code. ---------------------------------------------------------------------- Comment By: Barton Willis (willisbl) Date: 2009-01-15 06:26 Message: Also after uncommenting, the code in solve.lisp I commented out in 2004, the testsuite reports two problems: Error found in c:\maximacvs3\maxima\tests\rtest15.mac, problem: (137) Error found in c:\maximacvs3\maxima\tests\rtestint.mac, problem: (45) ---------------------------------------------------------------------- Comment By: Barton Willis (willisbl) Date: 2009-01-15 06:11 Message: I wish that my comment had more details. I tried uncommenting the code--then (%i1) solve((x^2+2*x+1)^7,x)\$ Wrong, but previously correct. (%i2) multiplicities; (%o2) [2] Wrong: (%i3) solve((y^4+3*y^2+1)^7,y)\$ (%i4) multiplicities; (%o4) [1, 1, 1, 1] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2505241&group_id=4933 ```