In this section we look at some properties of relations. In particular, we define the reflexive, symmetric, and transitive properties. We will use directed graphs to identify the properties and look at how to prove whether a relation is reflexive, symmetric, and/or transitive.
is transitive since if and then . Note, this property can be tedious to check by hand. In this example, though, the only pairs that fit the hypothesis are pairs like , so , which is in .
Check: , so , which is in . This is the only set of ordered pairs where the second coordinate of the first pair matches the first coordinate of the second pair.
If a relation is transitive, then whenever the directed graph has an arrow from vertex, to vertex followed by an arrow from to , there is a corresponding arrow going from to .
The transitive closure of a relation , denoted , is the set of ordered pairs in as well as all additional ordered pairs to make the relation transitive.
Checking that a relation is reflexive, symmetric, or transitive on a small finite set can be done by checking that the property holds for all the elements of . But if is infinite we need to prove the properties more generally.