Jump to content

Inequality (mathematics)

From Wikipedia, the free encyclopedia
(Redirected from Comparison (mathematics))
The feasible regions of linear programming are defined by a set of inequalities.

In mathematics, an inequality is a relation which makes a non-equal comparison between two numbers or other mathematical expressions.[1] It is used most often to compare two numbers on the number line by their size. The main types of inequality are less than (<) and greater than (>).

Notation

[edit]

There are several different notations used to represent different kinds of inequalities:

  • The notation a < b means that a is less than b.
  • The notation a > b means that a is greater than b.

In either case, a is not equal to b. These relations are known as strict inequalities,[1] meaning that a is strictly less than or strictly greater than b. Equality is excluded.

In contrast to strict inequalities, there are two types of inequality relations that are not strict:

  • The notation ab or ab or ab means that a is less than or equal to b (or, equivalently, at most b, or not greater than b).
  • The notation ab or ab or ab means that a is greater than or equal to b (or, equivalently, at least b, or not less than b).

In the 17th and 18th centuries, personal notations or typewriting signs were used to signal inequalities.[2] For example, In 1670, John Wallis used a single horizontal bar above rather than below the < and >. Later in 1734, ≦ and ≧, known as "less than (greater-than) over equal to" or "less than (greater than) or equal to with double horizontal bars", first appeared in Pierre Bouguer's work .[3] After that, mathematicians simplified Bouguer's symbol to "less than (greater than) or equal to with one horizontal bar" (≤), or "less than (greater than) or slanted equal to" (⩽).

The relation not greater than can also be represented by the symbol for "greater than" bisected by a slash, "not". The same is true for not less than,

The notation ab means that a is not equal to b; this inequation sometimes is considered a form of strict inequality.[4] It does not say that one is greater than the other; it does not even require a and b to be member of an ordered set.

In engineering sciences, less formal use of the notation is to state that one quantity is "much greater" than another,[5] normally by several orders of magnitude.

  • The notation ab means that a is much less than b.[6]
  • The notation ab means that a is much greater than b.[7]

This implies that the lesser value can be neglected with little effect on the accuracy of an approximation (such as the case of ultrarelativistic limit in physics).

In all of the cases above, any two symbols mirroring each other are symmetrical; a < b and b > a are equivalent, etc.

Properties on the number line

[edit]

Inequalities are governed by the following properties. All of these properties also hold if all of the non-strict inequalities (≤ and ≥) are replaced by their corresponding strict inequalities (< and >) and — in the case of applying a function — monotonic functions are limited to strictly monotonic functions.

Converse

[edit]

The relations ≤ and ≥ are each other's converse, meaning that for any real numbers a and b:

ab and ba are equivalent.

Transitivity

[edit]

The transitive property of inequality states that for any real numbers a, b, c:[8]

If ab and bc, then ac.

If either of the premises is a strict inequality, then the conclusion is a strict inequality:

If ab and b < c, then a < c.
If a < b and bc, then a < c.

Addition and subtraction

[edit]
If x < y, then x + a < y + a.

A common constant c may be added to or subtracted from both sides of an inequality.[4] So, for any real numbers a, b, c:

If ab, then a + cb + c and acbc.

In other words, the inequality relation is preserved under addition (or subtraction) and the real numbers are an ordered group under addition.

Multiplication and division

[edit]
If x < y and a > 0, then ax < ay.
If x < y and a < 0, then ax > ay.

The properties that deal with multiplication and division state that for any real numbers, a, b and non-zero c:

If ab and c > 0, then acbc and a/cb/c.
If ab and c < 0, then acbc and a/cb/c.

In other words, the inequality relation is preserved under multiplication and division with positive constant, but is reversed when a negative constant is involved. More generally, this applies for an ordered field. For more information, see § Ordered fields.

Additive inverse

[edit]

The property for the additive inverse states that for any real numbers a and b:

If ab, then −a ≥ −b.

Multiplicative inverse

[edit]

If both numbers are positive, then the inequality relation between the multiplicative inverses is opposite of that between the original numbers. More specifically, for any non-zero real numbers a and b that are both positive (or both negative):

If ab, then 1/a1/b.

All of the cases for the signs of a and b can also be written in chained notation, as follows:

If 0 < ab, then 1/a1/b > 0.
If ab < 0, then 0 > 1/a1/b.
If a < 0 < b, then 1/a < 0 < 1/b.

Applying a function to both sides

[edit]
The graph of y = ln x

Any monotonically increasing function, by its definition,[9] may be applied to both sides of an inequality without breaking the inequality relation (provided that both expressions are in the domain of that function). However, applying a monotonically decreasing function to both sides of an inequality means the inequality relation would be reversed. The rules for the additive inverse, and the multiplicative inverse for positive numbers, are both examples of applying a monotonically decreasing function.

If the inequality is strict (a < b, a > b) and the function is strictly monotonic, then the inequality remains strict. If only one of these conditions is strict, then the resultant inequality is non-strict. In fact, the rules for additive and multiplicative inverses are both examples of applying a strictly monotonically decreasing function.

A few examples of this rule are:

  • Raising both sides of an inequality to a power n > 0 (equiv., −n < 0), when a and b are positive real numbers:
    0 ≤ ab ⇔ 0 ≤ anbn.
    0 ≤ abanbn ≥ 0.
  • Taking the natural logarithm on both sides of an inequality, when a and b are positive real numbers:
    0 < ab ⇔ ln(a) ≤ ln(b).
    0 < a < b ⇔ ln(a) < ln(b).
    (this is true because the natural logarithm is a strictly increasing function.)

Formal definitions and generalizations

[edit]

A (non-strict) partial order is a binary relation ≤ over a set P which is reflexive, antisymmetric, and transitive.[10] That is, for all a, b, and c in P, it must satisfy the three following clauses:

A set with a partial order is called a partially ordered set.[11] Those are the very basic axioms that every kind of order has to satisfy.

A strict partial order is a relation < that satisfies:

Some types of partial orders are specified by adding further axioms, such as:

Ordered fields

[edit]

If (F, +, ×) is a field and ≤ is a total order on F, then (F, +, ×, ≤) is called an ordered field if and only if:

  • ab implies a + cb + c;
  • 0 ≤ a and 0 ≤ b implies 0 ≤ a × b.

Both and are ordered fields, but cannot be defined in order to make an ordered field,[12] because −1 is the square of i and would therefore be positive.

Besides being an ordered field, R also has the Least-upper-bound property. In fact, R can be defined as the only ordered field with that quality.[13]

Chained notation

[edit]

The notation a < b < c stands for "a < b and b < c", from which, by the transitivity property above, it also follows that a < c. By the above laws, one can add or subtract the same number to all three terms, or multiply or divide all three terms by same nonzero number and reverse all inequalities if that number is negative. Hence, for example, a < b + e < c is equivalent to ae < b < ce.

This notation can be generalized to any number of terms: for instance, a1a2 ≤ ... ≤ an means that aiai+1 for i = 1, 2, ..., n − 1. By transitivity, this condition is equivalent to aiaj for any 1 ≤ ijn.

When solving inequalities using chained notation, it is possible and sometimes necessary to evaluate the terms independently. For instance, to solve the inequality 4x < 2x + 1 ≤ 3x + 2, it is not possible to isolate x in any one part of the inequality through addition or subtraction. Instead, the inequalities must be solved independently, yielding x < 1/2 and x ≥ −1 respectively, which can be combined into the final solution −1 ≤ x < 1/2.

Occasionally, chained notation is used with inequalities in different directions, in which case the meaning is the logical conjunction of the inequalities between adjacent terms. For example, the defining condition of a zigzag poset is written as a1 < a2 > a3 < a4 > a5 < a6 > ... . Mixed chained notation is used more often with compatible relations, like <, =, ≤. For instance, a < b = cd means that a < b, b = c, and cd. This notation exists in a few programming languages such as Python. In contrast, in programming languages that provide an ordering on the type of comparison results, such as C, even homogeneous chains may have a completely different meaning.[14]

Sharp inequalities

[edit]

An inequality is said to be sharp if it cannot be relaxed and still be valid in general. Formally, a universally quantified inequality φ is called sharp if, for every valid universally quantified inequality ψ, if ψ φ holds, then ψ φ also holds. For instance, the inequality aR. a2 ≥ 0 is sharp, whereas the inequality aR. a2 ≥ −1 is not sharp.[citation needed]

Inequalities between means

[edit]

There are many inequalities between means. For example, for any positive numbers a1, a2, ..., an we have

where they represent the following means of the sequence:

  • Harmonic mean :
  • Geometric mean :
  • Arithmetic mean :
  • Quadratic mean :

Cauchy–Schwarz inequality

[edit]

The Cauchy–Schwarz inequality states that for all vectors u and v of an inner product space it is true that where is the inner product. Examples of inner products include the real and complex dot product; In Euclidean space Rn with the standard inner product, the Cauchy–Schwarz inequality is

Power inequalities

[edit]

A power inequality is an inequality containing terms of the form ab, where a and b are real positive numbers or variable expressions. They often appear in mathematical olympiads exercises.

Examples:

  • For any real x,
  • If x > 0 and p > 0, then In the limit of p → 0, the upper and lower bounds converge to ln(x).
  • If x > 0, then
  • If x > 0, then
  • If x, y, z > 0, then
  • For any real distinct numbers a and b,
  • If x, y > 0 and 0 < p < 1, then
  • If x, y, z > 0, then
  • If a, b > 0, then[15]
  • If a, b > 0, then[16]
  • If a, b, c > 0, then
  • If a, b > 0, then

Well-known inequalities

[edit]

Mathematicians often use inequalities to bound quantities for which exact formulas cannot be computed easily. Some inequalities are used so often that they have names:

Complex numbers and inequalities

[edit]

The set of complex numbers with its operations of addition and multiplication is a field, but it is impossible to define any relation so that becomes an ordered field. To make an ordered field, it would have to satisfy the following two properties:

  • if ab, then a + cb + c;
  • if 0 ≤ a and 0 ≤ b, then 0 ≤ ab.

Because ≤ is a total order, for any number a, either 0 ≤ a or a ≤ 0 (in which case the first property above implies that 0 ≤ −a). In either case 0 ≤ a2; this means that i2 > 0 and 12 > 0; so −1 > 0 and 1 > 0, which means (−1 + 1) > 0; contradiction.

However, an operation ≤ can be defined so as to satisfy only the first property (namely, "if ab, then a + cb + c"). Sometimes the lexicographical order definition is used:

  • ab, if
    • Re(a) < Re(b), or
    • Re(a) = Re(b) and Im(a) ≤ Im(b)

It can easily be proven that for this definition ab implies a + cb + c.

Systems of inequalities

[edit]

Systems of linear inequalities can be simplified by Fourier–Motzkin elimination.[17]

The cylindrical algebraic decomposition is an algorithm that allows testing whether a system of polynomial equations and inequalities has solutions, and, if solutions exist, describing them. The complexity of this algorithm is doubly exponential in the number of variables. It is an active research domain to design algorithms that are more efficient in specific cases.

See also

[edit]

References

[edit]
  1. ^ a b "Inequality Definition (Illustrated Mathematics Dictionary)". www.mathsisfun.com. Retrieved 2019-12-03.
  2. ^ Halmaghi, Elena; Liljedahl, Peter. "Inequalities in the History of Mathematics: From Peculiarities to a Hard Discipline". Proceedings of the 2012 Annual Meeting of the Canadian Mathematics Education Study Group.
  3. ^ "Earliest Uses of Symbols of Relation". MacTutor. University of St Andrews, Scotland.
  4. ^ a b "Inequality". www.learnalberta.ca. Retrieved 2019-12-03.
  5. ^ Polyanin, A.D.; Manzhirov, A.V. (2006). Handbook of Mathematics for Engineers and Scientists. CRC Press. p. 29. ISBN 978-1-4200-1051-0. Retrieved 2021-11-19.
  6. ^ Weisstein, Eric W. "Much Less". mathworld.wolfram.com. Retrieved 2019-12-03.
  7. ^ Weisstein, Eric W. "Much Greater". mathworld.wolfram.com. Retrieved 2019-12-03.
  8. ^ Drachman, Bryon C.; Cloud, Michael J. (2006). Inequalities: With Applications to Engineering. Springer Science & Business Media. pp. 2–3. ISBN 0-3872-2626-5.
  9. ^ "ProvingInequalities". www.cs.yale.edu. Retrieved 2019-12-03.
  10. ^ Simovici, Dan A. & Djeraba, Chabane (2008). "Partially Ordered Sets". Mathematical Tools for Data Mining: Set Theory, Partial Orders, Combinatorics. Springer. ISBN 9781848002012.
  11. ^ Weisstein, Eric W. "Partially Ordered Set". mathworld.wolfram.com. Retrieved 2019-12-03.
  12. ^ Feldman, Joel (2014). "Fields" (PDF). math.ubc.ca. Archived (PDF) from the original on 2022-10-09. Retrieved 2019-12-03.
  13. ^ Stewart, Ian (2007). Why Beauty Is Truth: The History of Symmetry. Hachette UK. p. 106. ISBN 978-0-4650-0875-9.
  14. ^ Brian W. Kernighan and Dennis M. Ritchie (Apr 1988). The C Programming Language. Prentice Hall Software Series (2nd ed.). Englewood Cliffs/NJ: Prentice Hall. ISBN 0131103628. Here: Sect.A.7.9 Relational Operators, p.167: Quote: "a<b<c is parsed as (a<b)<c"
  15. ^ Laub, M.; Ilani, Ishai (1990). "E3116". The American Mathematical Monthly. 97 (1): 65–67. doi:10.2307/2324012. JSTOR 2324012.
  16. ^ Manyama, S. (2010). "Solution of One Conjecture on Inequalities with Power-Exponential Functions" (PDF). Australian Journal of Mathematical Analysis and Applications. 7 (2): 1. Archived (PDF) from the original on 2022-10-09.
  17. ^ Gärtner, Bernd; Matoušek, Jiří (2006). Understanding and Using Linear Programming. Berlin: Springer. ISBN 3-540-30697-8.

Sources

[edit]
[edit]