J
OURNAL DE
T
HÉORIE DES
N
OMBRES DE
B
ORDEAUX
D
OMINIQUE
B
ARBOLOSI
H
ENDRIK
J
AGER
On a theorem of Legendre in the theory of
continued fractions
Journal de Théorie des Nombres de Bordeaux, tome
6, n
o1 (1994),
p. 81-94
<http://www.numdam.org/item?id=JTNB_1994__6_1_81_0>
© Université Bordeaux 1, 1994, tous droits réservés.
L’accès aux archives de la revue « Journal de Théorie des Nombres de Bordeaux » (http://jtnb.cedram.org/) implique l’accord avec les condi-tions générales d’utilisation (http://www.numdam.org/conditions). Toute uti-lisation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit conte-nir la présente mention de copyright.
Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques
On
aTheorem
of
Legendre
in
the
theory
of continued fractions
by
DOMINIQUE
BARBOLOSI and HENDRIK JAGER1. Introduction
Let r be a rational
number,
r = withA,
B EZ,
B ~
0. We shallalways
assume that(A, B)
= 1 and that B > 0. A rational numberA/ B
has two
representations
as a continued fraction:- if
B ~
1,
thenand
If the continued fraction
expansion
ofA/.B
is determinedby
theEu-clidean
algorithm,
the outcome is theexpansion
( 1.1 ),
i.e. the shortest one.In this note we consider the shortest
expansion
as the most natural one, wecall it the
regular
continued fractionexpansion
ofA/B.
Theregular
con-tinued
fractionexpansion
of an irrationalnumber ~
is infinite andunique.
We shall denote it
by
Let
be the sequence of
corresponding
convergents,
also denotedby
RCF(~).
Hence E
RCF(~)
means that there exists aninteger n, n >-
-1,
suchthat A 1 -1
(1.3)
DEFINITION. Theappro2zrnation
coefficients of
a rational numberA/B
a4threspect
to a real irrationalnumber ~,
notation0(~,
A/B),
isde-fined by
- - - --- m - m - - mIn his "Essai sur la théorie des
nombres",
[13],
pp.27-29,
Legendre
gives
a necessary and sufficient condition for a rational numberA/B
tobe a convergent of the irrational number
C.
This necessary and sufficientcondition is
expressed,
in modernnotation, by
(2.4)
and(2.6)
of the nextsection of this note.
Legendre
concludes theparagraph
on the criterionby
remarking
that inparticular
it follows that:In the
theory
of continuedfractions,
(1.4)
is often calledLegendre’s
Theo-rem.
The
following implication
is almost trivialThe
constants -1
and 1 are both bestpossible.
For theconstant 2
in(1.4)
this means that for every e > 0 there exista ~
andan A
such that0(~,
~)
2 + E
and -A 0
RCF(~).
Similarly
for the 1 in~1.5).
In this note we shall add some refinements to
Legendre’s
reasoning
and thus find a more detailed version of(1.4).
We shall alsoshow
that onecan prove in the same way a result announced
by
Fatou in1904,
as wellas the
analogues
ofLegendre’s
Theorem for two othertypes
of continued2.
Legendre’s
criterionWe shall from now on assume
that ~
andA/B
are contained in the unitinterval,
thisbeing
no restriction. Hence the ao in(1.1)
and theao(ç)
in(1.2)
are both zero. Let n E N and(ai,
a2,... ,an) E
Nn . Then we denotethe set of irrational
numbers C
with theproperty
thatby
Such a set is called a
fundamental
intervalof
order n, see[2]
p. 42.(2.1 )
DEFINITIONS. Thesignature
e(A/B)
of
a rational nurriberA/B,
isdefined
asA A
urith the n taken
from
theregular
expansion
(1.1).
This n is sometimes called thedepth
of
the rational numbersA/B.
F’urther we
define
Finally,
thesignature
of
a mtional numberA/B
withrespect
to an irrationalnotatiort
b(~, A/B),
isdefined by
Hence
b(~, A/B)
is determinedby
thedepth
ofA/B
and the orderof ~
andA/B.
We shall now formulate a more detailed version ofLegendre’s
Theorem
(1.4),
in which a distinction is made between6(C,
A/B) _
+1 andb(C, AIB)
= -1.(2.2)
THEOREM. LetAlE
be a rationalnumber,
(A,
B)
=1,
B > 0 andand
If
on the other hand6(~,~) =
-1,
thenand
All constants are best
possible.
(2.3)
Proof
Let the
regular
expansion
ofA/B
begiven
by
(1.1)
and suppose that nis even. Denote
by A’/B’
the last but oneconvergent
of(1.1).
The set ofall ~ with ~
>A/B,
i.e. with6(ç,AIB)
=1,
and withAIB
ERCF(ç)
isjust
the fundamental
interval.of order n, i.e. the set
Hence
Now
and thus
Since
the assertions are now evident.
Let ~
A
(and n
still beeven).
Then the set ofall ~
with A
ERCF(C)
is the fundamental interval of order n + 1 :
- ....
which has
length
B-1(2B -
B’)-l.
Instead of(2.4)
we now haveand the assertions follow in this case,
using
again
(2.5),
from- . ’1 ’1 -
-respectively.
The
proof
for the case where n is odd is almost the same; therefore we omit it here. We see that the constant1/2
inLegendre’s
Theorem is due tora-tional numbers
A/B
withb(~, A/B) _ -1
and with a verylarge
lastpartial
quotient
an -+
3. A metrical observation
(3.1 )
DEFINITION. The sequenceof
regular
continuedfraction
approxima-tion
coefficients of
a real irrationalnumber ~
isdefined by
For almost
all-in
the sense ofLebesgue,
the sequence isdis-tributed in the unit interval
according
to the functionF,
where( 1 - 1
see
[3].
Theirregular
behaviour of F at A =1/2
can beexplained
by
theconstant
1/2
inLegendre’s
Theorem(1.4),
see[6].
In view of Theorem(2.2)
one may askwhy
F does not have anirregularity
at A =2/3.
Theanswer is
given
by
the next theorem which shows that there are in fact two(3.3)
THEOREM. For almostall ~
one haswith
and
with
(3.4)
Proof
From the
alternating
way in which the sequence converges to~
and from the fact that in the definition ofe(~,
9. (t) )
the n is taken from the shortestexpansion
of~~
as a continuedfraction,
it follows thatand that
After this remark the
proof
can begiven
using
the sametechniques
with4. Extreme mediants and the Theorems of Fatou-Grace and Koksma
DEFINITION. Ttae sequence
of
mediantsof
a real irrationalnumber ~
is thesequences
of
irreduciblefractions of
thefrom
ordered in such a way that the denominators
form
anascending
sequence,compare
f9J
p. 26. Thefractions
in(4.~)
formed
with b = 1 are called thefirst
mediantsof ~,
those with b =o~-i(~) 2013 1
the last mediantsof £.
Thefirst
and the last mediants are called extreme or nearest mediants. Afirst
mediant is also a last oneif
andonly if
thecorresponding partial
quotient
equals
2.In
1904,
P. Fatou stated that if6(~,A/J5)
1,
thenA/B
is either aconvergent or an extreme mediant
of ~,
[4].
The first one topublish
aproof
of this was J. H. Grace
[5],
see also Koksma[10]
and[11].
We will therefore,refer
to this result as theTheorem
of Fatou-Grace. Koksma[11]
showedthat
B(~, A/B)
2/3
implies
that is either aconvergent
or a firstmediant
of ~.
We will now prove more detailed versions of these resultsby
the method from section 2.
(4.3)
THEOREM. Let be a rational(A, B)
=1,
B > 0 andlet ~
be an irrational number.-
~)
=1,
then B is
nota first
mediantoff..
8(~,
B)
1 aconvergent
or afirst
mediantofç,
and
B(~,
B )
> 2 ~ neither aconvergerit
nor afirst
mediantBoth constants 1 and 2 are best
possible.
Theorems
(2.2)
and(4.3)
yield
at once thefollowing
result of Koksma([10]
p.102):
(4.4)
THEOREM(KoxsntA).
If
A/B
is arational,
and ~
an irrationalnumber
andif 8(f., A/B)
2/3,
thenA/B
is either aconvergent
or afirst
(4.5)
Remark. The constant2/3
is due to the constant2/3
in Theorem(2.2)
i.e. from rational numbersA/B
withb(~, A/B)
= 1 and with lastpartial quotient
2.(4.6)
Proof of
Theorem(4.3)
Let
A/B
have theexpansion
(1.1)
and suppose that n is even. The setof irrational
numbers C
such thatA/B
is of the formp‘‘t +p’‘_’
for some’+’qk-1
k,
is the fundamental intervalAn+ I (a,,
a2, , c -1,1).
Hence,
whenb(C, A/B)
=1,
A /B
is not a first mediantof C,
whereas when~(~,~4/B) = 20131,
the set of~’s
such thatA/B
is either a convergent or afirst mediant
of C
isjust
the fundamental intervalwhich has
length
B’)-1.
Therefore,
if6(~,
A/B) _ -1,
A/B
is aconvergent
or a first mediant if andonly
ifUsing
(2.5)
we then find thatF
is aconvergent
or a first mediantof ~
is neither a convergent nor a first mediant of
~.
The statements now follow from
The
proof
for the case where n is odd is almost the same.+
(4.7)
THEOREM. LetA/B
be a rationalnumber,
(A, B)
=1,
B > 0 andlet ~
be an irrational number.is a
convergent
or a last mediantsof ~’,
A
is a last mediantsof
is afirst
mediantof ç,
is a
convergent
or a last mediantsof ~,
9(~, B)
> 1 is neither aconvergent
nor a last mediantsof ~.
All constants are best
possible.
(4.8)
Proof
’
The set of all irrational
numbers £
such thatA/B
is a last mediantof C
consists of the union of the two fundamental intervals
i.e. the
ç’s
in the first interval of(4.9)
are those for whichA/B
is a firstand a last mediant. After these remarks the
proof
runs almost the same asthe
proofs
of Theorems(2.2)
and(4.3)
and may therefore beomitted. +
The location of the various intervalsoccurring
in this section and in section2,
isdepicted,
for even n, in thefigure
below. For odd n, the order isreversed.
5.
Legendre’s
Theorem for two othertypes
of continued fractions The above method can be used to obtain similar results for other typesof continued fraction
expansions.
We will illustrate this with twoexamples:
(1)
the continued fractions with oddpartial
quotients,
(5.1)
The continued fractionexpansion
with oddpartial
quotients:
every irrationalnumber ~
in the unit interval has aunique
expansion
of the formwith
(5.3)
bn
an oddpositive integer, s
We will denote the sequence of convergents associated with the
expansion
(5.2)
by
OCF(~).
A rational numberA/B
always
has a finiteexpansion
with the same conditions as in
(5.3).
If in(5.4)
one hasbn
= 1-1,
then admits twoexpansions
of thistype,
viz.and
otherwise such an
expansion
of a rational number isunique.
We considerthe
expansion
(5.5)
as the most natural one since it is obtained when onerepeatedly applies
the shiftoperator
for this continuedfraction,
just
as in the case of(1.1).
For adescription
of thisoperator
the reader is referredto
[14].
(5.7)
THEOREM. LetA/B
be a rationalnumbers,
(A, B)
=1,
B > 0 andlet ~
be an irrational number.Here g
:= ~(ý’5 + 1),
hence g2
= 0,3819... ,
and G := g-1
=1, 6180 ~ ~ - ;
the
four
constants are bestpossible.
It was
already
known thatB(~, A/B)
> Gimplies
OCF(~),
i.e. theanalogue
of(1.5).
We now also have theanalogue
of(1.4),
that isLegendre’s
Theorem for the continued fractions with oddpartial
quotients:
(5.8)
COROLLARY. LetA/B
be a rationalnumber,
(A, B)
=1,
B > 0 andlet ~
be an irrationalIf
then
AIB is
aconvergent
of
theexpansion
of
into its continuedfraction
with odd
partial
quotients.
The constant0, 3819 ...
is bestpossible.
(5.9)
Proof
of
Theorem(5-7)
The
proof
differsonly
in technical details from that of Theorem(2.2).
Therefore it may suffice to indicate the main differences. First note thatfor
theE(AIB)
from definition(2.1)
one hasA
where n and el, E2, ~ ~ ~ , are
given
by
theexpansion
(5.4)
and,
in case we have the twoexpansions
(5.5)
and(5.6),
by
(5.5).
This caneasily
beshown with the
techniques
II 7.Next,
denoteby
I(A/B)
the set of irrationalnumbers ~
such thatA/B
EOCF(~).
IfA/B
has theexpansion
(5.4)
withbn > 3,
the endpoints
ofI(A/B)
areand
from which it follows that
and with the end
points
reversed whene(A/ B) = -1.
HereA’/B’
denotes the last but oneconvergent
of(5.4).
If has the
expansion
(5.5),
then the endpoints
areand
from which it follows that
with
A’/B’
the last but one convergent of(5.5)
andagain
with the endpoints
reversed when~(~4/J3) = 20131.
Theanalogue
of(2.5)
iswhich follows from the structure of the two-dimensional
ergodic
system
underlying
this continuedfraction,
see[1]
and[14].
The rest of theproof
isexactly
the same as thecorresponding
part
of theproof
of Theorem(2.2). +
(5.10)
Remark. The constantg2
fromCorollary
(5.8)
corresponds
to anirregularity
of the distributionfunction,
for almost all~,
of the sequence ofapproximation
coefficients connected with this continuedfraction,
see[1J,
IV,
Théorème 1. One couldgive
here results similar to those in section 3.Recently,
theanalogue
ofLegendre’s
Theorem for the nearestinteger
con-tinued fraction
expansion
was found in three different ways, see[7], [8]
and[12].
The constant turns out to be the same as in the case of thecontin-ued fraction with odd
partial
quotients:
g2.
The method from theprevious
sections
applies
to the nearestinteger
continued fraction as well. These-quence of
convergents
of thisexpansion
is denoted hereby
NICF(C).
We will state the result withoutgiving
theproof,
which is very similar to theprevious
ones.(5.11)
THEOREM. LetA/B
be a rationalnumbers,
(A, B)
=1,
B > 0 andlet £
be an irrational number.and
and
All constants are best
possible.
REFERENCES
[1] D. BARBOLOSI, Fractions continues à quotients partiels impairs, Thèse, Univer-sité de Provence, Marseille
(1988).
[2]
P. BILLINGSLEY, Ergodic Theory and Information, John Wiley and Sons, NewYork, London, Sydney (1965).
[3]
W. BOSMA, H. JAGER and F. WIEDIJK, Some metrical observations on theapproximation by continued fractions, Indag. Math. 4 (1983), 281-299.
[4]
P. FATOU, Sur l’approximation des incommensurables et les sériestrigonométri-ques, C. R. Acad. Sci. Paris 139
(1904),
1019-1021.[5] J. H. GRACE, The classification of rational approximations, Proc. London Math. Soc. 17
(1918),
247-258.[6]
S. ITO and H. NAKADA, On natural extensions of transformations related toDiophantine approximations, Proceedings of the Conference on Number Theory
and Combinatorics, Japan 1984, World Scientific Publ. Co., Singapore
(1985),
185-207.[7]
S. ITO, On Legendre’s Theorem related to Diophantine approximations, Séminaire de Théorie des Nombres, Bordeaux, exposé 44 (1987-1988), 44-01-44-19.[8]
H. JAGER and C. KRAAIKAMP, On the approximation by continued fractions, Indag. Math. 51 (1989), 289-307.[9]
J. F. KOKSMA, Diophantische Approximationen, Julius Springer, Berlin(1936).
[10]
J. F. KOKSMA, Bewijs van een stelling over kettingbreuken, Mathematica A 6(1937),226-231.
[11]
J. F. KOKSMA, On continued fractions, Simon Stevin 29 (1951/52), 96-102.[12]
C. KRAAIKAMP, A new class of continued fractions, Acta Arith. 57 (1991), 1-39.[13]
A. M. LEGENDRE, Essai sur la théorie des nombres, Duprat, Paris, An VI(1798).
[14]
F. SCHWEIGER, On the approximation by continued fractions with odd and evenpartial quotients, Mathematisches Institut der Universität Salzburg, Arbeitsbericht 1-2
(1984),
105-114.Dominique Barbolosi
Universite de Provence, UFR de Math6matiques 3 place Victor Hugo
F-13331 Marseille Cedex 3 France Hendrik Jager Raadhuislaan 49 2131 BH Hoofddorp Pays-Bas