solve inequalities - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Logic : Relations : solve/ineq

solve/ineqs - solve inequalities

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&plus;1x&comma;x

RealRangeOpen0&comma;&infin;

(2)

solvex1x2x3<0&comma;x

RealRange&infin;&comma;Open1&comma;RealRangeOpen2&comma;Open3

(3)

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

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

(4)

solvex&plus;1<&ExponentialE;x

RealRange&infin;&comma;Open0&comma;RealRangeOpen0&comma;&infin;

(5)

solveax<b&comma;x

&lcub;x&equals;xAnda&equals;0&comma;0<bx<ba0<aba<xa<0otherwise

(6)

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

_EnvConditionalSolutions:=false

_EnvConditionalSolutions:=false

(7)

solveax<b&comma;x

See Also

isolate, signum, simplex, solve


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam