struggling to write this as a single restriction for integers p and q
if \(\displaystyle p=0\) then \(\displaystyle q\ne0\) and can be +ve or -ve
if \(\displaystyle q=0\) then \(\displaystyle p\ne0\) and can be +ve or -ve
otherwise \(\displaystyle p<q\) and they have the same sign
as three seperate ones I have
\(\displaystyle p=0\ \ \ \ \ \ q\ne0\)
\(\displaystyle q=0\ \ \ \ \ \ p\ne0\)
\(\displaystyle 0<\dfrac{p}{q}<1\)
any ideas ?
Thanks
if \(\displaystyle p=0\) then \(\displaystyle q\ne0\) and can be +ve or -ve
if \(\displaystyle q=0\) then \(\displaystyle p\ne0\) and can be +ve or -ve
otherwise \(\displaystyle p<q\) and they have the same sign
as three seperate ones I have
\(\displaystyle p=0\ \ \ \ \ \ q\ne0\)
\(\displaystyle q=0\ \ \ \ \ \ p\ne0\)
\(\displaystyle 0<\dfrac{p}{q}<1\)
any ideas ?
Thanks
Last edited: