Loading lessons...
Partially Ordered Sets & Hasse Diagrams
1. Partial Orders
A relation ≼ on A is a partial order if it is reflexive, antisymmetric and transitive. (A, ≼) is then a poset.
| Poset | Why |
|---|---|
| (Z, ≤) | ≤ is reflexive, antisymmetric, transitive |
| (Z⁺, ∣) divisibility | a ∣ a; a ∣ b and b ∣ a ⇒ a = b; a ∣ b, b ∣ c ⇒ a ∣ c |
| (P(S), ⊆) | subset relation |
| identity relation on any set | trivially |
Divisibility on Z (with negatives) is not a partial order: 2 ∣ −2 and −2 ∣ 2 but 2 ≠ −2.
Comparable elements and chains
a and b are comparable if a ≼ b or b ≼ a; otherwise incomparable ("partial" order). If every pair is comparable the poset is a totally ordered set (toset) or chain, e.g. (Z, ≤). A set in which no two distinct elements are comparable is an antichain.
PYQ. In A = {1, 2, 3, 5, 6, 10, 15, 30} under divisibility, the incomparable pairs are {2,3}, {2,5}, {2,15}, {3,5}, {3,10}, {5,6}, {6,10}, {6,15}, {10,15}. Every other pair is comparable (1 divides all; 30 is divisible by all).
2. Hasse Diagrams
A Hasse diagram is a simplified digraph of a finite poset:
- remove all loops (reflexivity is understood);
- remove every edge implied by transitivity;
- draw a ≺ b with b above a and drop the arrowheads.
An edge remains only when b covers a (a ≺ b with nothing in between).
Hasse diagrams of divisors of 12, P({a, b, c}) and a chain
Solved. Divisibility on {1, 2, 3, 4, 6, 12}. Covering pairs: 1-2, 1-3, 2-4, 2-6, 3-6, 4-12, 6-12. Level 0: 1; level 1: 2, 3; level 2: 4, 6; top: 12.
3. Special Elements
| Element | Definition | In the Hasse diagram |
|---|---|---|
| Maximal | no element is strictly above it | nothing above it |
| Minimal | no element is strictly below it | nothing below it |
| Greatest (maximum) | every element ≼ it | the unique top |
| Least (minimum) | it ≼ every element | the unique bottom |
A finite poset always has at least one maximal and one minimal element, but may have no greatest/least element. If a greatest element exists, it is unique and it is the only maximal element.
Example. {2, 3, 4, 6, 9} under divisibility: minimal 2, 3; maximal 4, 6, 9; no least, no greatest.
4. Bounds
For a subset B ⊆ A:
- Upper bound of B: an element u ∈ A with b ≼ u for all b ∈ B.
- Lower bound: l ≼ b for all b ∈ B.
- LUB / supremum / join: the least upper bound, written a ∨ b for B = {a, b}.
- GLB / infimum / meet: the greatest lower bound, written a ∧ b.
Solved. A = divisors of 100 = {1, 2, 4, 5, 10, 20, 25, 50, 100} under divisibility.
- B = {10, 50}: lower bounds {1, 2, 5, 10}, GLB = 10; upper bounds {50, 100}, LUB = 50.
- B = {5, 10, 20}: lower bounds {1, 5}, GLB = 5; upper bounds {20, 100}, LUB = 20.
In (Z⁺, ∣): a ∨ b = lcm(a, b) and a ∧ b = gcd(a, b). In (P(S), ⊆): ∨ = ∪ and ∧ = ∩.
5. Topological Sorting
A topological sort lists the elements in an order compatible with ≼ (if a ≺ b then a comes first). Repeatedly remove a minimal element. For divisors of 12: 1, 2, 3, 4, 6, 12 (or 1, 3, 2, 6, 4, 12 …). This is how task schedulers and build systems order jobs.
📝 IPU End-Term Exam Corner (5-10 Marks)
- Q1. Show that divisibility on {1, 2, 3, 4, 6} is a partial order and draw its Hasse diagram. (5 Marks)
- Q2. In A = {1, 2, 3, 5, 6, 10, 15, 30} under divisibility, list comparable and incomparable pairs; find maximal, minimal, greatest and least elements. (5 Marks)
- Q3. Define upper bound, lower bound, LUB and GLB. For divisors of 100 find the bounds of {10, 50}. (5 Marks)