I'm trying to determine if the relation $\{(\frac{a}{b}, a-b) | a,b \in \Bbb {Z}, b \neq 0\}$ is a function from $\Bbb {Q}$ to $\Bbb {Z}$.
I know that a relation is a function from A to B if dom(f)=A and ran(f) $\subseteq$ B. And if for every $a \in A$ there is exactly one $b \in B$ such that $(a,b) \in f$.
But I'm still confused on how to go about proving or disproving this.
Not true because $\dfrac{1}{2} = \dfrac{2}{4}$ but $1-2 = -1$ while $2-4 = -2$