In mathematics a linear inequality is an
inequality which involves a
linear function
In mathematics, the term linear function refers to two distinct but related notions:
* In calculus and related areas, a linear function is a function whose graph is a straight line, that is, a polynomial function of degree zero or one. For di ...
. A linear inequality contains one of the symbols of inequality:
* < less than
* > greater than
* ≤ less than or equal to
* ≥ greater than or equal to
* ≠ not equal to
A linear inequality looks exactly like a
linear equation
In mathematics, a linear equation is an equation that may be put in the form
a_1x_1+\ldots+a_nx_n+b=0, where x_1,\ldots,x_n are the variables (or unknowns), and b,a_1,\ldots,a_n are the coefficients, which are often real numbers. The coeffici ...
, with the inequality sign replacing the
equality sign.
Linear inequalities of real numbers
Two-dimensional linear inequalities

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 (''x''
0, ''y''
0) 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
n linear inequalities are the expressions that may be written in the form
:
or
where ''f'' is a
linear form
In mathematics, a linear form (also known as a linear functional, a one-form, or a covector) is a linear mapIn some texts the roles are reversed and vectors are defined as linear maps from covectors to scalars from a vector space to its field (mat ...
(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
In Euclidean geometry, an affine transformation or affinity (from the Latin, ''wikt:affine, affinis'', "connected with") is a geometric transformation that preserves line (geometry), lines and parallel (geometry), parallelism, but not necessarily ...
.
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
Matrix (: matrices or matrixes) or MATRIX may refer to:
Science and mathematics
* Matrix (mathematics), a rectangular array of numbers, symbols or expressions
* Matrix (logic), part of a formula in prenex normal form
* Matrix (biology), the m ...
inequality
:
where ''A'' is an ''m''×''n'' matrix, ''x'' is an ''n''×1
column vector
In linear algebra, a column vector with elements is an m \times 1 matrix consisting of a single column of entries, for example,
\boldsymbol = \begin x_1 \\ x_2 \\ \vdots \\ x_m \end.
Similarly, a row vector is a 1 \times n matrix for some , c ...
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
Fourier–Motzkin elimination, also known as the FME method, is a mathematical algorithm for eliminating variables from a system of linear inequalities. It can output real solutions.
The algorithm is named after Joseph Fourier who proposed the ...
.
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
In geometry, a set of points is convex if it contains every line segment between two points in the set.
For example, a solid cube (geometry), cube is a convex set, but anything that is hollow or has an indent, for example, a crescent shape, is n ...
, 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
In geometry, a polyhedron (: polyhedra or polyhedrons; ) is a three-dimensional figure with flat polygonal faces, straight edges and sharp corners or vertices. The term "polyhedron" may refer either to a solid figure or to its boundary su ...
(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
In mathematics, an affine space is a geometry, geometric structure (mathematics), structure that generalizes some of the properties of Euclidean spaces in such a way that these are independent of the concepts of distance (mathematics), distance ...
of the ''n''-dimensional space R
''n''.
Linear programming
A linear programming problem seeks to optimize (find a maximum or minimum value) a function (called the
objective function
In mathematical optimization and decision theory, a loss function or cost function (sometimes also called an error function) is a function that maps an event or values of one or more variables onto a real number intuitively representing some "cost ...
) 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.
Generalization
The above definition requires well-defined operations of
addition
Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
,
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
and
comparison
Comparison or comparing is the act of evaluating two or more things by determining the relevant, comparable characteristics of each thing, and then determining which characteristics of each are similar to the other, which are different, and t ...
; therefore, the notion of a linear inequality may be extended to
ordered ring
In abstract algebra, an ordered ring is a (usually commutative) ring ''R'' with a total order ≤ such that for all ''a'', ''b'', and ''c'' in ''R'':
* if ''a'' ≤ ''b'' then ''a'' + ''c'' ≤ ''b'' + ''c''.
* if 0 ≤ ''a'' and 0 ≤ ''b'' th ...
s, and in particular to
ordered field
In mathematics, an ordered field is a field together with a total ordering of its elements that is compatible with the field operations. Basic examples of ordered fields are the rational numbers and the real numbers, both with their standard ord ...
s.
References
Sources
*
* {{citation, first1=Charles D., last1=Miller, first2=Vern E., last2=Heeren, year=1986, edition=5th, title=Mathematical Ideas, publisher=Scott, Foresman, isbn=0-673-18276-2, url-access=registration, url=https://archive.org/details/mathematicalidea0000mill
External links
Linear algebra
Linear programming
Polyhedra