Exercise 7.5.5* (Secondary convergents)

(a)
Prove that if r s lies between a b and c d , where the denominators of these rational fractions are positive, and if ad bc = ± 1 , then s > b and s > d .
(b)
Let ξ be an irrational with convergents ( h n k n ) . Prove that the sequence h n 1 k n 1 , h n 1 + h n k n 1 + k n , h n 1 + 2 h n k n 1 + 2 k n , , h n 1 + a n + 1 h n k n 1 + a n + 1 k n = h n + 1 k n + 1

is increasing if n is odd, decreasing if n is even. If a b and c d denote any consecutive pair of this sequence, prove that ad bc = ± 1 . The terms of this sequence, except the first and the last, are called the secondary convergents; here n runs through all values 1 , 2 , .

(c)
Say that a rational number a b is a “fair approximation” to ξ if | ξ a b | = min | ξ x y | , the minimum being taken over all integers x and y with 0 < y b . Prove that every good approximation is a fair approximation. Prove that every fair approximation is either a convergent or a secondary convergent to ξ .
(d)
Prove that not every secondary convergent is a ”fair approximation”. Suggestion: Consider ξ = 2 .
(e)
Say that an infinite sequence of rational numbers, r 1 , r 2 , r 3 , with limit ξ is an “approximating sequence” to an irrational number ξ if | ξ r j + 1 | < | ξ r j | , j = 1 , 2 , 3 , , and if the positive denominators of the r j are increasing with j . Prove that the “fair approximations ” to ξ form an “approximating sequence.”
(f)
Let S n 1 denote the finite sequence of (b) with the first term term deleted, so that S n 1 has a n + 1 terms, the last term being h n + 1 k n + 1 . Prove that the infinite sequence of rational numbers obtained by first taking the terms of S 0 in order, then the terms of S 2 , then S 4 , then S 6 , …, is also an “approximating sequence” to ξ . Prove also that this sequence is maximal in the sense that if any other rational number < ξ is introduced into the sequence as a new member, we no longer have an approximating sequence.
(g)
Establish analogous properties for the sequence obtained by taking the terms of S 1 , S 1 , S 3 , S 5 , .

Answers

Proof.

(a)
By hypothesis, ad bc = ± 1 , b > 0 , d > 0 , s > 0 .

and

a b < r s < c d , or c d < r s < a b

Suppose that

a b < r s < c d (1)

Note that ad bc < 0 , thus ad bc = 1 and bc ad = 1 .

Since bc ad = 1 ,

1 bd = c d a b = ( c d r s ) + ( r s a b ) = cs rd ds + rb sa sb .

By (1), cs rd > 0 and rb sa > 0 , therefore

1 bd 1 ds + 1 sb = b + d bds ,

thus s b + d . Since b > 0 and d > 0 , we obtain

s > b , s > d .

In the case c d < r s < a b , exchanging the roles of a b and c d , we prove similarly that s > b , s > d .

(Alternatively, we can use the results on Farey sequences, in particular the result of Problem 6.1.5.)

(b)

Consider the finite sequence

h n 1 k n 1 , h n 1 + h n k n 1 + k n , h n 1 + 2 h n k n 1 + 2 k n , , h n 1 + a n + 1 h n k n 1 + a n + 1 k n = h n + 1 k n + 1 . (2)

Let, for 0 j < a n + 1 ,

a b = h n 1 + j h n k n 1 + j k n ,

and

c d = h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n ,

be two consecutive terms in the sequence (2). Then

ad bc = ( h n 1 + j h n ) ( k n 1 + ( j + 1 ) k n ) ( k n 1 + j k n ) ( h n 1 + ( j + 1 ) h n ) = ( h n 1 + j h n ) k n ( k n 1 + j k n ) h n = h n 1 k n k n 1 h n = ( 1 ) n

by Theorem 7.5. Therefore

c d a b = ( 1 ) n + 1 ( k n 1 + j k n ) ( k n 1 + ( j + 1 ) k n ) ,

Since the denominator is positive, the sign of c d a b doesn’t depend of j , and is positive if n is odd, negative if n is even.

This shows that the sequence (2) is strictly increasing if n is odd, strictly decreasing if n is even.

(c)
(I used Khinchin “Continued Fractions”, p. 22,23 to write the solution of this question.)

Important note : In the definition of secondary convergent, we must consider also the value n = 0 (this is not clear in the statement, which says “here n runs through all values 1 , 2 , ”). Since k 1 = 0 , h 1 k 1 is not defined, but all other fractions in the sequence of (b) for n = 0 are defined and some of them may be fair approximations: they are

h 1 + h 0 k 1 + k 0 > h 1 + 2 h 0 k 1 + 2 k 0 > > h 1 + a 1 h 0 k 1 + a 1 k 0 = h 1 k 1 , (3)

explicitly

a 0 + 1 > a 0 + 1 2 > > a 0 + 1 a 1 = h 1 k 1 . (4)

For instance, consider 10 = 3 , 6 , 6 , 6 , 6 , , . Then the secondary convergents given by (3) or (4) are

4 > 7 2 > 10 3 > 13 4 > 16 5 ( > 19 6 = h 1 k 1 ) .

Then 19 6 is a convergent, and 13 4 and 16 5 are fair approximations (but not 4 , 7 2 , 10 3 (see part (d) for the verifications). So it is essential to consider these fractions as secondary convergents. (End of the note.)

Consider a good approximation a b of ξ , so that

| ξb a | = min ( x , y ) 2 , 0 < y k n | ξy x | .

Therefore

x , y ] ] 0 , b ] ] , | ξb a | | ξy x | . (5)

For all y such that 0 < y b , we have 0 < 1 b 1 y and | ξb a | | ξy x | . Multiplying these two inequalities, we obtain

x , y ] ] 0 , b ] ] , | ξ a b | | ξ x y | .

Hence

| ξ a b | = min ( x , y ) 2 , 0 < y b | ξ x y | ,

so a b is a fair approximation to ξ . Every good approximation is a fair approximation.

Conversely, consider a fair approximation a b to ξ , so that

x , y ] ] 0 , b ] ] , | ξ a b | | ξ x y | . (6)

We note first that a b a 0 , otherwise a b < a 0 < ξ , so | ξ a 0 1 | < | ξ a b | , where b 1 : this contradicts (6). Therefore a b a 0 = r 0 (we recall that r n = h n k n ).

Moreover a b a 0 + 1 , otherwise ξ < a 0 + 1 < a b , so | ξ a 0 + 1 1 | < | ξ a b | , where b 1 : this contradicts (6). So

a 0 a b a 0 + 1 .

For clarity, we expose separately the cases a b < ξ and a b > ξ (since ξ is an irrational number, the equality ξ = a b is impossible).

Suppose that a b < ξ . Since the sequence ( r 2 l ) l is strictly increasing, with limit ξ ,

[ a 0 , ξ [ = l [ r 2 l , r 2 l + 2 [ = k [ h 2 l k 2 l , h 2 l + 2 k 2 l + 2 [ .

Since a b [ a 0 , ξ [ , there is some odd integer n = 2 l + 1 such that

a b [ h n 1 k n 1 , h n + 1 k n + 1 [ .

By part (b), since the finite sequence ( h n 1 + j h n k n 1 + j k n ) 0 j a n + 1 is strictly increasing,

[ h n 1 k n 1 , h n + 1 k n + 1 [ = 0 j a n + 1 1 [ h n 1 + j h n k n 1 + j k n , h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n [ .

Therefore there exists an odd integer n 1 and an integer j ( 0 j < a n + 1 ) such that

h n 1 + j h n k n 1 + j k n a b < h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n . (7)

Assume, for the sake of contradiction, that h n 1 + j h n k n 1 + j k n a b . Then

0 < a b h n 1 + j h n k n 1 + j k n < h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n h n 1 + j h n k n 1 + j k n . (8)

Using part (b), this gives

0 < a b h n 1 + j h n k n 1 + j k n < 1 ( k n 1 + j k n ) ( k n 1 + ( j + 1 ) k n ) (9)

Moreover, there is an integer m such that

0 < a b h n 1 + j h n k n 1 + j k n = m b ( k n 1 + j k n ) .

Therefore m > 0 , so m 1 , hence

1 b ( k n 1 + j k n ) a b h n 1 + j h n k n 1 + j k n < 1 ( k n 1 + j k n ) ( k n 1 + ( j + 1 ) k n ) .

This shows that

b > k n 1 + ( j + 1 ) k n .

By (5) and part (b),

h n 1 + j h n k n 1 + j k n a b < h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n < h n + 1 k n + 1 < ξ . (10)

Therefore

| ξ h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n | < | ξ a b | ,

where b > k n 1 + ( j + 1 ) k n . This contradicts (6) and the hypothesis that a b is a fair approximation to ξ .

We have proved that

a b = h n 1 + j h n k n 1 + j k n ( n 1 , 0 j < a k ) ,

so a b is a convergent or a secondary convergent to ξ .

Suppose that a b > ξ . Since the sequence ( r 2 l + 1 ) l is strictly decreasing, with limit ξ ,

] ξ , a 0 + 1 ] = ( l ] r 2 l + 3 , r 2 l + 1 ] ) ] r 1 , a 0 + 1 ] .

Since a b ] ξ , a 0 + 1 ] , there is some even integer n = 2 l + 2 such that

a b ] h n + 1 k n + 1 , h n 1 k n 1 ]  or  a b ] r 1 , a 0 + 1 ] .

By part (b), since the finite sequence ( h n 1 + j h n k n 1 + j k n ) 1 j a n + 1 is strictly decreasing,

] h n + 1 k n + 1 , h n 1 k n 1 ] = 0 j a k 1 ] h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n , h n 1 + j h n k n 1 + j k n ] ,

and by (3),

] r 1 , a 0 + 1 ] = ] h 1 k 1 , h 1 + h 0 k 1 + k 0 ] = 1 j a 1 1 ] h 1 + ( j + 1 ) h 0 k 1 + ( j + 1 ) k 0 , h 1 + j h 0 k n 1 + j k n ] .

Therefore there exists an even integer n 0 and an integer j ( 0 j < a n + 1 if n > 0 , 1 j < a 1 if n = 0 ) such that

h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n < a b h n 1 + j h n k n 1 + j k n . (11)

Assume, for the sake of contradiction, that h n 1 + j h n k n 1 + j k n a b . Then

0 < | a b h n 1 + j h n k n 1 + j k n | < | h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n h n 1 + j h n k n 1 + j k n | . (12)

Using part (b), this gives

0 < | a b h n 1 + j h n k n 1 + j k n | < 1 ( k n 1 + j k n ) ( k n 1 + ( j + 1 ) k n ) (13)

Moreover, there is an integer m such that

0 < | a b h n 1 + j h n k n 1 + j k n | = m b ( k n 1 + j k n ) .

Therefore m > 0 , so m 1 , hence

1 b ( k n 1 + j k n ) | a b h n 1 + j h n k n 1 + j k n | < 1 ( k n 1 + j k n ) ( k n 1 + ( j + 1 ) k n ) .

This shows that

b > k n 1 + ( j + 1 ) k n .

By (11) and part (b),

ξ < h n + 1 k n + 1 h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n < a b h n 1 + j h n k n 1 + j k n . (14) (15)

Therefore

| ξ h n 1 + ( j + 1 ) h n k n 1 + ( j + 1 ) k n | < | ξ a b | ,

where b > k n 1 + ( j + 1 ) k n . This contradicts (4) and the hypothesis that a b is a fair approximation to ξ .

We have proved that

a b = h n 1 + j h n k n 1 + j k n ,

so a b is a convergent or a secondary convergent to ξ (in the sense given in the note).

Every fair approximation is either a convergent or a secondary convergent to ξ .

(d)
If ξ = 2 , h 0 = a 0 = ξ = 1 , 2 = a 0 + 1 1 = h 1 + h 0 k 1 + k 0 is a secondary convergent (see the note in part (c)).

But a 0 + 1 1 = 2 is not a fair approximation, because | 2 1 1 | < | 2 2 1 | .

(It seems experimentally that all other secondary convergent are fair approximations to 2 : to be verified.)

A more interesting example is 10 (see the note of part (c)). Then among the secondary convergents

4 > 7 2 > 10 3 > 13 4 > 16 5 ( > 19 6 = h 1 k 1 ) ,

only 13 4 and 16 5 are fair approximations.

With Sagemath,

     def is_fair_approximation(xi, f):
         a0 = int(xi)
         a, b = f.numer(), f.denom()
         test = true
         for y in range(1, b+1):
             for x in range(a0 * y, a0 * y + y + 1):
                 if abs(xi - f) > abs(xi -x/y):
                     test = false
         return test
     
     cvg = continued_fraction(sqrt(10)); cvg
              [3; 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, ...]
     
     l = [cvg.convergent(i) for i in range(6)]; l
              [3, 19/6, 117/37, 721/228, 4443/1405, 27379/8658]
     
     secondary = [3 + 1/i for i in range(1,7)]; secondary
     
     for f in secondary:
         print(f, is_fair_approximation(sqrt(10), f))
     
             
         (4, False)
         (7/2, False)
         (10/3, False)
         (13/4, True)
         (16/5, True)
         (19/6, True)

(e)
The set of fair approximations of ξ is an infinite set, since every convergent h n k n with n 1 is a good approximation by Problem 3, and every good approximation is a fair approximation by part (c).

If a b and c d are two distinct fair approximations to ξ , then | ξ a b | | ξ c d | . Indeed, if | ξ a b | = | ξ c d | , then ξ a b = 𝜀 ( ξ c d ) where 𝜀 = ± 1 . If 𝜀 = 1 , then ξ = ( 1 2 ) ( a b + c d ) : this is impossible because ξ is irrational. Thus 𝜀 = 1 , so a b = c d .

This allows us to order the set of fair approximations to ξ in a sequence r 1 , r 2 , r 3 , so that

| ξ r j + 1 | < | ξ r j | , j . (16)

Since r j is a fair approximation to ξ , the inequality (16) implies that r j + 1 > r j , so the sequence ( | ξ r j | ) j is strictly decreasing.

It remains to show that lim j r j = ξ .

Let 𝜀 be any positive real number. Since lim n h n k n = ξ , there is some positive integer N such that | ξ h N k N | < 𝜀 . By the first remark of part (a), h N k N is a fair approximation, so there is some positive integer J such that r J = h N k N , so | ξ r J | < 𝜀 | . Since ( | ξ r j | ) j is a strictly decreasing sequence by (16), for all j , j J | ξ r j | < | ξ r J | < 𝜀 . In conclusion,

𝜀 > 0 , J , j , j J | ξ r j | < 𝜀 .

This shows that

lim j r j = ξ .

Therefore ( r j ) j is an approximating sequence.

(f)
Note: We must take as first element of the sequence h 0 k 0 = a 0 , otherwise the insertion of this element at the beginning gives also an approximating sequence.

We consider the sequence obtained by first taking r 0 = h 0 k 0 , then the terms of S 1 :

r 1 = h 0 + h 1 k 0 + k 1 < h 0 + 2 h 1 k 0 + 2 k 1 < < h 0 + a 2 h 1 k 0 + a 2 k 1 = h 2 k 2 ,

then the terms of S 2 ,

h 2 + h 3 k 2 + k 3 < h 2 + 2 h 3 k 2 + 2 k 3 < < h 2 + a 4 h 3 k 2 + a 4 k 3 = h 4 k 4 ,

and so on.

By part (b), this gives a strictly increasing sequence of terms, all strictly less than ξ . Therefore for all j 0 ,

| ξ r j + 1 | = ξ r j + 1 < ξ r j = | ξ r j | .

Moreover, since

k 0 < k 0 + k 1 < < k 0 + a 2 k 1 = k 2 < k 2 + k 3 < k 2 + a 4 k 2 = k 4 < ,

the sequence of denominators of the r j is strictly increasing.

Since the sequence ( r j ) j is increasing, and r j < ξ for all j , this sequence is convergent (to l ξ ). Moreover the subsequence ( h n k n ) has limit ξ . Since every subsequence has limit l , we obtain l = ξ , so

lim j r j = ξ .

The sequence ( r j ) j is an approximating sequence.

We prove that this sequence is maximal. Suppose that we introduce some rational α = p q ( q > 0 ) in this sequence, where α < ξ and α r j for all j . Assume, for the sake of contradiction, that this new sequence is also an approximating sequence.

Since r 0 = a 0 1 and since the sequence of denominators is strictly increasing, p q < a 0 is impossible (otherwise 0 < q < 1 ), thus a 0 = h 0 k 0 < α < ξ . Therefore, there is some integer n 0 and some integer j ( 0 j < a n + 2 ) such that

h n + j h n + 1 k n + j k n + 1 < p q < h n + ( j + 1 ) h n + 1 k n + ( j + 1 ) k n + 1 , k n + j k n + 1 < q < k n + ( j + 1 ) k n + 1 . (17)

Then

0 < p q h n + j h n + 1 k n + j k n + 1 < h n + ( j + 1 ) h n + 1 k n + ( j + 1 ) k n + 1 h n + j h n + 1 k n + j k n + 1 ,

thus by part (b),

0 < p q h n + j h n + 1 k n + j k n + 1 1 ( k n + j k n + 1 ) ( k n + ( j + 1 ) k n + 1 ) . (18)

Moreover

p q h n + j h n + 1 k n + j k n + 1 = m q ( k n + j k n + 1 ) ,

where m is an integer, and m > 0 , so m 1 . This gives

p q h n + j h n + 1 k n + j k n + 1 1 q ( k n + j k n + 1 ) . (19)

Taking together (18) and (19), we obtain

1 q ( k n + j k n + 1 ) 1 ( k n + j k n + 1 ) ( k n + ( j + 1 ) k n + 1 ) , (20)

thus q k n + ( j + 1 ) k n + 1 ) , which contradicts (17).

This contradiction shows that ( r j ) j is a maximal approximation sequence.

(g)
For this question, there is no element to insert before S 1 , because k 1 = 0 , h 1 k 1 is not defined. We consider the sequence obtained by first taking the terms of S 1 in order r 1 = a 0 + 1 = h 1 + h 0 k 1 + k 0 > h 1 + 2 h 0 k 1 + 2 k 0 > > h 1 + a 1 h 0 k 0 + a 1 k 0 = h 1 k 1 ,

then the terms of S 1 :

h 1 + h 2 k 1 + k 2 > h 1 + 2 h 2 k 1 + 2 k 2 > > h 1 + a 3 h 2 k 1 + a 3 k 2 = h 3 k 3 ,

and so on.

This gives a strictly decreasing sequence of terms, all strictly greater than ξ . We prove as in part (f) that the sequence ( r j ) j is an approximating sequence.

Suppose that we introduce some rational α = p q ( q > 0 ) in this sequence, where α > ξ and α r j for all j . Assume, for the sake of contradiction, that this new sequence is also an approximating sequence.

Since r 1 = ( a 0 + 1 ) 1 and since the sequence of denominators is strictly increasing, p q > a 0 + 1 is impossible (otherwise 0 < q < 1 ), thus ξ < α < a 0 + 1 . Therefore, there is some integer n 0 and some integer j ( 0 j < a n + 2 ) such that

h n + j h n + 1 k n + j k n + 1 > p q > h n + ( j + 1 ) h n + 1 k n + ( j + 1 ) k n + 1 , k n + j k n + 1 < q < k n + ( j + 1 ) k n + 1 . (21)

The remainder of the proof is similar, so ( r j ) j is a maximal approximating sequence.

User profile picture
2025-08-05 09:32
Comments