0
$\begingroup$

I'm having difficulties making progress in proving: $$\forall \varepsilon > 0, \ \exists q \in Q \text{ where } 0 < |r - q| < \varepsilon $$

To clarify, $r$ is a real number and $q$ is a rational number.

Is there some theorem I should be using? This exercise is presented in the same section/chapter as the Completeness Axiom (each nonempty set has a least upper bound or supremum), the Archimedean Property of Real Numbers ($ \exists n \in Z^{+}$ such that $na>b $ for positive real numbers $a$ and $b$), and a theorem stating there is a rational and irrational number between any two distinct real numbers.

I'm just not seeing the connection (if any at all). Any help in the right direction would be much appreciated. Thank you!

$\endgroup$
2
  • $\begingroup$ Dirichlet's approximation theorem should be helpful. $\endgroup$
    – rtybase
    Jan 12, 2019 at 10:40
  • 1
    $\begingroup$ You know that there is a rational between any two distinct reals. Consider $r$ and $r+\epsilon$. $\endgroup$
    – Wojowu
    Jan 12, 2019 at 10:42

2 Answers 2

1
$\begingroup$

Choose some positive integer $n$ such that $n>\frac{1}{\varepsilon}$. Define $q$ as $\frac{[nr]+1}{n}$. Then, $|r-q|=\frac{1-\{nr\}}{n}\in (0;\varepsilon)$.

$\endgroup$
5
  • $\begingroup$ Could you clarify the notation of [nr] in defining q as $\frac{[nr]+1}{n} $ and the notation of {nr} in defining $|r - q| = \frac{1-{nr}}{n} $? Thanks! $\endgroup$
    – Zen'z
    Jan 13, 2019 at 18:27
  • $\begingroup$ For real $x$ we define the floor function of $x$ - $[x]$ as integer $n$ such that $n\leq x<n+1$ (it's easy to see that such integer exists and unique). $\endgroup$
    – richrow
    Jan 13, 2019 at 20:05
  • $\begingroup$ For more information about floor and ceiling functions see here en.m.wikipedia.org/wiki/Floor_and_ceiling_functions or here mathworld.wolfram.com/FloorFunction.html. $\endgroup$
    – richrow
    Jan 13, 2019 at 20:07
  • $\begingroup$ So the [nr] defined in q and the {nr} in |r - q| both evaluates to integers by definition of the floor function? Also, I don't get how you got to |r - q| = $\frac{1 - [nr]}{n}$. Could you help me understand the steps involved? Thanks again! $\endgroup$
    – Zen'z
    Jan 13, 2019 at 20:10
  • $\begingroup$ No, $\{x\}$ is known as fractional part of $x$ and it's defined as $\{x\}:=x-[x]$. Hence, from definition we always have $0\leq \{x\}<1$. $\endgroup$
    – richrow
    Jan 13, 2019 at 21:40
0
$\begingroup$

No need to any theorem. Let $r\notin\Bbb Q$ and $$x=10^k\cdot r$$for some value of $k\in \Bbb R$ then define $$n\triangleq\Big\lfloor10^k\cdot r\Big\rfloor$$which leads to $$n\le 10^k\cdot r<n+1$$or $${n\over 10^k}-{1\over 10^k}<r<{n+1\over 10^k}={n\over 10^k}+{1\over 10^k}$$finally $$0<|r-{n\over 10^k}|<{1\over 10^k}<\epsilon$$ and $q={n\over 10^k}$ when $k>-\log \epsilon$

For the case $r\in \Bbb Q$, define $q=r+{1\over 10^k}$ for large enough $k\in \Bbb N$.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .