If $x \in \mathbb{R}$ and $n \in \mathbb{N}$ then there exists $p, q \in \mathbb{Z}$ such that $$\left|x − \frac{p}{q}\right| < \frac{1}{n}.$$
Do we use the Archimedian Principle to prove this?
If $x \in \mathbb{R}$ and $n \in \mathbb{N}$ then there exists $p, q \in \mathbb{Z}$ such that $$\left|x − \frac{p}{q}\right| < \frac{1}{n}.$$
Do we use the Archimedian Principle to prove this?
Consider nx. Let A be the largest integer ≤ nx. (we have implicitly used the Archimedean Principle here). Then, of course, nx ≤ A + 1 It follows that either nx - A < 1 or nx = A + 1 . In the first case, A/n is the rational number you seek, in the second case it is (A+1)/n.
Arquimedian principle says that for every $\delta>0$ there is a $n$ such that $\frac{1}{n}< \delta$. Consider $C = \{\frac{k}{n}, k \in \Bbb{Z}\}$. There is a $k^*$ such that
$$ \frac{k^*}{n}\leq x < \frac{k^* +1}{n}$$ this implies that $$\bigg|x - \frac{k^*}{n} \bigg| \leq \frac{1}{n}$$
remark: take $k^*: k^*\leq n x < k^* + 1$.
Edit:Note that we do use the Arquimedian principle to find an integer $k^*+1$that is greater than $nx$
You can also use the fact that Rationals are dense in the Reals. If $x \in \mathbb Q$, you're done. If not, take the decimal expansion of $x$, i.e.,
$$x=a.a_0a_1,.....,a_n... $$
Then cut of the expansion at some fixed $a_k$ to get a Rational approximation by $10^{-n}$ by the rational $\frac {aa_0a_1....a_k}{10^n}$. Then you can use that $10^{-n} <\frac{1}{n}$.
Here's a cleaner version of Gary's argument. Pick $x\in\Bbb R$ and let $A=\{a\in\Bbb R: |x-a|<1/n\}$. Clearly $A=(x-1/n,x+1/n)$ and since $\Bbb Q$ is dense in $\Bbb R$, there is a rational number $r$ such that $R\in A$.