Let $X= \left \{ a,b,c,d \right \}$ and $R=\left \{ (a,a),(a,b),(b,a),((b,b),(c,c),(c,d),(d,c),(d,d) \right \}$. I want to show that $R$ is an equivalence relation on $X$.
My work:
$R$ is reflexive: If $a\in X$, $aRa$ since $(a,a) \in R$.
$R$ is symmetric: If $a,b \in X$, then $(a,b) \in R \Leftrightarrow (b,a) \in R$.
$R$ is not transitive: If $a,b,c \in X$, then $aRb$ and $bRc$ implies $aRc$. But $(b,c)$ is not an element of $R$ and $(a,c)$ is not an element of $R$.
So $R$ is not an equivalence relation. But I am supposed to show that $R$ is an equivalence relation on $X$. For transitivity should $a\neq b\neq c$?
Please note that $R$ is transitive if $(x,y) \in R$ and $(y,z) \in R \Rightarrow (x,z) \in R$
Now as $(a,b) \in R$ and $(b,c) \notin R$ you need not check for $(a,c)$ for this pair.
So whenever you find any pair of elements $(x,y)$ and $(y,z)$ both belonging to $R$ then only you check whether $(x,z)$ is in $R$ or not.