Summary
Today we discussed a variety of topics concerning continued fractions. This included finite and infinite continued fractions, convergents, as well as applications of each.
Finite Continued Fractions
We started out with the following definition:
Definition: An expression of the form
where
is said to be a
and is denoted by
. It is said to be
if
.
An Example:
Suppose we want to express
as a finite simple continued fraction. We begin by applying the division algorithm.
7 = 0*10 + 7
10 = 1*7 + 3
7 = 2*3 + 1
3 = 3*1 + 0
![\dfrac {7}{10} = 0 +\cfrac{1}{1+\cfrac{1}{2+\cfrac{1}{3}}} = [0,1,2,3]](/local--math/inline/acd07fa997a069fdad13668e585390d7.png)
Note that since the division algorithm terminates at 0, there is no need to tack on extra zeroes. Also note that if we tried to have 0 as the last term, we'd have
, which would be bad.
We then proved the following proposition on rational numbers:
Proposition: Let
. Then
iff
is expressible as a finite simple continued fraction.
Proof:
(
): Assume
. Then
for some a,b
with b
. Without loss of generality, we can assume that b>0.
By applying the division algorithm we get:
a = b
(1)
b =
(2)




Where 
We now begin dividing both sides of (1) by b to get:

Next, divide both sides of (2) by 

Continuing this process results in the following:


Substituting the expression for b/
into (1), we get:

Continuing in this manner yields:

as desired.
: Let
be expressible as a finite simple continued fraction,
where
. We'll prove our claim by induction on n.
: If n=0 we have

: Assume that k
1 and that the desired result holds for n=k. That is, any finite simple continued fraction of length k+1 is a rational number. We'll show that it holds for n = k+1. Consider the finite simple continued fraction
, where
.
![[a_0, a_1, \cdots, a_{k+1}] = a_0 + \dfrac{1}{[a_1, a_2, \cdots, a_{k+1}]}](/local--math/inline/5b600ca9036352790c6c1c13e7f94c0f.png)
By the inductive hypothesis,
so
for some
Then
as desired. 
We note that the finite simple continued fraction representation of a number is not unique by example:
= [5,4,1,2] = [5,4,1,1,1]. (This is easily verified.)
In fact, for any
if
then we can write
as
. And if
then
.
Convergents
Next, we talked about convergents, which brings us to the following definition:
Definition: Let
be a finite continued fraction. The finite continued fraction
is said to be the ith
of
.
Example:
Let
= [3,1,4,1]. Then the four convergents of
are:
= [3] = 3
![C_1 = [3,1] = 3 +\dfrac{1}{1} =4](/local--math/inline/08c28c7221c7473dec2aa9c9d8be30d1.png)
![C_2 = [3,1,4] = 3 +\cfrac{1}{1+\cfrac{1}{4}} = \dfrac{19}{5}](/local--math/inline/4e8e806c31306c67befe0d590c488ef6.png)
![C_3 = [3,1,4,1] = 3 +\cfrac{1}{1+\cfrac{1}{4+\cfrac{1}{1}}} = \dfrac{23}{6}](/local--math/inline/414bf89fb3ea3d67e9323fce37abeac5.png)
We note that the reason why convergents are named as such is because each convergent comes closer to approximating
than the next. That is, they "converge" to
.
Infinite Continued Fractions
So far, we know that rational numbers are expressible as finite continued fractions. But an interested student might wonder if continued fractions serve any other purpose. And that motivates the next proposition:
Proposition: Let
and let
Then
exists and is said to be the value of the
![]()
is the ith convergent of this infinite simple continued fraction. (Due to lack of time, we will not be proving this, but this particular proof begins on page 203 of the textbook.)
Proposition: Let
Then
iff
is expressible as an infinite simple continued fraction.
We note that this means that all real numbers are expressible as simple continued fractions!
Another Proposition: Let
. Then the expression of
as an infinite simple continued fraction is unique.
Next we explained the process for finding the simple infinite continued fraction for an irrational number
by the following recurrence relation:
Let 
.
and
.
Example:
Find the infinite simple continued fraction expansion of
:






So that the infinite simple continued fraction of
is [2,1,2,1,1,
] with no repeating pattern.
We had to introduce some more notation for this next proposition:
If
is the ith convergent of
then
. Where
are defined by recurrence relations given in the text, but since we will not explicitly be using them, we will not define them here.
Proposition: Let
and let
, i =0,1,2,
, be the convergents of the infinite simple continued fraction expansion of
. If
and
, then
Corollary: Let
and let
, i = 0,1,2,
, be the convergents of the infinite simple continued fraction expansion of
. If
and
, then
So what does all this really mean? Given an irrational number
the convergents of the infinite simple continued fraction expression of
give a sequence of the best rational approximations to
. That is, the ith convergent
of
is the closest rational number to
among all rational numbers with positive denominator
or less. We'll illustrate this with an example:
Example:
The tenth convergent of
is
. Thus, no rational number with a denominator less than or equal to 1001 comes closer to
than
. And, any rational approximation closer to
must have a denominator greater than 1001.
Some Extras:
Now that we know that we can express any real number as a continued fraction, one might wonder if there are any properties of continued fractions worth nothing.
Definition: Let
and let
be the expression of
as an infinite simple continued fraction. If there exist
such that
for all n
N, then
is said to be
.
Definition: Let
. Then
is said to be a
if
is a root of a quadratic polynomial
with
and
.
Example:
So an obvious eventually periodic fraction is [1,1,1,1
]. And this proves to be a more interesting example than one might think.
To see this, we'll let
![x =[\bar{1}] = 1+\cfrac{1}{1+\cfrac{1}{1 + \cfrac{1}{1}\dots}}](/local--math/inline/6a1893d7e84c4d3a25cbd6909ccf8ece.png)
Then,

Now,
= x.
So we're left with the equation 
Solving for x yields x =
, better known to some as the golden ratio!
This brings us to our final theorem.
Theorem: Let
. Then the expression of
as an infinite simple continued fraction is eventually periodic iff
is a quadratic irrational number.
And here's one last neat example.
Example:
Find the quadratic irrational number represented by the eventually periodic infinite simple continued fraction (what a mouthful!)
.
We first find the quadratic irrational number represented by the periodic infinite simple continued fraction
. We can cleverly write this as:
so that
.
And simplifying this equations yields
.
So now we can write ![[3,\overline{2,1}] = [3,\alpha] = [3,1+\sqrt{3}]](/local--math/inline/d37141055b759dcfc3310ca2a3afbfbe.png)
and so ![[3,\overline{2,1}] = \frac{5+\sqrt{3}}{2}.](/local--math/inline/54eee38491b7d53d4f3fd9eef0ac434a.png)






where
is said to be a
and is denoted by
. It is said to be
if
.
. Then
is said to be the ith
of
and let
Then
exists and is said to be the value of the
is the ith convergent of this infinite simple continued fraction. (Due to lack of time, we will not be proving this, but this particular proof begins on page 203 of the textbook.)
Then
iff
. Then the expression of
and
, then 
, then 
be the expression of
such that
for all n
.
if
with
and
.