I read that if $a = \frac mn$ is a positive rational number, it can be expressed in "lowest form" by cancelling common factors of $m$ and $n$, so that $a = \frac rs$ where r and s are relatively prime.
I'm wondering if we define the "lowest form" representation for a positive rational number to be $a = \frac pq$ where p and q are relatively prime, would this definition work? for a given rational number are these p and q uniquely determined?
Suppose, $$\frac{a}{b}=\frac{c}{d}$$ with coprime positive integers $a,b$ and coprime positive integers $c,d$. Then, we have $$ad=bc$$
Since $a$ and $b$ are coprime, we can conclude $a|c$ because of $a|bc$ and $b|d$ because of $b|ad$
Since $c$ and $d$ are coprime, we can conclude $c|a$ because of $c|ad$ and $d|b$ because of $d|bc$
So we get $a=c$ and $b=d$