#2110 linsolve solution pb


I use maxima 5.22.1

My commands are successively:
Eq5 : -c3*x006+c5*(x001)**2-c4*x001/3+c2*x001/3+x001 = 0;
linsolve([Eq5], [x001]);

The unexpected result is :


  • Barton Willis

    Barton Willis - 2010-11-21

    The function linsolve does not check that the equation is linear. Try using solve
    instead of linsolve.

  • Dieter Kaiser

    Dieter Kaiser - 2010-12-03

    The function linsolve is documented to solve a set of linear equations. I think, the function solve gives the expected solutions as reported in the last posting:

    (%i5) Eq5 : -c3*x006+c5*(x001)**2-c4*x001/3+c2*x001/3+x001 = 0$

    (%i6) solve([Eq5],[x001]);
    (%o6) [x001 = -(sqrt(36*c3*c5*x006+c4^2+(-2*c2-6)*c4+c2^2+6*c2+9)-c4+c2+3)
    x001 = (sqrt(36*c3*c5*x006+c4^2+(-2*c2-6)*c4+c2^2+6*c2+9)+c4-c2-3)

    Setting the status to pending and the resolution to invalid.

    Dieter Kaiser

  • Dieter Kaiser

    Dieter Kaiser - 2010-12-03
    • status: open --> pending
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

  • SourceForge Robot

    • status: pending --> closed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks