Mathematics · Ch 1 — Relations and Functions
Equivalence Relations and Equivalence Classes
Equivalence Relations and Equivalence Classes
2. Equivalence Relations and Equivalence Classes
A relation in a set is called an equivalence relation if is simultaneously reflexive, symmetric and transitive.
Equivalence relations formalise the everyday idea of "being alike" in some respect — same remainder on division, same length, same shape, and so on. To prove is an equivalence relation, all three properties from Section 1 must be verified explicitly; to disprove it, a single counterexample to any one property is enough.
Worked Illustration — Congruence Modulo 5
Let be the relation on defined by iff divides (written ).
- Reflexive: , and , so for every .
- Symmetric: if then for some integer , so , and .
- Transitive: if and , write , ; then , so .
All three hold, so is an equivalence relation on .
Equivalence Classes
For an equivalence relation on and , the equivalence class of , written , is the set of all elements related to :
Equivalence classes have a remarkable structural property: any two equivalence classes are either identical or completely disjoint, and their union is all of — that is, the classes partition into non-overlapping blocks.
For congruence modulo above, there are exactly five classes:
Every integer lies in exactly one of these five classes, decided entirely by its remainder on division by . …