Difference between revisions of "Systems of Inequalities in Two Variables"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
 
Line 1: Line 1:
A system of inequalities in two variables consists of two or more inequalities with the same two variables, typically x and y. These systems can have zero solutions, one solution, multiple (but finite) solutions, or an infinite number of solutions. It is often helpful to graph system of inequalities in two variables, as the solutions of the system will be the points/lines/regions where all inequalities in the system overlap.
+
In mathematics  a '''linear inequality''' is an inequality which involves a linear function. A linear inequality contains one of the symbols of inequality. It shows the data which is not equal in graph form.
 +
* < less than
 +
* > greater than
 +
* ≤ less than or equal to
 +
* ≥ greater than or equal to
 +
* ≠ not equal to
 +
* = equal to
 +
A linear inequality looks exactly like a linear equation, with the inequality sign replacing the equality sign.
  
Examples:
+
==Linear inequalities of real numbers==
* <math> x > 4 </math>, <math> y < -4 </math>
 
  
* <math> y \geq x + 1 </math>, <math> y \leq x^2 </math>, <math> y < 4 </math>
+
===Two-dimensional linear inequalities===
 +
[[File:Linearineq1.svg|thumb|Graph of linear inequality:<br> x + 3y < 9]]
  
* <math> x + y < 1 </math>, <math> x^2 + y^2 < 1 </math>
+
Two-dimensional linear inequalities are expressions in two variables of the form:
 +
:<math>ax + by < c \text{ and } ax + by \geq c,</math>
 +
where the inequalities may either be strict or not. The solution set of such an inequality can be graphically represented by a half-plane (all the points on one "side" of a fixed line) in the Euclidean plane. The line that determines the half-planes (''ax'' + ''by'' = ''c'') is not included in the solution set when the inequality is strict. A simple procedure to determine which half-plane is in the solution set is to calculate the value of ''ax'' + ''by'' at a point (''x''<sub>0</sub>, ''y''<sub>0</sub>) which is not on the line and observe whether or not the inequality is satisfied.
 +
 
 +
For example, to draw the solution set of ''x'' + 3''y'' < 9, one first draws the line with equation ''x'' + 3''y'' = 9 as a dotted line, to indicate that the line is not included in the solution set since the inequality is strict. Then, pick a convenient point not on the line, such as (0,0). Since 0 + 3(0) = 0 < 9, this point is in the solution set, so the half-plane containing this point (the half-plane "below" the line) is the solution set of this linear inequality.
 +
 
 +
===Linear inequalities in general dimensions===
 +
In '''R'''<sup>n</sup> linear inequalities are the expressions that may be written in the form
 +
 
 +
:<math> f(\bar{x}) < b </math> or <math> f(\bar{x}) \leq b,</math>
 +
where ''f'' is a linear form (also called a ''linear functional''), <math>\bar{x} = (x_1,x_2,\ldots,x_n)</math> and ''b'' a constant real number.
 +
 +
More concretely, this may be written out as
 +
:<math>a_1 x_1 + a_2 x_2 + \cdots + a_n x_n < b </math>
 +
or
 +
:<math>a_1 x_1 + a_2 x_2 + \cdots + a_n x_n \leq b.</math>
 +
 
 +
Here <math>x_1, x_2,...,x_n</math> are called the unknowns, and <math>a_{1}, a_{2},..., a_{n}</math> are called the coefficients.
 +
 
 +
Alternatively, these may be written as
 +
 
 +
:<math> g(x) < 0 \,</math> or <math> g(x) \leq 0,</math>
 +
where ''g'' is an affine function.
 +
 
 +
That is
 +
: <math>a_0 + a_1 x_1 + a_2 x_2 + \cdots + a_n x_n < 0</math>
 +
or
 +
: <math>a_0 + a_1 x_1 + a_2 x_2 + \cdots + a_n x_n \leq 0.</math>
 +
 
 +
Note that any inequality containing a "greater than" or a "greater than or equal" sign can be rewritten with a "less than" or "less than or equal" sign, so there is no need to define linear inequalities using those signs.
 +
 
 +
===Systems of linear inequalities===
 +
A system of linear inequalities is a set of linear inequalities in the same variables:
 +
 
 +
:<math>\begin{alignat}{7}
 +
a_{11} x_1 &&\; + \;&& a_{12} x_2 &&\; + \cdots + \;&& a_{1n} x_n &&\; \leq \;&&& b_1      \\
 +
a_{21} x_1 &&\; + \;&& a_{22} x_2 &&\; + \cdots + \;&& a_{2n} x_n &&\; \leq \;&&& b_2      \\
 +
\vdots\;\;\; &&    && \vdots\;\;\; &&              && \vdots\;\;\; &&    &&& \;\vdots \\
 +
a_{m1} x_1 &&\; + \;&& a_{m2} x_2 &&\; + \cdots + \;&& a_{mn} x_n &&\; \leq \;&&& b_m      \\
 +
\end{alignat}</math>
 +
Here <math>x_1,\ x_2,...,x_n</math> are the unknowns, <math>a_{11},\ a_{12},...,\ a_{mn}</math> are the coefficients of the system, and <math>b_1,\ b_2,...,b_m</math> are the constant terms.
 +
 
 +
This can be concisely written as the matrix inequality
 +
 
 +
:<math>Ax \leq b,</math>
 +
 
 +
where ''A'' is an ''m''&times;''n'' matrix, ''x'' is an ''n''&times;1 column vector of variables, and ''b'' is an ''m''&times;1 column vector of constants.
 +
 
 +
In the above systems both strict and non-strict inequalities may be used.
 +
 
 +
*Not all systems of linear inequalities have solutions.
 +
 
 +
Variables can be eliminated from systems of linear inequalities using Fourier–Motzkin elimination.
 +
 
 +
===Applications ===
 +
 
 +
====Polyhedra====
 +
The set of solutions of a real linear inequality constitutes a half-space of the 'n'-dimensional real space, one of the two defined by the corresponding linear equation.
 +
 
 +
The set of solutions of a system of linear inequalities corresponds to the intersection of the half-spaces defined by individual inequalities. It is a convex set, since the half-spaces are convex sets, and the intersection of a set of convex sets is also convex. In the non-degenerate cases this convex set is a convex polyhedron (possibly unbounded, e.g., a half-space, a slab between two parallel half-spaces or a polyhedral cone). It may also be empty or a convex polyhedron of lower dimension confined to an affine subspace of the ''n''-dimensional space '''R'''<sup>''n''</sup>.
 +
 
 +
====Linear programming====
 +
 
 +
A linear programming problem seeks to optimize (find a maximum or minimum value) a function (called the objective function) subject to a number of constraints on the variables which, in general, are linear inequalities. The list of constraints is a system of linear inequalities.
  
 
==Resources==
 
==Resources==
Line 12: Line 82:
 
* [https://www.youtube.com/watch?v=PAb1lCtpF8w Solving Systems of Inequalities], Textbook Tactics on YouTube
 
* [https://www.youtube.com/watch?v=PAb1lCtpF8w Solving Systems of Inequalities], Textbook Tactics on YouTube
 
* [https://www.mathplanet.com/education/algebra-1/systems-of-linear-equations-and-inequalities/systems-of-linear-inequalities Graphing Systems of Linear Inequalities with Two Variables], Math Planet
 
* [https://www.mathplanet.com/education/algebra-1/systems-of-linear-equations-and-inequalities/systems-of-linear-inequalities Graphing Systems of Linear Inequalities with Two Variables], Math Planet
 +
 +
== Licensing ==
 +
Content obtained and/or adapted from:
 +
* [https://en.wikipedia.org/wiki/Linear_inequality Linear inequality, Wikipedia] under a CC BY-SA license

Latest revision as of 13:43, 31 October 2021

In mathematics a linear inequality is an inequality which involves a linear function. A linear inequality contains one of the symbols of inequality. It shows the data which is not equal in graph form.

  • < less than
  • > greater than
  • ≤ less than or equal to
  • ≥ greater than or equal to
  • ≠ not equal to
  • = equal to

A linear inequality looks exactly like a linear equation, with the inequality sign replacing the equality sign.

Linear inequalities of real numbers

Two-dimensional linear inequalities

Graph of linear inequality:
x + 3y < 9

Two-dimensional linear inequalities are expressions in two variables of the form:

where the inequalities may either be strict or not. The solution set of such an inequality can be graphically represented by a half-plane (all the points on one "side" of a fixed line) in the Euclidean plane. The line that determines the half-planes (ax + by = c) is not included in the solution set when the inequality is strict. A simple procedure to determine which half-plane is in the solution set is to calculate the value of ax + by at a point (x0, y0) which is not on the line and observe whether or not the inequality is satisfied.

For example, to draw the solution set of x + 3y < 9, one first draws the line with equation x + 3y = 9 as a dotted line, to indicate that the line is not included in the solution set since the inequality is strict. Then, pick a convenient point not on the line, such as (0,0). Since 0 + 3(0) = 0 < 9, this point is in the solution set, so the half-plane containing this point (the half-plane "below" the line) is the solution set of this linear inequality.

Linear inequalities in general dimensions

In Rn linear inequalities are the expressions that may be written in the form

or

where f is a linear form (also called a linear functional), and b a constant real number.

More concretely, this may be written out as

or

Here are called the unknowns, and are called the coefficients.

Alternatively, these may be written as

or

where g is an affine function.

That is

or

Note that any inequality containing a "greater than" or a "greater than or equal" sign can be rewritten with a "less than" or "less than or equal" sign, so there is no need to define linear inequalities using those signs.

Systems of linear inequalities

A system of linear inequalities is a set of linear inequalities in the same variables:

Here are the unknowns, are the coefficients of the system, and are the constant terms.

This can be concisely written as the matrix inequality

where A is an m×n matrix, x is an n×1 column vector of variables, and b is an m×1 column vector of constants.

In the above systems both strict and non-strict inequalities may be used.

  • Not all systems of linear inequalities have solutions.

Variables can be eliminated from systems of linear inequalities using Fourier–Motzkin elimination.

Applications

Polyhedra

The set of solutions of a real linear inequality constitutes a half-space of the 'n'-dimensional real space, one of the two defined by the corresponding linear equation.

The set of solutions of a system of linear inequalities corresponds to the intersection of the half-spaces defined by individual inequalities. It is a convex set, since the half-spaces are convex sets, and the intersection of a set of convex sets is also convex. In the non-degenerate cases this convex set is a convex polyhedron (possibly unbounded, e.g., a half-space, a slab between two parallel half-spaces or a polyhedral cone). It may also be empty or a convex polyhedron of lower dimension confined to an affine subspace of the n-dimensional space Rn.

Linear programming

A linear programming problem seeks to optimize (find a maximum or minimum value) a function (called the objective function) subject to a number of constraints on the variables which, in general, are linear inequalities. The list of constraints is a system of linear inequalities.

Resources

Licensing

Content obtained and/or adapted from: