for some fixed positive integer and all sufficiently large . We call the minimal such the period of the continued fraction.
so if then
Thus , so
is a periodic continued fraction. Set . Then
so by Proposition 5.1.5
Here we use that is the last partial quotient. Thus, satisfies a quadratic equation with coefficients in . Computing as in Example 5.4.4 and rationalizing the denominators, and using that the are all integers, shows that
The continued fraction procedure
applied to the value of an infinite simple continued fraction
yields that continued fraction back, so
by Proposition 5.2.12,
because it is the
value of an infinite continued fraction.
( ) Suppose is an irrational number that satisfies a quadratic equation
so
We will prove periodicity by showing that the set of 's is finite. If we have shown finiteness, then there exists such that , so
It remains to show there are only finitely many distinct . We have
Substituting this expression for into the quadratic equation (5.4.1), we see that
where
and | ||
Recall from the proof of Theorem 5.2.10 that
Thus
so
Hence
Thus there are only finitely many possibilities for the integer . Also,
so there are only finitely many triples , and hence only finitely many possibilities for as varies, which completes the proof. (The proof above closely follows [#!hardywright!#, Thm. 177, pg.144-145].)
William 2007-06-01