Key Ideas
1Definition. A relation from set A to set B is a set of ordered pairs (a,b), where a is in A and b is in B.
2Domain and Range. The domain is the set of all first elements (a-values) used in the relation; the range is the set of all second elements (b-values).
3Reflexive. A relation on set A is reflexive if every element is related to itself: (a,a) is in the relation for all a in A.
4Symmetric. A relation is symmetric if whenever (a,b) is in the relation, (b,a) is too.
5Transitive. A relation is transitive if whenever (a,b) and (b,c) are both in the relation, (a,c) must be too.
Worked Examples
Let R = {(1,1),(2,2),(3,3),(1,2),(2,1)} on set {1,2,3}. Is R reflexive?
Yes, R is reflexive
Using the same R, is it symmetric?
Yes, R is symmetric
Let R = {(1,2),(2,3)} on {1,2,3}. Is R transitive?
No, R is not transitive