Example 23: Reflexive, transitive, not symmetric: counting
Let . Then show that the number of relations containing and which are reflexive and transitive but not symmetric is three.
A required relation contains (reflexive) and (given), so it also contains (transitive). So contains
is reflexive and transitive, and not symmetric as , .
The pairs left are .
is reflexive and transitive, and not symmetric as , .
is reflexive and transitive, and not symmetric as , .
Adding alone breaks transitivity, as but . Adding two or all three of the pairs forces all three by transitivity, which gives , a symmetric relation.
Hence the number of such relations is three.
Want the reason behind every step, the basics and the checks?
Start from the smallest relation that the conditions force on us, then ask which of the leftover pairs can be added. Reflexive forces the three pairs . Transitivity applied to and forces . That leaves only three optional pairs, , so there are only candidate relations. Checking all eight, exactly three survive.
- Given
- . A relation in is any subset of , which has 9 pairs.
- To show
- Exactly three relations satisfy all of: , , reflexive, transitive, not symmetric.
- Plan
- (1) Find the pairs every such must contain. (2) Check that this smallest set, , already works. (3) Every other candidate is plus some of the 3 leftover pairs: test all 8 possibilities. (4) Count the survivors.
Basics you need
A relation in is a subset of . On the possible pairs are the pairs with . Two relations are equal exactly when they contain the same pairs. Basics: what a relation is
Reflexive: for every . Symmetric: . Transitive: and . Basics: reflexive, symmetric, transitive
"Not symmetric" needs just one pair with . "Not transitive" needs one chain with . Basics: proving and disproving
A set with elements has subsets, because each element is either in or out. Three optional pairs give ways to choose which ones to add. Basics: counting choices
Look at every chain in where the middle elements match. Chains that use a loop like give back a pair already present, so only chains of two non-loop pairs need checking.
Solution
Pairs forced by "reflexive" and by the question
The question requires and . Reflexive requires for each , so
So far five pairs are forced.
We are counting relations with several properties at once. The cleanest way is to first collect everything those properties force, because those pairs are in every relation we count and need no further thought.Reflexive means every element is related to itself (Definition 3, Basic 2). On that is exactly the three "loops" .Transitivity forces
Since and , transitivity (with ) demands
So every relation we are counting contains the six pairs
Without the relation would have a chain with no direct link , which is exactly what transitivity forbids. So is not a choice: it is compulsory.Transitive: (Definition 3). One missing "shortcut" is enough to break it (Basic 3).itself is reflexive, transitive and not symmetric
Reflexive: it contains .
Transitive: the non-loop pairs are . The only chain of two of them with matching middle element is , and its shortcut is in . (The pair cannot start a chain, because no non-loop pair begins with 3, and nothing non-loop ends in 1.) Chains through a loop, such as , give back , already present. So is transitive.
Not symmetric: but .
So is one of the required relations, and it is the smallest one: every required relation contains it.
We must check really has all the properties, not just assume it. "Smallest" matters for the counting: since every required relation contains , each one is together with some extra pairs, and that is what makes a complete search possible in the next step.For transitivity, only chains of two non-loop pairs can produce a new pair (Basic 5). A single counterexample is enough to show "not symmetric" (Basic 3).Only three optional pairs are left, so only 8 candidates
has 9 pairs and uses 6. The three left over are
Every required relation is plus some subset of these three pairs. A set of 3 pairs has subsets, so there are exactly 8 candidates to test.
The three relations that work, drawn as arrow diagrams (an arrow means ; the loops are in all three but not drawn). Gold arrows are the extra pair added to . Each still has an arrow with no return arrow, so none is symmetric. Reducing the problem to 8 concrete candidates is what turns "show the number is three" into something we can check completely. Without Steps 1 and 2 we would face relations on .A set of objects has subsets (Basic 4).Test all 8 candidates
Reflexivity and the two given pairs hold automatically, because every candidate contains . So for each candidate we only test transitivity and symmetry. When transitivity fails, the table names a chain whose shortcut is missing.
Pairs added to Transitive? Symmetric? Counts? none () yes (Step 3) no: missing yes yes no: in, missing yes () yes no: in, missing yes () no: but missing no no no: but missing no no no: but missing no no no: but missing no no all three yes (universal relation) yes no Why the two "yes" rows for transitivity really are transitive:
- . The new chains are , and . All three shortcuts are present, and no other chain uses (no non-loop pair other than ends in 2). So is transitive.
- . The new chains are , and . All present, so is transitive.
This table is the textbook's argument written out in full. It says that adding , or adding both and , forces the remaining pairs in "to maintain transitivity". Indeed, forces both (via ) and (via ), and the pair forces . Once all three are in, we have the universal relation , which is symmetric, so it is not wanted. Every one of the 8 cases is accounted for.To disprove transitivity, give one chain with its shortcut missing (Basic 3). To prove it on a finite relation, check every chain of non-loop pairs (Basic 5). The universal relation (Definition 2, Section 1.2) contains every pair, so it is reflexive, symmetric and transitive.Count the survivors
Exactly three candidates pass every test:
Hence the number of relations containing and that are reflexive and transitive but not symmetric is three.
Steps 1 and 2 showed that every relation we want contains , and Step 5 tested every way of enlarging . So no relation can have been missed, and none counted twice: the 8 candidates are 8 different sets.
The required relations are , and , where consists of the three loops together with . Their number is three, as the textbook states.
The site's verification script runs through all 512 relations on (every subset of the 9 pairs) and tests each one for: contains and , reflexive, transitive, not symmetric. Exactly 3 pass, and they are exactly . It also confirms the "missing shortcut" entries in the table for each failing case.
- Forgetting . The relation is not transitive, so it cannot be one of the answers.
- Counting the universal relation. It is reflexive and transitive, but it is symmetric, and the question asks for not symmetric.
- Adding and stopping. creates the chains and , whose shortcuts and are missing.
- Only checking some cases. To show the number is exactly three you must rule out every other candidate, not just find three that work.
- To count relations with given properties on a small set: first find the smallest relation the properties force, then test each way of adding the leftover pairs.
- Transitivity is the property that "spreads": one new pair can force others, and those can force more.
- The same method solves Miscellaneous Q6 (reflexive and symmetric but not transitive) and Example 24 (equivalence relations).
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A relation in is a subset of | Steps 1, 4 | Section 1.1 (Lesson: relations) |
| Reflexive, symmetric, transitive | Steps 1–5 | Definition 3, Section 1.2 (Lesson: types of relations) |
| Universal relation | Step 5 | Definition 2, Section 1.2 |
| subsets of a -element set | Step 4 | Class XI, Sets (Lesson: counting functions and relations) |
| Count = 3, the three relations, the failing chains | Steps 5, 6, 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 →