Let $R$ be a UFD and suppose $f(x),g(x)$ are co-prime in $R[X]$. I want to show that $f(x), g(x)$ are then also co-prime in $\operatorname{Frac}(R)[X]$, where $\operatorname{Frac}(R)$ is the field of fractions of $R$.
For me $f, g$ co-prime in $R[X]$ means that $\langle f \rangle + \langle g \rangle = R[X]$. Similarly $f,g$ are co-prime in $\operatorname{Frac}(R)[X]$ iff $\langle f \rangle + \langle g \rangle = \operatorname{Frac}(R)[X]$. So pick some $h(x)$ from $\operatorname{Frac}(R)[X]$. I seek $ a,b$ in $R[X]$ such that $af + bg = h$. Since $ h$ is in $\operatorname{Frac}(R)[X]$ its coefficient are fractions of elements of $R$. Therefore I can clear denominators and obtain $ c ( af + bg) = h’$ where $c$ is just some member of $R$ and $h’$ is in $R[X]$. But $f,g$ are co-prime so we can find $A,B$ such that $Af+Bg=h’$. Hence $a= A/c$ and $b= B/c$ should do the trick. My proof is complete.
I feel there is something wrong with this argument as it seems too simple. My textbook wants me to use Gauss Lemma on products of primitives for this. But my argument seems to do fine without it. Can anyone help me here?