Polynomial ring/Field/Lemma of Bezout/Determining greatest common divisor/Remark
For given polynomials , we can determine explicitly their greatest common divisor and a representation
as stated in fact. For this, we restrict ourselves to the case . Let the degree of be as large as the degree of . The division with remainder yields
with a remaining polynomial, whose degree is smaller than the degree of , or which is . The main point is that the ideals
are identical and, thus, the greatest common divisor of and and of and coincide. Now we perform again the division with remainder, dividing by with remainder , and again the ideal coincides with the starting ideal. In this way, we obtain a sequence of remaining polynomials
with the property that two adjacent polynomials generate the same ideal. Hence, (the last remaining polynomial different from ) is the greatest common divisor of and . We can find a representation of as a linear combination of the , by working back this algorithm using the equations which describe the divisions with remainder.