Given two natural numbers $x$ and $y$ such that $x > y$, prove that
$$x \bmod y < \frac{x}{2}.$$
I was planning on solving this proof by using the definition of mod; however, I was wondering if there was a better way of solving this. Maybe a proof by contradiction?
The number you denote by $x\bmod y$ is the unique integer $r$ such that
Suppose $r\ge x/2$; then $x=yq+r\ge yq+x/2$, so $$ 2x\ge 2yq+x $$ and so $$ x\ge 2yq $$ Hence $$ r=x-yq\ge yq\ge y $$ against the hypothesis. Note that $q>0$, otherwise $x=r<y$.