Partial Orders

What is a Partial Order?

A partial order is a relation that satisfies three properties:

  1. Reflexive - every element relates to itself
  2. Antisymmetric - if a ≤ b and b ≤ a, then a = b
  3. Transitive - if a ≤ b and b ≤ c, then a ≤ c

Compare to equivalence relations: swap symmetric for antisymmetric.


Why “Partial”?

Because not every pair can be compared.

Consider ⊆\subseteq on sets {1,2}\{1, 2\} and {2,3}\{2, 3\}:

  • Is {1,2}⊆{2,3}\{1, 2\} \subseteq \{2, 3\}? No
  • Is {2,3}⊆{1,2}\{2, 3\} \subseteq \{1, 2\}? No

Neither is a subset of the other. They are incomparable.

In a partial order, some elements simply can’t be ranked against each other.


Visualizing with Hasse Diagrams

A Hasse diagram shows a partial order as a graph:

  • Elements are nodes
  • Lines go up from smaller to larger
  • No line between incomparable elements

The gap between {a}\{a\} and {b}\{b\} shows they’re incomparable.


Examples

“Less than or equal” (≤\leq) on numbers:

  • Reflexive: 5≤55 \leq 5 ✓
  • Antisymmetric: if x≤yx \leq y and y≤xy \leq x, then x=yx = y ✓
  • Transitive: if 2≤52 \leq 5 and 5≤95 \leq 9, then 2≤92 \leq 9 ✓

This is the classic partial order. Every pair of numbers is comparable, so it’s also a total order.


“Subset of” (⊆\subseteq) on sets:

  • Reflexive: A⊆AA \subseteq A ✓
  • Antisymmetric: if A⊆BA \subseteq B and B⊆AB \subseteq A, then A=BA = B ✓
  • Transitive: if A⊆BA \subseteq B and B⊆CB \subseteq C, then A⊆CA \subseteq C ✓

This is a partial order, but not a total order. Some sets can’t be compared.


Summary

A partial order is reflexive, antisymmetric, and transitive.

It gives a way to order elements, but not every pair needs to be comparable.