I'm just starting out with equivalence relations so please go easy on me! I can't quite understand how to even begin thinking about this question.
I understand I have to prove whether it is an equivalence relation or not. Therefore, I must show whether each of (a)..(d) are reflexive, symmetric, and transitive. But what is the function? For example, for (a), I have $Q = \{(a, b) : gcd(a, b) > 1\}$. So do I search for all integer pairs that have $gcd(a,b) > 1$?
Prove or disprove that it is an equivalence relation. For the equivalence relation(s), describe [26], either by writing out all its terms, or by noticing that it is a familiar set.
(a) $Q ⊆ \mathbb{Z} × \mathbb{Z}, Q = \{(a, b) : gcd(a, b) > 1\}$
(b) $R ⊆ \mathbb{Z} × \mathbb{Z}, R = \{(a, b) : |a − b| < 2\}$
(c) $S ⊆ \mathbb{Z} × \mathbb{Z}, S = \{(a, b) : a^2 = b^2\}$
(d) $T ⊆ \mathbb{Z} × \mathbb{Z}, T = \{(a, b) : a^2 ≡ b^2 mod 4\}$
Recall that an equivalence relation on a set $S$ may be expressed as a subset of $S\times S$, with the rules of reflexivity, symmetry and transitivity. Your examples are all subsets of $\mathbb{Z}\times\mathbb{Z}$, so which of these sets satisfy: $$ (a,a) \in S \quad\forall a \in \mathbb{Z} $$ $$ (a,b) \in S \implies (b,a) \in S $$ $$ (a,b) \in S, \quad (b,c) \in S \implies (a,c) \in S $$ I'll do the first one to get you going: $$ Q= \{ (a,b) : gcd(a,b)>1 \} $$ The question isn't very well stated. Let's assume that gcd's are always positive, e.g $gcd(-4,-2) = 2$.
Reflexivity: $gcd(a,a) = a$. So this is OK for any $|a|>1$, but $(-1,-1), (0,0), (1,1)$ are all missing from $Q$, so not an equivalence relation. It may be if we exclude these points, so let's continue.
Symmetry: $gcd(a,b) = gcd(b,a)$ so this is OK
Transitivity: No, this isn't going to work. Counterexample is $$ gcd(2,6) = 2,\quad gcd(6,3) = 3,\quad gcd(2,3) = 1 $$ Now do the same for the other examples!