previous up next contents
Previous: From Euclid to Padé Up: From Euclid to Padé Next: 2 Algorithms to compute   Contents

Subsections

1 Introduction

The present paper deals with algorithms that, given maths, find maths such that

maths (1)

In what we are doing, the focus is on maths and not on maths. Therefore the name ``extended Euclidean algorithm'' seems not to be appropriate... especially when these algorithms are used outside of an Euclidean ring, to compute something else than a maths. This paradigm shift, from maths to maths has been the fact of Etienne Bezout (1730-1783), a mathematician known as a textbook writer with important algebraic researches. His name is attached to the theorem about intersection of algebraic curves which had a tremendous impact on the development of algebraic geometry.

Before examining this algorithm in a broader context (convergents, holomorphic functions), let us recall two ``elementary'' utilizations of these Bezout's coefficients: the so called ``Chinese remainder theorem'' and the decomposition of rational functions.

1.1 Exemplifying the Chinese remainder theorem

It is well known that the system

maths (2)

(where maths means that maths is exactly divisible by maths) can be solved as follows : in a first time, you solve the three systems:

maths (3)

and in a second time, you compute maths as maths. If you have no straightforward method to find the maths, and have to find them by exhaustive trial and error, the cost of the method is three times the cost of a direct search for maths. If you have to solve, like in calendar computations, a lot of equations like Eq. 2 with always the same moduli, the cost of solving the three extra systems Eq. 3 will be quickly amortized.

But the key point is that Eq. 3 is easy to solve with Bezout. The algorithm gives numbers maths such that maths, leading to the value maths. You obtain maths, together with maths and maths. Therefore a solution is maths and all the solutions are given by maths since maths reduces, modulo maths to maths.

1.2 Exemplifying the decomposition of rational functions

An other utilization of Bezout's coefficients is as follows. Let be given a rational fraction whose denominator is factorized, e.g.

maths

Put maths, maths and maths. Bezout gives you maths such that maths, viz. maths. Therefore

maths

In this form, the decomposition is not necessarily in lowest terms. Using again the Euclidean algorithm, we can compute the remainders maths and maths and maths. Since maths is a polynomial and maths, maths the equality maths holds. In our example maths. Substituting maths in the first fraction and maths in the second, we obtain maths and therefore maths splits into:

maths

In these computations, the step maths and maths can be done in a simpler way after the changing of variables. Substituting maths directly into maths, we obtain: maths. We have too maths, and we know that polynomial terms do cancel from the degrees of maths and maths. However, the more difficult part of the whole thing is the initial factorization of the denominator.

1.3 Organization of this paper

The remainder of this paper is organized as follows : Section 2 deals with the effective computation of the Bezout's coefficients for ordinary integers. Section 3 deals with computations inside the ring maths of the polynomials, and gives some applications. Afterward, Section 4 shows how to enlarge the results of Section 2 to results concerning approximations of irrationals by fractions, while Section 5 does the same with holomorphic functions.


previous up next contents
Previous: From Euclid to Padé Up: From Euclid to Padé Next: 2 Algorithms to compute   Contents


douillet@ensait.fr
2005-02-09