# Inequality (mathematics)

__: Mathematical relation expressed with < or ≤__

**Short description**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. 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*. Equivalence is excluded.

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

- The notation
*a*≤*b*or*a*⩽*b*means that*a*is**less than or equal to***b*(or, equivalently, at most*b*, or not greater than*b*). - The notation
*a*≥*b*or*a*⩾*b*means that*a*is**greater than or equal to***b*(or, equivalently, at least*b*, or not less than*b*).

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

The notation *a* ≠ *b* means that *a* is not equal to *b*; this *inequation* sometimes is considered a form of strict inequality.^{[2]} 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,^{[3]} normally by several orders of magnitude.

- The notation
*a*≪*b*means that*a*is**much less than***b*.^{[4]} - The notation
*a*≫*b*means that*a*is**much greater than***b*.^{[5]}

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

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

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

### Transitivity

The transitive property of inequality states that for any real numbers *a*, *b*, *c*:^{[6]}

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

### Addition and subtraction

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

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

The properties that deal with multiplication and division state that for any real numbers, *a*, *b* and non-zero *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

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

### Multiplicative inverse

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):

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

### Applying a function to both sides

Any monotonically increasing function, by its definition,^{[7]} 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: - Taking the natural logarithm on both sides of an inequality, when
*a*and*b*are positive real numbers: (this is true because the natural logarithm is a strictly increasing function.)

## Formal definitions and generalizations

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

*a*≤*a*(reflexivity)- if
*a*≤*b*and*b*≤*a*, then*a*=*b*(antisymmetry) - if
*a*≤*b*and*b*≤*c*, then*a*≤*c*(transitivity)

A set with a partial order is called a **partially ordered set**.^{[9]} Those are the very basic axioms that every kind of order has to satisfy. Other axioms that exist for other definitions of orders on a set *P* include:

- For every
*a*and*b*in*P*,*a*≤*b*or*b*≤*a*(total order). - For all
*a*and*b*in*P*for which*a*<*b*, there is a*c*in*P*such that*a*<*c*<*b*(dense order). - Every non-empty subset of
*P*with an upper bound has a*least*upper bound (supremum) in*P*(least-upper-bound property).

### Ordered fields

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

*a*≤*b*implies*a*+*c*≤*b*+*c*;- 0 ≤
*a*and 0 ≤*b*implies 0 ≤*a*×*b*.

Both (**Q**, +, ×, ≤) and (**R**, +, ×, ≤) are ordered fields, but ≤ cannot be defined in order to make (**C**, +, ×, ≤) an ordered field,^{[10]} because −1 is the square of *i* and would therefore be positive.

Besides from 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.^{[11]}

## Chained notation

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

*a*−

*e*<

*b*<

*c*−

*e*.

This notation can be generalized to any number of terms: for instance, ** a_{1} ≤ a_{2} ≤ ... ≤ a_{n}** means that

*a*

_{i}≤

*a*

_{i+1}for

*i*= 1, 2, ...,

*n*− 1. By transitivity, this condition is equivalent to

*a*

_{i}≤

*a*

_{j}for any 1 ≤

*i*≤

*j*≤

*n*.

When solving inequalities using chained notation, it is possible and sometimes necessary to evaluate the terms independently. For instance, to solve the inequality 4*x* < 2*x* + 1 ≤ 3*x* + 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 *a*_{1} < *a*_{2} > *a*_{3} < *a*_{4} > *a*_{5} < *a*_{6} > ... . Mixed chained notation is used more often with compatible relations, like <, =, ≤. For instance, *a* < *b* = *c* ≤ *d* means that *a* < *b*, *b* = *c*, and *c* ≤ *d*. 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.^{[12]}

## Sharp inequalities

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 ∀*a* ∈ **R**. *a*^{2} ≥ 0 is sharp, whereas the inequality ∀*a* ∈ **R**. *a*^{2} ≥ −1 is not sharp.

## Inequalities between means

There are many inequalities between means. For example, for any positive numbers *a*_{1}, *a*_{2}, ..., *a*_{n} we have *H* ≤ *G* ≤ *A* ≤ *Q*, where they represent the following means of the sequence:

- Harmonic mean
- [math]\displaystyle{ H = \frac{n}{\frac{1}{a_1} + \frac{1}{a_2} + \cdots + \frac{1}{a_n}} }[/math]
- Geometric mean
- [math]\displaystyle{ G = \sqrt[n]{a_1 \cdot a_2 \cdots a_n} }[/math]
- Arithmetic mean
- [math]\displaystyle{ A = \frac{a_1 + a_2 + \cdots + a_n}{n} }[/math]
- quadratic mean
- [math]\displaystyle{ Q = \sqrt{\frac{a_1^2 + a_2^2 + \cdots + a_n^2}{n}} }[/math]

## Cauchy–Schwarz inequality

The Cauchy–Schwarz inequality states that for all vectors *u* and *v* of an inner product space it is true that
[math]\displaystyle{ |\langle \mathbf{u},\mathbf{v}\rangle| ^2 \leq \langle \mathbf{u},\mathbf{u}\rangle \cdot \langle \mathbf{v},\mathbf{v}\rangle, }[/math]
where [math]\displaystyle{ \langle\cdot,\cdot\rangle }[/math] is the inner product. Examples of inner products include the real and complex dot product; In Euclidean space *R*^{n} with the standard inner product, the Cauchy–Schwarz inequality is
[math]\displaystyle{ \left(\sum_{i=1}^n u_i v_i\right)^2\leq \left(\sum_{i=1}^n u_i^2\right) \left(\sum_{i=1}^n v_i^2\right). }[/math]

## Power inequalities

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

### Examples

- For any real
*x*, [math]\displaystyle{ e^x \ge 1+x. }[/math] - If
*x*> 0 and*p*> 0, then [math]\displaystyle{ \frac{x^p - 1}{p} \ge \ln(x) \ge \frac{1 - \frac{1}{x^p}}{p}. }[/math] In the limit of*p*→ 0, the upper and lower bounds converge to ln(*x*). - If
*x*> 0, then [math]\displaystyle{ x^x \ge \left( \frac{1}{e}\right)^\frac{1}{e}. }[/math] - If
*x*> 0, then [math]\displaystyle{ x^{x^x} \ge x. }[/math] - If
*x*,*y*,*z*> 0, then [math]\displaystyle{ \left(x+y\right)^z + \left(x+z\right)^y + \left(y+z\right)^x \gt 2. }[/math] - For any real distinct numbers
*a*and*b*, [math]\displaystyle{ \frac{e^b-e^a}{b-a} \gt e^{(a+b)/2}. }[/math] - If
*x*,*y*> 0 and 0 <*p*< 1, then [math]\displaystyle{ x^p+y^p \gt \left(x+y\right)^p. }[/math] - If
*x*,*y*,*z*> 0, then [math]\displaystyle{ x^x y^y z^z \ge \left(xyz\right)^{(x+y+z)/3}. }[/math] - If
*a*,*b*> 0, then^{[13]}[math]\displaystyle{ a^a + b^b \ge a^b + b^a. }[/math] - If
*a*,*b*> 0, then^{[14]}[math]\displaystyle{ a^{ea} + b^{eb} \ge a^{eb} + b^{ea}. }[/math] - If
*a*,*b*,*c*> 0, then [math]\displaystyle{ a^{2a} + b^{2b} + c^{2c} \ge a^{2b} + b^{2c} + c^{2a}. }[/math] - If
*a*,*b*> 0, then [math]\displaystyle{ a^b + b^a \gt 1. }[/math]

## Well-known inequalities

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:

- Azuma's inequality
- Bernoulli's inequality
- Bell's inequality
- Boole's inequality
- Cauchy–Schwarz inequality
- Chebyshev's inequality
- Chernoff's inequality
- Cramér–Rao inequality
- Hoeffding's inequality
- Hölder's inequality
- Inequality of arithmetic and geometric means
- Jensen's inequality
- Kolmogorov's inequality
- Markov's inequality
- Minkowski inequality
- Nesbitt's inequality
- Pedoe's inequality
- Poincaré inequality
- Samuelson's inequality
- Triangle inequality

## Complex numbers and inequalities

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 (**C**, +, ×, ≤) becomes an ordered field. To make (ℂ, +, ×, ≤) an ordered field, it would have to satisfy the following two properties:

- if
*a*≤*b*, then*a*+*c*≤*b*+*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 ≤ *a*^{2}; this means that *i*^{2} > 0 and 1^{2} > 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 *a* ≤ *b*, then *a* + *c* ≤ *b* + *c*"). Sometimes the lexicographical order definition is used:

*a*≤*b*, if- Re(
*a*) < Re(*b*), or - Re(
*a*) = Re(*b*) and Im(*a*) ≤ Im(*b*)

- Re(

It can easily be proven that for this definition *a* ≤ *b* implies *a* + *c* ≤ *b* + *c*.

## Vector inequalities

Inequality relationships similar to those defined above can also be defined for column vectors. If we let the vectors [math]\displaystyle{ x, y \in \mathbb{R}^n }[/math] (meaning that [math]\displaystyle{ x = (x_1, x_2, \ldots, x_n)^\mathsf{T} }[/math] and [math]\displaystyle{ y = (y_1, y_2, \ldots, y_n)^\mathsf{T} }[/math], where [math]\displaystyle{ x_i }[/math] and [math]\displaystyle{ y_i }[/math] are real numbers for [math]\displaystyle{ i = 1, \ldots, n }[/math]), we can define the following relationships:

- [math]\displaystyle{ x = y }[/math], if [math]\displaystyle{ x_i = y_i }[/math] for [math]\displaystyle{ i = 1, \ldots, n }[/math].
- [math]\displaystyle{ x \lt y }[/math], if [math]\displaystyle{ x_i \lt y_i }[/math] for [math]\displaystyle{ i = 1, \ldots, n }[/math].
- [math]\displaystyle{ x \leq y }[/math], if [math]\displaystyle{ x_i \leq y_i }[/math] for [math]\displaystyle{ i = 1, \ldots, n }[/math] and [math]\displaystyle{ x \neq y }[/math].
- [math]\displaystyle{ x \leqq y }[/math], if [math]\displaystyle{ x_i \leq y_i }[/math] for [math]\displaystyle{ i = 1, \ldots, n }[/math].

Similarly, we can define relationships for [math]\displaystyle{ x \gt y }[/math], [math]\displaystyle{ x \geq y }[/math], and [math]\displaystyle{ x \geqq y }[/math]. This notation is consistent with that used by Matthias Ehrgott in *Multicriteria Optimization* (see References).

The trichotomy property (as stated above) is not valid for vector relationships. For example, when [math]\displaystyle{ x = (2, 5)^\mathsf{T} }[/math] and [math]\displaystyle{ y = (3, 4)^\mathsf{T} }[/math], there exists no valid inequality relationship between these two vectors. However, for the rest of the aforementioned properties, a parallel property for vector inequalities exists.

## Systems of inequalities

Systems of linear inequalities can be simplified by Fourier–Motzkin elimination.^{[15]}

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

- Binary relation
- Bracket (mathematics), for the use of similar ‹ and › signs as brackets
- Inclusion (set theory)
- Inequation
- Interval (mathematics)
- List of inequalities
- List of triangle inequalities
- Partially ordered set
- Relational operators, used in programming languages to denote inequality

## References

- ↑
^{1.0}^{1.1}"Inequality Definition (Illustrated Mathematics Dictionary)". https://www.mathsisfun.com/definitions/inequality.html. - ↑
^{2.0}^{2.1}"Inequality". http://www.learnalberta.ca/content/memg/Division03/Inequality/index.html. - ↑ Polyanin, A.D.; Manzhirov, A.V. (2006).
*Handbook of Mathematics for Engineers and Scientists*. CRC Press. p. 29. ISBN 978-1-4200-1051-0. https://books.google.com/books?id=ge6nk9W0BCcC&pg=PR29. Retrieved 2021-11-19. - ↑ Weisstein, Eric W.. "Much Less" (in en). http://mathworld.wolfram.com/MuchLess.html.
- ↑ Weisstein, Eric W.. "Much Greater" (in en). http://mathworld.wolfram.com/MuchGreater.html.
- ↑ Drachman, Bryon C.; Cloud, Michael J. (2006).
*Inequalities: With Applications to Engineering*. Springer Science & Business Media. pp. 2–3. ISBN 0-3872-2626-5. https://books.google.com/books?id=sIbfBwAAQBAJ. - ↑ "ProvingInequalities". http://www.cs.yale.edu/homes/aspnes/pinewiki/ProvingInequalities.html.
- ↑ Simovici, Dan A.; Djeraba, Chabane (2008). "Partially Ordered Sets".
*Mathematical Tools for Data Mining: Set Theory, Partial Orders, Combinatorics*. Springer. ISBN 9781848002012. https://books.google.com/books?id=6i-F3ZNcub4C&pg=PA127. - ↑ Weisstein, Eric W.. "Partially Ordered Set" (in en). http://mathworld.wolfram.com/PartiallyOrderedSet.html.
- ↑ Feldman, Joel (2014). "Fields". http://www.math.ubc.ca/~feldman/m320/fields.pdf.
- ↑ Stewart, Ian (2007).
*Why Beauty Is Truth: The History of Symmetry*. Hachette UK. p. 106. ISBN 978-0-4650-0875-9. https://books.google.com/books?id=1ek3DgAAQBAJ&pg=PT106. - ↑ 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" - ↑ Laub, M.; Ilani, Ishai (1990). "E3116".
*The American Mathematical Monthly***97**(1): 65–67. doi:10.2307/2324012. - ↑ Manyama, S. (2010). "Solution of One Conjecture on Inequalities with Power-Exponential Functions".
*Australian Journal of Mathematical Analysis and Applications***7**(2): 1. https://ajmaa.org/searchroot/files/pdf/v7n2/v7i2p1.pdf. - ↑ Gärtner, Bernd; Matoušek, Jiří (2006).
*Understanding and Using Linear Programming*. Berlin: Springer. ISBN 3-540-30697-8.

## Sources

- Hardy, G., Littlewood J. E., Pólya, G. (1999).
*Inequalities*. Cambridge Mathematical Library, Cambridge University Press. ISBN 0-521-05206-8. - Beckenbach, E. F., Bellman, R. (1975).
*An Introduction to Inequalities*. Random House Inc. ISBN 0-394-01559-2. - Drachman, Byron C., Cloud, Michael J. (1998).
*Inequalities: With Applications to Engineering*. Springer-Verlag. ISBN 0-387-98404-6. https://archive.org/details/inequalitieswith0000clou. - Grinshpan, A. Z. (2005), "General inequalities, consequences, and applications",
*Advances in Applied Mathematics***34**(1): 71–100, doi:10.1016/j.aam.2004.05.001 - Murray S. Klamkin. "'Quickie' inequalities".
*Math Strategies*. https://www.math.ualberta.ca/pi/issue7/page26-29.pdf. - Arthur Lohwater (1982). "Introduction to Inequalities". Online e-book in PDF format. http://www.mediafire.com/file/1mw1tkgozzu.
- Harold Shapiro (2005). "Mathematical Problem Solving".
*The Old Problem Seminar*. Kungliga Tekniska högskolan. http://www.math.kth.se/math/TOPS/index.html. - "3rd USAMO". http://www.kalva.demon.co.uk/usa/usa74.html.
- Pachpatte, B. G. (2005).
*Mathematical Inequalities*. North-Holland Mathematical Library.**67**(first ed.). Amsterdam, The Netherlands: Elsevier. ISBN 0-444-51795-2. - Ehrgott, Matthias (2005).
*Multicriteria Optimization*. Springer-Berlin. ISBN 3-540-21398-8. - Steele, J. Michael (2004).
*The Cauchy-Schwarz Master Class: An Introduction to the Art of Mathematical Inequalities*. Cambridge University Press. ISBN 978-0-521-54677-5. http://www-stat.wharton.upenn.edu/~steele/Publications/Books/CSMC/CSMC_index.html.

## External links

- Hazewinkel, Michiel, ed. (2001), "Inequality",
*Encyclopedia of Mathematics*, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4, https://www.encyclopediaofmath.org/index.php?title=p/i050790 - Graph of Inequalities by Ed Pegg, Jr.
- AoPS Wiki entry about Inequalities

Original source: https://en.wikipedia.org/wiki/Inequality (mathematics).
Read more |