Content deleted Content added
Defined primitive polynomial in the same way as found in <https://en.wikipedia.org/wiki/Gauss%27s_lemma_(polynomials)> Tags: Reverted Visual edit |
m Ce |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1:
{{No footnotes|date=December 2018}}
In [[algebra]], the '''content''' of a nonzero [[polynomial]] with [[integer]]
A polynomial
[[Gauss's lemma (
As the computation of greatest common divisors is generally much easier than [[polynomial factorization]], the first step of a polynomial factorization algorithm is generally the computation of its primitive part–content factorization (see {{slink|Factorization of polynomials|Primitive part–content factorization}}). Then the factorization problem is reduced to
Content and primitive part may be generalized to polynomials over the [[rational number]]s, and, more generally, to polynomials over the [[field of fractions]] of a unique factorization ___domain. This makes essentially equivalent the problems of computing [[polynomial greatest common divisor|greatest common divisors]] and factorization of polynomials over the integers and of polynomials over the rational numbers.
==Over the integers==
For a polynomial with integer coefficients, the content may be either the [[greatest common divisor]] of the coefficients or its [[additive inverse]]. The choice is arbitrary, and may depend on a further convention, which is commonly that the [[leading coefficient]] of the primitive part be positive.
For example, the content of <math>-12x^3+30x-20</math> may be either 2 or
:<math>-6x^3+15x-10 = \frac{-12x^3+30x-20}{2},</math>
:<math>-12x^3+30x-20 = 2 (-6x^3+15x-10).</math>
For aesthetic reasons, one often prefers choosing a negative content, here
:<math>-12x^3+30x-20 =-2 (6x^3-15x+10).</math>
==Properties==
In the remainder of this article, we consider polynomials over a [[unique factorization ___domain]] {{math|''R''}}, which can typically be the ring of [[
The '''content''' {{math|''c''(''P'')}} of a polynomial {{math|''P''}} with coefficients in {{math|''R''}} is the greatest common divisor of its coefficients, and, as such, is defined up to
which is called the primitive-part-content factorization of {{math|''P''}}.
The main properties of the content and the primitive part are results of [[Gauss's lemma (polynomial)|Gauss's lemma]], which asserts that the product of two primitive polynomials is primitive, where a polynomial is primitive if 1 is the greatest common divisor of its coefficients. This implies:
*The content of a product of polynomials is the product of their contents: <math display="block">c(P_1 P_2) = c(P_1) c(P_2).</math>
*The primitive part of a product of polynomials is the product of their primitive parts: <math display="block"> \operatorname{pp}(P_1 P_2) = \operatorname{pp}(P_1) \operatorname{pp}(P_2).</math>▼
*The content of a greatest common divisor of polynomials is the greatest common divisor (in {{math|''R''}}) of their contents: <math display="block"> c(\operatorname{gcd}(P_1, P_2)) = \operatorname{gcd}(c(P_1), c(P_2)).</math>▼
▲*The primitive part of a product of polynomials is the product of their primitive parts:
*The primitive part of a greatest common divisor of polynomials is the greatest common divisor (in {{math|''R''}}) of their primitive parts:
▲*The content of a greatest common divisor of polynomials is the greatest common divisor (in {{math|''R''}}) of their contents:
*The complete [[factorization of polynomials|factorization]] of a polynomial over {{math|''R''}} is the product of the factorization (in {{math|''R''}}) of the content and of the factorization (in the polynomial ring) of the primitive part.
Line 42 ⟶ 38:
==Over the rationals==
The primitive-part-content factorization may be extended to polynomials with
Given a polynomial {{math|''P''}} with rational coefficients, by rewriting its coefficients with the same [[common denominator]] {{math|''d''}}, one may rewrite {{math|''P''}} as
Line 57 ⟶ 53:
This shows that every polynomial over the rationals is [[associate elements|associated]] with a unique primitive polynomial over the integers, and that the [[Euclidean algorithm]] allows the computation of this primitive polynomial.
A consequence is that factoring polynomials over the rationals is equivalent to factoring primitive polynomials over the integers. As polynomials with coefficients in a
This equivalence is also used for computing
==Over a field of fractions==
The results of the preceding section remain valid if the ring of [[Integer#Algebraic properties|integers]] and the field of rationals are respectively replaced by any [[unique factorization ___domain]] {{math|''R''}} and its [[field of fractions]] {{math|''K''}}.
This is typically used for factoring [[multivariate polynomial]]s, and for [[mathematical proof|proving]] that a polynomial ring over a unique factorization ___domain is also a unique factorization ___domain.
===Unique factorization property of polynomial rings===
A [[polynomial ring]] over a [[field (mathematics)|field]] is a unique factorization ___domain. The same is true for a polynomial ring over a unique factorization ___domain. To prove this, it suffices to consider the [[univariate]] case, as the general case may be deduced by
The unique factorization property is a direct consequence of [[Euclid's lemma]]: If an [[irreducible element]] divides a product, then it divides one of the factors. For univariate polynomials over a field, this results from [[Bézout's identity]], which itself results from the [[Euclidean algorithm]].
So, let {{math|''R''}} be a unique factorization ___domain, which is not a field, and {{math|''R''[''X'']}} the univariate
If {{math|''r''}} is in {{math|''R''}} and divides a product <math>P_1P_2</math> of two polynomials, then it divides the content <math>c(P_1P_2) = c(P_1)c(P_2).</math> Thus, by Euclid's lemma in {{math|''R''}}, it divides one of the contents, and therefore one of the polynomials.
Line 81 ⟶ 77:
{{see also|Factorization of polynomials}}
For factoring a multivariate polynomial over a field or over the integers, one may consider it as a univariate polynomial with coefficients in a polynomial ring with one less indeterminate. Then the factorization is reduced to factorizing separately the primitive part and the content. As the content has one less indeterminate, it may be factorized by applying the method [[recursion (computer science)|recursively]]. For factorizing the primitive part, the standard method consists of substituting integers to the indeterminates of the coefficients in a way that does not change the [[degree of a polynomial|degree]] in the remaining variable, factorizing the resulting univariate polynomial, and lifting the result to a factorization of the primitive part.
==See also==
|