Section 11.2 Convergents
Definition 11.2.1.
The continued fraction made by cutting off \([a_0; a_1,..., a_n]\) after the \(k\)th partial quotient \(a_k\) is called the \(k\)th convergent of the continued fraction and denoted by \(C_k.\) By convention, we denote the zeroth convergent by \(C_0 = a_0.\)
Example 11.2.2.
Note that we have \(19/51 = [0; 2, 1, 2, 6].\) The convergents are
Note that until we get to \(C_4\) the convergents are alternatively greater than and less than \(19/51.\)
We can make things a little easier by creating a recurrence for the numerators and denominators of the convergents. We have the following theorem.
Definition 11.2.3.
Define the numbers \(p_k\) and \(q_k \hspace{2mm} (k = 0, 1,..., n)\) by \(p_0 = a_0, q_0 = 1, p_1 = a_1a_0 + 1, q_1 = a_1,\) and for \(k = 2, 3,..., n\) we have
Theorem 11.2.4.
If \(C_k\) is the \(k\)th convergent of the simple continued fraction \([a_0; a_1, a_2,..., a_n],\) then for \(0\leq k\leq n\) we have
Proof.
The above example motivates us to start with computing the first few convergents based on the definitions. We have
Now suppose that the theorem is true for \(k = m\) where \(2\leq m \lt n.\) So we have
Note that the integers \(p_{m-1}, q_{m-1}, p_{m-2},\) and \(q_{m-2}\) depend on the first \(m-1\) partial denominators \(a_1, a_2,..., a_{m-1}\) and hence, are independent of \(a_m.\) Thus in the above equation for \(C_m\) we can replace \(a_m\) by \(a_m + \frac{1}{a_{m+1}}\) to get
This proves the theorem.
Theorem 11.2.5.
If \(C_k = p_k/q_k\) is the \(k\)th convergent of the finite simple continued fraction \([a_0; a_1,..., a_n],\) then
Proof.
Again we use induction. When \(k = 1,\) we have
Now suppose that the theorem holds for \(k = m\) where \(1\leq m\lt n.\) Then
Thus by induction the theorem is valid for all \(k\) with \(1\leq k \leq n.\)
We have the following corollary.
Corollary 11.2.6.
For \(1 \leq k \leq n,\) we have \(\gcd(p_k, q_k) = 1.\)
Proof.
We use the previous theorem. If \(d = \gcd(p_k, q_k)\) then \(d\vert (-1)^{k-1}.\) Since \(d \gt 0\) we have that \(d = 1.\)