Consider the following relation on $\mathbb{Z} \times \mathbb{Z}$: $(x, y)\sim (x', y')$ iff $xy' = x'y$.
(a) Prove that it is an equivalence relation.
(b) Consider the set of equivalence classes $\mathbb{Z}\times \mathbb{Z}/\sim$, and denote the equivalence class of $(x,y)$ by $\overline{(x,y)}$. Define the following binary operations between equivalence classes:
$\overline{(x,y)} \cdot \overline{(x',y')} = \overline{(xx', yy')}$;
$\overline{(x,y)} + \overline{(x', y')} = (xy' + x'y, yy')$.
Prove that these operations are well defined, that is does not depend on a choice of a representative. Do you recognize the arithmetic system $\mathbb{Z} \times \mathbb{Z}/ \sim$ you just constructed?
My attempt:
(a) Prove that $\sim$ is an equivalence relation. Proof: We need to show that $\sim$ has the properties of reflexivity, symmetry, and transitivity.
Reflexivity: We need to show that $(x,y) \sim (x,y)$. Suppose $x' = x$ and $y' = y$, then $(x,y)\sim (x',y') \Rightarrow xy' = x'y \Rightarrow xy = xy \Rightarrow (x,y) \sim (x,y)$.
Symmetry: We need to show that $(x',y') \sim (x,y)$ given that $(x,y) \sim (x',y')$. Suppose $(x,y) \sim (x',y') \Rightarrow xy' = x'y \Rightarrow x'y = xy' \Rightarrow (x',y') \sim (x,y)$.
Transitivity: We need to show that $(x,y) \sim (x'',y'')$ given that $(x,y) \sim (x',y')$ and $(x',y') \sim (x'',y'')$. Suppose $(x,y) \sim (x',y')$ and $(x',y') \sim (x'',y'') \Rightarrow xy' = x'y$ and $x'y'' = x''y' \Rightarrow x' = xy'/y \Rightarrow xy'y''/y = x''y \Rightarrow xy'y'' = x''y'y \Rightarrow xy'' = x''y$. Therefore $(x,y) \sim (x'',y'')$.
(b) If I want to prove that something is well defined, generally I would use $x'$ and $y'$ and try to show that the representative doesn't matter. Would I do something like:
Since $\overline{(x,y)} \cdot \overline{(x',y')} = \overline{(xx',yy')}$, then $\overline{(x,y)} \cdot \overline{(x'',y'')} = \overline{(xx'',yy'')}$. If I rearrange both equations so that they equal $\overline{(x,y)}$ and then set both equations equal to each other, then I would get something like:
$\overline{(xx',yy')}/\overline{(x',y')} = \overline{(xx'',y'')}/\overline{(x'',y'')}$
and then multiply both sides by their denominator, I would get:
$\overline{(xx',yy')} \cdot \overline{(x'',y'')} = \overline{(x',y')} \cdot \overline{(xx'',y'')}$.
I have no idea what I'm doing.