Docsity

Linear Algebra, Rational Approximation and Orthogonal Polynomials (1997), Manuais, Projetos, Pesquisas de Matemática

Toggle sidebar
bg1
Preface
It is very interesting to see how the same principles and techniques are de-
veloped in different fields of mathematics, quite independently from each
other. It is only after a certain maturity is reached that a result is recog-
nized as a variation on an old theme. This is not always a complete waste
of effort because each approach has its own merits and usually adds some-
thing new to the existing theory. It is virtually impossible and there is no
urgent need to stop this natural development of things. If tomorrow a new
application area is emerging with its own terminology and ways of think-
ing, it is not impossible that an existing method is rediscovered and only
later recognized as such. It will be the twist in the formulation, the slightly
different objectives, an extra constraint etc. that will revive the interest in
an old subject. The availability of new technological or mathematical tools
will force researchers to rethink theories that have long been considered as
complete and dead as far as research is concerned.
In this text we give a good illustration of such an evolution. For the
underlying principle we have chosen the algorithm of Euclid. It is probably
the oldest known nontrivial algorithm, which can be found in the most
elementary algebra textbooks. It is certainly since the introduction of digital
computers and the associated algorithmic way of thinking that it received
a new impetus by its many applications which resulted in an increasing
interest, but its simplicity in dealing with situations that are, at least in
certain problem formulations not completely trivial, explains its success.
Already in ancient times, long before modern computers became an essential
part of the scene, the algorithm has been used in many applications.
In its original form, it deals with a geometrical problem. At least, Euclid
himself describes it in his 7th book of the
Elements
as a way of construct-
ing the largest possible unit rule which measures the length of two given
rules as an integer times this unit rule. Nowadays we recognize the Eu-
clidean algorithm as a method to compute the greatest common divisor of
two integers or of two polynomials. This may seem a trivial step, yet, it
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Pré-visualização parcial do texto

Baixe Linear Algebra, Rational Approximation and Orthogonal Polynomials (1997) e outras Manuais, Projetos, Pesquisas em PDF para Matemática, somente na Docsity!

P r e f a c e

It is very interesting to see how the same principles and techniques are de- veloped in different fields of mathematics, quite independently from each other. It is only after a certain m a t u r i t y is reached that a result is recog- nized as a variation on an old theme. This is not always a complete waste of effort because each approach has its own merits and usually adds some- thing new to the existing theory. It is virtually impossible and there is no urgent need to stop this natural development of things. If tomorrow a new application area is emerging with its own terminology and ways of think- ing, it is not impossible that an existing method is rediscovered and only later recognized as such. It will be the twist in the formulation, the slightly different objectives, an extra constraint etc. that will revive the interest in an old subject. The availability of new technological or m a t h e m a t i c a l tools will force researchers to rethink theories that have long been considered as complete and dead as far as research is concerned.

In this text we give a good illustration of such an evolution. For the underlying principle we have chosen the algorithm of Euclid. It is probably the oldest known nontrivial algorithm, which can be found in the most elementary algebra textbooks. It is certainly since the introduction of digital computers and the associated algorithmic way of thinking that it received a new impetus by its many applications which resulted in an increasing interest, but its simplicity in dealing with situations that are, at least in certain problem formulations not completely trivial, explains its success. Already in ancient times, long before modern computers became an essential part of the scene, the algorithm has been used in many applications.

In its original form, it deals with a geometrical problem. At least, Euclid himself describes it in his 7th book of the Elements as a way of construct- ing the largest possible unit rule which measures the length of two given rules as an integer times this unit rule. Nowadays we recognize the Eu- clidean algorithm as a method to compute the greatest common divisor of two integers or of two polynomials. This may seem a trivial step, yet, it

vi PREFACE

links geometry, algebra and number theory. Of course, the distinction be- tween different mathematical disciplines is purely artificial and is invented by mathematicians. Luckily, the self-regulating mathematical system main- tains such links between the different types of mathematicians, and prevents them from drifting too far apart. This trivial observation would not jus- tify this text if there weren't many more applications of this computational method.

It was recognized with the invention of continued fractions that the algo- rithm does not only compute the final result: the greatest common divisor, but all the intermediate results also appear as numerators or denominators in a (finite) continued fraction expansion of a rational number. The next, quite natural step, is to apply the algorithm to test whether a number is ra- tional or not and to see what happens when the number is not rational. The algorithm will go on indefinitely, and we get an infinite continued fraction expansion. The study of these expansions became a useful and powerful tool in number theory.

The same technique can be applied to (infinite formal) power series, rather than just polynomials, and again the algorithm will end after a finite number of steps if we started from a representation of a rational fraction or it will give an infinite (formal) expansion which might or might not converge in a certain region e.g., of the complex plane. This hooks up the Euclidean algorithm with (rational) approximation theory. From an algebraic point of view, the Euclidean domains (and several of its generalizations) became a study object in their own right. From the approximation side, the kind of rational approximants that you get are known as Pad6 approximants. Al- though this theory has celebrated its hundredth anniversary, the recognition of the Euclidean algorithm as an elegant way of constructing approximants in a nonnormal table came only a couple of decades ago.

Traditionally, the computation of a Padd approximant was done via the solution of a linear system of equations. The matrix of the system has a

special structure because it contains only O(n) different elements while the

entries on an antidiagonal are all the same. It is a Hankel matrix. The linear algebra community became interested in solving this special type of systems because their solution can be obtained with sequential computa-

tions in O(n 2) operations, rather than the O(n 3) for general systems. The

Hankel matrices, and the related Toeplitz matrices, show up in numerous applications and have been studied for a long time and that explains why it is important to have efficient solution methods for such systems which fully exploit their special structure. Not only the solution of such systems, but also other, related linear algebra problems can benefit from the known

viii PREFACE

algorithm. The latter was originally developed as a method for handling error-correcting codes by shift register synthesis. It became known to the engineering community as also solving the minimal partial realization prob- lem. Another aspect that makes systems theory interesting in this aspect is that in this area it is quite natural to consider systems with n inputs and m outputs. When m and n are equal to 1, we get the scalar theory, but with m and n larger than 1, the moments, which are called Markov parameters in this context, are matrices and the denominators of the re- alizations are square polynomial matrices and the numerators rectangular polynomial matrices. So, many, but not all, of the previously mentioned aspects are generalized to the matrix or block matrix case for multi-input multi-output systems. In the related areas of linear algebra, orthogonal polynomials and Pad~ approximation, these block cases are underdeveloped to almost nonexisting at all. The translation of results from multi-input multi-output systems theory to the fields mentioned above was one of the main incentives for putting the present text together.

In this book we shall only consider the scalar theory and connections that we have sketched above. Excellent textbooks exist on each of the mentioned areas. In most of them the Euclidean algorithm is implicitly or explicitly mentioned, but the intimate interplay between the different fields is only partially covered. It is certainly not our intention to replace any of these existing books, but we want in the first place put their interconnection at the first plan and in this way we hope to fill an empty space. We make the text as selfcontained as possible but it is impossible to repeat the whole theory. If you are familiar with some of the fields dis- cussed it will certainly help in understanding our message. For the theory of continued fractions and their application in Pad~ approximation as well

as in number theory, you can consult the book by Perron Die Lehre yon

den Kettenbriicken [202] and Wall's Analytic theory of continued fractions

[237, 238] which are classics, but Jones and Thron's Continued fractions,

analytic theory and applications [161] can be considered as a modern classic

in this domain. The most recent book on the subject is Continued frac-

tions with applications [183] by Lorentzen and Waadeland who include also

many applications, including orthogonal polynomials and signal processing.

For Pad~ approximations you may consult e.g. Baker's classic" Essentials of

Padg Approximation [5], but a more recent substitute is the new edition of

the book Padd Approximants by Baker and Graves-Morris [6, 7]. See also

[69]. The connection between Pad~ approximation and formal orthogonal

polynomials is explicitly discussed by Brezinski in Padd-type approximation

PREFACE ix

and general orthogonal polynomials [24]. And much more on formal orthog-

onal polynomials is given in A. Draux's PolynSmes orthogonaux formels -

applications [87]. For the linear algebra aspects, the book by Heinig and

Rost Algebraic methods for Toeplitz-like matrices and operators [144] is a

cornerstone that resumes many results. For the theory of linear systems

there is a vast literature, but Kailath's book Linear systems [165] is a very

good introduction to many of the aspects we shall discuss. First we guide the reader from the simplest formulation of the Euclidean algorithm to a more abstract formulation in a Euclidean domain. We give some of its variants and some of its most straightforward applications. In a second chapter we discuss some aspects and applications in linear algebra, mainly including the factorization of Hankel matrices. In the third chapter, we give an introduction to the Lanczos algorithm for unsymmetric matrices and some of its variants. The fourth chapter on orthogonal polynomials translates the previous results to orthogonal polynomials with respect to a general biorthogonal form with an arbitrary moment matrix. The Hankel matrices that were studied in previous chapters are a very special case. We also give some re- sults about Toeplitz matrices which form another important subclass. As a preparation for the matrix case, we give most formulations in a noncommu- tative field which forces us to use left/right terminology. This is not really essential, but it forces us to be careful in writing the products and inverses so that the results reflect already (at least partially) the block case. Chapter 5 treats Pad~ approximations. Perhaps the most important results of this chapter are the formulations of minimal Pad~ problems and the method to solve them. The next chapter gives a short introduction to linear systems and il- lustrates how the previous results can be used in this context. It includes a survey of recent developments in stability tests of R.outh-Hurwitz and Schur-Cohn type. Finally, Chapters 7 and 8 give some less elaborated perspectives of fur- ther applications which are closely related to what has been presented in the foregoing chapters. Chapter 7 gives a general framework for solving very general rational interpolation problems of which (scalar) Pad~ approximants are a special case. It also introduces the look-ahead strategy for solving such problems and which is most important in numerical computations. It is left to the imagination of the reader to translate the look-ahead ideas to all the other interpretations one can give to these algorithms in terms of rational approx- imation, of orthogonal polynomials, iterative methods for large matrices,

List of Symbols

C R Z N m o d d i v

u(v)

alb a,,,b g e l d ( a , b) g e r d ( a , b) g e d ( a , b)

a l m o d b a l d i v b a r m o d b a r d i v b F

F(z)

F[[z]]

o r d (a) deg (a) a

i

Z

t h e c o m p l e x n u m b e r s t h e real n u m b e r s t h e integers t h e n a t u r a l n u m b e r s including 0 m o d u l o o p e r a t i o n in a E u c l i d e a n d o m a i n.............. 1 division o p e r a t i o n in a E u c l i d e a n d o m a i n.............. 1 i n t e g r a l ring or d o m a i n................................ 3 t h e u n i t s of 7)......................................... 3 a divides b............................................ 4 a is a s s o c i a t e of b..................................... 4 g r e a t e s t c o m m o n left divisor of a a n d b................ 5 g r e a t e s t c o m m o n right divisor of a a n d b.............. 5 g r e a t e s t c o m m o n divisor of a a n d b.................... 5 degree f u n c t i o n in a E u c l i d e a n ring.................... 6 left r e m a i n d e r in a E u c l i d e a n ring..................... 7 left q u o t i e n t in a E u c l i d e a n ring....................... 7 right r e m a i n d e r in a E u c l i d e a n ring................... 55 right q u o t i e n t in a E u c l i d e a n ring.................... 55 A n a r b i t r a r y field, possibly skew...................... 2 p o l y n o m i a l s over F.................................... 2 f o r m a l L a u r e n t series over F w i t h finitely m a n y n e g a t i v e p o w e r s of z.......................................... 21 f o r m a l L a u r e n t series over F w i t h finitely m a n y positive p o w e r s of z.......................................... 21 f o r m a l p o w e r series over F............................ 21 L a u r e n t p o l y n o m i a l s over F......................... 407 o r d e r of a f o r m a l L a u r e n t series a.................... 21 degree of a f o r m a l L a u r e n t series a................... 22 t h e s t a c k i n g v e c t o r of a.............................. 62 reversal o p e r a t o r..................................... 63 shift o p e r a t o r........................................ 62

X V

xvi L I S T OF S Y M B O L S

d i a g ( a i ) ~n O~n

nl,IIn

F(p)

det A

span{x/}

dim 2d

range A

rank A

ker A

V* /z~j p # p #

S U

s;, S~ _

II~, H~, II[

~<Z,z-l>

zkF, ,

h = ?-/ $ O,Tr I b { r } T ID E

a diagonal m a t r i x.................................... 67 K r o n e c k e r index..................................... 68 E u c l i d e a n index...................................... 68 t r u n c a t i o n o p e r a t o r s................................. 69 c o m p a n i o n m a t r i x of p o l y n o m i a l p................... 74 the d e t e r m i n a n t of m a t r i x A......................... 77 the span of the vectors x~........................... 100 the dimension of the space X"....................... 100 the r a n g e of m a p p i n g A............................. 101 the r a n k of the m a t r i x A............................ 116 the kernel of m a t r i x A.............................. 119 bilinear f o r m or inner p r o d u c t....................... 136 dual space for vector space V....................... 136 m o m e n t............................................ 139 reciprocal p o l y n o m i a l............................... 182 reciprocal of vector of p o l y n o m i a l s.................. 219 Iohvidov indices.................................... 184 (strict) m i n i m a l index............................... 251 t i m e set............................................ 272 signal space ( = t i m e d o m a i n )....................... 272 set of i n p u t signals of a linear s y s t e m............... 272 set of o u t p u t signals of a linear s y s t e m.............. 272 i n p u t - o u t p u t m a p of a linear s y s t e m................ 272 p r e s e n t , p a s t , f u t u r e signal space.................... 273 p r o j e c t o r s onto p r e s e n t , p a s t , f u t u r e signal space.... 273 impulse signal...................................... 274 two-sided f o r m a l L a u r e n t series ( = f r e q u e n c y d o m a i n )............................... 274 present, p a s t and f u t u r e in the f r e q u e n c y d o m a i n...................... 276 z - t r a n s f o r m......................................... 274 impulse response.................................... 277 s t a t e space of a linear s y s t e m....................... 278 observability a n d r e a c h a b i l i t y m a t r i x................ 284 C a u c h y index of F over interval [a, b]................ 309 c o m p l e x unit circle.................................. 322 open unit disk...................................... 322 c o m p l e m e n t of closed unit disk...................... 322 p a r a - c o n j u g a t e of f w.r.t, i R........................ 310 or w.r.t. T.......................................... 322

Chapter 1

Euclidean fugues

1.1 The algorithm of Euclid

The algorithm which Euclid wrote down in 300 B.C. in the Elements (Book 7, Theorems 1 and 2) is probably the oldest nontrivial algorithm that is still of great practical importance in our days [173]. There are earlier traces of it in the work of Greek mathematicians [25, p. 6] and some even go back to the Babylonian period [3, p. 27]. It is best known as an algorithm to compute a greatest common divisor of two integers or two polynomials, but it can as well be used to compute a greatest common divisor of two elements from a general Euclidean domain. This is commonly defined as an integral domain where a certain division property holds which forms the basis of the Euclidean algorithm. For ex- ample, consider the set of integers Z and let us denote the absolute value of a E Z by i)(a). The division property for the integers Z then says that for any pair a, b C Z with i)(a) > i)(b) ~ O, there exist a quotient q C Z and a remainder r C Z such that

a = qb + r with 0(r) < cO(b). (1.1) For future reference of the relation (1.1), we used already at this point the curious notation O(a) to denote the absolute value of a number a. For the set of positive integers, one could simply describe the Euclidean algorithm as follows : Given a couple of positive integers, we subtract the smallest number from the larger one and replace the largest one by this difference. We do the same with the resulting couple until the numbers are equal. Then we have found a greatest common divisor of the given couple.

2 C H A P T E R 1. E U C L I D E A N F U G U E S

The above description is close to the original description of Euclid. The successive subtractions simulate the divisions. Note that relation (1.1) does not define the quotient and remainder uniquely. We could write e. g. - 3 7 = ( - 4 ) ( 8 ) - 5 or - 3 7 = ( - 5 ) ( 8 ) +

  1. Both of these satisfy the property (1.1). There is a remedy for this nonuniqueness, which we shall give in section 1.2 in a more general context. Anyway, we shall use the notation q - a div b to denote that q is a quotient and r = a m o d b to indicate that r is the (corresponding) remainder. A formal definition of the Euclidean algorithm can now be given as described in algorithm S c a l a r _ E u c l i d.

Algorithm 1.1: Scalar_Euclid

Given a and b Set 7 ' _ 1 = a and r0 = b k = l w h i l e rk-1 ~ 0 Set rk = r k - 2 rood rk- k = k + l e n d w h i l e

The last nonzero element in the sequence of the r i ' s is r k - 2 which is the greatest common divisor of a and b. The main step of the algorithm is an application of the division property. We compute rk as a remainder when rk-2 is divided by rk-1. As we have said before, this will not define the sequence of numbers {rk) uniquely, not even for positive a and b. As a m a t t e r of fact, because of this nonuniqueness, the greatest common divisor will not be unique either, and strictly speaking, we should refer to a greatest common divisor. It turns out however, and we come back to this in the next section, that whatever the choice made at every step of the Euclidean algorithm, one will always end up with the same greatest common divisor up to a sign change. Note also that the algorithm will certainly terminate since O(rk) is a strictly decreasing sequence of nonnegative numbers. Hence r k will eventu- ally become zero. The above results are immediately transferable to the Euchdean domain F[z] of polynomials over a field F. However some of the entities have to be reinterpreted. The absolute value of the integers should be replaced by the degree of the polynomial. This explains why we introduced the curious

4 C H A P T E R 1. E U C L I D E A N F U G U E S

called commutative, otherwise it is said to be skew. A skew field is some- times called a division ring. Thus, besides the other properties, the main differences are in the properties of the multiplicative group 7)0 as given in the following table

Do is a monoid^ a group

not Abelian integral ring skew field Abelian integral domain commutative field

Unless stated otherwise, we shall assume in this chapter that 7) repre- sents an arbitrary integral ring. For a field we shall use the notation F. Since in general we do not have commutativity, we should add to most of the notions the prefix left or right. We develop the theory mainly for the left versions and assume the reader can construct the right duals for him or herself. Of course for an integral domain or a commutative field, the distinction between left and right disappears. We now introduce some notions from divisibility theory.

D e f i n i t i o n 1.1 (left d i v i s o r ) We say that a E 7) is a left divisor of b C 7) iff there exists some c C 7) such that b = ac. N o t a t i o n : alb.

Note that any element from 7) will be a left divisor of 0. Thus we can write alO , Ya C 7). On the other hand 0 is a left divisor of 0 but of nothing else :

0 b, vb e = \ {0}.

D e f i n i t i o n 1.2 (left a s s o c i a t e ) We say that two elements a,b E 7) are left associates, denoted as a ,,~ b, iff there is a unit u C H(7)) such that a = b u.

E x a m p l e 1.1 The set of integers Z is an integral domain w i t h / 4 ( Z ) = { - 1 , 1}. The polynomials over an arbitrary field F form an integral ring or domain F[z] and/4(F[z]) = {constant polynomials # 0} is the group of units.

The following properties are elementary to prove and can be found in any elementary textbook on algebra e.g. [66]. We shall not repeat the proofs here.

T h e o r e m 1.1 In an integral ring 7), we get the following properties :

_1. The relation ,,~ is an equivalence relation in 7).

  1. a ,,~ b r alb and bla._
1.2. E U C L I D E A N R I N G A N D G.C.L.D. 5

3. If a ,.~ b and c ,.~ d then a lc ~ bid.

By the equivalence relation ,,~, we can partition 1) into equivalence classes

= e u ( v ) }.

Note t h a t the equivalence class of 0 contains only one element : [0] = {0}. The equivalence class [1] is just the set of units : [1] = L/(:D). The third s t a t e m e n t in the previous theorem says t h a t the left divisi- bility property of two elements propagates to all their left associates in the same equivalence class. Thus it suffices to study divisibility in the quotient structure of equivalence classes, i.e., in D/,,~ = {[a]: a e T)}. It is then most convenient to choose a uniquely defined representative for each of the equivalence classes. For [0], this is of course 0. For the other equivalence classes one agrees upon a particular choice. C o m m o n practice is to represent a nonzero equivalence class in Z by its positive representative. And a nonzero equivalence class in F[z] is usually represented by a monic representative. A greatest common left divisor (g.c.l.d.) can now be defined as follows :

D e f i n i t i o n 1.8 ( g r e a t e s t c o m m o n left d i v i s o r ) A greatest c o m m o n left divisor of two elements s, r C 7) is an element g E 7) such that

9 gls and glr 5 t is a c o m m o n left divisor of s and r)

9 and hlg 5t greatest amon9 all l ft di,i o of s and r). The notation we use is g = g c l d ( s , r). Note t h a t if one of the elements is zero, then the other element will always be a g.c.l.d, of the couple : g c l d ( s , 0) = s, for all s C 7). Note also t h a t g c l d ( 0 , 0) = 0. This might be surprising but it is conform to the previous definition. All g.c.l.d, of two elements s and r are equal up to a unit right multiple, i.e., they all are left associates, as one can easily verify.

T h e o r e m 1.2 If s and r are elements from an integral ring 7), then if g is a g.c.l.d, of s and r, then h will also be a g.c.l.d, of s and r i f f h ,.~ g.

P r o o f. Because both g and h are g.c.l.d.'s of r and s, they left divide one a n o t h e r : hlg and glh. T h e o r e m 1.1(2) then implies h ~ g. z]

This imphes t h a t in the quotient structure T~/,,~, the g.c.l.d, is unique whenever it exists. If we agree to choose a unique representative from

1.2. E U C L I D E A N R I N G A N D G.C.L.D. 7

addition, 0(.) satisfies O(ab) > O(a),_ for all nonzero a and b. It can then be proved t h a t 7) will automatically have a unit-element [206, p. 327]. Since we do not need the property O(ab) > O(a),_ we gave the adapted definition. As before, we shall denote the above decomposition of a by d i v and m o d operations but, to make the left and right difference, we denote the q and r obtained by the relations above as

q - a l d i v b and r - a l m o d b.

It is also common practice to denote the fact that a and r differ only by a right multiple of b by a = r ( l m o d b). Thus

a = r ( l m o d b) r (a - r ) l m o d b = 0 r a l m o d b = r l m o d b.

Note that r = a l m o d b implies r = a ( l m o d b), but the converse is not true.

E x a m p l e 1.2 Probably the best known example of a Euclidean domain is the set of integers Z where we can take O(a) to be the absolute value. Another common example is the ring of polynomials over a field F where we may now use O(a) - 2 dega with deg0 - - c r by convention, so t h a t 0(0) = 0. Note that more choices for 0(-) are possible. Another choice for the polynomials F[z] could be O ( a ) = 1 + deg a with deg 0 = - 1. <~

The next theorem claims that in a right sided Euclidean ring a great- est common left divisor of two elements always exists, and that it can be computed by the right sided Euclidean algorithm.

T h e o r e m 1.3 Let s, r E 7) be elements from a right sided Euclidean ring. Then there exist g, v, u C 7) such that

g = gold (s, r) = sv + ru. (1.2)

Moreover, a g.c.l.d, can be computed by the right sided Euclidean algorithm which is the Euclidean algorithm S c a l a r _ E u c l i d as described before but with m o d replaced by l m o d. That means that by setting r_l = s, r0 = r and defining the elements rk = r k - 2 l m o d rk-1 for k = 1, 2 ,... , then we obtain a g.c.l.d of s and r as the last nonzero rk.

P r o o f. The cases where at least one of s or r is zero are trivial to verify. So we shall suppose that none of them is zero. First note that if r is a left divisor of s, then g c l d ( s , r) = r. In general the existence of a g.c.l.d. follows from the constructive proof which is based on the fact t h a t every

8 C H A P T E R 1. E U C L I D E A N F U G U E S

common left divisor of a and b (b ~ 0) is also a common left divisor of b and a - b q where q could be any element from :D. If we choose q as q - a l d i v b, then c - a - bq - a l m o d b. Conversely, a c o m m o n left divisor of b and c is also a common left divisor of b and c + bq = a. Hence the set of common left divisors for the couple (a, b) is the same as for the couple (b, a l m o d b ). This p r o p e r t y can be repeatedly applied to the successive rk's. The sequence thus generated must end after a finite n u m b e r of steps because O ( r k ) is a strictly decreasing sequence of nonnegative integers. We find eventually t h a t rn = 0. This means t h a t rn-1 is a left divisor of rn-2. We also know t h a t all common left divisors of r and s are also c o m m o n left divisors of rn-1 and rn-2. Since g c l d ( r n _ l , r n _ 2 ) = m - l , the existence is proved. To prove the equality (1.2), we can use the relation r k = r k - 2 - - r k - l q k backwards, starting from rn-1 and rn = 0. An elegant expression for these u and v elements is given immediately after this proof. [:

The right sided Euchdean algorithm successively updates the couple of ele- ments (rk_ 2, rk_ 1 ) by

with

Y~ [0 1] 1 - q k

where qk - rk-2 l d i v r k - 1 is & "left quotient" of rk-2 and rk-1. We shall eventually end up with

0 , o

with rn-1 = g e l d ( r _ l , r0). Suppose we set

Yl'n-YlY2""Yn-[ vl'n U l ,n a lcl,n,n ]. (1.4)

Then we get from (1.3)

7'n_ 1 = 7 ' _ 1 V l , n -+- 7'0Ul, n.

Thus these elements vl,n and ul,n from the first column of Vl,n are the v and u elements from the last theorem which expresses the g.c.l.d, as a

10 C H A P T E R 1. E U C L I D E A N F U G U E S

if uk and ck are units. Thus, we could as well use in the (extended) right sided Euclidean algorithm the matrices

Uk ak 1 --qk 0 Ck

with vk = 0, uk and ck units and a k - - --qkck. The matrix V~ stands for our previous Vk matrix and Wk represents some normalization. Indeed, the freedom to introduce uk and Ck can be used, and we shall do so later on in a more general situation, to make a unique choice for the g.c.l.d., or we shall even go further and make a unique choice for each and every step of the algorithm. More precisely, if 79 = F[z], we could choose uk e.g., such that sk is monic at every stage and ck is chosen to normalize every quotient qk so that --ak -- qkCk is monic. If we can obtain such a normalization at each step, step number zero would be an exception since the given data elements r and s need not necessarily satisfy this normalization. Thus in order to make step 0 conform with all other steps, we introduce some matrix V0 which will perform exactly the necessary operations to get the same normalization as in all the other steps. So we define V 0 _ [ v0 c o ] u 0 a 0 with u0 = Co = 0 and a0 and v0 are arbitrary units. Of course the initializa- tion from the usual right sided Euclidean algorithm should now be written a s s-1 = s and r - 1 - - r. Thus the elements

,o] , oo]

are just normalized versions of the given data. Correspondingly, the global matrix Gk, which contains all the information sk, r k and the matrix Vl,k, should be initialized as

G - l - - 0 1. s T

For the time being we shall not impose a particular normalization yet and give the algorithm in all its generality as Algorithm 1.2. We have baptized it Extended_Euclid. It uses the subalgorithms I n i t i a l i z e and

1.3. EXTENDED EUCLIDEAN ALGORITHM 11

Algorithm 1.2: Extended_Euclid

Given s and r k = 0 Initialize k = l while rk-1 # 0 Compute_Gk k = k + l endwhile

Algorithm 1.3: I n i t i a l i z e

Define G-1 - G~ - 0 1 , s T Normalize

vj=

Algorithm 1.4: Compute_Gk

Choose some qk - sk-x ldiv rk-1. D e f i n e V k - [ 01 -qkl ]

Set G~ - Gk-1V~ Normalize

Algorithm 1.5" Normalize

Choose Wk, a diagonal matrix of arbitrary units SetVk-V/~Wk-[ vkuk akCk ]

Set Gk - G'kWk