The relation $R$ is defined n all positive integers such that, $(a,b)R(c,d) \iff a+d =b+c$ . Show that $R$ is an equivalence relation.
In order to be an equivalence relation, $R$ has to be reflexive, symmetric and transitive. I tried it as follows -
$(a,b)R(c,d) \iff a+d =b+c \equiv (a,b)R(c,d) \iff a-b =c-d$
$$(a,b)R(a,b) \iff a-b = a-b $$
It is true, therefore $R$ is reflexive. $$(c,d)R(a,b) \iff c-d=a-b $$ It is true, therefore R is symmetric. \begin{align*}(a,b)R(x,y) &\iff a-b = x-y \tag 1 \\ (x,y)R(c,d) &\iff x-y=c-d \tag 2 \\ \therefore (a,b)R(x,y) \land (x,y)R(c,d) &\iff a-b = x-y=c-d \implies a-b =c-d \end{align*} It is true, therefore $R$ is transitive. Is the above method correct?