Relations: Definition and Types
Quick answer A relation from set A to set B is a subset of A × B; this section covers how relations are defined and the key properties — reflexive, symmetric and transitive — used to classify them.
If A and B are two non-empty sets, a relation R from A to B is simply a subset of the Cartesian product A × B. So R ⊆ A × B, and if (a, b) ∈ R we write a R b, read as "a is related to b". The set of first elements of the ordered pairs in R is called the domain of R, and the set of second elements is called the range of R.
When A = B, we simply say R is a relation on the set A, and R ⊆ A × A. Two special relations on any set A are worth naming: the empty relation R = ∅ (no element of A is related to any element), and the universal relation R = A × A (every element is related to every element, including itself).
To study relations in general, we classify them using three key properties:
- Reflexive: R is reflexive if (a, a) ∈ R for every a ∈ A.
- Symmetric: R is symmetric if (a, b) ∈ R ⟹ (b, a) ∈ R for all a, b ∈ A.
- Transitive: R is transitive if (a, b) ∈ R and (b, c) ∈ R ⟹ (a, c) ∈ R for all a, b, c ∈ A.
Worked Example: Let A = {1, 2, 3, 4} and let R = {(a, b) : a divides b}. Check whether R is reflexive, symmetric and transitive.
Reflexive: every natural number divides itself, so (a, a) ∈ R for all a ∈ A. Hence R is reflexive.
Symmetric: (1, 2) ∈ R because 1 divides 2, but (2, 1) ∉ R because 2 does not divide 1. So R is not symmetric.
Transitive: suppose (a, b) ∈ R and (b, c) ∈ R, i.e., a divides b and b divides c. Then a must divide c as well (since b = ka and c = mb = mka for integers k, m). So (a, c) ∈ R, and R is transitive.
Conclusion: R is reflexive and transitive, but not symmetric.
- A relation R from A to B is any subset of A × B.
- Empty relation: R = ∅; Universal relation: R = A × A.
- Reflexive needs every (a, a); symmetric needs (a,b) to force (b,a); transitive needs (a,b) & (b,c) to force (a,c).
- A relation can satisfy some properties and fail others — always test all three separately.
- 'a divides b' on a set of natural numbers is reflexive and transitive but not symmetric.
