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.
In ExampleΒ 8.2.8 we proved that the relation given by \((m, n)\in R \Leftrightarrow 3\mid (m-n)\) is an equivalence relation since we proved it is reflexive, symmetric, and transitive.
In fact, the proof can easily be adapted to show \((m, n)\in R \Leftrightarrow d\mid (m-n)\) is an equivalence relation for \(d\neq 0, d\in \mathbb{Z}\text{.}\) The details are left as an exercise, ExerciseΒ 8.3.9
Given a specific \(a\in A\text{,}\) we find the equivalence class of \(a\) by finding all the elements that are related to \(a\text{.}\) Keep in mind the equivalence class is a set, denoted \([a]\text{.}\)
We can notice a few things from this last example. We can see that some of our equivalence classes are the same. In particular, \([0]=[3]\) and \([2]=[-1]\text{.}\) In fact, there are only three distinct equivalence classes, \([0], [1], [2]\text{,}\) 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, \([a]\) contains \(a\text{.}\) We may also recognize that the equivalence classes \([0], [1], [2]\) partition the integers.
This is the relation where two subsets of \(\{1, 2, 3\}\) are related if they have the same number of elements. You can check that this is an equivalence relation.
Once again, the distinct equivalence classes are disjoint--they have no elements in common. Furthermore, the equivalence classes \([\emptyset], [\{1\}], [\{1, 2\}], [\{1, 2, 3\}]\) partition the power set by size of the subset.
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?
Conversely, as we saw in ActivityΒ 8.3.3, if we have a partition \(\{A_1, A_2, \ldots, A_n\ldots\}\) of \(A\) and define the relation \((a, b)\in R \Leftrightarrow a\) and \(b\) are in the same subset \(A_i\text{,}\) then \(R\) is an equivalence relation. We call this the equivalence relation induced by the partition.
Let \(A\) be a set and \(\{A_1, A_2, \ldots, A_n, \ldots\}\) be a partition of \(A\text{.}\) Let \(R\) be the relation induced by the partition. Then \(R\) is an equivalence relation.
Show \([a]\subseteq [b]\text{.}\) Let \(x\in [a]\text{.}\) Then by defintion of equivalence class, \(x R a\text{.}\) We assumed \(a R b\text{.}\) By the transitive property, \(x R b\text{.}\) Thus, \(x\in [b]\text{.}\)
Show \([b]\subseteq [a]\text{.}\) Let \(x\in [b]\text{.}\) Then by definition of equivalence class, \(x R b\text{.}\) We assumed \(a R b\text{.}\) By the symmetric property, \(b R a\text{.}\) By the transitive property, \(x R a\text{.}\) Thus, \(x\in [a]\text{.}\)
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.
Assume \([a]\cap[b]\neq \emptyset\text{.}\) We want to show \([a]=[b]\text{.}\) Since \([a]\cap[b]\neq \emptyset\text{,}\) there exists \(x\in [a]\cap[b]\text{.}\) This means \(x R a\) and \(x R b\text{.}\) By the symmetric property, \(a R x\text{.}\) By the transitive property, since \(a R x\) and \(x R b\text{,}\) we have \(a R b\text{.}\) By LemmaΒ 8.3.8, \([a]=[b]\text{.}\)
TheoremΒ 8.3.6 follows since, by the reflexive property, \(x R x, \forall x\in A\) means every element is in an equivalence class. Thus, the union of the equivalence classes is all of \(A\text{.}\) By LemmaΒ 8.3.9 distinct equivalence classes are disjoint. Thus, we have a partition of \(A\text{.}\)
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes. \(R\) is the relation on \(A=\{1, 2, 3\}\) given by
\begin{equation*}
a R b \Leftrightarrow a\leq b.
\end{equation*}
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes. \(R\) is the relation on \(C=\{0, 1\}\) given by
\begin{equation*}
a R b \Leftrightarrow a+b \text{ is even}.
\end{equation*}
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes. \(R\) is the relation on \(B=\{2, 4, 6, 8\}\) given by
\begin{equation*}
a R b \Leftrightarrow a+b \text{ is even}.
\end{equation*}
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes. \(R\) is the relation on \(A=\{1, 2, 3\}\) given by
\begin{equation*}
a R b \Leftrightarrow a+b \text{ is even}.
\end{equation*}
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes. \(R\) is the relation on \(B=\{2, 4, 6, 8\}\) given by
\begin{equation*}
a R b \Leftrightarrow a\mid b.
\end{equation*}
Determine if the relation is an equivalence relation. If it is, give the number of distinct equivalence classes. \(R\) is the relation on \(\mathbb{Z}\) given by
\begin{equation*}
a R b \Leftrightarrow a+b=0.
\end{equation*}
Prove \(a \equiv b\ \text{mod}\ 4\) is an equivalence relation on \(\mathbb{Z}\text{.}\) Then describe the distinct equivalence classes for this relation.
Prove \(a \equiv b\ \text{mod}\ n\) is an equivalence relation on \(\mathbb{Z}\text{.}\) Then describe the distinct equivalence classes for this relation.
Let \(R\) be an equivalence relation on a set \(A\text{.}\) Prove for all \(a\text{,}\)\(b\text{,}\) and \(c\) in \(A\text{,}\) if \(b\ R\ c\) and \(c\in [a]\text{,}\) then \(b\in [a]\text{.}\)