AoPSWiki
Looking for a challenging algebra text? Preparing for MATHCOUNTS or the AMC exams?
Check out Art of Problem Solving's Introduction to Algebra by Richard Rusczyk.
Personal tools

Rational approximation

From AoPSWiki

Contents

Introduction

The main theme of this article is the question how well a given real number can be approximated by rational numbers. Of course, since the rationals are dense on the real line, we, surely, can make the difference between and its rational approximation as small as we wish. The problem is that, as we try to make closer and closer to , we may have to use larger and larger and . So, the reasonable question to ask here is how well can we approximate by rationals with not too large denominators.

Trivial theorem

Every real number can be approximated by a rational number with a given denominator with an error not exceeding .

Proof

Note that the closed interval \left[qx-\frac12,qx+\frac12\right] has length and, therefore, contains at least one integer. Choosing to be that integer, we immediately get the result.


So, the interesting question is whether we can get a smaller error of approximation than . Surprisingly enough, it is possible, if not for all , then, at least for some of them.

Dirichlet's theorem

Let be any integer. Then there exists a rational number such that and \left|x-\frac pq\right|<\frac 1{nq}.

Proof of Dirichlet's theorem

Consider the fractional parts \{0\cdot x\},\{1\cdot x\}, \{2\cdot x\},\dots, \{n\cdot x\}. They all belong to the half-open interval . Represent the interval as the union of subintervals [0,1)=\left[0,\frac 1n\right)\cup\left[\frac 1n,\frac 2n\right)\cup\dots\cup\left[\frac{n-1}{n},1\right),. Since we have fractional parts and only subintervals, the pigeonhole principle implies that there are two integers such that and belong to the same interval. But then the difference differs by less than from some integer number : . Dividing by , we get \left|x-\frac pq\right|<\frac1{nq}.

Corollary

If is irrational, then there are infinitely many irreducible fractions such that \left|x-\frac pq\right|<\frac 1{q^2}.

Proof of the corollary

For each , find a (possibly reducible) fraction with such that \left|x-\frac {P_n}{Q_n}\right|<\frac 1{nQ_n}. Let be the same fraction as but reduced to its lowest terms. It is clear that \frac 1{nQ_n}\le \frac 1{Q_n^2}\le \frac 1{q_n^2}, so it remains to show that among the fractions there are infinitely many different ones. But the distance from the -th fraction to does not exceed , which can be made arbitrarily small if we take large enough . On the other hand, if the fractions were finitely many, this distance couldn't be made less than the distance from the irrational number to some finite set of rational numbers, i.e., less than some positive constant.

Discussion

The Dirichlet's theorem can be generalized in various ways. The first way is that one can try to approximate several numbers simultaneously by fractions with common denominator. The exact statement is as follows.


If and is an integer, then there exists an integer with and integers such that \left|x_j-\frac {p_j}q\right|<\frac 1{nq}


The proof is essentially the same except instead of considering numbers , one has to consider vectors , in the unit cube divided into equal subcubes.

Another remark that can be useful in some problems is that, if is irrational, then you can find infinitely many solutions of the inequality \left|x-\frac {p}q\right|<\frac C{q^2} with the denominator contained in any given arithmetic progression () if the constant (depending on the progression) is large enough. To prove it, first, find infinitely many irreducible fractions satisfying \left|x-\frac PQ\right|<\frac 1{Q^2}. Then, for each such fraction, find two integers such that and . Now note that and are relatively prime, so we can find some integer such that . Replacing and by their remainders and modulo , we get a positive integer satisfying and |qx-(\tilde\beta P-\tilde\alpha v)|\le\tilde\alpha|ux+v|+\tilde\beta|Qx-P|\le\tilde\alpha u\left|x-\frac PQ\right|+\frac{\tilde\alpha}Q+\frac {\tilde\beta}Q\le \frac {3a}Q\le \frac {6a^2}q. Thus, setting , we get \left|x-\frac pq\right|<\frac {6a^2}{q^2}.

Applications to problem solving

One common way to apply Dirichlet's theorem in problem solving is to use it in the following form: given finitely many numbers and , one can find a positive integer such that each of the numbers differs from some integer by less than . A typical example of such usage can be found in the article devoted to the famous Partition of a rectangle into squares problem.

Liouville Approximation Theorem

We can generalize Dirichlet's theorem as follows: If is an algebraic number of degree , then there are only finitely many rational numbers satisfying the following inequality: \Bigg|\alpha-\frac{p}{q}\Bigg| \le\frac{1}{q^n}. This gives us the following corollary: is a transcendental number, known as Liouville's constant.

Hurwitz's theorem

For every irrational number there are infinitely many rationals m/n such that

\left |\xi-\frac{m}{n}\right |<\frac{1}{\sqrt{5}\, n^2}.

Roth's theorem

For algebraic α, integers p and q; has finitely many solutions as ε>0.

See also

Rational approximation of famous numbers

Want to learn how to tackle those tough AMC/AIME/Olympiad counting and probability problems? Check out Art of Problem Solving's NEW Intermediate Counting & Probability by David Patrick.
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us