Consider the relation $R \subseteq \Bbb Z \times \Bbb Z$ given as $$R = \{(x,y) \in \Bbb Z \times \Bbb Z \mid xy >0 \textrm{ or } x=y=0\}.$$ Prove that R is an equivalence and write down its equivalence classes.
Can anybody tell me how do I approach a task like this in general?
$[0] = \{0, 1, 4, 9\}$ for $xy>0$ would be my approach.
But then, what about $[1]$ for example?
I would like to see an example, let's say with $xy > 1$ or $xy>2$, as I am honestly a little bit lost (first time doing that kind of stuff) and my literature hasn't any kind of example for that, other than some theoretically stuff.
Thanks in advance everyone!