Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 7.5.5* (Secondary convergents)
Exercise 7.5.5* (Secondary convergents)
- (a)
- Prove that if lies between and , where the denominators of these rational fractions are positive, and if , then and .
- (b)
-
Let
be an irrational with convergents
. Prove that the sequence
is increasing if is odd, decreasing if is even. If and denote any consecutive pair of this sequence, prove that . The terms of this sequence, except the first and the last, are called the secondary convergents; here runs through all values .
- (c)
- Say that a rational number is a “fair approximation” to if , the minimum being taken over all integers and with . 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 .
- (e)
- Say that an infinite sequence of rational numbers, with limit is an “approximating sequence” to an irrational number if , and if the positive denominators of the are increasing with . Prove that the “fair approximations ” to form an “approximating sequence.”
- (f)
- Let denote the finite sequence of (b) with the first term term deleted, so that has terms, the last term being . Prove that the infinite sequence of rational numbers obtained by first taking the terms of in order, then the terms of , then , then , …, 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 .
Answers
Proof.
- (a)
-
By hypothesis,
and
Suppose that
Note that , thus and .
Since ,
By (1), and , therefore
thus . Since and , we obtain
In the case , exchanging the roles of and , we prove similarly that
(Alternatively, we can use the results on Farey sequences, in particular the result of Problem 6.1.5.)
- (b)
-
Consider the finite sequence
Let, for ,
and
be two consecutive terms in the sequence (2). Then
by Theorem 7.5. Therefore
Since the denominator is positive, the sign of doesn’t depend of , and is positive if is odd, negative if is even.
This shows that the sequence (2) is strictly increasing if is odd, strictly decreasing if 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 (this is not clear in the statement, which says “here runs through all values ”). Since , is not defined, but all other fractions in the sequence of (b) for are defined and some of them may be fair approximations: they are
explicitly
For instance, consider . Then the secondary convergents given by (3) or (4) are
Then is a convergent, and and are fair approximations (but not (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 of , so that
Therefore
For all such that , we have and . Multiplying these two inequalities, we obtain
Hence
so is a fair approximation to . Every good approximation is a fair approximation.
Conversely, consider a fair approximation to , so that
We note first that , otherwise , so , where : this contradicts (6). Therefore (we recall that ).
Moreover , otherwise , so , where : this contradicts (6). So
For clarity, we expose separately the cases and (since is an irrational number, the equality is impossible).
Suppose that . Since the sequence is strictly increasing, with limit ,
Since , there is some odd integer such that
By part (b), since the finite sequence is strictly increasing,
Therefore there exists an odd integer and an integer ( ) such that
Assume, for the sake of contradiction, that . Then
Using part (b), this gives
Moreover, there is an integer such that
Therefore , so , hence
This shows that
By (5) and part (b),
Therefore
where This contradicts (6) and the hypothesis that is a fair approximation to .
We have proved that
so is a convergent or a secondary convergent to .
Suppose that . Since the sequence is strictly decreasing, with limit ,
Since , there is some even integer such that
By part (b), since the finite sequence is strictly decreasing,
and by (3),
Therefore there exists an even integer and an integer ( if , if ) such that
Assume, for the sake of contradiction, that . Then
Using part (b), this gives
Moreover, there is an integer such that
Therefore , so , hence
This shows that
By (11) and part (b),
Therefore
where This contradicts (4) and the hypothesis that is a fair approximation to .
We have proved that
so 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
,
,
is a secondary convergent (see the note in part (c)).
But is not a fair approximation, because .
(It seems experimentally that all other secondary convergent are fair approximations to : to be verified.)
A more interesting example is (see the note of part (c)). Then among the secondary convergents
only and 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
with
is a good approximation by Problem 3, and every good approximation is a fair approximation by part (c).
If and are two distinct fair approximations to , then . Indeed, if , then where . If , then : this is impossible because is irrational. Thus , so .
This allows us to order the set of fair approximations to in a sequence so that
Since is a fair approximation to , the inequality (16) implies that , so the sequence is strictly decreasing.
It remains to show that .
Let be any positive real number. Since , there is some positive integer such that . By the first remark of part (a), is a fair approximation, so there is some positive integer such that , so . Since is a strictly decreasing sequence by (16), for all , . In conclusion,
This shows that
Therefore is an approximating sequence.
- (f)
-
Note: We must take as first element of the sequence
, otherwise the insertion of this element at the beginning gives also an approximating sequence.
We consider the sequence obtained by first taking , then the terms of :
then the terms of ,
and so on.
By part (b), this gives a strictly increasing sequence of terms, all strictly less than . Therefore for all ,
Moreover, since
the sequence of denominators of the is strictly increasing.
Since the sequence is increasing, and for all , this sequence is convergent (to ). Moreover the subsequence has limit . Since every subsequence has limit , we obtain , so
The sequence is an approximating sequence.
We prove that this sequence is maximal. Suppose that we introduce some rational in this sequence, where and for all . Assume, for the sake of contradiction, that this new sequence is also an approximating sequence.
Since and since the sequence of denominators is strictly increasing, is impossible (otherwise ), thus . Therefore, there is some integer and some integer ( such that
Then
thus by part (b),
Moreover
where is an integer, and , so . This gives
Taking together (18) and (19), we obtain
thus , which contradicts (17).
This contradiction shows that is a maximal approximation sequence.
- (g)
-
For this question, there is no element to insert before
, because
,
is not defined. We consider the sequence obtained by first taking the terms of
in order
then the terms of :
and so on.
This gives a strictly decreasing sequence of terms, all strictly greater than . We prove as in part (f) that the sequence is an approximating sequence.
Suppose that we introduce some rational in this sequence, where and for all . Assume, for the sake of contradiction, that this new sequence is also an approximating sequence.
Since and since the sequence of denominators is strictly increasing, is impossible (otherwise ), thus . Therefore, there is some integer and some integer ( such that
The remainder of the proof is similar, so is a maximal approximating sequence.