Section 8.3 Equivalence Relations
In
Section 8.2 we studied three properties of a relation, the reflexive, symmetric, and transitive properties. These three properties are important for generalizing the idea of equality in mathematics. We may want to relate objects based on certain criteria; objects that share that criteria are “equivalent.” For example, you may recall from geometry, the idea of congruent triangles. Two triangles are congruent if they have the same angles. In geometry, we may not care at all about the lengths of the sides, just the angles. In this case, we relate triangles with the same angles and treat them as the same triangle.
Definition 8.3.1.
A relation that is reflexive, symmetric and transitive is an
equivalence relation.
In
Example 8.2.8 we proved that the relation given by
is an equivalence relation since we proved it is reflexive, symmetric, and transitive.
In fact, the proof can easily be adapted to show
is an equivalence relation for
The details are left as an exercise,
Exercise 8.3.9
This relation is an important enough that it has its own definition.
Definition 8.3.2.
Let
Then
and
are
congruent modulo if
We often just say
is congruent to
mod
and denote it
Example 8.3.3. Congruence mod 3.
True or false:
Answer 1.
True or false:
Answer 2.
True or false:
Answer 3.
True or false:
Answer 4.
Let
be an equivalence relation on
Let
The set
is the
equivalence class of
Given a specific
we find the equivalence class of
by finding all the elements that are related to
Keep in mind the equivalence class is a set, denoted
Example 8.3.4. Equivalence Classes.
Consider the equivalence relation on
Find the set of elements in equivalent to 0.
Answer 1.
Find the set of elements in equivalent to 1.
Answer 2.
Find the set of elements in equivalent to 2.
Answer 3.
Find the set of elements in equivalent to 3.
Answer 4.
Find the set of elements in equivalent to -1.
Answer 5.
We can notice a few things from this last example. We can see that some of our equivalence classes are the same. In particular,
and
In fact, there are only three distinct equivalence classes,
any other equivalence class will equal one of these.
A few other things to notice, distinct equivalence classes are disjoint--they have no elements in common. Also,
contains
We may also recognize that the equivalence classes
partition the integers.
Example 8.3.5. More Equivalence Classes.
Consider the equivalence relation on
This is the relation where two subsets of are related if they have the same number of elements. You can check that this is an equivalence relation.
Find the set of elements in equivalent to
Answer 1.
Find
Answer 2.
Find
Answer 3.
Find
Answer 4.
Once again, the distinct equivalence classes are disjoint--they have no elements in common. Furthermore, the equivalence classes
partition the power set by size of the subset.
Activity 8.3.1.
Define the relation on
by
(a)
Prove
is an equivalence relation.
(b)
Activity 8.3.2.
(a)
Prove the relation
is an equivalence relation on
(b)
Activity 8.3.3.
(a)
(b)
Define the relation on
and
are in the same subset of the partition. Draw the directed graph for
(c)
Show
is reflexive, symmetric and transitive.
(d)
Find
the equivalence class of 1.
(e)
Do you think this particular partition matters? Could we define this relation on any partition of any set and still have it be reflexive, symmetric and transitive?
There is an important connection between equivalence classes and partitions, as we see in the next two theorems.
Theorem 8.3.6.
Let
be a set and
an equivalence relation. The equivalence classes of
form a partition of
.Conversely, as we saw in
Activity 8.3.3, if we have a partition
of
and define the relation
and
are in the same subset
then
is an equivalence relation. We call this the equivalence relation
induced by the partition.
Theorem 8.3.7.
Let
be a set and
be a partition of
Let
be the relation induced by the partition. Then
is an equivalence relation.
We leave the details of the proof of
Theorem 8.3.7 as an exercise.
The proof of
Theorem 8.3.6 follows directly from the next two Lemmas.
Lemma 8.3.8.
Let
be an equivalence relation on
and
If
then
Proof.
Since we want to show the sets are equal, we will show are subsets of each other.
Show Let Then by defintion of equivalence class, We assumed By the transitive property, Thus,
Show Let Then by definition of equivalence class, We assumed By the symmetric property, By the transitive property, Thus,
Lemma 8.3.8 really says that if two elements are related in an equivalence relation, they must have the same equivalence class. You can check this with the above examples. Note, we needed the symmetric and transitive properties to prove this lemma.
Lemma 8.3.9.
Let
be an equivalence relation on
and
Either
or
Proof.
Assume
We want to show
Since
there exists
This means
and
By the symmetric property,
By the transitive property, since
and
we have
By
Lemma 8.3.8,
Lemma 8.3.9 really says that any two equivalence classes are either disjoint or exactly the same.
Theorem 8.3.6 follows since, by the reflexive property,
means every element is in an equivalence class. Thus, the union of the equivalence classes is all of
By
Lemma 8.3.9 distinct equivalence classes are disjoint. Thus, we have a partition of
Reading Questions Check Your Understanding
1.
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes.
is the relation on
given by
Not an equivalence relation.
Correct.
Equivalence relation with 1 equivalence class.
is not symmetric.
Equivalence relation with 2 equivalence classes.
is not symmetric.
Equivalence relation with 3 equivalence classes.
is not symmetric.
2.
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes.
is the relation on
given by
Not an equivalence relation.
Check that is reflexive, symmetric, and transitive.
Equivalence relation with 1 equivalence class.
Is
Equivalence relation with 2 equivalence classes.
Correct. The equivalence classes are
3.
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes.
is the relation on
given by
Not an equivalence relation.
Check that is reflexive, symmetric, and transitive.
Equivalence relation with 1 equivalence class.
Correct. The equivalence class is
Equivalence relation with 2 equivalence classes.
Check that the sum of any two elements in is even. Thus, all elements are related to each other.
4.
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes.
is the relation on
given by
Not an equivalence relation.
Check that is reflexive, symmetric, and transitive.
Equivalence relation with 1 equivalence class.
Note, is odd, so 2 is not related to 3.
Equivalence relation with 2 equivalence classes.
Correct. The equivalence classes are
Equivalence relation with 3 equivalence classes.
Note, is even, so 1 is related to 3.
5.
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes.
is the relation on
given by
Not an equivalence relation.
Correct.
Equivalence relation with 1 equivalence class.
is not symmetric.
Equivalence relation with 2 equivalence classes.
is not symmetric.
Equivalence relation with 4 equivalence classes.
is not symmetric.
6.
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes.
is the relation on
given by
Not an equivalence relation.
Correct.
Equivalence relation with 1 equivalence class.
is not transitive.
Equivalence relation with 2 equivalence classes.
is not transitive.
Equivalence relation with infinitely many equivalence classes.
is not transitive.
7.
Determine if the relation is an equivalence relation. If it is, find the equivalence classes.
is the relation on
given by
Not an equivalence relation.
Check that is reflexive, symmetric, and transitive.
Equivalence relation with 1 equivalence class.
Note, 2 is not equivalent to 1 mod 4. So there is more than one equivalence class.
Equivalence relation with 4 equivalence classes.
Correct. The equivalence classes are
Equivalence relation with infinitely many equivalence classes.
Although each equivalence class has infinitely many elements, there are only as many equivalence classes as possible remainders when dividing by 4.
Exercises Exercises
1.
Find the equivalence classes of
2.
Let
Let
be the relation on
given by
Find the equivalence classes of
3.
Let
Let
be the relation on
given by
Find the equivalence classes of
4.
Let
and
Let
be the relation on
given by
where
is the number of elements in
Find the equivalence classes of
5.
Determine if the following are true or false.
6.
Let
be the relation “congruence modulo 3.” Which of the following equivalence classes are equal?
7.
Let
be the relation “congruence modulo 7.” Which of the following equivalence classes are equal?
8.
Prove
is an equivalence relation on
Then describe the distinct equivalence classes for this relation.
9.
Prove
is an equivalence relation on
Then describe the distinct equivalence classes for this relation.
10.
Define
to be the “absolute value” relation on
by
Prove is an equivalence relation on
Describe the distinct equivalence classes for this relation.
11.
Let
be an equivalence relation on a set
Prove for all
and
in
if
and
then
You have attempted
1 of
8 activities on this page.