Just as in the case of the integers, there is a Euclidean algorithm for polynomials over any ring.
For
as in the above theorem,
we call
the quotient,
written
, and we call
the remainder. written
.
| |
|
|||||||
|
|
|
|
|
|
|
|||
|
|
|
|
||||||
| |
|
|
|
|
||||
| |
|
|
||||||
| |
|
|
||||||
| |
|
|
||||||
| |
|
The proof of this, which is very similar to the proof for the case of the integers given in chapter 1, is omitted. However, here is a sketch of the Euclidean algorithm for polynomials.
Let
and
. Let
.
Since
,
at some point the above algorithm must terminate. Suppose that
and
is the smallest such integer.
Fact:
.
proof: (only if) This is a special case of the Euclidean algorithm above.
(if) If
is a non-zero
polynomial satisfying both
and
then
, so
. This forces
,
so
.
Here is a reformulation of the Euclidean Algorithm.
where