Mathematics.

binary relations

Partial Orders and Total Orders

Set Theory25 minDifficulty4 out of 10

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

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.

aP,  aa\forall a \in P,\; a \le a
Reflexivity
(abba)    a=b(a \le b \land b \le a) \implies a = b
Antisymmetry
(abbc)    ac(a \le b \land b \le c) \implies a \le c
Transitivity
a,bP,  abba\forall a,b \in P,\; a \le b \lor b \le a
Comparability (required for a TOTAL order, not a general poset)

Notation

NotationMeaning
(P,)(P, \le)A poset: a set P together with a partial order ≤
a<ba < bStrict order: a ≤ b and a ≠ b
aba \parallel ba and b are incomparable — neither a ≤ b nor b ≤ a
CPC \subseteq PA subset of P that is totally ordered by the restriction of ≤
APA \subseteq PA subset of P in which every two distinct elements are incomparable

Properties

Reflexive

a,  aa\forall a,\; a \le a

Antisymmetric

(abba)    a=b(a\le b \land b\le a) \implies a=b

Transitive

(abbc)    ac(a\le b \land b\le c) \implies a\le c

Total (linear) order

Partial order+a,b,  abba\text{Partial order} + \forall a,b,\; a\le b \lor b\le a

Example: ≤ on ℝ, ℤ, or ℕ

Well-order

Total order in which every nonempty subset has a least element\text{Total order in which every nonempty subset has a least element}

Example: The natural numbers ℕ under ≤

Applications

Task scheduling with dependencies forms a poset (task A must finish before task B); a topological sort produces a compatible total order for actually running the tasks.

Worked Examples

  1. Reflexive: every n divides itself, n | n.

    nn for all n1n \mid n \text{ for all } n \ge 1
  2. Antisymmetric: if a | b and b | a with a,b positive, then a = b (each must be at least as large as the other).

    (abba)    a=b(a\mid b \land b \mid a) \implies a=b
  3. Transitive: if a | b and b | c, then a | c.

    (abbc)    ac(a\mid b \land b\mid c)\implies a \mid c
  4. But 2 and 3 are incomparable — 2 does not divide 3, and 3 does not divide 2 — so the order is not total.

    23 and 322 \nmid 3 \text{ and } 3 \nmid 2

Answer: Divisibility is a partial order on the positive integers, but not a total order (2 and 3 are incomparable).

Practice Problems

Difficulty 3/10

Give an example of a total order on a set with at least 3 elements, and briefly justify why every pair is comparable.

Difficulty 4/10

Which property distinguishes a total order from a general partial order?

Difficulty 6/10

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

Common Mistake

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.

Common Mistake

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

A partial order on a set P is a relation that is:
The divisibility relation | on the positive integers is:
A total order additionally requires which property beyond a partial order's reflexivity, antisymmetry, and transitivity?

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