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

Online Help

All Products    Maple    MapleSim


solve/ineqs

solve inequalities

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

solve(ineqs, vars)

Parameters

ineqs

-

inequalities ( <, <=, >, or >= )

vars

-

variables (as in solve)

Description

• 

The solve function can solve many types of inequalities and systems of inequalities in one or more variables.

• 

In general, variables and parameters will automatically be assumed to be real-valued in the context of one or more inequalities.

• 

Systems of linear, parametric inequalities are fully supported.  Univariate inequalities can be solved if their points of equality can be sorted into strictly increasing order.  In other cases, solve may return solutions involving the signum function.

• 

Some parametric inequalities may have conditional solutions that are invalid for some values of the parameters.  In some cases, Maple will return these solutions in the form of piecewise functions whose conditions depend upon the values of the parameters.  To prevent solve from returning conditional solutions, set the environment variable _EnvConditionalSolutions := false.

Examples

solve0x2&comma;x

x

(1)

solve0<x+1x&comma;x

0&comma;

(2)

solvex1x2x3<0&comma;x

&comma;1,2&comma;3

(3)

solvex1+ax2+ax3+a<0&comma;x

x<3a&comma;2a<x&comma;x<1a

(4)

solvex+1<expx

&comma;0,0&comma;

(5)

solveax<b&comma;x

x=x0<ba=0x<ba0<aba<xa<0otherwise

(6)

This inequality has only conditional solutions, so NULL is returned if _EnvConditionalSolutions is set to false.

_EnvConditionalSolutionsfalse

_EnvConditionalSolutionsfalse

(7)

solveax<b&comma;x

See Also

isolate

plots:-inequal

signum

simplex

solve