Sorting into classes
Equivalence classes split the set.
Who goes with whom?
A = {1, 2, 3, 4, 5, 6, 7} and R = {(a, b) : both a and b are either odd or even}.
Who is related to 3?
What this lesson covers
The idea
For an equivalence relation R in X, the equivalence class [a] of a is the subset of X containing all elements b related to a; the classes do not overlap and together make up X (e.g. the even and the odd integers for 'a − b is even' on Z).
Who goes with whom?
A = {1, 2, 3, 4, 5, 6, 7} and R = {(a, b) : both a and b are either odd or even}.
Who is related to 3?
- Only 3
- 1, 3, 5 and 7
- Every element
Light up the classes
R is an equivalence relation. Tap an element on the left of the grid to light up everything related to it.
Equivalence classes
For an equivalence relation R in X, the equivalence class [a] is the subset of X of all elements related to a.
Here [1] = [3] = [5] = [7] = {1, 3, 5, 7} and [2] = [4] = [6] = {2, 4, 6}. The two classes do not overlap, and together they make up A.
In the same way, '2 divides a − b' sorts the integers Z into the even integers and the odd integers: disjoint, with Z = E ∪ O.
Notes
[a] = all elements related to a. The classes do not overlap and together make up the whole set.
Check yourself
With this R, what is [4]?
How many different equivalence classes does this R have?
Answer: 2
{1, 3, 5, 7} and {2, 4, 6}: two classes.
Two equivalence classes of the same relation share an element. What can you say?
- {4}. 4 is related to more than itself: 2 and 6 are even too.
- {1, 2, 3, 4, 5, 6, 7}. Odd elements are not related to 4.
- {2, 4, 6} — correct. Yes. 4 is even, so it is related to every even element.
- They are the same class — correct. Yes. Classes either coincide or do not overlap at all.
- They overlap in that element only. If they share one element, every member of one is related to every member of the other, so they are the same class.
- Nothing in general. Classes of an equivalence relation never partly overlap.