 
 
 
 
 
   
 [x] and
[x] and 
 [x].   Polynomial gcds in non Euclidean domains.
[x].   Polynomial gcds in non Euclidean domains.
 [x] since
[x] since
 [x] is not an Euclidean domain.
However the concept of a polynomial gcd is well defined in
[x] is not an Euclidean domain.
However the concept of a polynomial gcd is well defined in 
 [x]
since
[x]
since 
 [x] is a Unique Factorization Domain, as we shall review.
[x] is a Unique Factorization Domain, as we shall review.
If we transport the computation of a gcd from 
 [x] to
[x] to  
 [x] 
we should be careful.
For instance with
[x] 
we should be careful.
For instance with 
| f = 2x2 + 2 and g = 6x + 2. | (11) | 
 [x] their normalized gcd will be 1 whereas their expected
gcd in
[x] their normalized gcd will be 1 whereas their expected
gcd in 
 [x] is 2.
[x] is 2.
 R can be written
 R can be written 
| a = lu(a) normal(a) | (12) | 
For 
R =  we will take 
normal(a) = | a |.
For 
R =
 we will take 
normal(a) = | a |.
For 
R =  [x] we will take 
normal(a) = a/lc(a).
[x] we will take 
normal(a) = a/lc(a).
 R is reducible
if there are two nonunits c, d
 R is reducible
if there are two nonunits c, d  R such that 
p = c d,
otherwise p is irreducible.
Units are neither reducible nor irreducible.
A nonzero nonunit p
 R such that 
p = c d,
otherwise p is irreducible.
Units are neither reducible nor irreducible.
A nonzero nonunit p  R is prime if 
for every c, d
 R is prime if 
for every c, d  R we have
we have
 R we have
we have
| (p  |  cd )  (p  |  c  or  p  |  d ) | (13) | 
Assume from now on that R is a Unique Factorization Domain (UFD). This means that R is an integral domain such that
 R can be written as a product of irreducible elements
in a unique way up to reordering and multiplication by units.
 R can be written as a product of irreducible elements
in a unique way up to reordering and multiplication by units.
 R
is 
normal(f0).
Observe that 
cont(f ) is uniquely defined in any case.
 R
is 
normal(f0).
Observe that 
cont(f ) is uniquely defined in any case.
The polynomial 
f  R[x] is primitive if 
cont(f )= 1.
The primitive part of 
f
 R[x] is primitive if 
cont(f )= 1.
The primitive part of 
f  R[x] is the polynomial
pp(f )
 R[x] is the polynomial
pp(f )  R[x] such that
 R[x] such that
| p = cont(f )pp(f ). | (14) | 
 R[x] and c
 R[x] and c  R we have
 R we have
| cont(c f ) = c cont(f ) and pp(c f ) = c pp(f ) | (15) | 
 R[x] be primitive.
Let p
 R[x] be primitive.
Let p  R be a prime.
Then, the  residue class ring D = R/p is an integral domain.
It follows (this is a classical result) that D[x] is an integral domain too.
By hypothesis f modp and g modp are not zero.
Hence 
fg modp is not zero too.
This shows that p cannot divide 
cont(fg).
Finally we have proved that no primes divide 
cont(fg)
and thus 
cont(fg) = 1.
 R be a prime.
Then, the  residue class ring D = R/p is an integral domain.
It follows (this is a classical result) that D[x] is an integral domain too.
By hypothesis f modp and g modp are not zero.
Hence 
fg modp is not zero too.
This shows that p cannot divide 
cont(fg).
Finally we have proved that no primes divide 
cont(fg)
and thus 
cont(fg) = 1.
  
 R[x].
Then we have
 R[x].
Then we have
| cont(fg) = cont(f ) cont(g) and pp(fg) = pp(f ) pp(g). | (16) | 
| 
 | (17) | 
| 
 | (18) | 
 
 
 or a field.
Then 
R[x1,..., xn] is a UFD.
 or a field.
Then 
R[x1,..., xn] is a UFD. 
 R[x] be univariate polynomials over R
and let h be their normalized gcd in R[x].
Then the following properties hold.
 R[x] be univariate polynomials over R
and let h be their normalized gcd in R[x].
Then the following properties hold.
 
 R[x] by means of a polynomial gcd computation
in K[x] and gcd computations in R.
We define
 R[x] by means of a polynomial gcd computation
in K[x] and gcd computations in R.
We define 
| c = gcd(cont(f ), cont(g)) | (19) | 
![$ \gcd_{{{R[x]}}}^{{}}$](img20.png) (f, g) we can assume that 
f and g are divided out by their contents.
Let
(f, g) we can assume that 
f and g are divided out by their contents.
Let  be the monic gcd of f and g in K[x].
We have
 be the monic gcd of f and g in K[x].
We have
|  =  h/lc(h) | (20) | 
| b = gcd(lc(f ), lc(g)) | (21) | 
 lies in R[x]
and since 
lc(h) divides b we have
 lies in R[x]
and since 
lc(h) divides b we have
| b    R[x] | (22) | 
| h  =  c  pp(b  ) | (23) | 
In fact for computing gcds in 
 [x] (and more generally
over
[x] (and more generally
over 
 [x1,..., xn]) the modular methods (to be described
shortly) are much more efficient than going through
[x1,..., xn]) the modular methods (to be described
shortly) are much more efficient than going through 
 [x]
and the Euclidean Algorithm.
[x]
and the Euclidean Algorithm.
The simplest approach would be
 of f and g in
 of f and g in 
 /
/ p
p
 [x] (rather than
[x] (rather than 
 [x])
[x])
 [x] from
[x] from 
 .
.
 is the modular image of h and that
 is the modular image of h and that
 
 
 
 
