SolveTools[Inequality] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Factorization and Solving Equations : SolveTools : Inequality : SolveTools/Inequality/LinearUnivariateSystem

SolveTools[Inequality]

  

LinearUnivariateSystem

  

solve a system of linear inequalities with respect to one variable

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

LinearUnivariateSystem(sys, var)

Parameters

sys

-

system of inequalities

var

-

variable name

Description

• 

The LinearUnivariateSystem command solves a system of linear inequalities with respect to one variable.

• 

The LinearUnivariateSystem command returns a set describing the interval of possible values of the variable or a piecewise function of such sets depending on parameters

Examples

with(SolveTools[Inequality]):

LinearUnivariateSystem({x+1>0,2*x-1>0},x);

12<x

(1)

LinearUnivariateSystem({x+1>0,2*x-1<0},x);

−1<x&comma;x<12

(2)

LinearUnivariateSystem({x+1<0,2*x-1<0},x);

x<−1

(3)

LinearUnivariateSystem({x+1<0,2*x-1>0},x);

(4)

LinearUnivariateSystem({x+a<0,2*x-1>0},x);

12<x&comma;x<aa<12otherwise

(5)

LinearUnivariateSystem({2*x+a<=0,2*x-b>=0},x);

xa2&comma;b2xabotherwise

(6)

LinearUnivariateSystem({a*x+2<=0,2*x-b>=0},x);

x2a&comma;b2x0<ab22a2axa<0b2<2ab2xa<02ab2a=0otherwise

(7)

LinearUnivariateSystem({a*x+b<0,c*x+d>=0},x);

xdc0<ac<0dc<bax<ba0<ac<0badcdcx&comma;x<ba0<a0<cdc<bax<ba0<ac=00d0<ac=0d<0xdc&comma;ba<xa<0c<0ba<dcdcxa<00<cba<dcba<xa<00<cdcbaba<xa<0c=00da<0c=0d<0xdca=0b<0c<0dcxa=0b<00<cxa=0b<0c=00da=0b<0c=0d<0a=00b

(8)

See Also

SolveTools

SolveTools[Inequality]

SolveTools[Inequality][LinearMultivariateSystem]

SolveTools[Inequality][LinearUnivariate]