binary relations
Partial Orders and Total Orders
You should know: relations
Overview
A partial order is a relation on a set that captures the idea of 'ranking' or 'precedence' without forcing every pair of elements to be comparable. Formally, it is a relation that is reflexive, antisymmetric, and transitive — the same three properties possessed by 'is a subset of' on a collection of sets, or 'divides' on the positive integers. What makes it only PARTIAL is that some pairs of elements need not be related in either direction: {1,2} and {3,4} are both subsets of {1,2,3,4}, but neither is a subset of the other. A total order (or linear order) is a partial order with the extra requirement that every pair of elements IS comparable, like ≤ on the real numbers. Every total order is a partial order, but not conversely — the divisibility relation on the integers is a partial order that is not total, since e.g. 2 and 3 are incomparable (neither divides the other).
Intuition
Think of a partial order as a family tree of 'comes before' relationships that need not connect every pair of people: you can always compare an ancestor to a descendant, but two cousins on unrelated branches simply aren't comparable at all — neither comes before the other. A total order is the special, more rigid case where the family tree collapses into a single line, like ages ranked from youngest to oldest — any two people ARE comparable. The subset relation ⊆ is the classic 'genuinely partial' example: knowing A ⊆ B tells you A comes 'before' B in the subset order, but two sets can simply be incomparable, neither contained in the other. Hasse diagrams draw a poset as a picture: elements are dots, and you draw a line up from a to b whenever a ≤ b with nothing in between — a chain (totally ordered subset) then looks like dots stacked in a single vertical line.
Formal Definition
A partial order ≤ on a set P is a relation satisfying reflexivity, antisymmetry, and transitivity. The pair (P, ≤) is called a poset. A total order additionally satisfies comparability (totality/trichotomy): every two elements are related in at least one direction.
Notation
| Notation | Meaning |
|---|---|
| A poset: a set P together with a partial order ≤ | |
| Strict order: a ≤ b and a ≠ b | |
| a and b are incomparable — neither a ≤ b nor b ≤ a | |
| A subset of P that is totally ordered by the restriction of ≤ | |
| A subset of P in which every two distinct elements are incomparable |
Properties
Reflexive
Antisymmetric
Transitive
Total (linear) order
Example: ≤ on ℝ, ℤ, or ℕ
Well-order
Example: The natural numbers ℕ under ≤
Applications
Worked Examples
Reflexive: every n divides itself, n | n.
Antisymmetric: if a | b and b | a with a,b positive, then a = b (each must be at least as large as the other).
Transitive: if a | b and b | c, then a | c.
But 2 and 3 are incomparable — 2 does not divide 3, and 3 does not divide 2 — so the order is not total.
Answer: Divisibility is a partial order on the positive integers, but not a total order (2 and 3 are incomparable).
Practice Problems
Give an example of a total order on a set with at least 3 elements, and briefly justify why every pair is comparable.
Which property distinguishes a total order from a general partial order?
A build system has tasks A, B, C, D where A must precede both B and C, and both B and C must precede D, but B and C have no required order relative to each other. Is 'must precede' a partial order or a total order on {A,B,C,D}? Name a valid total order (schedule) consistent with it.
Common Mistakes
Assuming every relation with reflexivity, antisymmetry, and transitivity must relate every pair of elements.
That is exactly what distinguishes a PARTIAL order: incomparable pairs (like {1} and {2} under ⊆) are allowed and common. Totality is a separate, stronger requirement.
Confusing antisymmetry with asymmetry.
Antisymmetry allows a ≤ a (reflexive loops); it only forbids a≤b and b≤a for DISTINCT a,b. Asymmetry (used for strict orders <) forbids a<a entirely.
Quiz
Summary
- A partial order is reflexive, antisymmetric, and transitive; a poset (P, ≤) may leave some pairs incomparable.
- A total (linear) order is a partial order where every pair of elements IS comparable (trichotomy).
- Divisibility on the integers and ⊆ on a power set are classic partial orders that are NOT total.
- ≤ on ℝ, ℤ, or ℕ is a total order; ℕ under ≤ is additionally a well-order (every nonempty subset has a least element).
- Topological sort extends any partial order (e.g. task dependencies) to a compatible total order (an actual schedule).
References
- WebsiteWikipedia — Total order
Mathematics