Give an example of a relation which is
(iii) Reflexive and symmetric but not transitive.
(iii) Let A = {1,2 3}
Then A x A = {(1, 1), (1,2), (1,3), (2,1), (2,2), (2,3), (3,1), (3,2), (3,3) }.
Let R = {(1,1), (2,2), (3,3), (1,2), (2,1), (2,3), (3,2)}.
R is a relation on A as R ⊆ A x A.
R is reflexive as (a, a) ∈ R ∀ a ∈ A.
Also. R is symmetric since (a. b) ∈ R implies that (b, a) ∈R.
But R is not transitive since (1,2) ∈R arid (2,3) ∈R but (1,3) ∢ R.