system - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


solve/system

systems of equations, multiple equations or unknowns

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

solve(eqns, vars)

Parameters

eqns

-

list or set of equations and inequalities

vars

-

list of names (unknowns)

Description

• 

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 (expr1expr2) 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.

Examples

solvex+2y=3,y+1x=1,x,y

x=−1,y=2,x=2,y=12

(1)

solveax2+bx+c,a,b,c,x

a=a,b=b,c=ax2bx,x=x

(2)

solvex+y2,x2y2y,x0

x=RootOf_Z3_Z12,y=RootOf_Z3_Z1

(3)

See Also

allvalues

solve[linear]