The euclidean algorithm computes the greatest common divisor of two integers by repeated division with remainder. Start with , , interchanging them if necessary, and repeatedly write
until a zero remainder occurs. The positive remainders strictly decrease, so the process terminates. At each step the common divisors of are exactly the common divisors of , because . Hence
If one input is zero, the answer is the absolute value of the other; the usual convention sets . Back-substitution also expresses the greatest common divisor as an integer linear combination of the inputs, as in Bézout's identity.
Let and . Applying polynomial long division gives the euclidean algorithm
Thus their polynomial greatest common divisor is , up to a nonzero constant factor. Their unique common root of a polynomial is therefore
The polynomial factors as , so is a multiple root of multiplicity two. The Newton root-finding iteration is
For , cancelling a factor gives
This expression extends continuously to . Let . On this closed interval,
Thus is increasing, and
By the mean value theorem, for all . The contraction mapping theorem states that a contraction mapping from a nonempty complete metric space into itself has a unique fixed point, and every fixed-point iteration converges to it. The closed interval with ordinary Euclidean distance is complete, and , so
In fact . The Newton iteration at a multiple root here has linear convergence, since . Thus the convergence assertion is true for the simplified fixed-point iteration, and for the usual Newton root-finding iteration that stops upon reaching an exact root of a polynomial. If one insists on applying the unsimplified quotient at every step, it is undefined for the allowed starting value , since both and vanish there; that literal version of an infinite sequence requires the stated stopping convention or continuous extension.

Articles by others on the same topic (0)

There are currently no matching articles.