Greatest element and least element
In mathematics, especially in order theory, the greatest element of a subset [math]\displaystyle{ S }[/math] of a partially ordered set (poset) is an element of [math]\displaystyle{ S }[/math] that is greater than every other element of [math]\displaystyle{ S }[/math]. The term least element is defined dually, that is, it is an element of [math]\displaystyle{ S }[/math] that is smaller than every other element of [math]\displaystyle{ S. }[/math]
Definitions
Let [math]\displaystyle{ (P, \leq) }[/math] be a preordered set and let [math]\displaystyle{ S \subseteq P. }[/math] An element [math]\displaystyle{ g \in P }[/math] is said to be a greatest element of [math]\displaystyle{ S }[/math] if [math]\displaystyle{ g \in S }[/math] and if it also satisfies:
- [math]\displaystyle{ s \leq g }[/math] for all [math]\displaystyle{ s \in S. }[/math]
By switching the side of the relation that [math]\displaystyle{ s }[/math] is on in the above definition, the definition of a least element of [math]\displaystyle{ S }[/math] is obtained. Explicitly, an element [math]\displaystyle{ l \in P }[/math] is said to be a least element of [math]\displaystyle{ S }[/math] if [math]\displaystyle{ l \in S }[/math] and if it also satisfies:
- [math]\displaystyle{ l \leq s }[/math] for all [math]\displaystyle{ s \in S. }[/math]
If [math]\displaystyle{ (P, \leq) }[/math] is also a partially ordered set then [math]\displaystyle{ S }[/math] can have at most one greatest element and it can have at most one least element. Whenever a greatest element of [math]\displaystyle{ S }[/math] exists and is unique then this element is called the greatest element of [math]\displaystyle{ S }[/math]. The terminology the least element of [math]\displaystyle{ S }[/math] is defined similarly.
If [math]\displaystyle{ (P, \leq) }[/math] has a greatest element (resp. a least element) then this element is also called a top (resp. a bottom) of [math]\displaystyle{ (P, \leq). }[/math]
Relationship to upper/lower bounds
Greatest elements are closely related to upper bounds.
Let [math]\displaystyle{ (P, \leq) }[/math] be a preordered set and let [math]\displaystyle{ S \subseteq P. }[/math] An upper bound of [math]\displaystyle{ S }[/math] in [math]\displaystyle{ (P, \leq) }[/math] is an element [math]\displaystyle{ u }[/math] such that [math]\displaystyle{ u \in P }[/math] and [math]\displaystyle{ s \leq u }[/math] for all [math]\displaystyle{ s \in S. }[/math] Importantly, an upper bound of [math]\displaystyle{ S }[/math] in [math]\displaystyle{ P }[/math] is not required to be an element of [math]\displaystyle{ S. }[/math]
If [math]\displaystyle{ g \in P }[/math] then [math]\displaystyle{ g }[/math] is a greatest element of [math]\displaystyle{ S }[/math] if and only if [math]\displaystyle{ g }[/math] is an upper bound of [math]\displaystyle{ S }[/math] in [math]\displaystyle{ (P, \leq) }[/math] and [math]\displaystyle{ g \in S. }[/math] In particular, any greatest element of [math]\displaystyle{ S }[/math] is also an upper bound of [math]\displaystyle{ S }[/math] (in [math]\displaystyle{ P }[/math]) but an upper bound of [math]\displaystyle{ S }[/math] in [math]\displaystyle{ P }[/math] is a greatest element of [math]\displaystyle{ S }[/math] if and only if it belongs to [math]\displaystyle{ S. }[/math] In the particular case where [math]\displaystyle{ P = S, }[/math] the definition of "[math]\displaystyle{ u }[/math] is an upper bound of [math]\displaystyle{ S }[/math] in [math]\displaystyle{ S }[/math]" becomes: [math]\displaystyle{ u }[/math] is an element such that [math]\displaystyle{ u \in S }[/math] and [math]\displaystyle{ s \leq u }[/math] for all [math]\displaystyle{ s \in S, }[/math] which is completely identical to the definition of a greatest element given before. Thus [math]\displaystyle{ g }[/math] is a greatest element of [math]\displaystyle{ S }[/math] if and only if [math]\displaystyle{ g }[/math] is an upper bound of [math]\displaystyle{ S }[/math] in [math]\displaystyle{ S }[/math].
If [math]\displaystyle{ u }[/math] is an upper bound of [math]\displaystyle{ S }[/math] in [math]\displaystyle{ P }[/math] that is not an upper bound of [math]\displaystyle{ S }[/math] in [math]\displaystyle{ S }[/math] (which can happen if and only if [math]\displaystyle{ u \not\in S }[/math]) then [math]\displaystyle{ u }[/math] can not be a greatest element of [math]\displaystyle{ S }[/math] (however, it may be possible that some other element is a greatest element of [math]\displaystyle{ S }[/math]). In particular, it is possible for [math]\displaystyle{ S }[/math] to simultaneously not have a greatest element and for there to exist some upper bound of [math]\displaystyle{ S }[/math] in [math]\displaystyle{ P }[/math].
Even if a set has some upper bounds, it need not have a greatest element, as shown by the example of the negative real numbers. This example also demonstrates that the existence of a least upper bound (the number 0 in this case) does not imply the existence of a greatest element either.
Contrast to maximal elements and local/absolute maximums
A greatest element of a subset of a preordered set should not be confused with a maximal element of the set, which are elements that are not strictly smaller than any other element in the set.
Let [math]\displaystyle{ (P, \leq) }[/math] be a preordered set and let [math]\displaystyle{ S \subseteq P. }[/math] An element [math]\displaystyle{ m \in S }[/math] is said to be a maximal element of [math]\displaystyle{ S }[/math] if the following condition is satisfied:
- whenever [math]\displaystyle{ s \in S }[/math] satisfies [math]\displaystyle{ m \leq s, }[/math] then necessarily [math]\displaystyle{ s \leq m. }[/math]
If [math]\displaystyle{ (P, \leq) }[/math] is a partially ordered set then [math]\displaystyle{ m \in S }[/math] is a maximal element of [math]\displaystyle{ S }[/math] if and only if there does not exist any [math]\displaystyle{ s \in S }[/math] such that [math]\displaystyle{ m \leq s }[/math] and [math]\displaystyle{ s \neq m. }[/math] A maximal element of [math]\displaystyle{ (P, \leq) }[/math] is defined to mean a maximal element of the subset [math]\displaystyle{ S := P. }[/math]
A set can have several maximal elements without having a greatest element. Like upper bounds and maximal elements, greatest elements may fail to exist.
In a totally ordered set the maximal element and the greatest element coincide; and it is also called maximum; in the case of function values it is also called the absolute maximum, to avoid confusion with a local maximum.[1] The dual terms are minimum and absolute minimum. Together they are called the absolute extrema. Similar conclusions hold for least elements.
- Role of (in)comparability in distinguishing greatest vs. maximal elements
One of the most important differences between a greatest element [math]\displaystyle{ g }[/math] and a maximal element [math]\displaystyle{ m }[/math] of a preordered set [math]\displaystyle{ (P, \leq) }[/math] has to do with what elements they are comparable to. Two elements [math]\displaystyle{ x, y \in P }[/math] are said to be comparable if [math]\displaystyle{ x \leq y }[/math] or [math]\displaystyle{ y \leq x }[/math]; they are called incomparable if they are not comparable. Because preorders are reflexive (which means that [math]\displaystyle{ x \leq x }[/math] is true for all elements [math]\displaystyle{ x }[/math]), every element [math]\displaystyle{ x }[/math] is always comparable to itself. Consequently, the only pairs of elements that could possibly be incomparable are distinct pairs. In general, however, preordered sets (and even directed partially ordered sets) may have elements that are incomparable.
By definition, an element [math]\displaystyle{ g \in P }[/math] is a greatest element of [math]\displaystyle{ (P, \leq) }[/math] if [math]\displaystyle{ s \leq g, }[/math] for every [math]\displaystyle{ s \in P }[/math]; so by its very definition, a greatest element of [math]\displaystyle{ (P, \leq) }[/math] must, in particular, be comparable to every element in [math]\displaystyle{ P. }[/math] This is not required of maximal elements. Maximal elements of [math]\displaystyle{ (P, \leq) }[/math] are not required to be comparable to every element in [math]\displaystyle{ P. }[/math] This is because unlike the definition of "greatest element", the definition of "maximal element" includes an important if statement. The defining condition for [math]\displaystyle{ m \in P }[/math] to be a maximal element of [math]\displaystyle{ (P, \leq) }[/math] can be reworded as:
- For all [math]\displaystyle{ s \in P, }[/math] IF [math]\displaystyle{ m \leq s }[/math] (so elements that are incomparable to [math]\displaystyle{ m }[/math] are ignored) then [math]\displaystyle{ s \leq m. }[/math]
- Example where all elements are maximal but none are greatest
Suppose that [math]\displaystyle{ S }[/math] is a set containing at least two (distinct) elements and define a partial order [math]\displaystyle{ \,\leq\, }[/math] on [math]\displaystyle{ S }[/math] by declaring that [math]\displaystyle{ i \leq j }[/math] if and only if [math]\displaystyle{ i = j. }[/math] If [math]\displaystyle{ i \neq j }[/math] belong to [math]\displaystyle{ S }[/math] then neither [math]\displaystyle{ i \leq j }[/math] nor [math]\displaystyle{ j \leq i }[/math] holds, which shows that all pairs of distinct (i.e. non-equal) elements in [math]\displaystyle{ S }[/math] are incomparable. Consequently, [math]\displaystyle{ (S, \leq) }[/math] can not possibly have a greatest element (because a greatest element of [math]\displaystyle{ S }[/math] would, in particular, have to be comparable to every element of [math]\displaystyle{ S }[/math] but [math]\displaystyle{ S }[/math] has no such element). However, every element [math]\displaystyle{ m \in S }[/math] is a maximal element of [math]\displaystyle{ (S, \leq) }[/math] because there is exactly one element in [math]\displaystyle{ S }[/math] that is both comparable to [math]\displaystyle{ m }[/math] and [math]\displaystyle{ \geq m, }[/math] that element being [math]\displaystyle{ m }[/math] itself (which of course, is [math]\displaystyle{ \leq m }[/math]).[note 1]
In contrast, if a preordered set [math]\displaystyle{ (P, \leq) }[/math] does happen to have a greatest element [math]\displaystyle{ g }[/math] then [math]\displaystyle{ g }[/math] will necessarily be a maximal element of [math]\displaystyle{ (P, \leq) }[/math] and moreover, as a consequence of the greatest element [math]\displaystyle{ g }[/math] being comparable to every element of [math]\displaystyle{ P, }[/math] if [math]\displaystyle{ (P, \leq) }[/math] is also partially ordered then it is possible to conclude that [math]\displaystyle{ g }[/math] is the only maximal element of [math]\displaystyle{ (P, \leq). }[/math] However, the uniqueness conclusion is no longer guaranteed if the preordered set [math]\displaystyle{ (P, \leq) }[/math] is not also partially ordered. For example, suppose that [math]\displaystyle{ R }[/math] is a non-empty set and define a preorder [math]\displaystyle{ \,\leq\, }[/math] on [math]\displaystyle{ R }[/math] by declaring that [math]\displaystyle{ i \leq j }[/math] always holds for all [math]\displaystyle{ i, j \in R. }[/math] The directed preordered set [math]\displaystyle{ (R, \leq) }[/math] is partially ordered if and only if [math]\displaystyle{ R }[/math] has exactly one element. All pairs of elements from [math]\displaystyle{ R }[/math] are comparable and every element of [math]\displaystyle{ R }[/math] is a greatest element (and thus also a maximal element) of [math]\displaystyle{ (R, \leq). }[/math] So in particular, if [math]\displaystyle{ R }[/math] has at least two elements then [math]\displaystyle{ (R, \leq) }[/math] has multiple distinct greatest elements.
Properties
Throughout, let [math]\displaystyle{ (P, \leq) }[/math] be a partially ordered set and let [math]\displaystyle{ S \subseteq P. }[/math]
- A set [math]\displaystyle{ S }[/math] can have at most one greatest element.[note 2] Thus if a set has a greatest element then it is necessarily unique.
- If it exists, then the greatest element of [math]\displaystyle{ S }[/math] is an upper bound of [math]\displaystyle{ S }[/math] that is also contained in [math]\displaystyle{ S. }[/math]
- If [math]\displaystyle{ g }[/math] is the greatest element of [math]\displaystyle{ S }[/math] then [math]\displaystyle{ g }[/math] is also a maximal element of [math]\displaystyle{ S }[/math][note 3] and moreover, any other maximal element of [math]\displaystyle{ S }[/math] will necessarily be equal to [math]\displaystyle{ g. }[/math][note 4]
- Thus if a set [math]\displaystyle{ S }[/math] has several maximal elements then it cannot have a greatest element.
- If [math]\displaystyle{ P }[/math] satisfies the ascending chain condition, a subset [math]\displaystyle{ S }[/math] of [math]\displaystyle{ P }[/math] has a greatest element if, and only if, it has one maximal element.[note 5]
- When the restriction of [math]\displaystyle{ \,\leq\, }[/math] to [math]\displaystyle{ S }[/math] is a total order ([math]\displaystyle{ S = \{ 1, 2, 4 \} }[/math] in the topmost picture is an example), then the notions of maximal element and greatest element coincide.[note 6]
- However, this is not a necessary condition for whenever [math]\displaystyle{ S }[/math] has a greatest element, the notions coincide, too, as stated above.
- If the notions of maximal element and greatest element coincide on every two-element subset [math]\displaystyle{ S }[/math] of [math]\displaystyle{ P, }[/math] then [math]\displaystyle{ \,\leq\, }[/math] is a total order on [math]\displaystyle{ P. }[/math][note 7]
Sufficient conditions
- A finite chain always has a greatest and a least element.
Top and bottom
The least and greatest element of the whole partially ordered set play a special role and are also called bottom (⊥) and top (⊤), or zero (0) and unit (1), respectively. If both exist, the poset is called a bounded poset. The notation of 0 and 1 is used preferably when the poset is a complemented lattice, and when no confusion is likely, i.e. when one is not talking about partial orders of numbers that already contain elements 0 and 1 different from bottom and top. The existence of least and greatest elements is a special completeness property of a partial order.
Further introductory information is found in the article on order theory.
Examples
- The subset of integers has no upper bound in the set [math]\displaystyle{ \mathbb{R} }[/math] of real numbers.
- Let the relation [math]\displaystyle{ \,\leq\, }[/math] on [math]\displaystyle{ \{ a, b, c, d \} }[/math] be given by [math]\displaystyle{ a \leq c, }[/math] [math]\displaystyle{ a \leq d, }[/math] [math]\displaystyle{ b \leq c, }[/math] [math]\displaystyle{ b \leq d. }[/math] The set [math]\displaystyle{ \{ a, b \} }[/math] has upper bounds [math]\displaystyle{ c }[/math] and [math]\displaystyle{ d, }[/math] but no least upper bound, and no greatest element (cf. picture).
- In the rational numbers, the set of numbers with their square less than 2 has upper bounds but no greatest element and no least upper bound.
- In [math]\displaystyle{ \mathbb{R}, }[/math] the set of numbers less than 1 has a least upper bound, viz. 1, but no greatest element.
- In [math]\displaystyle{ \mathbb{R}, }[/math] the set of numbers less than or equal to 1 has a greatest element, viz. 1, which is also its least upper bound.
- In [math]\displaystyle{ \mathbb{R}^2 }[/math] with the product order, the set of pairs [math]\displaystyle{ (x, y) }[/math] with [math]\displaystyle{ 0 \lt x \lt 1 }[/math] has no upper bound.
- In [math]\displaystyle{ \mathbb{R}^2 }[/math] with the lexicographical order, this set has upper bounds, e.g. [math]\displaystyle{ (1, 0). }[/math] It has no least upper bound.
See also
- Essential supremum and essential infimum
- Initial and terminal objects
- Maximal and minimal elements
- Limit superior and limit inferior (infimum limit)
- Upper and lower bounds
Notes
- ↑ Of course, in this particular example, there exists only one element in [math]\displaystyle{ S }[/math] that is comparable to [math]\displaystyle{ m, }[/math] which is necessarily [math]\displaystyle{ m }[/math] itself, so the second condition "and [math]\displaystyle{ \geq m, }[/math]" was redundant.
- ↑ If [math]\displaystyle{ g_1 }[/math] and [math]\displaystyle{ g_2 }[/math] are both greatest, then [math]\displaystyle{ g_1 \leq g_2 }[/math] and [math]\displaystyle{ g_2 \leq g_1, }[/math] and hence [math]\displaystyle{ g_1 = g_2 }[/math] by antisymmetry.
- ↑ If [math]\displaystyle{ g }[/math] is the greatest element of [math]\displaystyle{ S }[/math] and [math]\displaystyle{ s \in S, }[/math] then [math]\displaystyle{ s \leq g. }[/math] By antisymmetry, this renders ([math]\displaystyle{ g \leq s }[/math] and [math]\displaystyle{ g \neq s }[/math]) impossible.
- ↑ If [math]\displaystyle{ M }[/math] is a maximal element, then [math]\displaystyle{ M \leq g }[/math] since [math]\displaystyle{ g }[/math] is greatest, hence [math]\displaystyle{ M = g }[/math] since [math]\displaystyle{ M }[/math] is maximal.
- ↑ Only if: see above. — If: Assume for contradiction that [math]\displaystyle{ S }[/math] has just one maximal element, [math]\displaystyle{ m, }[/math] but no greatest element. Since [math]\displaystyle{ m }[/math] is not greatest, some [math]\displaystyle{ s_1 \in S }[/math] must exist that is incomparable to [math]\displaystyle{ m. }[/math] Hence [math]\displaystyle{ s_1 \in S }[/math] cannot be maximal, that is, [math]\displaystyle{ s_1 \lt s_2 }[/math] must hold for some [math]\displaystyle{ s_2 \in S. }[/math] The latter must be incomparable to [math]\displaystyle{ m, }[/math] too, since [math]\displaystyle{ m \lt s_2 }[/math] contradicts [math]\displaystyle{ m }[/math]'s maximality while [math]\displaystyle{ s_2 \leq m }[/math] contradicts the incomparability of [math]\displaystyle{ m }[/math] and [math]\displaystyle{ s_1. }[/math] Repeating this argument, an infinite ascending chain [math]\displaystyle{ s_1 \lt s_2 \lt \cdots \lt s_n \lt \cdots }[/math] can be found (such that each [math]\displaystyle{ s_i }[/math] is incomparable to [math]\displaystyle{ m }[/math] and not maximal). This contradicts the ascending chain condition.
- ↑ Let [math]\displaystyle{ m \in S }[/math] be a maximal element, for any [math]\displaystyle{ s \in S }[/math] either [math]\displaystyle{ s \leq m }[/math] or [math]\displaystyle{ m \leq s. }[/math] In the second case, the definition of maximal element requires that [math]\displaystyle{ m = s, }[/math] so it follows that [math]\displaystyle{ s \leq m. }[/math] In other words, [math]\displaystyle{ m }[/math] is a greatest element.
- ↑ If [math]\displaystyle{ a, b \in P }[/math] were incomparable, then [math]\displaystyle{ S = \{ a, b \} }[/math] would have two maximal, but no greatest element, contradicting the coincidence.
References
- ↑ The notion of locality requires the function's domain to be at least a topological space.
- Davey, B. A.; Priestley, H. A. (2002). Introduction to Lattices and Order (2nd ed.). Cambridge University Press. ISBN 978-0-521-78451-1.
Original source: https://en.wikipedia.org/wiki/Greatest element and least element.
Read more |