Bounds for rational approximations to square roots
A consequence of Dirichlet’s approximation theorem is that for any real number x∈R, there exist infinitely many rational approximations qp∈Q that satisfy ∣x−qp∣<q21
In particular, the convergents of the continued fraction for x satisfy this inequality. Hurwitz’s theorem gives a slightly tighter bound and states that there exist infinitely many rational approximations qp∈Q that satisfy ∣x−qp∣<51⋅q21
Surprisingly, this bound is tight, since for the golden ratioϕ=21+5 since for any c<51 there exist only finitely many solutions qp∈Q to ∣ϕ−qp∣<c⋅q21.
It turns out that in general, there are bounds on how well rational numbers can approximate algebraic numbers. This is the basis of Liouville’s theorem, which was used to construct the first known transcedental numbers.
In Frits Beukers’ “Getaltheorie voor Beginners”, he briefly mentions an explicit bound for 2: any rational approximation qp∈Q to 2 satisfies ∣2−qp∣>41⋅q21
He proves this by supposing that ∣2−qp∣≤41⋅q21 and deriving a contradiction. Multiplying both sides with 2+qp gives ∣2−q2p2∣≤42+qp⋅q21<q21
where the last inequality follows from 2+qp=22−(2−qp)<22+4q21≤22+41<4
Finally, multiplying by q2 gives ∣2q2−p2∣<1
Now p and q are integers, so the left side is integer. The only integer with absolute value less than one is zero. However, this implies that p2q2=2 so qp=2, which is a contradiction since 2 is irrational.
This bound can obviously be improved, since there are places where inequalities are used that are not tight. For example, we use 22+41<4, while 22+41≈3.078 is much closer to 3 than to 4.
We can derive a tighter bound by supposing ∣2−qp∣<ϵ⋅q21 for some ϵ>0 and following the same steps until. We end up with ∣2q2−p2∣<ϵ(22+ϵ)
Now, we want to pick ϵ so that the right hand side becomes one. So we solve ϵ(22+ϵ)=1 and find the positive solution ϵ=3−2. By this, we have found the tighter bound ∣2−qp∣>(3−2)⋅q21=2+31⋅q21.
In fact, we can generalize this for any irrational n:
Theorem: Let n∈N be a natural number that is not a square. Then any qp∈Q satisfies ∣n−qp∣>cn⋅q21
with cn=n+1−n=n+n+11.
Proof: Set ϵ=n+1−n and suppose there exists a qp∈Q with ∣n−qp∣<ϵ⋅q21
Multiply both sides by n+qp=2n−(n−qp)<2n+ϵ to get ∣n−q2p2∣<q2ϵ2+2nϵ
If we substitute ϵ=n+1−n in ϵ2+2nϵ and simplify we see ϵ2+2nϵ=1. So the right side of this equation equals q21. Multiplying both sides by q2 gives us ∣nq2−p2∣<1
Like before, this is a contradiction: it implies that ∣nq2−p2∣=0, so ∣n−q2p2∣=0, so q2p2=n, so qp=n. However, by assumption n is not a square, so n is irrational. So this is a contradiction. □
I wonder if this can be generalized to nth roots and numbers of the form ca+bn.
From a high-level perspective we have used the expression ex(qp)=q2∣x−qp∣
to measure how well a rational number qp∈Q approximates a real number. We can now rephrase some results in terms of ex:
For any x∈R there are infinitely many qp∈Q with ex(qp)<51.
For any natural number n∈N that is not a square root we have en(qp)>n+1−n