Give an example of a relation which is
(i) reflexive and symmetric but not transitive;
(ii) reflexive and transitive but not symmetric;
(iii) symmetric and transitive but not reflexive;
(iv) symmetric but neither reflexive nor transitive.
(v) transitive but neither reflexive nor symmetric.
Suppose A be the set such that A = {1, 2, 3}
(i) Let R be the relation on A such that
R = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1), (2, 3)}
Thus,
R is reflexive and symmetric, but not transitive.
(ii) Let R be the relation on A such that
R = {(1, 1), (2, 2), (3, 3), (1, 2), (1, 3), (2, 3)}
Clearly, the relation R on A is reflexive and transitive, but not symmetric.
(iii) Let R be the relation on A such that
R = {(1, 2), (2, 1), (1, 3), (3, 1), (2, 3)}
We see that the relation R on A is symmetric and transitive, but not reflexive.
(iv) Let R be the relation on A such that
R = {(1, 2), (2, 1), (1, 3), (3, 1)}
The relation R on A is symmetric, but neither reflexive nor transitive.
(v) Let R be the relation on A such that
R = {(1, 2), (2, 3), (1, 3)}
The relation R on A is transitive, but neither symmetric nor reflexive.