7.2 Workshop 2 (Reading)
7.2.1 Preparatory Exercises (45 mins)
Task 7.11.
Read the following proofs.
-
1.
Are there are sections which are unclear or unconvincing to you?
-
2.
Identify the structure of the proofs. Highlight each line where a definition is used.
-
3.
What is similar about the two proofs? What is different? Can you find a general template for showing a relation is an equivalence relation?
Theorem.
Let . Congruence modulo on the set is an equivalence relation.
Proof.
To show that congruence modulo is an equivalence relation, we need to show it is reflexive, symmetric and transitive.
First we show that is reflexive. Take any integer , and observe that , so for any . By definition of congruence modulo , we have . This shows for every , so is reflexive.
Next, we will show that is symmetric. For this, we must show that for all , the condition implies that . We use a direct proof. Suppose . Thus by definition of congruence modulo . Then for some by definition of divisibility. Multiplying both sides by gives . Therefore , and this means . We’ve shown that implies that , and this means is symmetric.
Finally we will show that is transitive. For this we must show that if and , then . Again, we use direct proof. Suppose and . This means and . Therefore there are integers and for which and . Therefore, we obtain . Consequently, with , and so . Hence . This completes the proof that congruence modulo is transitive.
We have shown that congruence modulo is reflexive, symmetric and transitive, and hence an equivalence relation.
Theorem.
Let be the set of all sets and be a relation on such that if and only if there exists a bijective function where . Then is an equivalence relation.
Proof.
Recall that a bijective function is both surjective and injective.
-
•
To show is reflexive, consider the identity function where for all . This is a bijective function. Indeed, implies for all immediately from the definition of so this function is injective. It is also surjective since for all .
-
•
For to be symmetric, recall that bijective functions are invertible. Therefore, if , then there exists a bijection . As this is a bijection, there exists which is also a bijection meaning so is symmetric.
-
•
For transitivity, recall that the composition of bijective functions is a bijection by Proposition 6.47 so if and , then there exist bijections and . Consider . As both and are bijections, then is also a bijection so .
We have shown that is reflexive, symmetric and transitive meaning it is an equivalence relation.
7.2.2 B4 Reading Workshop Supplementary Material
For Task B4.2.1:
Definition.
Let be a relation on a set . We call cyclic if, for every such that and , we have .
Proposition.
Let be a relation over a set .
is an equivalence relation if and only if is reflexive and cyclic.
Proof.
Let be a relation over a set .
We first assume that is an equivalence relation and aim to show that it is reflexive and cyclic.
Since is an equivalence relation, we know that is reflexive, symmetric, and transitive. Consequently, is reflexive, so we just need to show that is cyclic.
To prove that is cyclic, let where and . We need to show that . As and and since is transitive, . Then, since is symmetric, we see that , which is what we needed to prove.
Hence, if is an equivalence relation, it is reflexive and cyclic.
On the other hand, assuming is reflexive and cyclic, we can prove that is an equivalence relation. We need to show that is reflexive, symmetric, and transitive. Since we already know by assumption that is reflexive, we just need to show that is symmetric and transitive.
First, we prove that is symmetric. To do so, consider any arbitrary where holds. Since is reflexive, we know that . Therefore, by cyclicity, since and , we learn that meaning is symmetric.
Finally, we prove that is transitive. Let , and be any elements of where and . We need to prove that . Since is cyclic, from and we see that . We’ve already proven is symmetric so we also have and so is transitive.
Hence, if is reflexive and cyclic then it is reflexive, symmetric and transitive, and so (by definition) is an equivalence relation.
Overall, we have shown that is cyclic and reflexive if and only if it is an equivalence relation.
For Task B4.2.2:
Claim.
The relation on
defined by for all is an equivalence relation.
Proof.
We first show that is reflexive i.e. …for every . So suppose . Then there exist with such that …. Then …since . So …and thus, is reflexive.
Next we show that is symmetric. So we need to prove that …for every . So suppose such that …. Then there exist …where such that and . Since …, we have and thus …. This means that …. Therefore …and thus , which proves that is symmetric.
Finally, to show that is transitive, we need to prove that …for all . So suppose that such that …. Then there exist where …such that , and . Since and , we have …. This means that …. Thus, …, since . Hence,
since . Thus, which means that …. Hence, is transitive.
Having shown that is …, we’ve therefore shown is an equivalence relation on .
For Task B4.2.3:
Theorem.
Let be a non-empty set and let be an equivalence relation on the set . Then, for all :
-
(a)
.
-
(b)
if and only if .
-
(c)
Either or .
Proof.
(The lines of this proof are numbered to aid your discussion.)
-
(a)
-
1.
Let . As is an equivalence relation on , then by reflexivity, we necessarily have that . Therefore by the definition of an equivalence class.
-
1.
-
(b)
-
1.
We first show that if , then . We are therefore showing that two sets are equal so we need to show that and vice versa.
-
2.
Let . Then by the definition of an equivalence class. By assumption and, by the transitivity and symmetry of , we therefore have so . Therefore
-
3.
Similarly, if , then and, by transitivity with , so and .
-
4.
We have then shown that if , then . On the other hand, we assume and show that .
-
5.
By (a), we have that so, as , we have that . By definition, this means .
-
6.
This completes the proof for (b).
-
1.
-
(c)
-
1.
Consider the set .
-
2.
Case 1: is non-empty.
-
3.
This means there is an element such that and . As , then so, by (b), . Similarly, . Hence, .
-
4.
Case 2: is empty.
- 5.
-
6.
As the intersection must be either empty or non-empty, we have covered all possible cases and hence, we must have either or .
-
1.
7.2.3 Workshop Tasks
Task 7.12 (Warm Up (10 mins)).
Take a look at your proofs from the Reading Preparatory exercises.
-
1.
Were there any parts of the proofs that you found unconvincing or difficult to understand? Can you work as a group to resolve these issues?
-
2.
Share the general template for a proof that a relation is an equivalence relation with the rest of your group. How does it compare to the other general proof templates we’ve already seen? Are there any parts of your proof template that can change position within the proof?
-
3.
Read the following argument. What is wrong with it?
“Let be some set and suppose is a symmetric and transitive relation on . We claim that is reflexive.
Suppose that . If , then by symmetry. But if and then by transitivity, so is reflexive.”
EXTENSION: Is it true that every symmetric and transitive relation is also reflexive? If yes, prove it. If no, find a counterexample.
Task 7.13 (15 mins).
(B4.2.1) In your supplementary material for this workshop, you’ve been given a definition, proposition and proof for this task, split into two subproofs, one for each direction of the statement.
-
1.
Read the definition of a cyclic relation, draw a diagram to represent it and find one example and one non-example. How is it different to a transitive relation?
-
2.
Read the proposition and proof. Are there any parts of the proof that your group does not fully understand or is not convinced by? Can you identify the standard proof structure of each subproof? If we change the order of these subproofs, is the overall proof still correct?
-
3.
Is it true that is an equivalence relation if and only if is cyclic? Work through the original proof and see what changes need to be made. Can it be tweaked to prove this new statement? If you think the statement is false, find a counterexample for it.
-
4.
EXTENSION: Is the proposition true if we replace “reflexive” with “symmetric” or “transitive”? Prove your claims.
Definition.
Let be a relation on a set . We call cyclic if, for every such that and , we have .
Proposition.
Let be a relation over a set .
is an equivalence relation if and only if is reflexive and cyclic.
Proof.
Let be a relation over a set .
We first assume that is an equivalence relation and aim to show that it is reflexive and cyclic.
Since is an equivalence relation, we know that is reflexive, symmetric, and transitive. Consequently, is reflexive, so we just need to show that is cyclic.
To prove that is cyclic, let where and . We need to show that . As and and since is transitive, . Then, since is symmetric, we see that , which is what we needed to prove.
Hence, if is an equivalence relation, it is reflexive and cyclic.
On the other hand, assuming is reflexive and cyclic, we can prove that is an equivalence relation. We need to show that is reflexive, symmetric, and transitive. Since we already know by assumption that is reflexive, we just need to show that is symmetric and transitive.
First, we prove that is symmetric. To do so, consider any arbitrary where holds. Since is reflexive, we know that . Therefore, by cyclicity, since and , we learn that meaning is symmetric.
Finally, we prove that is transitive. Let , and be any elements of where and . We need to prove that . Since is cyclic, from and we see that . We’ve already proven is symmetric so we also have and so is transitive.
Overall, we have shown that is cyclic and reflexive if and only if it is an equivalence relation.
Task 7.14 (15 mins).
(B4.2.2)
Consider the set
and let be the relation defined on such that for all .
-
1.
Find three elements of that are related under and another element that is not related to your original three elements.
-
2.
Prove that is an equivalence relation on by filling in the gaps in the proof you’ve been given for this task in the supplementary material.
-
3.
What are the equivalence classes for this relation ? How are these connected to the set of rational numbers?
EXTENSION: What are the equivalence classes for the equivalence relation defined in the second theorem of the Reading Preparatory tasks?
Claim.
The relation on
defined by for all is an equivalence relation.
Proof.
We first show that is reflexive i.e. …for every . So suppose . Then there exist with such that …. Then …since . So …and thus, is reflexive.
Next we show that is symmetric. So we need to prove that …for every . So suppose such that …. Then there exist …where such that and . Since …, we have and thus …. This means that …. Therefore …and thus , which proves that is symmetric.
Finally, to show that is transitive, we need to prove that …for all . So suppose that such that …. Then there exist where …such that , and . Since and , we have …. This means that …. Thus, …, since . Hence,
since . Thus, which means that …. Hence, is transitive.
Having shown that is …, we’ve therefore shown is an equivalence relation on .
Task 7.15 (15 mins).
(B4.2.3)
Read the theorem and proof that you were given in the supplementary material for this task.
-
1.
Are there any parts of the proof you don’t understand or are unconvinced by? Discuss them in your groups.
-
2.
Identify the assumptions and conclusion in the statement of part (a).
-
3.
In the proof of part (b), why do we need both symmetry and transitivity in line 2 but only transitivity in line 3?
-
4.
In the proof of part (c), line 5 is blank. Complete line 5.
-
5.
This theorem requires to be an equivalence relation. Where does it use the three properties of an equivalence relation in the proof?
-
6.
EXTENSION: What conclusions can we still make if:
-
(i)
is not symmetric?
-
(ii)
is not transitive?
-
(iii)
is not reflexive?
-
(i)
Theorem.
Let be a non-empty set and let be an equivalence relation on the set . Then, for all :
-
(a)
.
-
(b)
if and only if .
-
(c)
Either or .
Proof.
(The lines of this proof are numbered to aid your discussion.)
-
(a)
-
1.
Let . As is an equivalence relation on , then by reflexivity, we necessarily have that . Therefore by the definition of an equivalence class.
-
1.
-
(b)
-
1.
We first show that if , then . We are therefore showing that two sets are equal so we need to show that and vice versa.
-
2.
Let . Then by the definition of an equivalence class. By assumption and, by the transitivity and symmetry of , we therefore have so . Therefore
-
3.
Similarly, if , then and, by transitivity with , so and .
-
4.
We have then shown that if , then . On the other hand, we assume and show that .
-
5.
By (a), we have that so, as , we have that . By definition, this means .
-
6.
This completes the proof for (b).
-
1.
-
(c)
-
1.
Consider the set .
-
2.
Case 1: is non-empty.
-
3.
This means there is an element such that and . As , then so, by (b), . Similarly, . Hence, .
-
4.
Case 2: is empty.
- 5.
-
6.
As the intersection must be either empty or non-empty, we have covered all possible cases and hence, we must have either or .
-
1.
Task 7.16 (EXTENSION).
For the following sets and their partitions, identify the equivalence relations induced by these partitions.
-
1.
For set , consider the partition .
-
2.
For , consider its partition where and denote the sets of odd and even numbers respectively.
-
3.
Consider the set partitioned into the subsets .
Try and prove that the relation induced by a partition on a non-empty set is an equivalence relation.