More About Relations
Learning objectives
- Define reflexive, symmetric, transitive, and antisymmetric
- Decide whether a given relation has each property
- Compose two relations and compute the result
- Use counterexamples to disprove a property
Why classify relations at all? Because once you know which properties a relation has, you instantly know how it behaves. Reflexive + symmetric + transitive forces a partition (equivalence classes, Β§4.5). Reflexive + antisymmetric + transitive forces an ordering (Β§4.4). The three or four small properties below recur everywhere in algebra, logic, computer science, and database design. Getting fluent at spotting these properties, and at building counterexamples when one fails, is the core skill of this chapter.
The four properties
Let be a relation on a set . We say is:
- reflexive if , everyone is connected to themselves.
- symmetric if , arrows come in pairs.
- transitive if , chains shortcut.
- antisymmetric if , the only two-way arrows are self-loops.
To prove a property holds, show the universal statement for all relevant elements. To disprove it, exhibit a single counterexample, one bad pair (or chain) is enough.
Composition of relations
Given and , the composition is
To get an pair in , you need a "stepping-stone" that links to in two hops. Composition is associative: . It is generally not commutative. A useful identity: , the order reverses, just like for inverse functions.
Pause and think: The "is parent of" relation on a set of people. Is it reflexive? Symmetric? Antisymmetric? Transitive? Build a single counterexample for each property that fails. (Hint: a person is not their own parent; parents donβt parent their parents; if A parents B and B parents C, is A automatically a parent of C?)
Try it
- For on , check all four properties.
- Show by counterexample that "is a friend of" is generally not transitive.
- Compute when . Then compute .
- Predict: if is symmetric, what does look like? Test with a small example.
- Is the relation on antisymmetric? Argue from the definition.
A trap to watch for
Many students confuse antisymmetric with asymmetric or with "not symmetric." Antisymmetric does not mean "no pairs come in both directions", it allows the pair (since trivially ). So the equality relation is both symmetric and antisymmetric. The two properties are not opposites, both can hold. The condition is: if you ever have both and , then must equal . (For the record: an asymmetric relation requires , which forbids self-loops; that is strictly stronger than antisymmetric.)
What you now know
You can list the four basic properties of relations, prove each one with a universal argument, disprove each with a single counterexample, and compose two relations to chain their reach. Section 4.4 specialises to relations that are reflexive + antisymmetric + transitive, orderings, and Β§4.5 to relations that are reflexive + symmetric + transitive, equivalences.
References
- Velleman, D. J. (2019). How to Prove It (3rd ed.). Cambridge University Press, Β§4.3.
- Hammack, R. (2018). Book of Proof, ch. 11.
- Bloch, E. D. (2011). Proofs and Fundamentals (2nd ed.). Springer, ch. 5.
- Cormen, T. H., Leiserson, C. E., Rivest, R. L., Stein, C. (2009). Introduction to Algorithms (3rd ed.). MIT Press, Β§25.2 (transitive closure).