Proof. Let
be irrational numbers satisfying
, and
We write
the convergents of
, and
the convergents of
.
By hypothesis,
and
have identical convergents up to rank
, so
. Since these fractions are in lowest terms,
Then Problem 2 shows that
Since
, we obtain
therefore
, so
.
Reasoning by induction, suppose that
for some
. Then, for all
,
Therefore
, where these fractions are in lowest terms, so
By Theorem 7.10 and Theorem 7.3,
and similar equalities for
and
, so
Using (1) and (3), this gives
Consider the homographic function
so that (5) becomes
Then for all
,
, so
is strictly monotonic on
. Then
Since
,
by (2), thus
Therefore, (7) implies
In both cases,
. The induction is done, which proves that
for all
.
Then, for all
,
so
also has the same convergents as
and
up to
. □