My question from an easy problem.
$p,q$ are positive integers such that $$ \frac{5}{9}<\frac{p}{q}<\frac{4}{7} $$ find $p,q$ such that $q$ is the smallest number that satisfies this inequality.
Draw the line of $ y<\frac{9}{5}x$ and $y>\frac{7}{4}x$ , we can "observe" that $\frac{9}{16}$ is such number.
However, if the question becomes
$a,b,c,d$ are positive integers such that $$\frac{a}{c}<\frac{b}{d} $$ find $p$,$q$ such that $q$ is the smallest number that satisfies the inequality
$$\frac{a}{c}<\frac{p}{q}<\frac{b}{d}$$
No idea about this.