In mathematics, especially in order theory, a maximal element of a subset S of some preordered set is an element of S that is not smaller than any other element in S. A minimal element of a subset S of some preordered set is defined dually as an element of S that is not greater than any other element in S. The notions of maximal and minimal elements are weaker than those of greatest element and least element which are also known, respectively, as maximum and minimum. The maximum of a subset S of a preordered set is an element of S which is greater than or equal to any other element of S, and the minimum of S is again defined dually. In the particular case of a partially ordered set, while there can be at most one maximum and at most one minimum there may be multiple maximal or minimal elements. Specializing further to totally ordered sets, the notions of maximal element and maximum coincide, and the notions of minimal element and minimum coincide. As an example, in the collection S:={{d,o},{d,o,g},{g,o,a,d},{o,a,f}} ordered by containment, the element {d, o} is minimal as it contains no sets in the collection, the element {g, o, a, d} is maximal as there are no sets in the collection which contain it, the element {d, o, g} is neither, and the element {o, a, f} is both minimal and maximal. By contrast, neither a maximum nor a minimum exists for S. Zorn's lemma states that every partially ordered set for which every totally ordered subset has an upper bound contains at least one maximal element. This lemma is equivalent to the well-ordering theorem and the axiom of choice and implies major results in other mathematical areas like the Hahn–Banach theorem, the Kirszbraun theorem, Tychonoff's theorem, the existence of a Hamel basis for every vector space, and the existence of an algebraic closure for every field.
Definition Let (P,≤) be a preordered set and let S⊆P. A maximal element of S with respect to ≤ is an element m∈S such that
if s∈S satisfies m≤s, then necessarily s≤m. Similarly, a minimal element of S with respect to ≤ is an element m∈S such that
if s∈S satisfies s≤m, then necessarily m≤s. Equivalently, m∈S is a minimal element of S with respect to ≤ if and only if m is a maximal element of S with respect to ≥, where by definition, q≥p if and only if p≤q (for all p,q∈P). If the subset S is not specified then it should be assumed that S:=P. Explicitly, a maximal element (respectively, minimal element) of (P,≤) is a maximal (resp. minimal) element of S:=P with respect to ≤. If the preordered set (P,≤) also happens to be a partially ordered set (or more generally, if the restriction (S,≤) is a partially ordered set) then m∈S is a maximal element of S if and only if S contains no element strictly greater than m; explicitly, this means that there does not exist any element s∈S such that m≤s and m≠s. The characterization for minimal elements is obtained by using ≥ in place of ≤.
Existence and uniqueness
Maximal elements need not exist.
Example 1: Let S=[1,∞)⊆ℝ where ℝ denotes the real numbers. For all m∈S, s=m+1∈S but m<s (that is, m≤s but not m=s). Example 2: Let S={s∈ℚ : 1≤s2≤2}, where ℚ denotes the rational numbers and where 2 is irrational. In general ≤ is only a partial order on S. If m is a maximal element and s∈S, then it remains possible that neither s≤m nor m≤s. This leaves open the possibility that there exist more than one maximal elements.
Example 3: In the fence a1<b1>a2<b2>a3<b3>…, all the ai are minimal and all bi are maximal, as shown in the image. Example 4: Let A be a set with at least two elements and let S={{a} : a∈A} be the subset of the power set ℘(A) consisting of singleton subsets, partially ordered by ⊆. This is the discrete poset where no two elements are comparable and thus every element {a}∈S is maximal (and minimal); moreover, for any distinct a,b∈A, neither {a}⊆{b} nor {b}⊆{a}.
Greatest and least elements
For a partially ordered set (P,≤), the irreflexive kernel of ≤ is denoted as < and is defined by x<y if x≤y and x≠y. For arbitrary members x,y∈P, exactly one of the following cases applies:
x<y; x=y; y<x; x and y are incomparable. Given a subset S⊆P and some x∈S,
if case 1 never applies for any y∈S, then x is a maximal element of S, as defined above; if case 1 and 4 never applies for any y∈S, then x is called a greatest element of S. Thus the definition of a greatest element is stronger than that of a maximal element. Equivalently, a greatest element of a subset S can be defined as an element of S that is greater than every other element of S. A subset may have at most one greatest element. The greatest element of S, if it exists, is also a maximal element of S, and the only one. By contraposition, if S has several maximal elements, it cannot have a greatest element; see example 3. If P satisfies the ascending chain condition, a subset S of P has a greatest element if, and only if, it has one maximal element. When the restriction of ≤ to S is a total order (S={1,2,4} in the topmost picture is an example), then the notions of maximal element and greatest element coincide. This is not a necessary condition: whenever S 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 S of P. then ≤ is a total order on P. Dual to greatest is the notion of least element that relates to minimal in the same way as greatest to maximal.
Directed sets In a totally ordered set, the terms maximal element and greatest element coincide, which is why both terms are used interchangeably in fields like analysis where only total orders are considered. This observation applies not only to totally ordered subsets of any partially ordered set, but also to their order theoretic generalization via directed sets. In a directed set, every pair of elements (particularly pairs of incomparable elements) has a common upper bound within the set. If a directed set has a maximal element, it is also its greatest element, and hence its only maximal element. For a directed set without maximal or greatest elements, see examples 1 and 2 above. Similar conclusions are true for minimal elements. Further introductory information is found in the article on order theory.
… excerpt ends here. Continue reading the full article.


