I need to prove that $\forall$ $p \in \mathbb{Q}$, $\exists n \in \mathbb{Z}$ such that $n \leq p < n+1$. What I have done is assume that such a $p$ does not exist. Which implies that either $p>n$ or $p<n$ , $\forall n \in \mathbb{Z}$. This would imply that p is either a least or greatest element of $\mathbb{Z}$ which is a contradiction. Hence I can conclude that $\exists m \in \mathbb{Z}$ such that $m<p$ and that $\exists n \in \mathbb{Z}$ such that $p<n$. Combining these 2 gives me $m<p<n$, however I'm stuck here, how can I come to the stronger conclusion that it is between two consecutive integers?
2026-03-25 20:08:00.1774469280
Proof that every rational number is between 2 consecutive integers
599 Views Asked by user368569 https://math.techqa.club/user/user368569/detail At
3
Take $p \in \mathbb{Q^+}$, so exists $n, m \in \mathbb{N}$ such that $p=\frac{n}{m}$. Now perform the euclidean division $n$ divided by $m$ (quotient and remainder are unique) so $n=q \cdot m+r$ with $0 \le r<m$ $\implies \frac{n}{m}=q+\frac{r}{m}$ with $0 \le\frac{r}{m}<1$.
We obtain that $q \le p<q+1.$
The case $p<0$ is the same.