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

Online Help

All Products    Maple    MapleSim


SolveTools

  

SemiAlgebraic

  

compute the solutions of a set of equations, inequations, and inequalities

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

SemiAlgebraic(sys)

SemiAlgebraic(sys, vars)

SemiAlgebraic(sys, vars, parameters=parms)

Parameters

sys

-

list or set of equations, inequations, or inequalities with rational real coefficients

vars

-

(optional) list or set of variables

parms

-

(optional) a list of parameters

Description

• 

The command SolveTools[SemiAlgebraic] computes the solutions of a rational polynomial system consisting of a combination of equations, inequations, and inequalities over the real numbers.

• 

If vars is not specified, the command determines the list of unknowns to be solved.

• 

SemiAlgebraic will solve for all the unknown symbols in the input system. If vars is specified, but does not include all symbols in the system then the omitted symbols will be treated as parameters and the output will be a piecewise expression. The parameters option can be used to specify an ordered list of parameters.

• 

The order of equations and inequalities in the solutions is determined by the order of the variables given in vars.  If vars is not specified, the order that was used to solve the polynomial system is used.

• 

This command is part of the SolveTools package, and can be used in the form SemiAlgebraic(..) only after executing the command with(SolveTools).  However, it can always be accessed through the long form of the command using SolveTools[SemiAlgebraic](..).

Examples

withSolveTools:

A set of inequations defines a region in the plane.

ineqs0<3yx2&comma;x2+y2<9&comma;x2y<0

ineqs0<3yx2&comma;x2y<0&comma;x2+y2<9

(1)

plots:-inequalineqs&comma;x=2..2&comma;y=0..3&comma;color=Nautical Dark Gray

A semi-algebraic solution defines a decomposition of that region into strips.  The variable order x&comma;y gives vertical strips.

sasolxySolveTools:-SemiAlgebraicineqs&comma;x&comma;y

sasolxyRootOf_Z4+_Z29&comma;−1.602..−1.593<x&comma;x<23&comma;x2<y&comma;y<x2+9&comma;x=23&comma;49<y&comma;y<773&comma;23<x&comma;x<1&comma;x3+23<y&comma;y<x2+9&comma;x=1&comma;1<y&comma;y<22&comma;1<x&comma;x<RootOf_Z4+_Z29&comma;1.593..1.602&comma;x2<y&comma;y<x2+9

(2)

plots:-inequalsasolxy&comma;x=2..2&comma;y=0..3&comma;optionsfeasible=seqcolor=catNautical &comma;floori+12&comma;i=1..nopssasolxy

The variable order y&comma;x gives horizontal strips.

sasolyxSolveTools:-SemiAlgebraicineqs&comma;y&comma;x

sasolyx49<y&comma;y1&comma;y<x&comma;x<3y2&comma;1<y&comma;y12+372&comma;y<x&comma;x<y&comma;12+372<y&comma;y<3&comma;y2+9<x&comma;x<y2+9

(3)

plots:-inequalsasolyx&comma;x=2..2&comma;y=0..3&comma;optionsfeasible=seqcolor=catNautical &comma;floori+12&comma;i=1..nopssasolyx

If no variables are given then they are deduced.

SemiAlgebraicx+y2<0&comma;x2+x1=0

x=5212&comma;2+252<y&comma;y<2+252

(4)

SemiAlgebraicx+y2<0&comma;x2+x1=0&comma;y&comma;x

RootOf_Z4_Z21&comma;−1.274..−1.265<y&comma;y<RootOf_Z4_Z21&comma;1.265..1.274&comma;x=5212

(5)

If some variables are not given, a piecewise case discussion is returned.

SemiAlgebraicax<b&comma;x

x=xa=00<bx<ba0<aba<xa<0otherwise

(6)

SemiAlgebraicax<b&comma;x&comma;parameters=b&comma;a

x<0b=00<a0<xb=0a<0x=x0<ba=0x<ba0<b0<aba<x0<ba<0x<bab<00<aba<xb<0a<0otherwise

(7)

SemiAlgebraicx+y2<a&comma;x2+x1=0&comma;x&comma;y

a5212x=5212&comma;25+2+4a2<y&comma;y<25+2+4a2a5212x=5212&comma;25+2+4a2<y&comma;y<25+2+4a2&comma;x=5212&comma;25+2+4a2<y&comma;y<25+2+4a25212<a

(8)

SemiAlgebraic0<x+y2&comma;x2+x1=0

x=5212&comma;y<2+252&comma;x=5212&comma;2+252<y&comma;x=5212&comma;y=y

(9)

SemiAlgebraicx2+y2<9&comma;x2+x1<0&comma;x&comma;y

5212<x&comma;x<5212&comma;x2+9<y&comma;y<x2+9

(10)

SemiAlgebraicx2+y2<9&comma;x2y<0&comma;x&comma;y

RootOf_Z4+_Z29&comma;−1.602..−1.593<x&comma;x<RootOf_Z4+_Z29&comma;1.593..1.602&comma;x2<y&comma;y<x2+9

(11)

Compatibility

• 

The SolveTools[SemiAlgebraic] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

• 

The parameters option was updated in Maple 17.

See Also

PDETools,Solve

RegularChains

RegularChains/SemiAlgebraicSetTools

RegularChains/SemiAlgebraicSetTools/CylindricalAlgebraicDecompose

RegularChains/SuggestVariableOrder

solve

SolveTools