I am trying to prove that the existence of an injection $\mathbb{Z} \rightarrow k$ implies the existence of an injection $\mathbb{Q} \rightarrow k$, where $k$ is a field.
I started by defining an equivalence relation $\sim$ on $\mathbb{Z} \times \mathbb{Z}_+$ such that $(a, b) \sim (c, d) \iff ad = bc$. Then I have a bijection from the set of equivalence classes of $\sim$ to $\mathbb{Q}$, i.e $f : [\mathbb{Z}\times\mathbb{Z}_+]_\sim{} \rightarrow \mathbb{Q}$.
This is where I get stuck: if $g : \mathbb{Z} \rightarrow \mathbb{Q}$ is the injection, I tried to construct injection $h : [\mathbb{Z}\times\mathbb{Z}_+]_\sim{} \rightarrow k$ from $g$. The only thing I could think of was $h([(a, b)]) = g(a)g(b)^{-1}$, but I can't prove that $g(b) \ne 0$ or that $h$ is an injection without assuming $g$ is a ring homomorphism. If $h$ is an injection, then I have the injection $h \circ f^{-1} : \mathbb{Q} \rightarrow k$.
Am I approaching this the right way? Is this provable at all?
EDIT: For context, this is question was asked in an abstract algebra class, but the question did not explicitly state that the function $\mathbb{Z} \rightarrow k$ is a ring homomorphism. To answer it as posed, I would have to construct a bijection from $\mathbb{Q} \rightarrow \mathbb{Z}$. This question has been answered here.