squarefree factorization
Given a polynomial Aβπ½p[X], where p is a prime and π½p is the field with p elements, we want to find a decomposition
A=nβi=1Aii |
with squarefree polynomials Ai, which are pairwise coprime. Since we are in a field, we can assume that A is monic.
Since A has a unique factorization we can take Ai to be the product
of all irreducible
divisors
P of A with vP(A)=i, where vP(A) is the number such that PvP(A) divides A but PvP(A)+1 does not, so such a decomposition exists.
If A is in the desired form, we have for the derivative Aβ² of A:
Aβ²=nβi=1βjβ iiAjjAβ²iAi-1i. | (1) |
Now let T:=. For every irreducible polynomial dividing we can determine in the following way: must divide for some value of (then it does not divide any other ). Then for all the of the th summand in equation (1) is at least and for the th summand it is ( is not divisible by since is squarefree) if and 0 if (because of the factor in that summand). So we find if and if (equality holds because ). So we obtain
Now we define two sequences and by and
Then set if and if and set . By induction one finds
So for it follows , so for we can continue as long as is non-constant. When is constant, we have
Assume , then with
so we can set and have . Now we can decompose by using the algorithm recursively.
In practice one can easily compute using Euclidβs algorithm. Then one computes the sequences and to get the . The algorithm is needed as a first step when one wants to find the prime decomposition of a polynomial, because it reduces the problem to the problem of factoring a squarefree polynomial.
Title | squarefree factorization![]() |
---|---|
Canonical name | SquarefreeFactorization |
Date of creation | 2013-03-22 14:54:20 |
Last modified on | 2013-03-22 14:54:20 |
Owner | mathwizard (128) |
Last modified by | mathwizard (128) |
Numerical id | 5 |
Author | mathwizard (128) |
Entry type | Algorithm |
Classification | msc 11Y99 |
Classification | msc 11C99 |
Classification | msc 13P05 |
Classification | msc 13M10 |
Related topic | CantorZassenhausSplit |