Equivalence Relations
Abstract¶
An overview of partitions, equivalence relations and their relationship
We first consider partitions, before defining equivalence relations and detailing their relationship to partitions.
Partitions¶
A partition of a set is a collection of subsets such that
No empty subsets
if
Disjointed subsets (no overlapping elements)
The union of all subsets is the total set.
Equivalence Relations¶
Let be a set. A relation on the set is an equivalence relation if it satisfies the following conditions
Reflexivity
Symmetry
If and then
Transitivity
For an element , its equivalence class is defined as
meaning the equivalence class is a subset of the total set, .
Equivalence Theorem¶
The equivalence theorem states:
Under any equivalence relation the corresponds equivalence classes will form a partition of the global set.
And, any partition of the global set will have a corresponding equivalence relation.
Hence, equivalence relations and partitions are equivalent.
Proof
Let be a set and an equivalence relation such that
We will first prove the forward direction, and then the reverse.
Forward
Firstly, no equivalence class is empty as due to the symmetry of the equivalence relation, i.e., .
Now we show that all equivalence classes are disjoint.
Assume that and . Then and . Hence, due to transitivity , meaning that .
Therefore, anything in the equivalence class of is also in , such that .
By symmetry, it can be seen that
One can then run the above argument in reverse to show that . Putting both statements together gives
Hence, if the equivalence classes have any elements in common they are equal, meaning that the equivalence classes are equal or disjoint.
Finally, as each element of is in at least one equivalence class, as , then the union of all equivalence classes is . Hence, the equivalence classes form a partition of .
Reverse
Consider a partition of given by
We now define an relation as
for some , meaning and are related if are elements of the same subset. The aim is then to show that this relation is a valid equivalence relation
Firstly, let . As each element of is in exactly one subset, for some only. Hence, and the relation is reflexivity.
Now, suppose that . It must therefore hold that for some and not any other subset. Therefore, it must be the case that , meaning that the relation is symmetric.
Finally, let and , meaning that and for some . As the subsets are disjoint if and only if . As there is overlap, it must therefore mean that and all elements belong to the same subset. Hence, it holds that , meaning the relation is transitivity.
Therefore, the relation is a valid equivalence relation, meaning that for each partition a valid equivalence relation can be found.