"Give a relation that satifies the condition:"
Symmetric and transitive but not reflexive.
This is what I gave:
R = {(x,y), (y,z), (z,x), (y,x), (z,y), (x,z)}
I was told this was not transitive. However, my book's definition of transitive is the following:
R is transitive if for every x, y, and z, xRy and yRz implies xRz
What did I do incorrectly?
Let us use $\{a,b,c\}$ as the set your relation is over to avoid confusion with the $x,y,z$ in the definitions of reflexive, symmetric, transitive. To be reflexive you would have to have $\{(a,a),(b,b),(c,c)\} \subset R$ Your relation corresponds to $\{(a,b),(b,a),(a,c)(c,a),(b,c),(c,b)\}$ so your relation is certainly not reflexive. In the definition of transitive, it is not required that $x,y,z$ be distinct elements, so I can say that if the relation is transitive $(aRb\ \& \ bRa) \implies aRa$. By inspection this is false, so the relation is not transitive.
To rescue this, assume $aRb$. Then by symmetry you have $bRa$. By transitivity, then we need $aRa$ Does this suggest a way out?