Ordering Relations
Learning objectives
- Define partial orders and total orders
- Identify minimal, maximal, least, and greatest elements
- Draw and read Hasse diagrams for small finite posets
- Distinguish minimal vs. least and maximal vs. greatest
Why study orderings as their own structure? Because the moment a set has an "is below" relation that is consistent (reflexive, antisymmetric, transitive), you can ask sorting-style questions: what is the smallest, the largest, the next-up, the next-down. Real systems are full of such orderings — the integers under , the subsets of a set under , software versions under "depends on," tasks under "must finish before," even git commits under "is ancestor of." Some of these are total (every pair is comparable, like real numbers) and some are partial (some pairs are incomparable, like and under ). Distinguishing the two is the heart of this section.
Partial orders
A relation on is a partial order if it is reflexive, antisymmetric, and transitive. We usually write or for a partial order, and the pair is called a partially ordered set (or poset). Familiar examples: , , .
Total orders
A partial order is a total order (or linear order) when every two elements are comparable: . The real line and the natural numbers under are total. The divisibility poset is not total because, for example, and .
Special elements
Let be a poset and :
- Minimal: no element satisfies . Nothing is strictly below .
- Maximal: no element satisfies . Nothing is strictly above .
- Least: for every . (At most one.)
- Greatest: for every . (At most one.)
Every least element is minimal, but a minimal element need not be least. In , both and are minimal — nothing in the set divides either of them — yet neither is least because they are incomparable.
Hasse diagrams
A Hasse diagram is a picture of a finite poset: draw an element above when , and connect them with a line only when covers — meaning and no element exists with (nothing sits strictly between in the order). Reflexive self-loops and transitivity edges are omitted because they are implied. The result is a clean directed-up graph that exposes the order’s structure at a glance.
(Use the dropdown to switch posets: divisibility on , the subset lattice on , divisibility on , or a total order on . Click any node to highlight its strict predecessors (green) and successors (accent).)
Pause and think: In the divisibility poset on , what are the minimal elements? The maximal elements? Is there a least element? A greatest? Sketch the Hasse diagram on paper before answering.
Try it
- Verify that is a partial order. Is it total? If not, give two incomparable elements.
- Sketch the Hasse diagram for divisibility on .
- Predict: in any finite poset with a unique minimal element, must that element be the least? Justify.
- Find two incomparable elements in .
- Prove: in a total order, every nonempty finite subset has a least element. (Induction on the size of the subset.)
A trap to watch for
"Minimal" and "least" are not synonyms. A minimal element has nothing strictly below it — but other incomparable elements may exist at the same level. A least element is below everything — so it is the unique minimum. In a total order they coincide; in a partial order they may not. Same warning applies to maximal vs. greatest.
What you now know
You can recognise a partial order from its three defining properties, distinguish partial from total, locate minimal/maximal/least/greatest elements, and draw a Hasse diagram for any small finite poset. Section 4.5 swaps "antisymmetric" for "symmetric" and produces an entirely different (and equally fundamental) kind of relation: the equivalence relation.
References
- Velleman, D. J. (2019). How to Prove It (3rd ed.). Cambridge University Press, §4.4.
- Davey, B. A., Priestley, H. A. (2002). Introduction to Lattices and Order (2nd ed.). Cambridge University Press, ch. 1.
- Hammack, R. (2018). Book of Proof, ch. 11.
- Cormen, T. H., Leiserson, C. E., Rivest, R. L., Stein, C. (2009). Introduction to Algorithms (3rd ed.). MIT Press, §22.4 (topological sort).