I am reading Steven G. Krantz's Real Analysis and Foundations and came across this problem.
Problem: Let $\lambda$ be a positive irrational real number. If $n$ is a positive integer, choose by the Archimedean property an integer $k$ such that $k\lambda \leq n < (k+1)\lambda$. Let $\phi(n) = n-k\lambda$. Prove that the set of all $\phi(n)$ is dense in the interval $[0,\lambda]$. (Hint: Examine the proof of the density of the rationals in the reals)
My Approach: We want to show that for all $x,y\in[0,\lambda]: x<y$ there exist $m: x<\phi(m)<y$.
After examining the proof of the density of the rationals in the reals, I came up with the following.
Since $y>x$ we can choose A such that $A(y-x)>1$. Which we can simplify to $Ax+1<Ay$, and by adding $k\lambda$ to both sides we get $Ax+k\lambda+1<Ay+k\lambda$. Where $k$ is an integer and $\lambda$ is an irrational number.
Now by using the Archimedean property, we can get $M\in \mathbb N$ such that $M>Ax+k\lambda$. Let $m$ be the smallest natural number which satisfies the above property. Therefore, we can get $m>Ax+k\lambda\geq m-1$. By rearranging we get, $m+1>Ax+k\lambda+1\geq m$.
Now, let's analyse what we have. First, we have $m>Ax+k\lambda$. Then we have $Ax+k\lambda+1\geq m$. COmbining we get, $Ax+k\lambda+1\geq m>Ax+k\lambda$. We also have $Ay+k\lambda>Ax+k\lambda+1$. We can combine all to get, $Ay+k\lambda>m>Ax+k\lambda$. Which can be simplified to, $Ay>m-k\lambda>Ax$.
How can I eliminate the $A$ in my last statement?
Also, I didn't use the fact, $k\lambda \leq n < (k+1)\lambda$ in my solution. Where can I use it?