Section 11.1 Finite Continued Fractions
We return to the example of the last chapter. Note that \(\gcd(21, 13) = 1\) since they are consecutive Fibonacci numbers. We have from the last chapter that
We can change this to be in terms of fractions. Note that we have
Substituting up we have that
The above is called a finite continued fraction.
Definition 11.1.1.
A finite continued fraction is a fraction of the form
where \(a_0, a_1,..., a_n\) are real numbers, all of which except possibly \(a_0\) are positive. The numbers \(a_1, a_2,..., a_n\) are the partial quotients of this fraction. Such a fraction is called simple if all the \(a_i\) are integers.
We note that we have
Theorem 11.1.2.
Any rational number can be written as a finite simple continued fraction.
Proof.
Let \(a/b\) with \(b \neq 0\) be a rational number. Using Euclid's algorithm for finding the greatest common divisor we have a system of equations
where \(r_n = \gcd(a, b).\) Writing the system a little differently we have
Substituting up (or down if we wish) we have
This proof also gives us a way to find the simple continued fraction for a rational number.
Example 11.1.3.
Try \(67/24.\) Just use Euclidean algorithm and the above method.
As you may have noticed, writing out a continued fraction takes a lot of space, so we will opt for a more condensed form; that is, write \([a_0; a_1, a_2,..., a_n]\) for the continued fraction. For example, we have
As a consequence of the last chapter we have that the ratios of consecutive Fibonacci numbers all have the form
where the integer \(1\) appears \(n\) times.