Relations — Equivalence Relations and Partial Orders

⚡ Key Takeaways

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).

💡 The Core Insight

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

DefinitionBinary Relation and Its Properties

A binary relation on a set AA is a subset R⊆A×AR \subseteq A \times A. We write a∼ba \sim b or a≤ba \le b depending on context.

1
R⊆A×A,a R b  ⟺  (a,b)∈R\quad R \subseteq A \times A, \qquad a\,R\,b \iff (a,b) \in R

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 a,b,c∈Aa,b,c \in A:

2
Reflexive:∀a (a R a)\quad \textbf{Reflexive:}\quad \forall a\,(a\,R\,a)

Derivation hint: every element relates to itself; the diagonal Δ={(a,a):a∈A}\Delta = \{(a,a) : a\in A\} is contained in RR.

3
Symmetric:∀a,b (a R b⇒b R a)\quad \textbf{Symmetric:}\quad \forall a,b\,(a\,R\,b \Rightarrow b\,R\,a)

Derivation hint: the pair set is closed under swapping coordinates, i.e. R=R−1R = R^{-1}.

4
Antisymmetric:∀a,b ((a R b∧b R a)⇒a=b)\quad \textbf{Antisymmetric:}\quad \forall a,b\,\big((a\,R\,b \wedge b\,R\,a) \Rightarrow a=b\big)

Derivation hint: the only way two elements can relate both ways is if they are identical; R∩R−1⊆ΔR \cap R^{-1} \subseteq \Delta.

5
Transitive:∀a,b,c ((a R b∧b R c)⇒a R c)\quad \textbf{Transitive:}\quad \forall a,b,c\,\big((a\,R\,b \wedge b\,R\,c) \Rightarrow a\,R\,c\big)

Derivation hint: chains collapse to a single link; in relational-composition terms R∘R⊆RR \circ R \subseteq R.

DefinitionEquivalence Relation

A relation ∼\sim on AA is an equivalence relation if it is reflexive [2], symmetric [3], and transitive [5]. For a∈Aa\in A, its equivalence class is

6
[a]={ x∈A:x∼a }\quad [a] = \{\,x \in A : x \sim a\,\}

Derivation hint: collect all elements indistinguishable from aa under ∼\sim; this set is the basic building block. The set of all equivalence classes is the quotient set:

7
A/∼  =  { [a]:a∈A }\quad A/{\sim} \;=\; \{\,[a] : a \in A\,\}

Derivation hint: take the collection of distinct classes; each appears once even if many representatives generate it.

DefinitionPartition

A partition of AA is a collection P\mathcal{P} of nonempty subsets (blocks) of AA such that every element lies in exactly one block:

8
⋃B∈PB=AandBi∩Bj=∅  (Bi≠Bj)\quad \bigcup_{B\in\mathcal{P}} B = A \quad\text{and}\quad B_i \cap B_j = \varnothing \ \ (B_i \ne B_j)

Derivation hint: the blocks cover everything (union is AA) and never overlap (pairwise disjoint), so each element has a unique home.

TheoremFundamental Theorem of Equivalence Relations

There is a bijection between the set of equivalence relations on AA and the set of partitions of AA. Given ∼\sim, the family of equivalence classes A/∼A/{\sim} is a partition; conversely, given a partition P\mathcal{P}, the relation "a∼ba \sim b iff a,ba,b lie in the same block" is an equivalence relation. These constructions are mutually inverse.

DefinitionPartial Order, Poset, Total Order

A relation ≤\le on AA is a partial order if it is reflexive [2], antisymmetric [4], and transitive [5]. The pair (A,≤)(A,\le) is a partially ordered set (poset). Two elements are comparable if a≤ba\le b or b≤ab\le a; otherwise incomparable (written a∥ba \parallel b). A partial order in which every pair is comparable is a total (or linear) order:

9
Totality:∀a,b (a≤b ∨ b≤a)\quad \textbf{Totality:}\quad \forall a,b\,(a\le b \ \vee\ b\le a)

Derivation hint: add the demand that no two elements are incomparable; this upgrades a partial order to a chain. The strict order associated with ≤\le is a<b  ⟺  (a≤b∧a≠b)a < b \iff (a\le b \wedge a\ne b), which is irreflexive and transitive.

DefinitionCovering Relation and Hasse Diagram

In a poset (A,≤)(A,\le), element bb covers aa (written a⋖ba \lessdot b) if a<ba < b and no cc satisfies a<c<ba < c < b:

10
a⋖b  ⟺  a<b ∧ ¬∃c (a<c<b)\quad a \lessdot b \iff a<b \ \wedge\ \neg\exists c\,(a<c<b)

Derivation hint: bb sits immediately above aa with nothing in between; this is the "next step up." A Hasse diagram draws elements as dots, places bb above aa whenever a⋖ba \lessdot b, and joins them by a line. The full order is recovered by transitivity, so only covers are drawn.

Why It Holds / Derivation

ProofEquivalence Classes Form a Partition

Let ∼\sim be an equivalence relation on AA. We verify the two partition conditions [8].

Step 1 — Every element is covered. By reflexivity [2], a∼aa \sim a, so a∈[a]a \in [a]. Hence each aa lies in at least one class and ⋃a[a]=A\bigcup_{a} [a] = A. Each class is nonempty (it contains its own generator).

Step 2 — Classes are equal or disjoint. Suppose [a]∩[b]≠∅[a] \cap [b] \neq \varnothing; pick cc in the intersection, so c∼ac \sim a and c∼bc \sim b. By symmetry [3], a∼ca \sim c. Take any x∈[a]x \in [a], i.e. x∼ax \sim a. Then by transitivity [5]: x∼ax \sim a, a∼ca \sim c give x∼cx \sim c; and x∼cx \sim c, c∼bc \sim b give x∼bx \sim b, so x∈[b]x \in [b]. Thus [a]⊆[b][a] \subseteq [b], and by symmetry of the argument [b]⊆[a][b] \subseteq [a], giving [a]=[b][a]=[b].

Step 3 — Conclusion. Either two classes coincide or are disjoint; combined with Step 1, A/∼A/{\sim} is a partition. The inverse direction (a partition induces an equivalence relation) is checked directly: "same block" is trivially reflexive, symmetric, and transitive. ■\blacksquare

∎
ProofA Finite Poset Is Determined by Its Covering Relation

Let (A,≤)(A,\le) be a finite poset and let ⋖\lessdot be its covering relation [10]. We claim a≤ba \le b iff there is a chain a=x0⋖x1⋖⋯⋖xn=ba = x_0 \lessdot x_1 \lessdot \cdots \lessdot x_n = b (with n=0n=0 allowed, meaning a=ba=b).

Step 1 — Chains imply order. Each xi⋖xi+1x_i \lessdot x_{i+1} gives xi<xi+1≤xi+1x_i < x_{i+1} \le x_{i+1}, and by transitivity [5] applied repeatedly a≤ba \le b.

Step 2 — Order implies a chain (finiteness used here). Suppose a<ba < b. If a⋖ba \lessdot b we are done. Otherwise there exists cc with a<c<ba < c < b. The strict order is a strict partial order, so consider the finite set {c:a<c<b}\{c : a < c < b\}; pick a minimal such cc to make a⋖ca \lessdot c, and recurse on c<bc < b. Finiteness guarantees the process terminates, producing a covering chain.

Step 3 — Conclusion. The full relation ≤\le is the reflexive-transitive closure of ⋖\lessdot, so the Hasse diagram (which records exactly ⋖\lessdot) loses no information. ■\blacksquare

∎
⚠️ Common mistake

Step 2 genuinely needs finiteness. In (Q,≤)(\mathbb{Q}, \le) the covering relation is empty — between any two rationals lies a third — so Q\mathbb{Q} has no Hasse diagram and cannot be reconstructed from covers. Dense orders are the canonical exception.

mathematician · Richard Dedekind | 1831–1916

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

🧠 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 Z/12Z\mathbb{Z}/12\mathbb{Z} has just twelve classes. The quotient set A/∼A/\sim 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 ⊆\subseteq: {1,2}\{1,2\} and {2,3}\{2,3\} are incomparable — neither contains the other — yet both sit below {1,2,3}\{1,2,3\}. 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."

Figure
Equivalence partition (left) vs. partial order Hasse diagram (right). The gold curve encloses one equivalence class; gold edges trace a covering chain.
Equivalence Relation → Partition Partial Order → Hasse Diagram [a] [b] (one class) [c] ∅ {1} {2} {3} {1,2} {1,3} {2,3} {1,2,3}

Worked Examples

ExampleCongruence Modulo 5 — Counting Classes

Given: the relation on Z\mathbb{Z} defined by a∼b  ⟺  5∣(a−b)a \sim b \iff 5 \mid (a-b).

Step 1 — Verify it is an equivalence relation.

  • Reflexive: 5∣(a−a)=05 \mid (a-a)=0. ✓
  • Symmetric: if 5∣(a−b)5 \mid (a-b) then 5∣−(a−b)=(b−a)5 \mid -(a-b)=(b-a). ✓
  • Transitive: if 5∣(a−b)5 \mid (a-b) and 5∣(b−c)5\mid(b-c) then 5∣(a−b)+(b−c)=(a−c)5 \mid (a-b)+(b-c)=(a-c). ✓

Step 2 — Identify the classes. Every integer leaves remainder 0,1,2,3,0,1,2,3, or 44 on division by 5. Two integers are related iff they share a remainder. So:

0
={…,−5,0,5,10,… }, [1]={…,−4,1,6,… }, …, [4].=\{\dots,-5,0,5,10,\dots\},\ [1]=\{\dots,-4,1,6,\dots\},\ \dots,\ [4].

Step 3 — Count. There are exactly 5 distinct classes.

 Z/5Z={[0],[1],[2],[3],[4]},∣Z/5Z∣=5 \boxed{\ \mathbb{Z}/5\mathbb{Z} = \{[0],[1],[2],[3],[4]\}, \quad |\mathbb{Z}/5\mathbb{Z}| = 5\ }
ExampleDivisibility Poset on {1,2,3,4,6,12} — Bounds

Given: A={1,2,3,4,6,12}A=\{1,2,3,4,6,12\} with a≤b  ⟺  a∣ba \le b \iff a \mid b (divides).

Step 1 — Confirm it is a partial order. Reflexive (a∣aa\mid a), antisymmetric (if a∣ba\mid b and b∣ab\mid a with positive integers then a=ba=b), transitive (a∣ba\mid b, b∣c⇒a∣cb\mid c \Rightarrow a\mid c). ✓ It is not total: 2∥32 \parallel 3 (neither divides the other).

Step 2 — Find covers. 1⋖21\lessdot 2, 1⋖31\lessdot 3, 2⋖42\lessdot 4, 2⋖62\lessdot 6, 3⋖63\lessdot 6, 4⋖124\lessdot 12, 6⋖126\lessdot 12. (Note 1⋖̸41 \not\lessdot 4 because 1<2<41<2<4.)

Step 3 — Identify special elements.

  • Least element (bottom): 11, since 1∣x1\mid x for all xx.
  • Greatest element (top): 1212, since x∣12x \mid 12 for all xx.
  • Meet (greatest lower bound) of 44 and 66: gcd⁡(4,6)=2\gcd(4,6)=2.
  • Join (least upper bound) of 44 and 66: lcm⁡(4,6)=12\operatorname{lcm}(4,6)=12.
 bottom=1, top=12,  4∧6=2,  4∨6=12 \boxed{\ \text{bottom}=1,\ \text{top}=12,\ \ 4\wedge 6 = 2,\ \ 4\vee 6 = 12\ }

This poset is in fact a lattice: every pair has a meet (gcd⁡\gcd) and join (lcm⁡\operatorname{lcm}).

Common Misconceptions

⚠️ Common mistake

Reflexivity is not automatic — and the empty relation is a trap. The relation R=∅R=\varnothing on a nonempty set AA is vacuously symmetric and transitive, but it is not reflexive (no a R aa\,R\,a). So it is not an equivalence relation. Likewise, "symmetric + transitive ⟹ reflexive" is a famous fallacy: the bogus proof says "a∼b⇒b∼a⇒a∼aa\sim b \Rightarrow b\sim a \Rightarrow a\sim a," but it silently assumes every aa relates to some bb. If aa is isolated, a∼aa\sim a can fail.

⚠️ Common mistake

Antisymmetry ≠ asymmetry, and "not symmetric" ≠ "antisymmetric." Antisymmetry [4] permits a R aa\,R\,a (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.

Counterexample

"Has the same first name as" looks like an order but isn't, and "is a friend of" isn't transitive. The relation a≤b  ⟺  aa \le b \iff a is at least as tall as bb on a set of people is reflexive and transitive but generally not antisymmetric: two different people of equal height satisfy a≤ba\le b and b≤ab\le a without a=ba=b. So it is a preorder, not a partial order — to fix it you must pass to the quotient by "equal height." The relation "aa knows bb" 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

connection

Equivalence relations are the engine behind every quotient construction: Quotient Groups (G/NG/N), 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

🔬 Where this appears

Historical Development

⏳ History
- 1872 — Richard Dedekind constructs the reals via cuts, partitioning Q\mathbb{Q} into ordered blocks — an order-theoretic foundation for analysis.
- 1870s–80s — Charles S. Peirce develops the algebra of relations, formalizing composition, converse, and relational properties.
- 1883 — Georg Cantor bases cardinality on the equivalence relation "is in bijection with," and ordinality on order types of well-orders.
- 1888 — Dedekind's Was sind und was sollen die Zahlen? rigorously treats mappings and chains, prefiguring equivalence classes.
- 1890s — Ernst Schröder's Vorlesungen über die Algebra der Logik systematizes the calculus of relations.
- 1914 — Felix Hausdorff develops ordered and partially ordered sets in his foundational set-theory text, introducing modern poset language.
- 1928–1933 — Helmut Hasse popularizes the diagrammatic representation now called the Hasse diagram in number-theory lectures.
- 1933–1940 — Garrett Birkhoff founds modern lattice theory, unifying posets, Boolean algebras, and order structures; his Lattice Theory (1940) becomes the standard reference.
- 1978 — Leslie Lamport formalizes the "happened-before" partial order for distributed systems, a landmark application in computer science.

Subtleties & Limits

open-problem

Several deep issues lurk beneath this elementary surface. (1) Counting: the number of partitions of an nn-element set is the Bell number BnB_n, but the number of distinct partial orders (and posets up to isomorphism) on nn elements has no known closed form and grows wildly — these are computed only for small nn. (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-≥3\ge 3 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 Q\mathbb{Q}) 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