2.2 Continued Fractions

To discuss angles in integer geometry, we need to introduce the classical notion of continued fractions.

Definition 2.2.1.

Let α\alpha be a real number. Then for real numbers a0,a1,a2,a3,a_{0},a_{1},a_{2},a_{3},\ldots, a continued fraction expansion of α\alpha (or simply a continued fraction of α\alpha) is a sum of the form

α=a0+1a1+1a2+1a3+.\alpha=a_{0}+\frac{1}{a_{1}+\frac{1}{a_{2}+\frac{1}{a_{3}+\ldots}}}.

When this expression has infinite number of terms aia_{i}, we call it an infinite continued fraction.

We use the following classical notation [a0,a1,a2,a3,][a_{0},a_{1},a_{2},a_{3},\ldots].

Definition 2.2.2.

Let [a0,a1,a2,,an][a_{0},a_{1},a_{2},\ldots,a_{n}] be a continued fraction expansion of α\alpha. This continued fraction is called odd/even if it has an odd/even number elements (i.e., n0mod2n\equiv 0\mod 2 or respectively n1mod2n\equiv 1\mod 2).

Example 2.2.3.

A continued fraction for π\pi is

[π1;3,12].[\pi-1;3,\frac{-1}{2}].
Definition 2.2.4.

A continued fraction is called regular if a0a_{0} is an integer and each element aia_{i} is a positive integer.

Theorem 2.2.5.

Let α\alpha be a real number. Then

  • if α\alpha\in\mathbb{Q}, there is one unique odd regular continued fraction and one unique even regular continued fraction of α\alpha;

  • otherwise, there is some unique infinite continued fraction such that the limit as kk\to\infty of [a0,a1,,ak][a_{0},a_{1},\ldots,a_{k}] converges to α\alpha. ∎

For the proof, we refer to.

Example 2.2.6.

The regular continued fraction for π\pi is

[3;7,15,1,292,1,1,1,2,1,3,1,14,2,1,1,2,2,2,2,].[3;7,15,1,292,1,1,1,2,1,3,1,14,2,1,1,2,2,2,2,...].

Let us now consider the geometric construction of a continued fraction.

Definition 2.2.7.

Let α\alpha be a real number.

Consider the ray {y=αx:x0}\{y=\alpha x:x\geq 0\}. The complement of this ray has two connected components in +2\mathbb{R}^{2}_{+}. We construct two convex hulls in each connected component.

The two sails of a ray are the boundaries of these convex hulls. The vertices of the upper/left sail are denoted B0,B1,B_{0},B_{1},\ldots, and those of the lower/right sail are denoted A0,A1,A_{0},A_{1},\ldots.

Theorem 2.2.8.

Let α1\alpha\geq 1 be a real number with sails A0,A1,A_{0},A_{1},\ldots and B0,B1,B_{0},B_{1},\ldots and continued fraction [a0,a1,][a_{0},a_{1},\ldots]. Then the following equalities hold:

l(Ai,Ai+1)=a2i,l(Bi,Bi+1)=a2i+1.\operatorname{l\ell}(A_{i},A_{i+1})=a_{2i},\\ \operatorname{l\ell}(B_{i},B_{i+1})=a_{2i+1}.

For the proof we refer to.

Example 2.2.9.

Let α=5/3\alpha=5/3. Then the regular continued fractions for α\alpha are:

[1;1,2] and [1;1,1,1].[1;1,2]\text{ and }[1;1,1,1].
The sail of
Figure 3: The sail of α\alpha

From Figure 3, we see that this agrees with Theorem 2.2.8.