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 class
Let
The set of all elements that are related to via – – is the equivalence class of .
“Die von erzeugte Equivalenzklasse”.
Link to originalEquivalence 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).
Every equivalence relation induces a partition, and every partition induces an equivalence relation (they are the same).
(1) , equiv. relation is a partition (the set of equivalence classes is a partition of )
(2) is a partition of a, the block containing is an equivalence relation on .
is an equivalence relation. The equivalence classes of are :Proof (1):
(if two classes have a nonempty intersection, they are the same – different classes have no intersection)Proof (2):
(symmetric)
(transitive)