LinearMultivariateSystem - Maple Help

SolveTools[Inequality]

 LinearMultivariateSystem
 solve a system of linear inequalities with respect to given variables

 Calling Sequence LinearMultivariateSystem(sys, var)

Parameters

 sys - system of inequalities var - list of variable names

Description

 • The LinearMultivariateSystem command solves a system of linear inequalities with respect to the given variables.
 • The LinearMultivariateSystem command returns a region describing the values of the variables or a piecewise function of regions depending on parameters.
 • A region is a union (set) of subregions, each of which is represented by a list. A subregion is a list of intervals. Each interval is a set of inequalities for each variable to solve for. First interval is an interval for the first variable, possibly depending on parameters, second interval is an interval for the second variable, depending on parameters and the first variable, third interval is an interval for the third variable depending on parameters and the first two variables etc. Note that the order of variables is determined by their order in var.

Examples

 > $\mathrm{with}\left(\mathrm{SolveTools}\left[\mathrm{Inequality}\right]\right):$
 > $\mathrm{LinearMultivariateSystem}\left(\left\{y
 $\left\{\left[\left\{{1}{<}{x}\right\}{,}\left\{{y}{<}{x}{-}{1}{,}{1}{-}{x}{<}{y}\right\}\right]\right\}$ (1)
 > $\mathrm{LinearMultivariateSystem}\left(\left\{y
 $\left\{\left[\left\{{y}{\le }{0}\right\}{,}\left\{{-}{y}{+}{1}{<}{x}\right\}\right]{,}\left[\left\{{0}{<}{y}\right\}{,}\left\{{1}{+}{y}{<}{x}\right\}\right]\right\}$ (2)
 > $\mathrm{LinearMultivariateSystem}\left(\left\{y<1-x,x-1
 $\left\{\left[\left\{{x}{\le }{0}{,}{-1}{<}{x}\right\}{,}\left\{{y}{<}{1}{-}{x}{,}{-}{3}{}{x}{-}{1}{<}{y}\right\}\right]{,}\left[\left\{{0}{<}{x}{,}{x}{<}{1}\right\}{,}\left\{{y}{<}{1}{-}{x}{,}{x}{-}{1}{<}{y}\right\}\right]\right\}$ (3)
 > $\mathrm{LinearMultivariateSystem}\left(\left\{y<1-x,x-1
 $\left\{\left[\left\{{y}{\le }{0}{,}{-1}{<}{y}\right\}{,}\left\{{x}{<}{1}{+}{y}{,}{-}\frac{{1}}{{3}}{-}\frac{{y}}{{3}}{<}{x}\right\}\right]{,}\left[\left\{{0}{<}{y}{,}{y}{<}{2}\right\}{,}\left\{{x}{<}{-}{y}{+}{1}{,}{-}\frac{{1}}{{3}}{-}\frac{{y}}{{3}}{<}{x}\right\}\right]\right\}$ (4)
 > $\mathrm{LinearMultivariateSystem}\left(\left\{x<3,y<3,y+x<4,-x<3,-y<3,x-y<4,y-x<4,-x-y<4\right\},\left[x,y\right]\right)$
 $\left\{\left[\left\{{x}{=}{0}\right\}{,}\left\{{-3}{<}{y}{,}{y}{<}{3}\right\}\right]{,}\left[\left\{{1}{\le }{x}{,}{x}{<}{3}\right\}{,}\left\{{y}{<}{4}{-}{x}{,}{-}{4}{+}{x}{<}{y}\right\}\right]{,}\left[\left\{{x}{\le }{-1}{,}{-3}{<}{x}\right\}{,}\left\{{y}{<}{4}{+}{x}{,}{-}{4}{-}{x}{<}{y}\right\}\right]{,}\left[\left\{{-1}{<}{x}{,}{x}{<}{0}\right\}{,}\left\{{-3}{<}{y}{,}{y}{<}{3}\right\}\right]{,}\left[\left\{{0}{<}{x}{,}{x}{<}{1}\right\}{,}\left\{{-3}{<}{y}{,}{y}{<}{3}\right\}\right]\right\}$ (5)
 > $\mathrm{LinearMultivariateSystem}\left(\left\{x+y<1\right\},\left[x,y\right]\right)$
 $\left\{\left[\left\{{x}\right\}{,}\left\{{y}{<}{1}{-}{x}\right\}\right]\right\}$ (6)
 > $\mathrm{LinearMultivariateSystem}\left(\left\{x+y+z<1,x-y+z<2\right\},\left[y,x,z\right]\right)$
 $\left\{\left[\left\{{y}{\le }{-}\frac{{1}}{{2}}\right\}{,}\left\{{x}\right\}{,}\left\{{z}{<}{2}{-}{x}{+}{y}\right\}\right]{,}\left[\left\{{-}\frac{{1}}{{2}}{<}{y}\right\}{,}\left\{{x}\right\}{,}\left\{{z}{<}{-}{y}{+}{1}{-}{x}\right\}\right]\right\}$ (7)
 > $\mathrm{LinearMultivariateSystem}\left(\left\{0
 $\left\{\left[\left\{\frac{{1}}{{2}}{\le }{x}{,}{x}{<}{1}\right\}{,}\left\{{y}{<}{0}{,}{x}{-}{1}{<}{y}\right\}{,}\left\{{0}{<}{z}{,}{z}{<}{1}{+}{y}{-}{x}\right\}\right]{,}\left[\left\{{x}{\le }{0}{,}{-1}{<}{x}\right\}{,}\left\{{0}{\le }{y}{,}{y}{<}{x}{+}{1}\right\}{,}\left\{{0}{<}{z}{,}{z}{<}{1}{+}{x}{-}{y}\right\}\right]{,}\left[\left\{{x}{\le }{0}{,}{-1}{<}{x}\right\}{,}\left\{{y}{<}{0}{,}{-}{1}{-}{x}{<}{y}\right\}{,}\left\{{0}{<}{z}{,}{z}{<}{y}{+}{1}{+}{x}\right\}\right]{,}\left[\left\{{0}{<}{x}{,}{x}{<}{1}\right\}{,}\left\{{0}{\le }{y}{,}{y}{<}{1}{-}{x}\right\}{,}\left\{{0}{<}{z}{,}{z}{<}{-}{y}{+}{1}{-}{x}\right\}\right]{,}\left[\left\{{0}{<}{x}{,}{x}{<}\frac{{1}}{{2}}\right\}{,}\left\{{y}{\le }{-}{x}{,}{x}{-}{1}{<}{y}\right\}{,}\left\{{0}{<}{z}{,}{z}{<}{1}{+}{y}{-}{x}\right\}\right]{,}\left[\left\{{0}{<}{x}{,}{x}{<}\frac{{1}}{{2}}\right\}{,}\left\{{y}{<}{0}{,}{-}{x}{<}{y}\right\}{,}\left\{{0}{<}{z}{,}{z}{<}{1}{+}{y}{-}{x}\right\}\right]\right\}$ (8)
 > $\mathrm{LinearMultivariateSystem}\left(\left\{y<1-x,ax+y<1\right\},\left[x,y\right]\right)$
 $\left\{\begin{array}{cc}\left\{\left[\left\{{0}{\le }{x}\right\}{,}\left\{{y}{<}{-}{a}{}{x}{+}{1}\right\}\right]{,}\left[\left\{{x}{<}{0}\right\}{,}\left\{{y}{<}{1}{-}{x}\right\}\right]\right\}& {1}{<}{a}\\ \left\{\left[\left\{{x}{\le }{0}\right\}{,}\left\{{y}{<}{-}{a}{}{x}{+}{1}\right\}\right]{,}\left[\left\{{0}{<}{x}\right\}{,}\left\{{y}{<}{1}{-}{x}\right\}\right]\right\}& {a}{<}{1}\\ \left\{\left[\left\{{x}\right\}{,}\left\{{y}{<}{1}{-}{x}\right\}\right]\right\}& {a}{=}{1}\end{array}\right\$ (9)