A relation that is reflexive, symmetric and transitive sorts A into classes. Equivalence relations match partitions, so they are counted by Bell numbers. The part ends with the minimum pairs needed for a required property.
Builds on: Part 2 · Reflexive, Symmetric and Transitive Relations.
Video coming soon|a − b| even on {1, …, 5} is an equivalence relation with classes [1] = {1, 3, 5} and [2] = {2, 4}. Listed in class order, its grid becomes solid squares along the diagonal.


Every equivalence relation is a partition into classes, and every partition gives one. {1, 2, 3} has 5 partitions, so 5 equivalence relations. Those containing (1, 2) keep 1 and 2 together: 2 of them.
Choose the k elements outside the new element's block, in ways, and partition them in ways. , , , , .


A = {1, 2, 3}, R = {(1, 2), (2, 1)}. Reflexive but not symmetric: add the diagonal and one unpaired pair, 4. Reflexive and symmetric but not transitive: diagonal plus (1, 3), (3, 1), 5; now 2 → 1 → 3 needs (2, 3).
1. Equivalence relations on {1, 2, 3}?
5.
2. A = {1, 2, 3}. Equivalence relations containing (1, 2)?
2.
3. On P(X), A R B iff A ⊂ B. Equivalence?
No (reading ⊂ as ⊆): reflexive and transitive, not symmetric.
4. On P(S), A R B iff A ∩ X = B ∩ X = φ and A ∪ X = B ∪ X for some X. Prove R is an equivalence.
The conditions force A = A ∩ B = B, so R is equality; X = φ gives A R A.
The number of equivalence relations on the set {1, 2, 3, 4} is:
It is the Bell number B₄ = 15. Option (c).
5 is B₃, for a 3-element set. 14 misses one partition, usually the all-apart one, which is IA.
16 = 2⁴ counts subsets of A, not partitions.
Reflexive (0), symmetric, transitive (sums of multiples of 3); classes [0], [1], [2] by remainder.
B₅ = 1 + 4 + 12 + 20 + 15 = 52.
1: all three elements must be in one class.
{1, 2} and {3}.