Let X=Z×(Z{0}), and ~ be the relation defined on X by (a,b)~ (c,d) whenever ad=bc. Let R=X/~={[x]:x∈X}. Define the operation * on R, by setting {(a1,b1)}*{(a2,b2)}={(a1b2+a2b1,b1b2)}. show that this operation is well-defind.
I'm trying to learn the algebra structure by myself, and I got an assignment online and I don't how to solve it, There is no similar exercise on the book.