Equivalence Relations
When a relation means “same kind”
A relation R on a set S is an equivalence relation when it formalizes a consistent notion of “being in the same class.” It must satisfy three properties: reflexive, symmetric, and transitive. These are separate tests, so do not infer one from another.
The three tests
- Reflexive: every element is related to itself: aRa for every a∈S.
- Symmetric: if aRb, then bRa.
- Transitive: if aRb and bRc, then aRc.
For example, on the integers define aRb when a−b is divisible by 3. Every integer differs from itself by zero, reversing a divisible difference preserves divisibility, and adding two divisible differences gives another divisible difference. Therefore this is an equivalence relation.
Equivalence classes
Once the three properties hold, each element a has a class [a]={x∈S:xRa}. Classes either coincide or have no elements in common, so the classes partition S. In the divisibility-by-3 example, one class contains integers with remainder zero, another contains integers with remainder one, and the third contains integers with remainder two.
A partition of a set into three relation classes. Letters identify elements only.
Worked check
On people, “has the same birth month as” passes all three tests: everyone shares a birth month with themselves, sharing is mutual, and if Ana shares a birth month with Bo and Bo shares one with Cy, then Ana and Cy share it too. It creates twelve disjoint groups.
On Z, define aRb when a−b is divisible by 5. Which pair is related?
Refer to the figure, which represents equivalence classes for a relation on S. Which statement must be true?
A partition of a set into three relation classes. Letters identify elements only.