From Division to Expansion
A finite continued fraction is an expression of the form
where
and
It is usually written compactly as
Finite continued fractions are another way to write rational numbers. They arise directly from the Euclidean algorithm.
First Examples
Consider
This means
Now consider
Then
Thus continued fractions express rational numbers by successive reciprocal operations.
Constructing a Continued Fraction
Let
be a positive rational number. Divide by :
Then
Now apply the same process to
Since the Euclidean algorithm terminates, this process produces a finite continued fraction.
For example,
Next,
so
Then
and
Therefore
Convergents
The successive truncations of a continued fraction are called convergents.
For
the convergents are
and so on.
For example, the continued fraction
has convergents
These convergents are rational approximations to the final value.
Recurrence Relations
Convergents can be computed efficiently by recurrence.
Define
For , set
Then the -th convergent is
These formulas avoid repeatedly simplifying nested fractions.
Determinant Identity
The convergents satisfy the important identity
This implies in particular that
Thus every convergent is already written in lowest terms.
The determinant identity also shows that consecutive convergents are close:
As denominators grow, consecutive convergents become increasingly close.
Uniqueness
Every positive rational number has a finite continued fraction expansion, but there is a minor ambiguity at the end.
For example,
while
Thus
To make the expansion unique, one usually requires the final partial quotient to satisfy
Under this convention, every rational number has a unique finite simple continued fraction.
Relation to the Euclidean Algorithm
Finite continued fractions and the Euclidean algorithm contain the same data.
For
the partial quotients
are exactly the quotients that appear in the Euclidean algorithm applied to and .
Thus continued fractions record the division history of a pair of integers.
This connection explains why continued fractions are so effective in problems involving greatest common divisors, rational approximation, and Diophantine equations.
Arithmetic Meaning
Finite continued fractions give a structured representation of rational numbers. Unlike decimal expansions, they are deeply tied to divisibility.
For example, decimal notation depends on powers of . Continued fractions depend instead on the Euclidean algorithm, and therefore on the intrinsic arithmetic of the numerator and denominator.
This makes continued fractions a natural language for number theory.
Toward Infinite Continued Fractions
Rational numbers give finite continued fractions because the Euclidean algorithm terminates.
Irrational numbers lead to infinite continued fractions. These infinite expansions provide exceptionally good rational approximations and play a central role in the theory of Diophantine approximation.
The finite theory is therefore the gateway to continued fractions for irrational numbers, Pell equations, and quadratic irrationals.