Let \(X, Y\) be sets. A subset \(\mathcal{R}\) of \(X\times Y\) is known as a relation from \(X\) to \(Y\). If \(x\in X, y\in Y\) such that \((x,y)\in \mathcal{R}\text{,}\) we say that \(x\) and \(y\) are related and sometimes write \(x \mathcal{R} y\text{.}\) We call \(X\) the domain of the relation and \(Y\) the codomain of the relation.
Given \(a,b\in\Z\text{,}\) if \((a,b)\in \mathcal{D}\text{,}\) must we have \((b,a)\in \mathcal{D}\text{?}\) If \((a,b)\in \mathcal{E}\text{,}\) must we have \((b,a)\in\mathcal{E}\text{?}\) Justify.
Given \(a,b,c\in\Z\text{,}\) if \((a,b)\in \mathcal{D}\) and \((b,c)\in\mathcal{D}\text{,}\) must we have \((a,c)\in \mathcal{D}\text{?}\) If \((a,b),(b,c)\in\mathcal{E}\text{,}\) must \((a,c)\in\mathcal{E}\text{?}\) Justify.
The properties observed in ActivityΒ 5.1.4 define a particularly important class of relations. As these relations generalize the notion of equality, they are typically called equivalence relations.
A relation that is reflexive, symmetric, and transitive is called an equivalence relation. If \(\mathcal{R}\) is an equivalence relation on \(X\text{,}\) and given \(x\in X\text{,}\) the set
Consider the following relations. Determine whether each is reflexive, symmetric, or transitive. Identify which relations are equivalence relations and which are not. For those which describe equivalence relations, identify the relationβs equivalence classes.
Let \(P\) be the set of all people in the world, and define a relation \(\mathcal{B}\) on \(P\) by \((x,y)\in \mathcal{B}\) if and only if \(x\) and \(y\) have the same birthday.
Let \(U\) be a set and define \(\mathcal{S}\) on \(U\) by \((S,T)\in \mathcal{S}\) if and only if \(S\subsetneq T\text{.}\) What if we defined \(\mathcal{S}'\) by \((S,T)\in \mathcal{S}'\) if and only if \(S\subseteq T\text{?}\)
Let \(G = (V,E)\) be a graph, and define \(\mathcal{A}\) on \(V\) to be defined by \((u,v)\in \mathcal{A}\) if and only if \(u = v\) or \(\set{u,v}\in E\text{.}\)
Let \(m\in\Z\) be a fixed integer with \(m\gt 1\text{,}\) and define \(\sim\) to be the relation on \(\Z\) given as follows: given \(a,b\in\Z\text{,}\)\(a\sim b\) if and only if \(m|b-a\text{.}\)
Let \(X\) be a set and \(\mathcal{R}\) an equivalence relation on \(X\text{.}\) Given \(x,y\in X\text{,}\) we have \((x,y)\in \mathcal{R}\) if and only if \(\overline{x} = \overline{y}\text{.}\)
Let \(X\) be a set and \(\mathcal{R}\) an equivalence relation on \(X\text{.}\) Given \(x,y\in X\text{,}\) we have \(\overline{x} = \overline{y}\) or \(\overline{x}\cap \overline{y} = \emptyset\text{.}\)
Given an equivalence relation \(\mathcal{R}\) on a set \(X\text{,}\) the equivalence classes of \(\mathcal{R}\) can be thought of as partitioning the set \(X\text{;}\) recall DefinitionΒ 4.4.9. However, the story is more interesting, as every partition gives rise to an equivalence relation.
Let \(X\) be a set and \(\set{C_\alpha}_{\alpha\in\Lambda}\) a partition of \(X\text{.}\) Define a relation \(\mathcal{R}\) as follows: given \(x,y\in X\text{,}\)\((x,y)\in \mathcal{R}\) if and only if there exists \(\alpha \in \Lambda\) such that \(x,y\in C_\alpha\text{.}\)