Complete quotient
# Complete quotient

In the metrical theory of regular continued fractions, the kth complete quotient $ζ_k$ is obtained by ignoring the first k partial denominators $a_i.$ For example, if a regular continued fraction is given by

    $x=[a_{0};a_{1},a_{2},a_{3},\dots ]=a_{0}+{\cfrac {1}{a_{1}+{\cfrac {1}{a_{2}+{\cfrac {1}{a_{3}+{\cfrac {1}{\ddots }}}}}}}},$

then the successive complete quotients $ζ_k$ are given by

    ${\begin{aligned}\zeta _{0}&=[a_{0};a_{1},a_{2},a_{3},\dots ]\\\zeta _{1}&=[a_{1};a_{2},a_{3},a_{4},\dots ]\\\zeta _{2}&=[a_{2};a_{3},a_{4},a_{5},\dots ]\\\zeta _{k}&=[a_{k};a_{k+1},a_{k+2},a_{k+3},\dots ].\,\end{aligned}}$

## A recursive relationship

From the definition given above we can immediately deduce that

    $\zeta _{k}=a_{k}+{\frac {1}{\zeta _{k+1}}}=[a_{k};\zeta _{k+1}],\,$

or, equivalently,

    $\zeta _{k+1}={\frac {1}{\zeta _{k}-a_{k}}}.\,$

## Complete quotients and the convergents of x

Denoting the successive convergents of the regular continued fraction x = $[a_0;$ $a_1,$ $a_2,$ …] by $A_0,$ $A_1/B_1,$ $A_2/B_2,$ … (as explained more fully in the article fundamental recurrence formulas), it can be shown that

    $x={\frac {A_{k}\zeta _{k+1}+A_{k-1}}{B_{k}\zeta _{k+1}+B_{k-1}}}\,$

for all k ≥ 0.

This result can be better understood by recalling that the successive convergents of an infinite regular continued fraction approach the value x in a sort of zig-zag pattern:

    $A_{0}<{\frac {A_{2}}{B_{2}}}<{\frac {A_{4}}{B_{4}}}<\cdots <{\frac {A_{2n}}{B_{2n}}}<x<{\frac {A_{2n+1}}{B_{2n+1}}}<\cdots <{\frac {A_{5}}{B_{5}}}<{\frac {A_{3}}{B_{3}}}<{\frac {A_{1}}{B_{1}}}.\,$

so that when k is even we have $A_k/B_k$ < x < $A_{k+1}/B_{k+1},$ and when k is odd we have $A_{k+1}/B_{k+1}$ < x < $A_k/B_k.$ In either case, the k + 1st complete quotient $ζ_{k+1}$ is the unique real number that expresses x in the form of a semiconvergent.

## Complete quotients and equivalent real numbers

### An equivalence relation defined by LFTs

Consider the set of linear fractional transformations (LFTs) defined by

    $f(x)={\frac {a+bx}{c+dx}}\,$

where a, b, c, and d are integers, and ad − bc = ±1. Since this set of LFTs contains an identity element (0 + x)/1, and since it is closed under composition of functions, and every member of the set has an inverse in the set, these LFTs form a group (the group operation being composition of functions), GL(2,Z).

We can define an equivalence relation on the set of real numbers by means of this group of linear fractional transformations. We will say that two real numbers x and y are equivalent (written x ~ y) if

    $y=f(x)={\frac {a+bx}{c+dx}}\,$

for some integers a, b, c, and d such that ad − bc = ±1.

Clearly this relation is symmetric, reflexive, and transitive, so it is an equivalence relation and it can be used to separate the real numbers into equivalence classes. All the rational numbers are equivalent, because each rational number is equivalent to zero. What can be said about the irrational numbers? Do they also fall into a single equivalence class?

### A theorem about "equivalent" irrational numbers

Two irrational numbers x and y are equivalent under this scheme if and only if the infinitely long "tails" in their expansions as regular continued fractions are exactly the same. More precisely, the following theorem can be proved.

Let x and y be two irrational (real) numbers, and let the kth complete quotient in the regular continued fraction expansions of x and y be denoted by $ζ_k$ and $ψ_k,$ respectively, Then x ~ y (under the equivalence defined in the preceding section) if and only if there are positive integers m and n such that $ζ_m$ = $ψ_n.$

### An example

The golden ratio φ is the irrational number with the very simplest possible expansion as a regular continued fraction: φ = [1; 1, 1, 1, …]. The theorem tells us first that if x is any real number whose expansion as a regular continued fraction contains the infinite string [1, 1, 1, 1, …], then there are integers a, b, c, and d (with ad − bc = ±1) such that

    $x={\frac {a+b\phi }{c+d\phi }}.\,$

Conversely, if a, b, c, and d are integers (with ad − bc = ±1), then the regular continued fraction expansion of every real number y that can be expressed in the form

    $y={\frac {a+b\phi }{c+d\phi }}\,$

eventually reaches a "tail" that looks just like the regular continued fraction for φ.

