Types of Relations
A relation on a set is nothing more than a set of ordered pairs, and three properties decide almost everything this chapter asks: whether every element is related to itself, whether the pairs may be flipped, and whether two links that meet at a middle element force a third link. Reflexivity fails most often in examinations, because one missing diagonal pair destroys it and no amount of symmetry elsewhere repairs the damage.
The Three Properties Read Side by Side
Fix a set and let collect ordered pairs whose entries both come from . Then the three tests read as follows, and each one is a statement about every element rather than about the pairs that happen to be printed.
- Reflexive: for every . Every element of the set must sit on the diagonal, including the elements the question never mentions in its list.
- Symmetric: forces for all . A pair may stand alone, but only if its mirror stands with it.
- Transitive: together with forces for all . Any element that can serve as the meeting point of two links counts, even when it appears nowhere else in the relation.
The three properties are logically independent, so none of them can be assumed from another. A relation can be reflexive and symmetric yet fail transitivity, or be transitive and symmetric yet miss a diagonal pair. That independence is why a complete answer always names all three verdicts rather than stopping at the first success.
Checking a Relation Without Missing Anything
Write the relation as a set of pairs, list the elements of in a fixed order, and imagine the grid whose entry in row and column is filled whenever . Each property becomes a visual inspection of that grid, which removes the guesswork that costs marks when pairs are scanned by eye.
| Property | What you inspect | Executable test | The counterexample that kills it |
|---|---|---|---|
| Reflexive | the main diagonal | every has present | a single missing diagonal pair, such as |
| Symmetric | entries mirrored across the diagonal | present whenever is | present with absent |
| Transitive | every chain of two filled cells | whenever and are filled, is filled | and present with missing |
| Equivalent to the identity | all three at once | reflexive, symmetric and transitive hold together | it fails as soon as any one of the three fails |
The transitive row is the expensive one, because chains can be long and the middle element may be any member of the set. A reliable sweep runs over the first pair, then over every element that could act as the meeting point, and asks whether the closing pair is present. On a four-element set that is at most a few dozen comparisons, far fewer than most students assume once they stop scanning randomly.
Four Worked Checks on a Three-Element Set
The problems below all live on , so the diagonal consists of exactly three pairs and every relation can be listed in full. Read each verdict against the grid test above: the verdict is only as good as the pair that justifies it.
Two lessons emerge from the set. A relation need not relate distinct elements at all: the identity relation consisting of the diagonal alone is reflexive and transitive but not symmetric unless the set has one element. And a relation can look balanced in the picture â the second and fourth examples are symmetric about the diagonal â while still failing a property that no picture reveals, which is exactly what happened to transitivity in the fourth example.
When the Set Is Infinite
Infinite sets cannot be listed, so the counterexample strategy replaces enumeration, and one witness is enough to disprove a property while a proof of success must cover every element. On the integers, when is not reflexive, because no integer is smaller than itself, and it is not symmetric either, because while is false; it is transitive, which shows in a single example that the three properties stand apart. Divisibility on the positive integers, where means divides , is reflexive and transitive but not symmetric: divides while does not divide . Congruence modulo , written when is a multiple of , satisfies all three and is the standard equivalence relation of the chapter. The pattern to carry into the exam is that reflexivity fails through a single element, symmetry through a single unpaired pair, and transitivity through a single broken chain.
Counting Relations on a Set of n Elements
Counting turns the definitions into arithmetic, and the formulas fall out of which pairs are forced. A relation on an -element set is any subset of the possible ordered pairs, so relations exist in total. A reflexive relation must contain the diagonal pairs and may include or exclude each of the remaining freely, giving . A symmetric relation is decided by the diagonal pairs together with the pairs above the diagonal, each of which drags its mirror along, giving . Antisymmetric relations allow each off-diagonal pair to be absent, present in one direction, or present in the other, while the diagonal stays free, giving .
| Count on elements | Formula | Value at |
|---|---|---|
| all relations | ||
| reflexive | ||
| symmetric | ||
| antisymmetric | ||
| transitive | no closed form | |
| equivalence relations | Bell number |
Transitive relations resist a neat formula, so their totals are tabulated: , , for , , . Equivalence relations on three elements number , matching the five ways of splitting into non-empty blocks, and that correspondence between equivalence relations and partitions is the bridge to the next lesson.
A Python Checker for Finite Relations
The predicates below are direct translations of the three definitions, so they can referee a hand-checked answer in a few lines. The first reproduces the fourth worked example.
A = {1, 2, 3}
R = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1), (2, 3), (3, 2)}
reflexive = all((a, a) in R for a in A)
symmetric = all((b, a) in R for a, b in R)
transitive = all((x, z) in R for x, y in R for y2, z in R if y == y2)
print("reflexive :", reflexive)
print("symmetric :", symmetric)
print("transitive :", transitive)
It prints True, True, False, matching the verdict reached by hand: the broken chain , , missing is the only defect, and it is enough.
def counts(n):
total = 2 ** (n * n)
reflexive = 2 ** (n * n - n)
symmetric = 2 ** (n * (n + 1) // 2)
antisymmetric = 2 ** n * 3 ** (n * (n - 1) // 2)
print(f"n = {n}: total {total}, reflexive {reflexive}, "
f"symmetric {symmetric}, antisymmetric {antisymmetric}")
for n in (2, 3, 4):
counts(n)
pairs = [(x, y) for x in range(3) for y in range(3)]
transitive = 0
for mask in range(1 << len(pairs)):
R = {pairs[i] for i in range(len(pairs)) if mask & (1 << i)}
if all((x, z) in R for x, y in R for y2, z in R if y == y2):
transitive += 1
print("transitive relations on 3 elements:", transitive)
The loop over all subsets of the nine possible pairs returns 171, the tabulated number of transitive relations on three elements, while the closed forms print , and for . Exhaustive search is only possible for tiny sets, which is precisely why the formulas exist.
How CBSE Frames Relation Proofs
A three-mark question normally hands you a set of at most four elements together with a rule, and expects three things: the relation written out as pairs, each property decided with the supporting pair named, and the final classification stated in words. A four-mark question moves to an infinite set â divisibility on the positive integers, or congruence modulo on the integers â where listing is impossible and you must either argue about arbitrary elements or produce one witness that disproves a property. The marking scheme rewards the counterexample as much as the claim: exhibiting without settles symmetry in a single line, while asserting transitivity without examining chains earns nothing. The safe presentation is to state the property formally, show the evidence, and close with the classification â reflexive but not symmetric, or equivalence relation â because that final word is usually a mark of its own.
Common Mistakes
Checking only the pairs that are listed when testing reflexivity
Fix: Every element of the set must appear as (a, a), including elements that occur in no pair at all; on {1, 2, 3} the pair (3, 3) must be present even if the rule never mentions 3.
Concluding transitivity from the pairs that happen to close correctly
Fix: Search every chain of two links through every possible middle element; one broken chain such as (1, 2) with (2, 3) but no (1, 3) disproves the property outright.
Claiming a property on an infinite set without a general argument
Fix: Either argue for arbitrary elements, as divisibility does when it notes that a dividing a is always true, or name a single witness such as 1 less than 2 without 2 less than 1.
Key Takeaways
- Reflexivity demands the full diagonal, symmetry demands mirrored pairs, and transitivity demands every two-link chain to close, and the three properties never imply one another
- A single missing pair disproves reflexivity or symmetry and a single broken chain disproves transitivity, while proving a property requires covering every element
- On n elements there are 2 to the n squared relations, 2 to the n times n minus 1 reflexive ones, and 2 to the n times n plus 1 over 2 symmetric ones, with 171 transitive relations at n equal to 3
- A relation that is reflexive, symmetric and transitive is an equivalence relation, and on a finite set it is completely determined by how it groups the elements