I am trying exercises from Tom M Apostol and I could not think about this problem in Chapter 5.
Problem is - Two reduced fractions $a/b$ and $c/d$ are said to be similarly ordered if $(c-a)\times(d-b)\ge0$. Prove that any two neighboring fractions $\frac{a_i}{b_i}$ and $\frac{a_{i+1}}{b_{i+1}}$ are similarly ordered.
My attempt - I tried using result - for any two consecutive Farey fractions $a/b<c/d$, $bc-ad=1$ holds and then using definition of similarly ordered fractions. But it doesn't yields result when $b\neq d$.
Can someone please help.