solve/system
systems of equations, multiple equations or unknowns
Calling Sequence
Parameters
Description
Examples
solve(eqns, vars)
eqns
-
list or set of equations and inequalities
vars
list of names (unknowns)
The system solver behaves slightly differently than the scalar solver. For linear systems of equations, see solve[linear].
Multiple solutions are reported only once. Solutions of irreducible polynomials of degree 2, 3, or 4 are represented implicitly by RootOfs.
Inequalities (expr1≠expr2) are either part of the input or are generated from denominators, singularities, and so on. That the solutions will satisfy the equations and inequalities is guaranteed.
If there are more unknowns than equations, the solver will select the variables for which the system is easiest to solve.
If the global variable _MaxSols is set to an integer value, the solver will stop after _MaxSols solutions are found. By default this value is set to 100.
solve⁡x+2⁢y=3,y+1x=1,x,y
x=−1,y=2,x=2,y=12
solve⁡a⁢x2+b⁢x+c,a,b,c,x
a=a,b=b,c=−a⁢x2−b⁢x,x=x
solve⁡x+y2,x2−y2−y,x≠0
x=−RootOf⁡_Z3−_Z−12,y=RootOf⁡_Z3−_Z−1
See Also
allvalues
solve[linear]
Download Help Document