and
. Polynomial gcds in non Euclidean domains.
since
is not an Euclidean domain.
However the concept of a polynomial gcd is well defined in
since
is a Unique Factorization Domain, as we shall review.
If we transport the computation of a gcd from
to
we should be careful.
For instance with
![]() |
(11) |
their normalized gcd will be
is 2.
can be written
![]() |
(12) |
stands for a canonical representative
of the class of the elements associate with
is a unit.
Observe that
is
For
we will take
.
For
we will take
.
is reducible
if there are two nonunits
such that
,
otherwise
is prime if
for every
we have
we have
![]() |
(13) |
Assume from now on that
is a Unique Factorization Domain (UFD).
This means that
is an integral domain such that
can be written as a product of irreducible elements
in a unique way up to reordering and multiplication by units.
be a univariate polynomial over
is the gcd of its coefficients
.
By convention the content of a constant polynomial
is
.
Observe that
is uniquely defined in any case.
The polynomial
is primitive if
.
The primitive part of
is the polynomial
such that
![]() |
(14) |
is primitive.
be primitive.
Let
be a prime.
Then, the residue class ring
is an integral domain.
It follows (this is a classical result) that
is an integral domain too.
By hypothesis
and
are not zero.
Hence
is not zero too.
This shows that
.
Finally we have proved that no primes divide
and thus
.
.
Then we have
![]() |
(16) |
and
.
By Gauss Lemma, the polynomial ![]() |
(17) |
![]() |
(18) |
is a UFD.
be univariate polynomials over
.
Then the following properties hold.
are the primes of
that are irreducible in
.
in
in
.
is the monic gcd of
.
by means of a polynomial gcd computation
in
and gcd computations in ![]() |
(19) |
we can assume that
.
We have
![]() |
(20) |
then
divides
and
in
divides
.
We define
![]() |
(21) |
lies in
and since
divides ![]() |
(22) |
![]() |
(23) |
.
Of course this method based on the Euclidean Algorithm
may not be the most efficient one.
In fact for computing gcds in
(and more generally
over
) the modular methods (to be described
shortly) are much more efficient than going through
and the Euclidean Algorithm.
The simplest approach would be
(rather than
)
from
Marc Moreno Maza