7 Equivalence Relations
7.3 Equivalence Classes
7.3.1 Beginning Activity 1 (Sets Associated with a Relation)
As was indicated in Section 7.2, an equivalence relation on a set is a relation with a certain combination of properties (reflexive, symmetric, and transitive) that allow us to sort the elements of the set into certain classes. This is done by means of certain subsets of that are associated with the elements of the set . This will be illustrated with the following example. Let , and let be the relation on the set defined as follows:
, , , , , , , , , , , ,
For each , define the subset of as follows:
That is, consists of those elements in such that . For example, using , we see that , and , and so .
-
1.
Determine , and .
-
2.
Draw a directed graph for the relation and explain why is an equivalence relation on .
-
3.
Which of the sets , and are equal?
-
4.
Which of the sets , and are disjoint?
As we will see in this section, the relationships between these sets are typical for an equivalence relation. The following example will show how different this can be for a relation that is not an equivalence relation.
Let , and let be the relation on the set defined as follows:
-
1.
Draw a digraph that represents the relation on . Explain why is not an equivalence relation on .
For each , define the subset of as follows:
For example, using , we see that since and . In addition, we see that since there is no such that .
-
2.
Determine , and .
-
3.
Which of the sets , and are equal?
-
4.
Which of the sets , and are disjoint?
7.3.2 The Definition of an Equivalence Class
We have indicated that an equivalence relation on a set is a relation with a certain combination of properties (reflexive, symmetric, and transitive) that allow us to sort the elements of the set into certain classes. We saw this happen in the beginning activities. We can now illustrate specifically what this means. For example, in Beginning Activity 2, we used the equivalence relation of congruence modulo 3 on to construct the following three sets:
The main results that we want to use now are Theorem 3.31 and Corollary 3.32. This corollary tells us that for any is congruent to precisely one of the integers 0,1, or 2. Consequently, the integer must be congruent to 0,1, or 2, and it cannot be congruent to two of these numbers. Thus
-
1.
For each , or ; and
-
2.
, and .
This means that the relation of congruence modulo 3 sorts the integers into three distinct sets, or classes, and that each pair of these sets have no elements in common. So if we use a rectangle to represent , we can divide that rectangle into three smaller rectangles, corresponding to , and , and we might picture this situation as follows:
|
|
|
Each integer is in exactly one of the three sets , or , and two integers are congruent modulo 3 if and only if they are in the same set. We will see that, in a similar manner, if is any natural number, then the relation of congruence modulo can be used to sort the integers into classes. We will also see that in general, if we have an equivalence relation on a set , we can sort the elements of the set into classes in a similar manner.
Definition. Let be an equivalence relation on a nonempty set . For each , the equivalence class of determined by is the subset of , denoted by [a], consisting of all the elements of that are equivalent to . That is,
We read as "the equivalence class of " or as "bracket ."
7.3.3 Notes
-
1.
We use the notation when only one equivalence relation is being used. If there is more than one equivalence relation, then we need to distinguish between the equivalence classes for each relation. We often use something like , or if is the name of the relation, we can use or for the equivalence class of determined by . In any case, always remember that when we are working with any equivalence relation on a set if , then the equivalence class is a subset of .
-
2.
We know that each integer has an equivalence class for the equivalence relation of congruence modulo 3. But as we have seen, there are really only three distinct equivalence classes. Using the notation from the definition, they are:
7.3.4 Progress Check 7.12 (Equivalence Classes from Beginning Activity 1)
Without using the terminology at that time, we actually determined the equivalence classes of the equivalence relation in Beginning Activity 1. What are the distinct equivalence classes for this equivalence relation?
7.3.5 Congruence Modulo and Congruence Classes
In Beginning Activity 2, we used the notation for the set of all integers that are congruent to modulo 3. We could have used a similar notation for equivalence classes, and this would have been perfectly acceptable. However, the notation is probably the most common notation for the equivalence class of . We will now use this same notation when dealing with congruence modulo when only one congruence relation is under consideration.
Definition. Let . Congruence modulo is an equivalence relation on . So for ,
In this case, is called the congruence class of modulo .
We have seen that congruence modulo 3 divides the integers into three distinct congruence classes. Each congruence class consists of those integers with the same remainder when divided by 3. In a similar manner, if we use congruence modulo 2, we simply divide the integers into two classes. One class will consist of all the integers that have a remainder of 0 when divided by 2, and the other class will consist of all the integers that have a remainder of 1 when divided by 2. That is, congruence modulo 2 simply divides the integers into the even and odd integers.
7.3.6 Progress Check 7.13 (Congruence Modulo 4)
Determine all of the distinct congruence classes for the equivalence relation of congruence modulo 4 on the integers. Specify each congruence class using the roster method.
7.3.7 Properties of Equivalence Classes
As we have seen, in Beginning Activity 1, the relation was an equivalence relation. For that activity, we used to denote the equivalence class of , and we observed that these equivalence classes were either equal or disjoint.
However, in Beginning Activity 1, the relation was not an equivalence relation, and hence we do not use the term "equivalence class" for this relation. We should note, however, that the sets were not equal and were not disjoint. This exhibits one of the main distinctions between equivalence relations and relations that are not equivalence relations.
In Theorem 7.14, we will prove that if is an equivalence relation on the set , then we can "sort" the elements of into distinct equivalence classes. The properties of equivalence classes that we will prove are as follows: (1) Every element of is in its own equivalence class; (2) two elements are equivalent if and only if their equivalence classes are equal; and (3) two equivalence classes are either identical or they are disjoint.
Theorem 7.14. Let be a nonempty set and let be an equivalence relation on the set . Then,
-
1.
For each .
-
2.
For each if and only if .
-
3.
For each or .
Proof. Let be a nonempty set and assume that is an equivalence relation on . To prove the first part of the theorem, let . Since is an equivalence relation on , it is reflexive on . Thus, , and we can conclude that .
The second part of this theorem is a biconditional statement. We will prove it by proving two conditional statements. We will first prove that if , then . So let and assume that . We will now prove that the two sets and are equal. We will do this by proving that each is a subset of the other.
First, assume that . Then, by definition, . Since we have assumed that , we can use the transitive property of to conclude that , and this means that . This proves that .
We now assume that . This means that , and hence by the symmetric property, that . Again, we are assuming that . So we have
We use the transitive property to conclude that and then, using the symmetric property, we conclude that . This proves that and, hence, that . This means that we can conclude that if , then .
We must now prove that if , then . Let and assume that . Using the first part of the theorem, we know that and since the two sets are equal, this tells us that . Hence by the definition of , we conclude that . This completes the proof of the second part of the theorem.
For the third part of the theorem, let . Since this part of the theorem is a disjunction, we will consider two cases: Either
In the case where , the first part of the disjunction is true, and hence there is nothing to prove. So we assume that and will show that . Since , there is an element in such that
This means that and . Consequently, and , and so we can use the second part of the theorem to conclude that and . Hence, , and we have proven that or .
Theorem 7.14 gives the primary properties of equivalence classes. Consequences of these properties will be explored in the exercises. The following table restates the properties in Theorem 7.14 and gives a verbal description of each one.
| Formal Statement from Theorem 7.14 | Verbal Description | ||||
|---|---|---|---|---|---|
| For each . | Every element of is in its own equivalence class. | ||||
| For each if and only if . |
|
||||
| For each or . |
|
7.3.8 Progress Check 7.15 (Equivalence Classes)
Let be defined by for each . Define a relation on as follows:
In Exercise (6) of Section 7.2, we proved that is an equivalence relation on . Consequently, each real number has an equivalence class. For this equivalence relation,
-
1.
Determine the equivalence classes of , and .
-
2.
Determine the equivalence class of 0 .
-
3.
If , use the roster method to specify the elements of the equivalence class .
The results of Theorem 7.14 are consistent with all the equivalence relations studied in the beginning activities and in the progress checks. Since this theorem applies to all equivalence relations, it applies to the relation of congruence modulo on the integers. Because of the importance of this equivalence relation, these results for congruence modulo are given in the following corollary.
Corollary 7.16. Let . For each , let represent the congruence class of a modulo n.
-
1.
For each .
-
2.
For each if and only if .
-
3.
For each or .
For the equivalence relation of congruence modulo , Theorem 3.31 and Corollary 3.32 tell us that each integer is congruent to its remainder when divided by , and that each integer is congruent modulo to precisely one of one of the integers . This means that each integer is in precisely one of the congruence classes . Hence, Corollary 7.16 gives us the following result.
Corollary 7.17. Let . For each , let represent the congruence class of a modulo n.
-
1.
-
2.
For , if , then .
7.3.9 Partitions and Equivalence Relations
A partition of a set is a collection of subsets of that "breaks up" the set into disjoint subsets. Technically, each pair of distinct subsets in the collection must be disjoint. We then say that the collection of subsets is pairwise disjoint. We introduce the following formal definition.
Definition. Let be a nonempty set, and let be a collection of subsets of . The collection of subsets is a partition of provided that
-
1.
For each .
-
2.
For each , there exists a such that .
-
3.
For every or .
There is a close relation between partitions and equivalence classes since the equivalence classes of an equivalence relation form a partition of the underlying set, as will be proven in Theorem 7.18. The proof of this theorem relies on the results in Theorem 7.14.
Theorem 7.18. Let be an equivalence relation on the nonempty set . Then the collection of all equivalence classes determined by is a partition of the set .
Proof. Let be an equivalence relation on the nonempty set , and let be the collection of all equivalence classes determined by . That is,
We will use Theorem 7.14. to prove that is a partition of .
Part (1) of Theorem 7.14 states that for each . In terms of the equivalence classes, this means that each equivalence class is nonempty since each element of is in its own equivalence class. Consequently, , the collection of all equivalence classes determined by , satisfies the first two conditions of the definition of a partition.
We must now show that the collection of all equivalence classes determined by satisfies the third condition for being a partition. That is, we need to show that any two equivalence classes are either equal or are disjoint. However, this is exactly the result in Part (3) of Theorem 7.14.
Hence, we have proven that the collection of all equivalence classes determined by is a partition of the set .
Note: Theorem 7.18 has shown us that if is an equivalence relation on a nonempty set , then the collection of the equivalence classes determined by form a partition of the set .
This process can be reversed. This means that given a partition of a nonempty set , we can define an equivalence relation on whose equivalence classes are precisely the subsets of that form the partition. This will be explored in Exercise (12).
7.3.10 Exercises 7.3
-
1.
Let and let be the relation on that is represented by the directed graph in Figure 7.4.
Figure 7.4: Directed Graph for the Relation in Exercise (1) Prove that is an equivalence relation on the set , and determine all of the equivalence classes determined by this equivalence relation.
-
2.
Let , and assume that is an equivalence relation on . Also assume that it is known that
.Draw a complete directed graph for the equivalence relation on the set , and then determine all of the equivalence classes for this equivalence relation.
-
3.
Let . Define the relation on as follows:
For if and only if and have the same number of digits.Prove that is an equivalence relation on the set and determine all of the distinct equivalence classes determined by .
-
4.
Determine all of the congruence classes for the relation of congruence modulo 5 on the set of integers.
-
5.
Let .
-
(a)
Define the relation on as follows: For all if and only if . Prove that is an equivalence relation on and determine all of the distinct equivalence classes of this equivalence relation.
-
(a)
Define the relation on as follows: For all if and only if . Prove that is an equivalence relation on and determine all of the distinct equivalence classes of this equivalence relation.
-
(a)
-
6.
Define the relation on as follows: For if and only if . In Progress Check 7.9 of Section 7.2, we showed that the relation is an equivalence relation on . Also, see Exercise (9) in Section 7.2.
-
(a)
Prove that .
-
(a)
If , then what is the equivalence class of ?
-
(b)
If , prove that there is a bijection from to .
-
(a)
-
7.
Define the relation on as follows:
For if and only if .
-
(a)
Prove that is an equivalence relation on .
-
(b)
List four different real numbers that are in the equivalence class of .
-
(c)
If , what is the equivalence class of ?
-
(d)
Prove that .
-
(e)
If , prove that there is a bijection from to .
-
(a)
-
8.
Define the relation on as follows: For if and only if . The relation is an equivalence relation on . (See Exercise (13) in Section 7.2). Determine all the distinct equivalence classes for this equivalence relation.
-
9.
Let . That is, . Define the relation on as follows:
For if and only if .
-
(a)
Prove that is an equivalence relation on .
-
(b)
Why was it necessary to include the restriction that in the definition of the set ?
-
(c)
Determine an equation that gives a relation between and if and . [0pt]
-
(d)
Determine at least four different elements in [(2,3)], the equivalence class of .
-
(e)
Use set builder notation to describe [(2,3)], the equivalence class of .
-
(a)
-
10.
For , define if and only if . In Exercise (15) of Section 7.2, we proved that is an equivalence relation on .
-
(a)
Determine the equivalence class of .
-
(b)
Use set builder notation (and do not use the symbol ) to describe the equivalence class of and then give a geometric description of this equivalence class.
-
(c)
Give a geometric description of a typical equivalence class for this equivalence relation.
-
(d)
Let . Prove that there is a one-to-one correspondence (bijection) between and the set of all equivalence classes for this equivalence relation.
-
(a)
-
11.
Let be a nonempty set and let be an equivalence relation on . Prove each of the following:
-
(a)
For each if and only if .
-
(b)
For each , if , then .
-
(c)
For each , if then .
-
(a)
7.3.11 Explorations and Activities
-
12.
A Partition Defines an Equivalence Relation. Let and let .
-
(a)
Explain why is a partition of .
Define a relation on as follows: For if and only if there exists a set in such that and .
-
(b)
Prove that is an equivalence relation on the set , and then determine all the equivalence classes for . How does the collection of all equivalence classes compare to ?
What we did for the specific partition in Part (12b) can be done for any partition of a set. So to generalize Part (12b), we let be a nonempty set and let be a partition of . We then define a relation on as follows:
For if and only if there exists a set in such that and .
-
(e)
Prove that is an equivalence relation on the set .
-
(f)
Let and let such that . Prove that .
-
(a)
-
13.
Equivalence Relations on a Set of Matrices. The following exercises require a knowledge of elementary linear algebra. We let be the set of all by matrices with real number entries.
-
(a)
Define a relation on as follows: For all , if and only if there exists an invertible matrix in such that . Is an equivalence relation on ? Justify your conclusion.
-
(b)
Define a relation on as follows: For all , if and only if . Is an equivalence relation on ? Justify your conclusion.
-
(c)
Let be an equivalence relation on . Define a relation on as follows: For all if and only if . Is an equivalence relation on ? Justify your conclusion.
-
(a)