11

Lets denote by $A_n$ the set of all relatively prime fractions with denominator $n\,.$ Then one should observe that the members of $A_n$ become more densely populated in the real line as $n \to \infty$. To see this, note that $$A_1 = \mathbb{Z}, A_2 = \Big\{\frac{1}{2}, \frac{3}{2}, \dots,\Big\},\dots,A_{56} = \Big\{\frac{1}{56},\frac{3}{56}, \frac{5}{56}, \dots\Big\},\; \dots$$

Thus, it would seem intuitively true that the statement I have proposed is true, but seeing how I could find $N \in \mathbb{N}$ so that this is true is elusive to me. Any suggestions here?

Kurt G.
  • 17,136

3 Answers3

5

The way you formalised it, the answer is “yes”, but for way less trivial reasons than one might expect.

Let $x=\frac pq$ and $\epsilon$ be given. Then $\frac an$ is a valid (=in shortest terms and within $\epsilon$) approximation for $x$ iff $\frac{a-kn}n$ is a valid approximation for $x-k$, $k\in \Bbb Z$. Therefore, wlog $0\le x<1$, i.e., $0\le p<q$.

Under certain circumstances, let us replace $x$ and $\epsilon$ with “better” $x’$ and $\epsilon’$ with $0<x’<1$ and $(x’-\epsilon’, x’+\epsilon’)\subseteq (x-\epsilon,x+\epsilon)$. Then a valid approximation for $x’$ is also a valid approximation for $x$. Obviously, it suffices to specify suitable $x’$ with $x<x’<\min\{1,x+\epsilon\}$ as $\epsilon’=\epsilon +x-x’$ will work.

  • If $p=0$ (i.e., $x=0$), pick $k>\frac1\epsilon$ and let $x’=\frac2{2k+1}$.
  • If $p=1$, then $q\ge2$. Pick $k>\max\{q(q-1),\frac1\epsilon\}$ and let $x^\prime=x+\frac1k=\frac{q+k}{qk}$ (not necessarily in shortest terms). Then indeed $x<x^\prime<x+\epsilon$ and $q>\frac1{x^\prime}>\frac1{\frac1q+\frac1{q(q-1)}}=q-1$ so that the numerator of $x^\prime$ is $>1$ (and also $x^\prime<1$).

By this, we may assume wlog that $p\ge2$. Then $\frac1x$ is between two naturals, $k<\frac1x<k+1$. Then we may assume wlog that $\frac1{k+1}<x-\epsilon<x+\epsilon<\frac1k$. In particular, our $\epsilon$-interval now contains no number with numerator $1$.

Let $\delta=\frac\epsilon x>0$. By the Prime Number Theorem, there exists $m_0$ such that for all $m\ge m_0$, there exists a prime between $m$ and $(1+\delta)m$. Pick $N>\max\{\frac {m_0}x,\frac1\epsilon\}$. We want to show that for every $n\ge N$, there exists a valid approximation with denominator $n$: Let $n\ge N$ and set $m=\lfloor xn\rfloor$. Then $m\ge m_0$ and there exists a prime $a$ between $m$ and $(1+\delta)m$. Then $x-\epsilon<x-\frac1n\le\frac an<(1+\delta)x=x+\epsilon$, as desired. If $\frac an$ is not in lowest terms, we can cancel the prime $a$ completely and end up with a reciprocal of a natural, which cannot be in our $\epsilon$-interval. Hence $\frac an$ is in lowest term as desired, thus completing the proof.

  • Thank you for this thoughtful response. I will come back to look at this argument later this evening when I am available. – Aram Nazaryan Jan 15 '23 at 18:43
  • Nice. I hope there is a proof that needs less than the prime number theorem. I thought about convergents for continued fraction expansions of irrationals near the target, but got nowhere. – Ethan Bolker Jan 15 '23 at 20:00
  • @EthanBolker Well, „prime“ is the simplest form of the „coprime“ we actually need. If $n$ has many small prime divisors, it may be hard to find a coprime number in the required range by other means. - Farey sequences may be more promising than continued fractions. – Hagen von Eitzen Jan 16 '23 at 00:11
  • My answer in https://mathoverflow.net/questions/434707/does-there-exist-a-continuous-function-fx-such-that-f0-0-and-0-lim-n/434762#434762 contains an alternative proof of the density (actually, uniform distribution) of fractions with denominator exactly $n$ as $n\to\infty$ and the remark by Fedor Petrov makes that argument even more elementary, but still far from trivial. – fedja Jan 16 '23 at 03:32
1

Let $(x_n)$ be a sequence of rationals that converges to $x\not\in\{x_1,x_2,x_3,...\}\,.$ (This $x$ can also be irrational but it should not be part of the sequence.)

Claim. Every $x_n$ is of the form $$ x_n=\frac{p_n}{q_n}\quad\text{ with }\operatorname{gcd}(p_n,q_n)=1\quad\text{ and }\quad q_n\to+\infty\,. $$ Proof. Because the limit of $(x_n)$ is not part of the sequence the following must hold: $$ \forall n\;\exists M\;\forall m\ge M\;: x_m\not=x_n\,. $$ Otherwise, we could find a subsequence $(x_{m_j})$ that is identically equal to some $x_n$ and therefore converges to an element of the sequence.

Because $(x_n)$ must also be a Cauchy sequence we have $$\tag{1} \forall \varepsilon>0\;\exists N\;\forall m,n\ge N:|x_n-x_m|<\varepsilon\,. $$ Clearly, $x_m\not=x_n$ is equivalent to $|p_nq_m-p_mq_n|\ge 1\,$ since this is a natural number or zero. Therefore we have $$ \forall\varepsilon>0\;\exists N\;\forall n\ge N\;\exists M\;\forall m\ge M:\frac{1}{|q_nq_m|}\le \frac{|p_nq_m-p_mq_n|}{|q_nq_m|}=\Bigg|\frac{p_n}{q_n}-\frac{p_m}{q_m}\Bigg|<\varepsilon\, $$ from (1). This implies that $\frac{1}{|q_nq_m|}$ must converge to zero when $n\to\infty$ or $m\to\infty\,.$ In other words, $q_n$ must diverge to $\infty\,.$ $$\tag*{$\Box $} \quad $$

Kurt G.
  • 17,136
  • 2
    This gives “arbitrarily large”denominators, but not “all sufficiently large” denominators – Hagen von Eitzen Jan 15 '23 at 18:30
  • @HagenvonEitzen Yes. Sounds like OP asks for more in the body than in the title only. Thanks for feedback and for your other answer. – Kurt G. Jan 15 '23 at 18:39
  • This proof shows that $q_n \to \infty$ but it seems to assume from the start that each $x_n = \frac{p_n}{q_n}$. In other words, I'm not seeing how this proof proves that $x_n=\frac{p_n}{q_n}$ – Aram Nazaryan Jan 16 '23 at 14:49
  • @DavidC.Huang $x_n$ is a sequence of rationals, and I write them just as you wrote your rationals in OP. – Kurt G. Jan 16 '23 at 14:52
  • @KurtG. I understand that, but the question is whether there are certain simplest form fractions sufficiently close to a given rational number. $\mathbb{Q}$ is dense so you can pick any sequence of rational numbers to converge anywhere in $\mathbb{R}$. The question is whether you can construct a sequence of simplest form rationals with denominator $n$ greater than some $N$. I'm sorry, maybe I'm misunderstanding – Aram Nazaryan Jan 16 '23 at 14:56
  • We always assume that rationals are in simplest form $\frac{p}{q}$ with $\operatorname{gcd}(p,q)=1,.$ As you say, any number $x$ in $\mathbb R$ (rational or not) can be approximated by rationals $x_n$ (in simplest form) where $x\not\in{x_1,x_2,..},.$ (Simply because rationals are dense in $\mathbb R,.$) What I show is that $q_n$ must then converge to $\infty$. In particular it will sooner or later be larger than any given $N$. To me it sounds like you asked for more in the body of your question: you want all rationals $\frac{p_n}{n}$ (any large enough $n$) to approximate $x$. Correct? – Kurt G. Jan 16 '23 at 15:07
  • @DavidC.Huang Not sure if my last comment went into your inbox. Pls check. – Kurt G. Jan 16 '23 at 15:10
  • @KurtG. I see now - the density of $\mathbb{Q}$ takes care of the simplest form issue. Secondly, yes, you are correct that I want all rationals $\frac{p_n}{n}$ ($n$ large enough) to approximate $x$. While I have you here, how can we be sure that $\frac{|p_nq_m-p_mq_n|}{|q_nq_m|} < \varepsilon$ for any $\varepsilon > 0$? This part isn't as intuitive to me unfortunately. Obviously it's because the sequence is Cauchy, but once we cross multiply in this manner, do we retain the "Cauchy-ness" of that product of $p$'s and $q$'s? – Aram Nazaryan Jan 16 '23 at 15:16
  • 1
    @DavidC.Huang I inserted one more expression to clarify this. It is from the Cauchy condition. – Kurt G. Jan 16 '23 at 15:20
1

Given $n$, we have $a \approx \frac {pn}{q}$; the best $a$ is that value rounded to the nearest integer. So $E=|a - \frac{pn}{q}|\le 0.5$.

$|\frac{a}{n} - \frac {p}{q}| = \frac {1}{n}\left|a-\frac {pn}{q}\right|=\frac{E}{n}\le\frac{0.5}{n}$

If I've understood your statement correctly, then: $\frac{0.5}{n}< \epsilon$ means $n>\frac{1}{2 \epsilon}$.

Alex K
  • 2,213