Template:Short description Template:Redirect-distinguish Template:More citations needed
In mathematics, an inequation is a statement that either an inequality (relations "greater than" and "less than", < and >) or a relation "not equal to" (≠) holds between two values.<ref>Template:Cite book</ref><ref name=":1">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> It is usually written in the form of a pair of expressions denoting the values in question, with a relational sign between the two sides, indicating the specific inequality relation. Some examples of inequations are:
- <math>a < b</math>
- <math>x+y+z \leq 1</math>
- <math>n > 1</math>
- <math>x \neq 0</math>
In some cases, the term "inequation" has a more restricted definition, reserved only for statements whose inequality relation is "not equal to" (or "distinct").<ref name=":1" /><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
Chains of inequationsEdit
A shorthand notation is used for the conjunction of several inequations involving common expressions, by chaining them together. For example, the chain
- <math>0 \leq a < b \leq 1</math>
is shorthand for
- <math>0 \leq a ~ ~ \mathrm{and} ~ ~ a < b ~ ~ \mathrm{and} ~ ~ b \leq 1</math>
which also implies that <math>0 < b</math> and <math>a < 1</math>.
In rare cases, chains without such implications about distant terms are used. For example <math>i \neq 0 \neq j</math> is shorthand for <math>i \neq 0 ~ ~ \mathrm{and} ~ ~ 0 \neq j</math>, which does not imply <math>i \neq j.</math>Template:Citation needed Similarly, <math>a < b > c</math> is shorthand for <math>a < b ~ ~ \mathrm{and} ~ ~ b > c</math>, which does not imply any order of <math>a</math> and <math>c</math>.<ref>Template:Cite book</ref>
Solving inequationsEdit
Similar to equation solving, inequation solving means finding what values (numbers, functions, sets, etc.) fulfill a condition stated in the form of an inequation or a conjunction of several inequations. These expressions contain one or more unknowns, which are free variables for which values are sought that cause the condition to be fulfilled. To be precise, what is sought are often not necessarily actual values, but, more in general, expressions. A solution of the inequation is an assignment of expressions to the unknowns that satisfies the inequation(s); in other words, expressions such that, when they are substituted for the unknowns, make the inequations true propositions. Often, an additional objective expression (i.e., an optimization equation) is given, that is to be minimized or maximized by an optimal solution.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
For example,
- <math>0 \leq x_1 \leq 690 - 1.5 \cdot x_2 \;\land\; 0 \leq x_2 \leq 530 - x_1 \;\land\; x_1 \leq 640 - 0.75 \cdot x_2</math>
is a conjunction of inequations, partly written as chains (where <math>\land</math> can be read as "and"); the set of its solutions is shown in blue in the picture (the red, green, and orange line corresponding to the 1st, 2nd, and 3rd conjunct, respectively). For a larger example. see Linear programming#Example.
Computer support in solving inequations is described in constraint programming; in particular, the simplex algorithm finds optimal solutions of linear inequations.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The programming language Prolog III also supports solving algorithms for particular classes of inequalities (and other relations) as a basic language feature. For more, see constraint logic programming.
Combinations of meaningsEdit
Usually because of the properties of certain functions (like square roots), some inequations are equivalent to a combination of multiple others. For example, the inequation <math>\textstyle \sqrtTemplate:F(x) < g(x)</math> is logically equivalent to the following three inequations combined:
- <math> f(x) \ge 0</math>
- <math> g(x) > 0</math>
- <math> f(x) < \left(g(x)\right)^2</math>
See alsoEdit
- Apartness relation — a form of inequality in constructive mathematics
- Equation
- Equals sign
- Inequality (mathematics)
- Relational operator