Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
-- Option variable: globalsolve Default value: false
When globalsolve is true, solved-for variables are assigned the solution values found by linsolve, and by solve when solving two or more linear equations.
![Globalsolve Example eq1:(3)^2/a^2+(4)^2/b^2=1;
eq2:(4)^2/a^2+(2)^2/b^2=1;
[globalsolve: true, programmode: true];
linsolve([eq1,eq2],[a,b]);](http://maxima-online.org//plot.html?g=i-1464119564.png&t=img&db=r-1695770134)
When globalsolve is false, solutions found by linsolve and by solve when solving two or more linear equations are expressed as equations, and the solved-for variables are not assigned.
When solving anything other than two or more linear equations, solve ignores globalsolve. Other functions which solve equations (e.g., algsys) always ignore globalsolve.
Examples:
(%i1) globalsolve: true$
(%i2) solve ([x + 3*y = 2, 2*x - y = 5], [x, y]);
Solution 17
(%t2) x : --
7 1
(%t3) y : - -
7
(%o3) [[%t2, %t3]]
(%i3) x;
17
(%o3) --
7
(%i4) y;
1
(%o4) - -
7
(%i5) globalsolve: false$
(%i6) kill (x, y)$
(%i7) solve ([x + 3*y = 2, 2*x - y = 5], [x, y]);
Solution 17
(%t7) x = --
7 1
(%t8) y = - -
7
(%o8) [[%t7, %t8]]
(%i8) x;
(%o8) x
(%i9) y;
(%o9) y(%o1) true (%i2)
eq1:(3)^2/a^2+(4)^2/b...
eq2:(4)^2/a^2+(2)^2/b...
[globalsolve: false, ...
eq1:(3)^2/a^2+(4)^2/b...
eq2:(4)^2/a^2+(2)^2/b...
[globalsolve: true, p...
eq1:(3)^2/a^2+(4)^2/b...
eq2:(4)^2/a^2+(2)^2/b...
[globalsolve: false, ...