Mathematics · Glossary

What is Equivalence relation?

Definition 1.29 University Mathematics — Year 1 · Chapter 1 — Logic, Sets and Maps

A binary relation R\mathcal{R} on a set EE is an equivalence relation when it is: reflexive (xRxx \mathbin{\mathcal{R}} x for all xx), symmetric (xRy    yRxx \mathbin{\mathcal{R}} y \implies y \mathbin{\mathcal{R}} x) and transitive (xRyx \mathbin{\mathcal{R}} y and yRzy \mathbin{\mathcal{R}} z imply xRzx \mathbin{\mathcal{R}} z). The equivalence class of xx is cl(x)={yE:xRy}\mathrm{cl}(x) = \{y \in E : x \mathbin{\mathcal{R}} y\}.

Examples

Example 1.30 (Checking the three axioms)

On R\R, declare xRyx \mathbin{\mathcal{R}} y when xyZx - y \in \Z. Reflexive: xx=0Zx - x = 0 \in \Z. Symmetric: if xyZx - y \in \Z then yx=(xy)Zy - x = -(x - y) \in \Z. Transitive: if xyZx - y \in \Z and yzZy - z \in \Z, then xz=(xy)+(yz)Zx - z = (x - y) + (y - z) \in \Z (a sum of integers). So R\mathcal R is an equivalence relation, and cl(x)=x+Z={x+k:kZ}\mathrm{cl}(x) = x + \Z = \{x + k : k \in \Z\}: each class contains exactly one representative in [0,1)\intco01, its fractional part. By contrast, the relation “xy1\abs{x - y} \leq 1” on R\R is reflexive and symmetric but not transitive (0R10 \mathbin{\mathcal R} 1 and 1R21 \mathbin{\mathcal R} 2, yet 02>1\abs{0 - 2} > 1): closeness does not propagate, and no partition into classes exists — a useful counterexample to keep in mind when verifying the axioms feels routine.

Example 1.32

On Z\Z, congruence modulo nn (xy(modn)x \equiv y \pmod n when nn divides xyx - y) is an equivalence relation; its classes are the nn sets of integers with a given remainder upon division by nn. This example becomes the ring Z/nZ\Z/n\Z in Chapter 7.

Read in context →