Overview

An equivalence relation specifies when two elements should count as interchangeable for a particular purpose. It replaces literal equality with a precisely controlled comparison. The resulting classes let mathematics collect many representatives into one object, as in residue classes, fractions, or objects classified up to a specified relation.

Prerequisites

A binary relation on a set XX is a subset of X×XX\times X. Write x∼yx\sim y when (x,y)(x,y) belongs to this subset. Know subsets and functions, especially the requirement that a function assign one unambiguous value to every input.

Definition and conventions

A relation ∼\sim on XX is an equivalence relation when, for every x,y,z∈Xx,y,z\in X, it satisfies reflexivity x∼xx\sim x, symmetry x∼y⇒y∼xx\sim y\Rightarrow y\sim x, and transitivity (x∼y∧y∼z)⇒x∼z(x\sim y\land y\sim z)\Rightarrow x\sim z.

The equivalence class of xx is [x]={y∈X:y∼x}[x]=\{y\in X:y\sim x\}. The quotient set X/∼X/{\sim} consists of these classes. The canonical map q:X→X/∼q:X\to X/{\sim} sends an element to its class. No algebraic operation on the quotient is implied until compatibility with the relation has been proved.

Intuition

A class records a shared feature while forgetting which representative supplied it. For congruence, the feature is a remainder. For reduced fractions, different pairs of integers may name the same rational number. The equivalence conditions ensure that sharing the feature behaves consistently.

Examples and non-examples

On Z\mathbb Z, define a∼ba\sim b when 44 divides a−ba-b. Reflexivity follows from a−a=0a-a=0; symmetry from negating a multiple of four; transitivity from adding two such multiples. There are four classes, represented by 0,1,2,30,1,2,3. Thus [6]=[2][6]=[2], although 6≠26\ne2.

The relation aRbaRb meaning ∣a−b∣≤1|a-b|\leq1 is reflexive and symmetric but not transitive: 0R10R1 and 1R21R2, while 0R20R2 fails. “Close enough” cannot be used as equivalence without checking the missing condition.

Important properties

Two equivalence classes are either equal or disjoint. If zz belongs to both [x][x] and [y][y], symmetry and transitivity give x∼yx\sim y, and then every element equivalent to one is equivalent to the other. Reflexivity ensures every element belongs to its own class, so the classes partition XX.

A function f:X→Yf:X\to Y descends to fˉ:X/∼→Y\bar f:X/{\sim}\to Y exactly when x∼yx\sim y implies f(x)=f(y)f(x)=f(y). Then fˉ([x])=f(x)\bar f([x])=f(x) is well-defined, and f=fˉ∘qf=\bar f\circ q. For congruence modulo four, parity descends, but the identity map to Z\mathbb Z does not.

Connections and further reading

Quotient constructions appear in algebra, topology, and model building. A preorder can also be converted to a partial order by identifying mutually comparable elements in both directions. See Logic and Proof, §13.3 and Li’s “ZFC 公理一览,” equivalence-relation paragraph.