132. Equivalence relations and partitions

132.0.4 Discussion If an equivalence relation $E$ is given on a set $S$, the elements of $S$ can be collected together into subsets, with two elements in the same subset if they are related by $E$. This collection of subsets of $S$ is a set denoted $S/E$, the quotient set of $S$ by $E$. Here is the formal definition of $S/E$:

132.1 Definition: quotient set of an equivalence relation

Let $E$ be an equivalence relation on a set $S$. For each $x\in S$, the equivalence class of $x$ mod $E$, denoted $[x]_E$, is the subset $\{y\in S\mid yEx\}$ of $S$. The quotient set (of an equivalence relation) $S/E$ of $E$ is the set $\{[x]_E\mid x\in S\}$.

132.1.1 Example The quotient set of the equivalence relation $\alpha$ defined in 129.1 above is $\{\{1\},\{2,5\},\{3,4,6\}\}$, which is a partition.

132.1.2 Example The quotient set of congruence $\pmod{6}$ is the partition of $\mathrm{Z}$ by remainders upon division by 6. The quotient set is always a partition:

132.2 Theorem

If $S$ is a set and $E$ is an equivalence relation on $S$, then the quotient set $S/E$ is a partition of $S$.

Proof To see why $S/E$ is a partition, we have to see why

a) every element of S is in an equivalence class in S/E,

b) no element of $S$ is in two equivalence classes in $S/E$, and

c) $S/E$ does not contain the empty set as an element.

(This just spells out the definition of partition.)

Part (a) is easy: if $x\in S$ then, by reflexivity, $xEx$, so $x\in[x]_E$.

Part (c) is similar: by definition of $S/E$, an element of $S/E$ is an equivalence class $[x]_E$ for some $x\in S$; since $x\in[x]_E$, $[x]_E$ is not empty.

As for (b), $x\in[x]_E$; if also $x\in[y]_E$ for some $y\in S$, then we have to show that $[y]_E=[x]_E$. To do this, we have to show two things:

(i) $[y]_E\subseteq[x]_E$, and

(ii) $[x]_E\subseteq[y]_E$.

For (i), let $z\in[y]_E$. Then $zEy$ by definition. Since $x\in[y]_E$, $xEy$. By symmetry and transitivity, $zEx$, so $z\in[x]_E$. Hence $[y]_E\subseteq[x]_E$.

For (ii), let $z\in[x]_E$. Then $zEx$. Since $x\in[y]_E$, $xEy$. So by transitivity, $zEy$. Hence $z\in[y]_E$, as required.

132.2.1 Fact The equivalence class $[x]_E$ is a block of the partition $S/E$.

132.2.2 Worked Exercise Let $S=\{1,2,3,4,5\}$. Find $S/E$ if

$$E=\Delta_S\cup\{\langle 1,3\rangle,\langle 3,1\rangle,\langle 3,4\rangle,\langle 4,3\rangle,\langle 1,4\rangle,\langle 4,1\rangle\}$$

Answer

$$\{\{1,3,4\},\{2\},\{5\}\}$$

132.2.3 Exercise Let $S=\{1,2,3,4,5,6\}$. Find $S/E$ if

$$E=\Delta_S\cup\{\langle 1,3\rangle,\langle 3,1\rangle,\langle 3,4\rangle,\langle 4,3\rangle,\langle 1,4\rangle,\langle 4,1\rangle,\langle 2,5\rangle,\langle 5,2\rangle\}$$

132.2.4 Exercise Let $S=\{1,2,3,4,5\}$. Find two different equivalence relations $E$ and $E'$ with the property that the subset $\{1,2\}$ is an element of both $S/E$ and $S/E'$. (Answer on page 250.)

132.2.5 Exercise Give an example of an equivalence relation $E$ on the set $\mathrm{R}$ with the property that

$$\{x\in\mathrm{R}\mid 0\leq x\leq 1\}$$

is one of the equivalence classes of $E$.

132.2.6 Exercise Let $S=\{1,2,3,4,5\}$. Find two different equivalence relations $E$ and $E'$ on $S$ with the property that $S/E\cap S/E'=\{\{1,5\},\{3\}\}$

132.2.7 How to think of equivalence relations If $E$ is an equivalence relation on $S$, the quotient set $S/E$ is often thought of as obtained by merging equivalent elements of $S$. One often says that one identifies equivalent elements. Here, “identify” means “make identical” rather than “discover the identity of”. Mathematicians informally will say we glue equivalent elements together.

Pages 204–205 of the book (PDF).