Recommended resources
The freely available resources this lesson will direct you to.
Hello! Last lesson, you tested relations for reflexivity, symmetry, antisymmetry, and transitivity. Today, those tests lead to a new question: when a relation says two elements are “equivalent,” which elements belong together?
You will find equivalence classes from finite relations and collect the distinct classes into a partition of the original set. The aim is a reliable method you can use whether the relation is given as ordered pairs or as a rule.
From related elements to a class
An equivalence relation is a relation that is reflexive, symmetric, and transitive. Antisymmetry is not required; two distinct equivalent elements must be related in both directions.
For an equivalence relation on a set , the equivalence class of is
In words, contains every element of related to . Notice the difference between , which is an element, and , which is a set. Reflexivity guarantees that .
The lecture notes Math 1365 (Intensive Mathematical Reasoning) give several short finite examples. Read these before trying the slightly different roster below.
Math 1365 (Intensive Mathematical Reasoning)
Read the lecture notes’ definition and worked examples to see how several elements can name the same class.
Find the slides labelled “Equivalence Classes, I” through “Equivalence Classes, IV.” In I, begin at “If R is an equivalence relation on the set A”; read the class examples through the explanation ending “except for a itself” in IV. Focus on why the classes labelled [1] and [4] coincide in example II, and why some classes in examples III and IV contain just one element. You can skip the earlier discussion of residue classes.
Now consider this relation on :
To find , hold fixed in the first position and look for pairs . The pairs and give . Applying the same method to every element gives
There are four class labels here but only three distinct classes. The pair does not create a separate group called “”: and name the same group.
Before using this grouping method, check that the relation really is an equivalence relation. All four self-pairs are present. The only pair between distinct elements, , has its reverse. Within , every possible ordered pair is present, so connected pairs stay within that group and satisfy transitivity; and have only self-pairs. Thus all three required properties hold.
When the relation is given by a rule
A roster is convenient for a small set, but listing every ordered pair can become tedious. Suppose
and means that and have the same remainder when divided by . Equality of remainders is reflexive, symmetric, and transitive, so this is an equivalence relation.
Rather than write out , choose an element and collect everything satisfying its rule. The elements with the same remainder as are ; those with the same remainder as are ; and those with the same remainder as are . Therefore,
These are all the distinct classes. For instance, , not a fourth class, because and have the same remainder. The underlying set still matters: also has remainder , but , so it cannot appear in .
This suggests an efficient routine for a finite rule-defined relation: choose an ungrouped element, find every element related to it, then repeat with an element not yet included. Once every element is accounted for, stop; calculating each remaining label would only reproduce a class you already have.
Why the distinct classes form a partition
A partition of is a collection of nonempty subsets that do not overlap and together contain every element of . For the remainder example, the partition is
The outer braces matter: this is a set of sets, not a single set of eight numbers. Each inner set is one part of the partition. Likewise, the roster example induces the partition
Watch Neso Academy’s Equivalence Classes and Partitions for the reason this nonoverlapping grouping always works—not just in our two examples.
Equivalence Classes and Partitions
Neso Academy’s “Equivalence Classes and Partitions” connects the three equivalence-relation properties to the structure of classes, then shows the resulting partition.
Watch class structure for why related elements have identical classes and distinct classes cannot overlap. Continue through the partition to see how the classes cover the set, then the example to connect that claim to a concrete grouping. Focus on the roles of reflexivity, symmetry, and transitivity rather than memorising the proof.
Here is the key argument in compact form. Reflexivity puts every into , so no element is left out and no class is empty. Suppose an element belongs to both and . Then and . Symmetry gives , and transitivity gives . Related elements have the same class, so . Two classes can therefore be identical or disjoint, but never partly overlapping.
This also explains why you write each distinct class once in the partition, even though several elements may provide labels for it.
A diagnostic: do not group an arbitrary relation too soon
Recall the relation from last lesson on : it has every self-pair, both directions between and , and both directions between and , but no pair between and . It is not transitive.
If we mechanically collect elements related to each starting element, we get
These sets partly overlap. They are not an induced partition, because is not an equivalence relation. In particular, sharing a connection through does not let you treat and as equivalent when their required pair is missing.
For a finite problem, keep the order of work clear: first verify reflexivity, symmetry, and transitivity; then find the classes; finally list each distinct class once and check that the listed parts cover the set without overlap. If the relation is already stated to be an equivalence relation, you can begin with the classes.
An equivalence class is the set of elements related to . In a finite equivalence relation, different labels may produce the same class, but distinct classes never overlap. Listing those distinct classes once gives the induced partition of the original set.
Next, you will shift from grouping elements to reading and negating mathematical statements that use words such as “every” and “some.”