For each of the following relations on the set $\mathbb{Z}$ of integers, determine if it is reflexive, symmetric, anti-symmetric, or transitive. On the basis of these properties, state whether or not it is an equivalence relation or a partial order.
(a) $R = \{(a, b) \in \mathbb{Z^2} : a^2 = b^2\}$.
(b) $S = \{(a, b) \in \mathbb{Z^2} : \mid a − b \mid \le 1\}$.
Am I right to say that (a) is reflexive, symmetric, antisymmetric, and transitive?
And (b) is reflexive, symmetric, and antisymmetric?