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

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

Examples

> 

solve⁡x+2⁢y=3,y+1x=1,x,y

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

(1)
> 

solve⁡a⁢x2+b⁢x+c,a,b,c,x

a=a,b=b,c=−a⁢x2−b⁢x,x=x

(2)
> 

solve⁡x+y2,x2−y2−y,x≠0

x=−RootOf⁡_Z3−_Z−12,y=RootOf⁡_Z3−_Z−1

(3)

See Also

allvalues

solve[linear]