Equivalence generalises equality
It is the relation of "the same in some respect": same remainder, same shape, same parity. It keeps equality's three structural properties and drops the demand that the objects be identical.
An equivalence relation is one that behaves like equality in the respects that matter. Every one of them cuts its set into disjoint classes, and every such cutting comes from exactly one equivalence relation.
Core ideas
This is the first theorem on the path that says two apparently different things are the same thing.
It is the relation of "the same in some respect": same remainder, same shape, same parity. It keeps equality's three structural properties and drops the demand that the objects be identical.
Every element lies in exactly one class. Two classes are either identical or share nothing — there is no partial overlap.
Every equivalence relation gives a partition; every partition gives an equivalence relation; and the two constructions undo each other.
The material
The definition, the theorem, and the proof that the classes fit together.
A relation R on A is an equivalence relation when it is reflexive, symmetric and transitive. It is often written ∼.
For a ∈ A, the class of a is [a] = {x ∈ A : x ∼ a}. Any member of a class is called a representative of it.
A partition of A is a collection of nonempty, pairwise disjoint subsets whose union is A. Every element of A lies in exactly one block.
For an equivalence relation on A and any a, b ∈ A: a ∼ b if and only if [a] = [b]; and if a ≁ b then [a] ∩ [b] = ∅.
Suppose a ∼ b and let x ∈ [a], so x ∼ a. By transitivity x ∼ b, so x ∈ [b]; hence [a] ⊆ [b]. Symmetry of ∼ gives b ∼ a, and the same argument gives [b] ⊆ [a]. So [a] = [b].
Conversely if [a] = [b] then, since a ∈ [a] by reflexivity, a ∈ [b], which means a ∼ b.
Finally suppose x ∈ [a] ∩ [b], so x ∼ a and x ∼ b. By symmetry and transitivity a ∼ b, so by the first part [a] = [b]. Contrapositively, [a] ≠ [b] forces the intersection to be empty.
□
All three properties were needed, and each did a distinct job: reflexivity puts a into its own class, symmetry lets the argument run in both directions, and transitivity is what links two members of the same class to each other.
The equivalence relations on A and the partitions of A are in bijection. An equivalence relation gives the partition into its classes; a partition gives the relation "lies in the same block"; and each construction undoes the other.
On ℤ, define a ∼ b when 3 | (a − b). It is reflexive (3 | 0), symmetric (3 | (a−b) gives 3 | (b−a)) and transitive (3 | (a−b) and 3 | (b−c) give 3 | (a−c)). The three classes are the integers leaving remainder 0, 1 and 2. Number Theory and Cryptography builds on nothing else.
The utility is that a class can be treated as one object. Arithmetic modulo 3 works because + and × respect the classes: adding any member of [1] to any member of [2] always lands in [0]. That compatibility is not automatic and is exactly what makes modular arithmetic well defined.
"|a − b| ≤ 1" on ℤ is reflexive and symmetric but not transitive: 1 ∼ 2 and 2 ∼ 3 but 1 ≁ 3. So it produces no partition — and indeed the "classes" [1] = {0,1,2} and [2] = {1,2,3} overlap without being equal, which is exactly what the theorem forbids.
Interactive
Decided by checking, not by name
Method
Verify all three properties, then find the classes.
All three, with witnesses. Missing one means there are no classes to find, and any "classes" you write down will overlap.
Collect everything related to it. That set is a block of the partition.
Its class is a new block, disjoint from the ones found. Repeat until every element is placed.
Nonempty, pairwise disjoint, covering everything. If two overlap, one of the three properties failed.
On ℤ, a ∼ b when 4 | (a − b).
[4] = [0] is the point at which representatives stop mattering. A class has many names and one identity, which is why a definition made through a representative has to be checked for independence of the choice — the well-definedness question Number Theory and Cryptography raises for modular arithmetic.
Take the partition {{1,4}, {2}, {3,5}} of {1,…,5}, write the relation it induces as a set of pairs, and verify all three properties. Then read the classes back off the relation.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.