Relations — Equivalence Relations and Partial Orders
A relation on a set is a collection of ordered pairs; two special kinds dominate mathematics. An equivalence relation (reflexive, symmetric, transitive) partitions a set into disjoint classes of "interchangeable" elements, while a partial order (reflexive, antisymmetric, transitive) arranges elements into a hierarchy of "comparability." They appear everywhere from modular arithmetic and quotient constructions to scheduling, dependency graphs, and lattice theory. Studied systematically since the late 19th century (Dedekind, Peirce, Cantor).
Three atomic properties — reflexive, symmetric/antisymmetric, transitive — recombine into two fundamentally different worlds. Keep symmetry and you get sameness (equivalence → partitions → quotients). Replace symmetry with antisymmetry and you get ranking (partial order → hierarchies → lattices). The single property they share, transitivity, is what makes both "behave like" the relations they generalize (equality and ≤).
Formal Statement
A binary relation on a set is a subset . We write or depending on context.
Derivation hint: A relation is literally just the set of pairs that "stand in the relation"; everything else is a property this set may or may not have. The four fundamental properties, for all :
Derivation hint: every element relates to itself; the diagonal is contained in .
Derivation hint: the pair set is closed under swapping coordinates, i.e. .
Derivation hint: the only way two elements can relate both ways is if they are identical; .
Derivation hint: chains collapse to a single link; in relational-composition terms .
A relation on is an equivalence relation if it is reflexive [2], symmetric [3], and transitive [5]. For , its equivalence class is
Derivation hint: collect all elements indistinguishable from under ; this set is the basic building block. The set of all equivalence classes is the quotient set:
Derivation hint: take the collection of distinct classes; each appears once even if many representatives generate it.
A partition of is a collection of nonempty subsets (blocks) of such that every element lies in exactly one block:
Derivation hint: the blocks cover everything (union is ) and never overlap (pairwise disjoint), so each element has a unique home.
There is a bijection between the set of equivalence relations on and the set of partitions of . Given , the family of equivalence classes is a partition; conversely, given a partition , the relation " iff lie in the same block" is an equivalence relation. These constructions are mutually inverse.
A relation on is a partial order if it is reflexive [2], antisymmetric [4], and transitive [5]. The pair is a partially ordered set (poset). Two elements are comparable if or ; otherwise incomparable (written ). A partial order in which every pair is comparable is a total (or linear) order:
Derivation hint: add the demand that no two elements are incomparable; this upgrades a partial order to a chain. The strict order associated with is , which is irreflexive and transitive.
In a poset , element covers (written ) if and no satisfies :
Derivation hint: sits immediately above with nothing in between; this is the "next step up." A Hasse diagram draws elements as dots, places above whenever , and joins them by a line. The full order is recovered by transitivity, so only covers are drawn.
Why It Holds / Derivation
Let be an equivalence relation on . We verify the two partition conditions [8].
Step 1 — Every element is covered. By reflexivity [2], , so . Hence each lies in at least one class and . Each class is nonempty (it contains its own generator).
Step 2 — Classes are equal or disjoint. Suppose ; pick in the intersection, so and . By symmetry [3], . Take any , i.e. . Then by transitivity [5]: , give ; and , give , so . Thus , and by symmetry of the argument , giving .
Step 3 — Conclusion. Either two classes coincide or are disjoint; combined with Step 1, is a partition. The inverse direction (a partition induces an equivalence relation) is checked directly: "same block" is trivially reflexive, symmetric, and transitive.
∎Let be a finite poset and let be its covering relation [10]. We claim iff there is a chain (with allowed, meaning ).
Step 1 — Chains imply order. Each gives , and by transitivity [5] applied repeatedly .
Step 2 — Order implies a chain (finiteness used here). Suppose . If we are done. Otherwise there exists with . The strict order is a strict partial order, so consider the finite set ; pick a minimal such to make , and recurse on . Finiteness guarantees the process terminates, producing a covering chain.
Step 3 — Conclusion. The full relation is the reflexive-transitive closure of , so the Hasse diagram (which records exactly ) loses no information.
∎Step 2 genuinely needs finiteness. In the covering relation is empty — between any two rationals lies a third — so has no Hasse diagram and cannot be reconstructed from covers. Dense orders are the canonical exception.
Dedekind brought ordered structures and equivalence into the foundations of mathematics. His Dedekind cuts (1872) construct the real numbers using a partition of the rationals into two ordered blocks — a partial-order idea at the heart of analysis. In Was sind und was sollen die Zahlen? (1888) he treated mappings, chains, and the precursors of equivalence classes with new rigor. The notion of a lattice — a poset with meets and joins — traces to his work on ideals and modules (Dualgruppen), later rediscovered and named by Birkhoff. Charles S. Peirce and Ernst Schröder independently developed the algebra of relations in the same era, and Cantor's cardinality theory rests squarely on the equivalence relation "is in bijection with."
Building Intuition
Think of an equivalence relation as a pair of "blurry glasses": elements that look the same through them get lumped together. Modular arithmetic mod 12 is a clock — 3 o'clock and 15 o'clock are the same point, so has just twelve classes. The quotient set is what you see after putting on the glasses: you've thrown away distinctions you decided don't matter. A partial order is a "depends-on" or "is-bigger-than" arrow, but with the honest admission that some things just can't be compared. Subsets of a set under : and are incomparable — neither contains the other — yet both sit below . The Hasse diagram is the picture of this hierarchy with all redundant arrows erased. The crucial mental switch: symmetry says "both directions are the same," antisymmetry says "both directions can only happen if you're standing still."
Worked Examples
Given: the relation on defined by .
Step 1 — Verify it is an equivalence relation.
- Reflexive: . ✓
- Symmetric: if then . ✓
- Transitive: if and then . ✓
Step 2 — Identify the classes. Every integer leaves remainder or on division by 5. Two integers are related iff they share a remainder. So:
Step 3 — Count. There are exactly 5 distinct classes.
Given: with (divides).
Step 1 — Confirm it is a partial order. Reflexive (), antisymmetric (if and with positive integers then ), transitive (, ). ✓ It is not total: (neither divides the other).
Step 2 — Find covers. , , , , , , . (Note because .)
Step 3 — Identify special elements.
- Least element (bottom): , since for all .
- Greatest element (top): , since for all .
- Meet (greatest lower bound) of and : .
- Join (least upper bound) of and : .
This poset is in fact a lattice: every pair has a meet () and join ().
Common Misconceptions
Reflexivity is not automatic — and the empty relation is a trap. The relation on a nonempty set is vacuously symmetric and transitive, but it is not reflexive (no ). So it is not an equivalence relation. Likewise, "symmetric + transitive ⟹ reflexive" is a famous fallacy: the bogus proof says "," but it silently assumes every relates to some . If is isolated, can fail.
Antisymmetry ≠ asymmetry, and "not symmetric" ≠ "antisymmetric." Antisymmetry [4] permits (the diagonal is allowed); asymmetry forbids it entirely. A relation can be both symmetric and antisymmetric — namely any subset of the diagonal, e.g. equality itself. Do not assume the two properties are opposites.
"Has the same first name as" looks like an order but isn't, and "is a friend of" isn't transitive. The relation is at least as tall as on a set of people is reflexive and transitive but generally not antisymmetric: two different people of equal height satisfy and without . So it is a preorder, not a partial order — to fix it you must pass to the quotient by "equal height." The relation " knows " on a social network is reflexive and symmetric but not transitive (your friend's friend need not be your friend), so it is a tolerance/dependency relation, not an equivalence relation. To force an equivalence you take the transitive closure, yielding connected components.
Connections
Equivalence relations are the engine behind every quotient construction: Quotient Groups (), Quotient Topology, quotient rings, and Cardinality and Bijections (where "same size" is the equivalence "is in bijection with"). The First Isomorphism Theorem is precisely the statement that a homomorphism's kernel-equivalence quotient is isomorphic to its image. Partial orders generalize into Lattice Theory (posets with meets and joins) and underlie Order Topology and Zorn's Lemma, the order-theoretic form of the Axiom of Choice. Both relation types are instances of the general theory of Binary Relations and Their Composition, and the strict-order/total-order distinction connects directly to Well-Ordering and Ordinals. Graph-theoretically, an equivalence relation is a disjoint union of complete graphs, while a (strict) partial order is exactly a transitively closed Directed Acyclic Graphs.
Real-World Applications
Historical Development
Subtleties & Limits
Several deep issues lurk beneath this elementary surface. (1) Counting: the number of partitions of an -element set is the Bell number , but the number of distinct partial orders (and posets up to isomorphism) on elements has no known closed form and grows wildly — these are computed only for small . (2) Dimension theory: every finite poset embeds into a product of chains; the minimum number of chains needed is the poset's order dimension, and recognizing dimension- posets is NP-complete, with many extremal questions open. (3) Choice-dependence: the claim "every set can be well-ordered" and "every partial order extends to a total order" require the Axiom of Choice / Zorn's Lemma; without it these can fail, exposing the foundational sensitivity of order theory. (4) Infinite & dense orders: dense linear orders (like ) have no covering relation, so Hasse diagrams and finite combinatorial methods break down, and the model theory of such orders (Cantor's back-and-forth theorem and beyond) remains a rich research area.
See Also
Binary Relations and Their Composition · Quotient Topology · Cardinality and Bijections · Boolean Algebra · Directed Acyclic Graphs · Order Topology · First Isomorphism Theorem