Dirichlet's Approximation Theorem

Before this, knowThe Rationals Are Dense in the Reals

Read · 3 min

In this explanation, we enter a pursuit of finding a good approximation for some irrational number α\alpha. A good approximation means getting very close to α\alpha, using a fraction with a relatively small denominator.

A very simple first idea to do this is to notice that if we mark all the fractions with denominator qq on the real line, α\alpha will fall into one of the resulting small intervals of length 1/q1/q. If we take the endpoint α\alpha is closer to as p/qp/q, then α\alpha will be at most 1/(2q)1/(2q) distance from it. That is because the marked fractions are 1q\frac{1}{q} apart, and all other numbers are in between two of these fractions.

For each value of qq, there exists a pp such that

∣α−pq∣≤12q.\left|\alpha-\frac{p}{q}\right|\le \frac1{2q}.

In this case we can choose pp depending on qq.

We feel this is quite loose because it allows us the luxury of being able to take qq to be any number we want. With this estimate, if we want to find a rational number at most 0.00010.0001 distant from α\alpha, we need to look at fractions with denominators at least 50005000. Dirichlet's approximation theorem approaches us with a tradeoff: it guarantees very good approximations, but there might be only very few of them.

Dirichlet's approximation theorem. For any irrational α\alpha, there exist infinitely many pairs of integers p,qp,q for which

∣α−pq∣<1q2.\left|\alpha-\frac pq\right| < \frac1{q^2}.

For example, if we want a fraction at most 0.00010.0001 far from α\alpha, we may even do this with a denominator not larger than 100100.

For convenience, we will state a Lemma before the proof, which is obvious when visualized on the number line.

Lemma. Let {⋅}\{\cdot\} denote the fractional part. Then there is an integer with distance d=∣{x}−{y}∣d=|\{x\}-\{y\}| from ∣x−y∣|x-y|.

Proof. Write x=x1+x2x=x_1+x_2 and y=y1+y2y=y_1+y_2 where x2,y2x_2,y_2 are the fractional parts of x,yx,y. (Like dividing with remainder by 11.) Without loss of generality, assume x2≥y2x_2\ge y_2, then d=x2−y2d=x_2-y_2. Also, x−y=(x1−y1)+dx-y=(x_1-y_1)+d, so if ∣x−y∣=x−y|x-y|=x-y, then it is dd far from x1−y1x_1-y_1, and if ∣x−y∣=y−x|x-y|=y-x, then it is dd far from −(x1−y1)-(x_1-y_1). ■\blacksquare

We will now prove the theorem using nothing more advanced than the pigeonhole principle. To do this, we rather consider multiples of α\alpha - we should multiply our inequality by qq to get ∣qα−p∣≤1/q|q\alpha-p|\le 1/q. This in fact removes pp from the picture, as the minimum of ∣qα−p∣|q\alpha-p| only depends on the fractional part of qαq\alpha. (It helps a lot here to imagine the number line.)

Now, we will fix some positive integer NN and consider the fractional parts of the numbers 0,α,2α,...,Nα0,\alpha,2\alpha,...,N\alpha. Stick them into this collection of NN intervals

[0;1N),[1N,2N),...,[N−1N,1).\left[0;\frac 1N\right),\left[\frac1N,\frac2N\right),...,\left[\frac{N-1}N,1\right).

There are N+1N+1 numbers and NN intervals, thus some two fractional parts fall into the same interval, say {xα}\{x\alpha\} and {yα}\{y\alpha\}. From the Lemma, ∣x−y∣⋅α|x-y|\cdot \alpha is less than 1N\frac1N distant from some integer pp.

Here, ∣x−y∣|x-y| is a positive integer not larger than NN. Choose it to be qq, then what we found is

∣qα−p∣<1N≤1q,|q\alpha-p|<\frac1N\le \frac1q,

which proves the theorem.

Or does it?

We have found one such qq, but why would there be infinitely many? This follows quickly from an seemingly obvious observation: the proof of Dirichlet's theorem in fact guaranteed a q∈[1;N]q\in[1;N] such that ∣qα−p∣<1/N|q\alpha-p|<1/N. Now if we choose NN large enough for 1/N1/N to be smaller than ∣qα−p∣|q\alpha-p|, the reasoning of the proof must generate a different p,qp,q. And so on, we may generate arbitrarily many good pairs p,qp,q in this manner.

In the rest of the explanation, we generalize this proof to approximating many irrational numbers at once.

Dirichlet's approximation theorem for simultaneous approximation. Consider irrational numbers α1,α2,...,αk\alpha_1,\alpha_2,...,\alpha_k. There then exist infinitely many qq with integers p1,p2,...,pkp_1,p_2,...,p_k satisfying

∣αi−piq∣<1q1+1/k,\left|\alpha_i-\frac{p_i}q\right|<\frac1{q^{1+1/k}},

i.e. ∣qαi−pi∣<1/(q1/k)|q\alpha_i-p_i|<1/(q^{1/k}) for i=1,2,...,ki=1,2,...,k.

Proof. The procedure is exactly the same, except now, we consider integers in [0;Nk][0;N^k]. Look at the NN intervals

I1=[0;1N),I2=[1N,2N),...,IN=[N−1N,1).I_1=\left[0;\frac 1N\right),I_2=\left[\frac1N,\frac2N\right),...,I_N=\left[\frac{N-1}N,1\right).

To each integer x∈[0;Nk]x\in[0;N^k], let's assign a kk-tuple of intervals, whose ii-th interval is the IjI_j which xαix\alpha_i belongs to (i=1,2,...,ki=1,2,...,k).

We are looking at Nk+1N^k+1 different integers, but only NkN^k possible kk-tuples, thus some xx and yy are assigned the same kk-tuple, and {xαi}\{x\alpha_i\} and {yαi}\{y\alpha_i\} are within 1/N1/N of each other. The Lemma implies that ∣x−y∣⋅αi|x-y|\cdot \alpha_i is less than 1/N1/N distant from some integer pip_i for each i=1,...,ki=1,...,k.

Hence, we may take q=∣x−y∣q=|x-y|. This gives q≤Nkq\le N^k, so now for each ii, qαiq\alpha_i is at most 1/N≤1/(q1/k)1/N\le 1/(q^{1/k}) distant from some integer pip_i.

Infinitely more qq can be generated the same way as in the k=1k=1 case.

Read through the proofs again. Where did we use irrationality?

Read · 3 min

Motivation

The motivation of Dirichlet's approximation theorem is relatively well known: say that we want to calculate 2\sqrt{2}, perhaps to impress our friends with our ability to memorize large runs of numbers. Now, how would we go about expanding this to say, the tenth decimal place? One way would be to use the square root algorithm, but if we think deeper, we can use something called rational approximation For the given problem, say that we wanted to approximate 2\sqrt{2} to the 2nd decimal place. To add to the challenge, let's say that we have a machine which can only multiply integers by integers, but it does those at a great speed. Moreover, say that it takes integer square roots (it rounds square roots down). This is pretty easy to do: Take the square root of 2∗1062*10^6, and we've got a number like 14141414. Then, just divide by 10001000, and we get a number like 1.411.41. Now this was pretty easy, and we managed to approximate a number to within two decimal places. The thing is, we usually want reasonably small numerators and denominators (else we can't store the numbers effectively, right?)

Easy approximation

The main claim of this section is that, given an irrational α\alpha, we can find a fraction pq\dfrac{p}{q} such that 0≤α−pq≤1q0 \le \alpha - \dfrac{p}{q} \le \dfrac{1}{q}. The proof is not too bad: fix pp starting at zero. If the inequality is false, keep incrementing pp until it satisfies the required. The proof that this eventually terminates is left to the reader. The key idea here is that we have approximated α\alpha with a fraction pq\dfrac{p}{q} such that

∣pq−α∣≤1q.\left| \dfrac{p}{q} - \alpha \right| \le \frac{1}{q}.

Why the above is insufficient

The above approximation is usually not enough, given how easily it was derived. Luckily for us, we can use some bigger weaponry. This is how Dirichlet approximation came about. Dirichlet states that given an irrational α\alpha, it is true that there exists a rational number pq\dfrac{p}{q} such that

∣α−pq∣≤1q2.\left |\alpha - \dfrac{p}{q} \right| \le \dfrac{1}{q^2}.

This is a significant improvement, and the proof is fairly interesting:

Proof of Dirichlet's approximation theorem.

(This proof is taken from Po-Shen Loh, who occasionally browses expii and may see this some day.)

We slightly recast the problem we were given in a more convenient form:

Given any integer nn, show that there exists an integral qq with 1≤q≤n1 \le q \le n such that there exists an integer where ∣α−pq∣≤1nq\mid \alpha - \frac{p}{q} \mid \le \frac{1}{nq}. This is obviously a significant improvement from the above! Now, this proof requires the pigeonhole principle, so I will try and explain it using this as an example.

Consider the set of {jα}\{ j\alpha \} where jj runs from 00 to nn. There are n+1n+1 of these numbers. We now create nn buckets for where these numbers may lie: call them [0,1n)[ 0, \frac{1}{n} ), [1n,2n)[\frac{1}{n}, \frac{2}{n}), and so on. Observe that there are n+1n+1 numbers and only nn buckets, so two of them lie in the same bucket. Say that a′x{a'x} and ax{ax} lie in the same bucket, and WLOG ax<a′x{ax} < {a'x}. So the idea is here that there must be some integer pp where 0≤a′x−ax−p≤1n0 \le a'x - ax - p \le \frac{1}{n}, by the definition of the intervals. Let the denominator q=a′−aq = a'-a, and now we have p≤qx≤pn+1np \le qx \le \dfrac{pn+1}{n}. Subtract pp and divide by qq to get 0≤x−pq≤1qn≤1q20 \le x - \dfrac{p}{q} \le \dfrac{1}{qn} \le \dfrac{1}{q^2}, which was desired.

The future of this field?

One may think that maybe in the future, we will be able to get results like

∣α−pq∣≤1q3\left| \alpha - \dfrac{p}{q} \right| \le \dfrac{1}{q^3}

perhaps with more sophisticated methods. However, this isn't possible for well behaved α\alpha, for any exponent greater than 22. This statement is the Thue-Siegel-Roth theorem, which states that for α\alpha which are algebraic integers, the well behaved irrationals like 2\sqrt{2},

∣α−pq∣<1q2+ϵ\left|\alpha - \frac{p}{q}\right| < \frac{1}{q^{2 + \epsilon}}

has only finitely many solutions for any ϵ>0\epsilon > 0. This proof won Roth a Fields Medal in 1958.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems