Learning goals and definitions
Recognize equivalence relations and partial orders, prove the partition correspondence, and check well-defined quotient operations. A relation on is a subset of ; write when .
A relation is reflexive if for every , symmetric if implies , and transitive if and imply . An equivalence relation has all three. Its class at is , and is the set of those classes. A representative is an element used to name a class; it is not the class itself.
A partial order is reflexive, antisymmetric and transitive. Antisymmetry says that and together force ; it does not mean symmetry fails for every pair. A total order additionally makes every pair comparable. Inclusion is a partial order on , usually not a total order.
Theorem: equivalence relations and partitions
Classes of an equivalence relation are nonempty, cover , and any two are equal or disjoint. Conversely, every partition into nonempty disjoint blocks defines an equivalence relation by membership in the same block.
Proof. Reflexivity puts each in , proving nonemptiness and coverage. If , then and . By symmetry and transitivity, . If , then and , so ; hence . Reversing gives equality. Conversely each point lies in a unique block. Sharing a block is reflexive and symmetric; if share one block and another, those blocks intersect and therefore coincide, proving transitivity.
Counterexample mode
Symmetry and transitivity do not give reflexivity
A popular argument claims that reflexivity is redundant: from , symmetry gives , and transitivity then gives . Take and . This relation is symmetric and transitive, yet fails. The class of , given by the same formula, is empty, so the classes are no longer nonempty blocks covering . The argument silently assumed that every is related to something. In the proof above, reflexivity is used exactly for nonemptiness and coverage.
Concept lensAlgebraic
The three properties as conditions on a subset
Since is a subset of , each defining property can be read as a statement about that subset. Write for the diagonal, for the reversed relation, and . Then is reflexive exactly when , symmetric exactly when (which forces ), and transitive exactly when . The counterexample above becomes a one-line check: satisfies and , yet . Symmetry and transitivity constrain only the pairs already in ; reflexivity is the one condition that demands new pairs.
Quotient operations and a worked example
This illustration uses familiar integer arithmetic and the integer-division theorem as inputs. The generic partition theorem above does not depend on them. Their formal return is §3.2: division and the residue classes, after the independent construction of integers in §3.1.
For an integer , define if . Divisibility verifies reflexivity, symmetry and transitivity: the differences are , negatives, and sums of multiples of . The quotient has classes by integer division.
Define addition by and multiplication by . To be well-defined, replacing either representative must not change the resulting class. If and , then and
Thus both rules are well-defined. In contrast, attempting to define an order on classes by exactly when fails: modulo three, , but and give conflicting results for the same classes.
Worked order example. On positive integers, divisibility is a partial order. If and , write with positive integers ; then , so . It is not total because neither nor .
Worked example 2.2.1
(An equivalence relation given by a function value)
Let and let be the number of positive divisors of . Define when .
Reflexivity, symmetry and transitivity of are inherited from the same properties of equality: ; gives ; and , give .
The values are
so the classes are
As the partition theorem requires, they are nonempty, disjoint and cover . Each class is an inverse image for one value that actually takes, so has exactly as many classes as has values, here four. The same argument shows that “same value under a fixed function” is always an equivalence relation.
Worked example 2.2.2
(Testing a finite relation and repairing transitivity)
On let
Reflexive: all three pairs are present. Symmetric: the only pairs off the diagonal are and , and each occurs with its reverse. Transitive: no. We have and , but .
Any equivalence relation containing must contain , by transitivity applied to and , and then , by symmetry. Then all three elements lie in one class, so the only equivalence relation containing is , with nine pairs and the single class . Relating “near” elements, as does, tends to chain everything together; this is the same failure as in the practice list below.
Worked example 2.2.3
(A partial order on the integers that is not total)
On define when is a nonnegative even integer.
- Reflexive: is nonnegative and even.
- Antisymmetric: if and , then and , so and .
- Transitive: if and with integers , then with .
So is a partial order. It is not total: and are incomparable, because is odd and is negative. More precisely, and are comparable exactly when is even, that is when they have the same parity; on the even integers alone is a total order, and so it is on the odd integers.
Quick check
(On , write the equivalence relation whose classes are and as a set of ordered pairs.)
Two elements are related exactly when they lie in the same block; include each element with itself.
Solution · Answer
. The block contributes the four pairs , and the block contributes , giving five pairs in all.
Quick check
(Which of reflexivity, symmetry, antisymmetry and transitivity does have on ? Is it an equivalence relation, a partial order or a total order?)
Test symmetry with one pair of distinct numbers.
Solution · Answer
It is reflexive, antisymmetric and transitive, and any two reals are comparable, so it is a total order. It is not symmetric, since but ; hence it is not an equivalence relation.
Quick check
(Write and for the classes of modulo and modulo . Is well-defined? Is well-defined?)
Change the representative by a multiple of the modulus on the left and see whether the output class can change.
Solution · Answer
is well-defined: if , then , so . is not: , but would send these equal classes to and , which differ because .
Graded practice
- Foundation. On , define when is even. Prove equivalence and list the classes.
- Core. Is defined by on an equivalence relation? Test every property.
- Core. In integers modulo five, solve , and explain why your answer does not depend on a chosen representative.
- Proof. For an equivalence relation, prove if and only if .
Full solutions
- Zero is even; negating an even difference keeps it even; adding two even differences keeps it even. These prove reflexivity, symmetry and transitivity. The two classes are the even integers and odd integers .
- It is reflexive because , and symmetric because absolute difference is symmetric. It is not transitive: and , but not . Therefore it is not an equivalence relation.
- , so works. If , multiply by to get , proving uniqueness. Multiplication of classes was proved well-defined above, so changing by a multiple of five preserves the product class.
- If classes agree, reflexivity gives , which means . If , then and , so the classes intersect and are equal by the partition theorem.
Summary and term definitions
A partition divides a set into disjoint nonempty blocks; an equivalence class is one such block induced by a relation. A quotient rule is well-defined when all representative choices give the same output. A partial order allows incomparable elements; a total order does not. Test defining properties individually, and never transport a formula to classes without the representative check.