Let R be a relation on $\mathbb{Z} × ( \mathbb{Z} \setminus \{0\} )$ where $$( a, b ) R ( c, d ) \Leftrightarrow ad = bc.$$ Prove that R is an equivalence relation. Describe the distinct equivalence classes of R in terms of rational numbers and justify your answer.
I copy and pasted this question from the textbook, sorry if the formatting is weird. Anyways, I don't understand the $\mathbb{Z} \setminus \{0\}$ part of the question. If you're willing to solve the problem, can you somewhat explain your answer? Thanks I'm very new to this stuff.
You elements are pairs $(a,b)$ where $b \ne 0$.
$(a,b)R(c,d)$ means that $ad = bc$
TO be an equivalence relationship the must be:
1) Reflexive:
For all $(a,b)$ we must have $(a,b) = R(a,b)$
So we must prove that $ab = ab$ for all $(a,b)$.
2) Symetric:
If $(a,b) R (c,d)$ it must be true that $(c,d) R (a,b)$
So we must prove that if $ad = cb$ then $cb = ad$.
3) Transitive:
If $(a,b) R (cd)$ and $(c,d)R (e,f)$ it must be true that $(a,b)R(e,f)$.
So we must prove that if $ad=cb$ and $cf=ed$ then $af=eb$.