Why any rational number can be written as $P/Q$?

By the fundamental theorem of arithmetic (uniqueness and existence of decomposition into prime factors), any integer $N\ne0$ can be written as $$ N=2^an $$ where $n$ is odd (the exponent $a$ is a non negative integer and it can be $0$, precisely when $N$ is already odd). The case $P/Q$ where $P=0$ is easy: $P/Q=0/1$. So we can assume also $P\ne0$.

Now we have $P=2^ap$ and $Q=2^bq$, with $p$ and $q$ odd, three cases are possible:

  1. $a>b$ and $\dfrac{P}{Q}=\dfrac{2^ap}{2^bq}=\dfrac{2^{a-b}p}{q}$ where the denominator is odd;

  2. $a=b$ and $\dfrac{P}{Q}=\dfrac{2^ap}{2^bq}=\dfrac{p}{q}$ where both the numerator and the denominator are odd;

  3. $a<b$ and $\dfrac{P}{Q}=\dfrac{2^ap}{2^bq}=\dfrac{p}{2^{b-a}q}$ where the numerator is odd.

This is just a better formalized version of your argument: the key is that you can't keep dividing by $2$ ad infinitum, so the process eventually stops.


Because a rational number can be expressed as a ratio, that is to say, any rational number can be represented $\frac{p}{q}$.

One of $p,q$ must be odd, because if they were both even, they wouldn't be coprime, and therefor, not simplified. (Assuming $q\ne 0$, but if $q=0$, it's already not a rational number.)