Equivalence relation

is an equivalence relation on if it is:

  • reflexive, i.e. (every element is related to itself … a = a)
  • symmetric, i.e.
  • transitive, i.e.

The relationship in the example above is not an equivalence relation (3 would need a self-loop and 1,3 would need to be connected symmetrically).

Equivalence relations

Let be any set, → “Equality relation” on (the resulting set is the diagonal of the cartesian product).

Let be any set, → “Universal relation” on (the resulting set is the entire cartesian product).
The equality relation can also be though of as partitioning each different element into its own set, and the universal relation as a single set containing all elements.

Let
, since , since (reflexive: )


(symmetric: )



(transitive )

Equivalence Relations ↔ Partitions

Every equivalence relation induces a partition and every partition induces an equivalence relation:

Equivalence Relation → Partition:
Given equivalence relation on , the equivalence classes form a partition. Properties of ensure partition properties: reflexivity means blocks are non-empty (), symmetry and transitivity ensure blocks are disjoint ( or ), and together they guarantee blocks cover ().

Partition → Equivalence Relation:
Given partition of , define . Partition properties ensure equivalence relation properties: non-empty blocks give reflexivity, disjoint blocks give symmetry, and covering gives transitivity.

Like sorting items into boxes: Each item goes in exactly one box (partition), and two items are related if they’re in the same box (equivalence relation).

Link to original