previous up next
Previous: 1 Introduction Up: Patterns Occurring During the Next: 3 Confrac expansion of

2 Confrac expansion of a real number

Definition 2.1   The confrac expansion of a real number maths is the integer sequence maths obtained by the recursion :

maths (2.1)

followed to infinity... or until maths for some maths, the later case only occurring when maths. From an obvious similarity with Euclidean algorithm, the maths are called (ordinary) quotients and the maths complete quotients. It is clear that maths while the other quotients maths are positive integers and, at any step, we have the continued fraction relation :

maths

It is well known that a fractional-linear relation like maths (where maths is assumed) can be rewritten in the projective plane as maths. We therefore introduce matrices maths that represent transformation maths.

Notation 2.2   In order to avoid "towers of indices", we introduce two different notations for these matrices. Without special context, we will use:

maths (2.2)

In the context of the confrac expansion of a given maths, we will use:

maths (2.3)

The following two theorems are the founding stones of the continued fractions theory.

Theorem 2.3   For any number maths and all maths, the relation

maths (2.4)

holds, where the maths and maths are defined by the recursion:

maths (2.5)

Moreover, the fractions maths (the so-called convergents) are in lowest terms. When maths is rational, "all maths" must be understood as "all maths until the process stops".

Proof. When maths, relation 2.4 is nothing but the obvious maths. Using induction and the fact that composition of homographies multiplies the associated matrices, we obtain

maths (2.6)

By the way, we have obtained maths, and fraction maths is in lowest terms. maths

Example 2.4   Taking maths, we have

maths

Leading to the matrices of FIG. 2.1.

FIG.  2.1: Elementary matrices appearing in the confrac expansion of maths.
maths

For example, maths result in maths.

Remark 2.5   Thanks to the above mentioned irreducibility, the identification fractional-linear transform towards matrix is non-ambiguous (no proportionality factor can occur).

Theorem 2.6   Any matrix maths encountered in the confrac expansion of a given maths and written as maths verifies the following assertions:

maths (2.7)

Conversely, any matrix maths having these properties is an maths matrix, i.e. can be decomposed into a product of maths matrices :

maths

Moreover, this decomposition is unique.

Proof. The direct part of this theorem is an immediate application of theorem 2.3, while the reciprocal part is equivalent to the correctness of algorithm 2.9. maths

Corollary 2.7   Therefore an irrational number is characterized by its confrac expansion, and can be written as

maths

Lemma 2.8   Relation maths cannot be satisfied with maths, maths and maths.

Proof. Otherwise, one should have:

maths

maths

Algorithm 2.9   The factorization into elementary matrices must be carefully designed to take in account all cases where any of the numbers maths are 0 or maths. Otherwise, lemma 2.8 shows that maths is the sole and only left factor of the given matrix, maths being the common value of the Euclidean quotient of maths by maths and of maths by maths.


maths


previous up next
Previous: 1 Introduction Up: Patterns Occurring During the Next: 3 Confrac expansion of


douillet@ensait.fr
2004-02-06