Periodic Continued Fraction Article Index for
Periodic
Website Links For
Periodic
 

Information About

Periodic Continued Fraction




:
x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{\ddots}{\quad\ddots\quad a_k + \cfrac{1}{a_{k+1} + \cfrac{\ddots}{\quad\ddots\quad a_{k+m-1} + \cfrac{1}{a_{k+m} + \cfrac{1}{a_{k+1} + \cfrac{1}{a_{k+2} + \cfrac{1}{\ddots}}}}}}}}}\,


where the initial block of ''k'' + 1 partial denominators is followed by a block {Link without Title} of partial denominators that repeats over and over again, ''ad infinitum''.

The partial denominators {''a''''i''} can in general be any real or complex numbers. That general case is treated in the article Convergence Problem . The remainder of this article is devoted to the subject of Regular Continued Fractions that are also periodic. In other words, the remainder of this article assumes that all the partial denominators ''a''''i'' (''i'' ≥ 1) are positive integers.


PURELY PERIODIC AND PERIODIC FRACTIONS


Since all the partial numerators in a regular continued fraction are equal to unity we can adopt a sort of shorthand in which the continued fraction shown above is written as

:
\begin{align}
x& = {Link without Title} \
& = {Link without Title}
\end{align}


where, in the second line, a Vinculum is used to mark the repeating block.

If the initial non-repeating block is not present – that is, if

:
x = {Link without Title} ,


the regular continued fraction ''x'' is said to be ''purely periodic''. For example, the regular continued fraction for the Golden Ratio φ – given by – is purely periodic, while the regular continued fraction for the square root of two – [1; 2, 2, 2, … – is periodic, but not purely periodic.


RELATION TO QUADRATIC SURDS


A Quadratic Surd , or quadratic irrational number, is an Irrational real root of the quadratic equation

:
ax^2 + bx + c = 0\,


where the coefficients ''a'', ''b'', and ''c'' are integers, and the Discriminant , ''b''2 − 4''ac'', is greater than zero. By the Quadratic Formula every quadratic surd can be written in the form

:
\zeta = rac{P+\sqrt{D}}{Q}


where ''P'', ''D'', and ''Q'' are integers, ''D'' > 0 is not a perfect square, and ''Q'' divides the quantity ''P''2 − D.

By considering the Complete Quotient s of periodic continued fractions, Euler was able to prove that if ''x'' is a regular periodic continued fraction, then ''x'' is a quadratic irrational number. The proof is straightforward. From the fraction itself, one can construct the quadratic equation with integral coefficients that ''x'' must satisfy.

Legendre proved the converse of Euler's theorem: if ''x'' is a quadratic surd, then the regular continued fraction expansion of ''x'' is periodic. Given a quadratic surd ''x'' one can construct ''m'' different quadratic equations, each with the same discriminant, that relate the successive complete quotients of the regular continued fraction expansion of ''x'' to one another. Since there are only finitely many of these equations (the coefficients are bounded), the complete quotients (and also the partial denominators) in the regular continued fraction that represents ''x'' must eventually repeat.


CONJUGATES AND REDUCED SURDS


The ''conjugate'' η of a quadratic surd

:\zeta = rac{P + \sqrt{D}}{Q}\,

is given by

:\eta = rac{P - \sqrt{D}}{Q}.\,

The quadratic surd ζ is said to be ''reduced'' if ζ > 1 and its conjugate η satisfies the inequalities −1 < η < 0. For instance, the golden ratio φ is a reduced surd because its conjugate ½(1 −√5) is greater than −1 and less than zero. On the other hand, the square root of two is not a reduced surd because its conjugate is less than −1.

Galois proved a fascinating theorem: the regular continued fraction that represents a quadratic surd ζ is purely periodic if and only if ζ is a reduced surd. In fact, Galois showed more than this. He also proved that if ζ is a reduced quadratic surd and η is its conjugate, then the continued fractions for ζ and for (−1/η) are both purely periodic, and the repeating block in one of those continued fractions is the mirror image of the repeating block in the other. In symbols we have

:
\begin{align}
\zeta& = {Link without Title} \ {Link without Title}
rac{-1}{\eta}& = {Link without Title} \,
\end{align}


where ζ is any reduced quadratic surd, and η is its conjugate.

From these two theorems of Galois a result already known to Legendre can easily be deduced. If ''r'' > 1 is a rational number that is not a perfect square, then

:
\sqrt{r} = {Link without Title} .\,


In particular, if ''n'' is any non-square positive integer, the regular continued fraction expansion of √''n'' contains a repeating block of length ''m'', in which the first ''m'' − 1 partial denominators form a Palindromic string.


LENGTH OF THE REPEATING BLOCK


By analyzing the sequence of combinations

:
rac{P_n + \sqrt{D}}{Q_n}


that can possibly arise when ζ = (''P'' + √''D'')/''Q'' is expanded as a regular continued fraction, Lagrange showed that the largest partial denominator ''a''''i'' in the expansion is less than 2√''D'', and that the length of the repeating block is less than 2''D''.

More recently, sharper arguments12 based on the Divisor Function have shown that ''L''(''D''), the length of the repeating block for a quadratic surd of discriminant ''D'', is given by

:
L(D) = \mathcal{O}(\sqrt{D}\ln{D})


where the big ''O'' means "on the order of", or "asymptotically proportional to" (see Big O Notation ).


SEE ALSO



NOTES



REFERENCES