Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
You are making this more complicated than it needs to be. If $p,q$ are any two distinct rational numbers, then $p + (q-p)/\sqrt 2$$$p + \frac {q-p}{\sqrt 2}$$ is an irrational number between $p$ and $q$.
You are making this more complicated than it needs to be. If $p,q$ are any two distinct rational numbers, then $p + (q-p)/\sqrt 2$ is an irrational number between $p$ and $q$.
You are making this more complicated than it needs to be. If $p,q$ are any two distinct rational numbers, then $$p + \frac {q-p}{\sqrt 2}$$ is an irrational number between $p$ and $q$.
You are making this more complicated than it needs to be. If $p,q$ are any two distinct rational numbers with $p < q$, then $p + (q-p)/\sqrt 2$ is an irrational number between $p$ and $q$.
You are making this more complicated than it needs to be. If $p,q$ are rational numbers with $p < q$, then $p + (q-p)/\sqrt 2$ is an irrational number between $p$ and $q$.
You are making this more complicated than it needs to be. If $p,q$ are any two distinct rational numbers, then $p + (q-p)/\sqrt 2$ is an irrational number between $p$ and $q$.
You are making this more complicated than it needs to be. If $p,q$ are rational numbers with $p < q$, then $p + (q-p)/\sqrt 2$ is an irrational number between $p$ and $q$.