Example 24: Equivalence relations containing (1, 2): counting
Show that the number of equivalence relation in the set containing and is two.
A required relation contains and, being reflexive, . The relation
is reflexive, symmetric and transitive, so it is an equivalence relation.
The pairs left are . By symmetry they must be added in the pairs and .
Adding only : but , so is not transitive.
Adding only : but , so is not transitive.
Adding both pairs gives the universal relation, which is an equivalence relation.
Hence the number of such equivalence relations is two.
Want the reason behind every step, the basics and the checks?
An equivalence relation must be reflexive, symmetric and transitive, and each property forces pairs in. Reflexive and the two given pairs fix a smallest relation with 5 pairs. The other 4 pairs must come in mirror pairs (symmetry), and either mirror pair, once added, drags in the other one (transitivity). So there are only two possibilities: add nothing, or add everything. That gives and the universal relation.
- Given
- The set , whose relations are the subsets of the 9-pair set .
- To show
- Exactly two equivalence relations in contain both and .
- Plan
- (1) Find the smallest such relation and check it is an equivalence relation. (2) Group the 4 leftover pairs into mirror pairs, as symmetry requires. (3) Test the 4 ways of adding mirror pairs. (4) Count, and interpret the answer as ways of sorting into classes.
Basics you need
A relation in is a subset of . For there are 9 possible pairs. Basics: what a relation is
A relation that is reflexive ( for all ), symmetric () and transitive (). Basics: reflexive, symmetric, transitive
The mirror of is . A relation is symmetric exactly when, for every pair it contains, it also contains the mirror. So pairs can only be added to a symmetric relation together with their mirrors.
An equivalence relation sorts the set into non-overlapping classes of mutually related elements. Knowing the classes tells you the relation, and vice versa. Basics: equivalence classes
One chain with shows "not transitive"; one pair without its mirror shows "not symmetric". Basics: proving and disproving
Solution
The smallest candidate
Every relation we are counting contains and (given) and, being reflexive, . So it contains
Check that is itself an equivalence relation:
- Reflexive: all three loops are present.
- Symmetric: loops are their own mirrors, and the only other pairs, and , are mirrors of each other.
- Transitive: the only chains of two non-loop pairs are , giving , and , giving . Both are in . Chains through a loop give back a pair already present.
So is an equivalence relation, and it is contained in every relation we want.
Starting from what is forced splits the problem in two: everything in is compulsory, and the only question left is which of the remaining pairs may be added. We check itself carefully, because if it failed one of the properties it would not count.Definition 4: an equivalence relation is reflexive, symmetric and transitive. For transitivity on a finite relation, only chains of two non-loop pairs can produce something new.The four leftover pairs come in two mirror pairs
has 9 pairs and has 5, so 4 remain:
Group them with their mirrors:
If an equivalence relation contains it must contain , and the other way round; likewise for . So any equivalence relation we want is one of
There are ways to choose which of the 4 leftover pairs to add. Symmetry immediately throws out the 12 choices that include one pair of or without its mirror (for instance, adding alone leaves without ). Only the 4 choices that respect mirror pairs remain.Symmetric means every pair's mirror is also present (Basic 3). So pairs join a symmetric relation two at a time.Adding only one mirror pair breaks transitivity
contains and . Transitivity would need , but , which was not added:
contains and . Transitivity would need , but , which was not added:
So neither nor is an equivalence relation.
This is the textbook's "for transitivity we are forced to add and ". Relating 3 to 2 while 2 is already related to 1 forces 3 to be related to 1, and the same with the roles of 1 and 2 swapped. Each mirror pair drags in the other.One chain with a missing shortcut disproves transitivity (Basic 5).Adding both gives the universal relation, which works
contains all 9 pairs, so it is the universal relation . It is reflexive (all loops present), symmetric (every mirror is present, since every pair is) and transitive (every shortcut is present, since every pair is). So the universal relation is an equivalence relation containing and .
The two answers seen as sortings of into classes. Since 1 and 2 must share a class, the only question is where 3 goes: on its own () or with 1 and 2 (the universal relation). The universal relation always has all three properties, because each property only ever asks for some pair to be present, and every pair is. So the "add everything" option always works.The universal relation (Definition 2) is an equivalence relation on any set . Equivalence classes partition the set (Basic 4).Count
Of the four candidates in Step 2, exactly two are equivalence relations:
Hence the number of equivalence relations in containing and is two.
Every relation we want contains (Step 1), every enlargement either breaks symmetry (Step 2), breaks transitivity (Step 3), or is the universal relation (Step 4). Nothing was left unchecked, so the count is exactly two. The picture gives the same answer: 3 can go with or on its own, two choices.
The equivalence relations in containing and are and the universal relation. Their number is two, as the textbook states.
Relation Builder, in the chapter’s Games tab. Level 1 builds the same two relations. Play Relation Builder ↗
The site's verification script tests all 512 relations on and finds exactly 2 equivalence relations containing and : and . It also tries all 16 ways of adding leftover pairs to and confirms only 2 succeed. As a wider check, has 5 equivalence relations in total (one for each way of sorting it into classes: ; ; ; ; ), and exactly 2 of those 5 put 1 and 2 together.
- Counting . It is reflexive and symmetric, but needs , so it is not transitive.
- Forgetting the universal relation. It contains and and is an equivalence relation, so it counts.
- Forgetting the loops. alone is symmetric but neither reflexive nor transitive ( needs ).
- Adding single pairs. Adding just breaks symmetry at once, so it is never a candidate.
- For equivalence relations, think in terms of classes: count the ways to sort the set into groups that respect the given pairs. It is usually much faster than handling pairs one by one.
- Symmetry makes pairs come in mirror pairs; transitivity makes classes merge completely.
- An equivalence relation containing must contain anyway, so Miscellaneous Q7 (containing ) has the same answer, 2. Compare Example 23, where symmetry is not required and the count is different.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A relation in is a subset of | Steps 1, 2 | Section 1.1 (Lesson: relations) |
| Reflexive, symmetric, transitive | Steps 1–4 | Definition 3, Section 1.2 (Lesson: types of relations) |
| Equivalence relation | Steps 1, 4, 5 | Definition 4, Section 1.2 (Lesson: equivalence relations) |
| Universal relation | Step 4 | Definition 2, Section 1.2 |
| Equivalence classes partition the set | Step 4, Check | Section 1.2, note after Example 5 |
| Count = 2; 16 enlargements; 5 equivalence relations in total | Steps 2–5, Check | Brute force over all 512 relations in the site's verification script |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →