HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a square-free polynomial is a
polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exampl ...
defined over a field (or more generally, an
integral domain In mathematics, specifically abstract algebra, an integral domain is a nonzero commutative ring in which the product of any two nonzero elements is nonzero. Integral domains are generalizations of the ring of integers and provide a natural s ...
) that does not have as a
divisor In mathematics, a divisor of an integer n, also called a factor of n, is an integer m that may be multiplied by some integer to produce n. In this case, one also says that n is a multiple of m. An integer n is divisible or evenly divisible by ...
any square of a non-constant polynomial. A
univariate polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An ex ...
is square free if and only if it has no
multiple root In mathematics, the multiplicity of a member of a multiset is the number of times it appears in the multiset. For example, the number of times a given polynomial has a root at a given point is the multiplicity of that root. The notion of multip ...
in an
algebraically closed field In mathematics, a field is algebraically closed if every non-constant polynomial in (the univariate polynomial ring with coefficients in ) has a root in . Examples As an example, the field of real numbers is not algebraically closed, because ...
containing its coefficients. This motivates that, in applications in physics and engineering, a square-free polynomial is commonly called a polynomial with no repeated roots. In the case of univariate polynomials, the
product rule In calculus, the product rule (or Leibniz rule or Leibniz product rule) is a formula used to find the derivatives of products of two or more functions. For two functions, it may be stated in Lagrange's notation as (u \cdot v)' = u ' \cdot v ...
implies that, if divides , then divides the
formal derivative In mathematics, the formal derivative is an operation on elements of a polynomial ring or a ring of formal power series that mimics the form of the derivative from calculus. Though they appear similar, the algebraic advantage of a formal derivati ...
of . The converse is also true and hence, f is square-free if and only if 1 is a
greatest common divisor In mathematics, the greatest common divisor (GCD) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers ''x'', ''y'', the greatest common divisor of ''x'' and ''y'' is ...
of the polynomial and its derivative. A square-free decomposition or square-free factorization of a polynomial is a factorization into powers of square-free polynomials : f = a_1 a_2^2 a_3^3 \cdots a_n^n =\prod_^n a_k^k\, where those of the that are non-constant are pairwise coprime square-free polynomials (here, two polynomials are said ''coprime'' is their greatest common divisor is a constant; in other words that is the coprimality over the
field of fractions In abstract algebra, the field of fractions of an integral domain is the smallest field in which it can be embedded. The construction of the field of fractions is modeled on the relationship between the integral domain of integers and the field ...
of the coefficients that is considered). Every non-zero polynomial admits a square-free factorization, which is unique
up to Two mathematical objects ''a'' and ''b'' are called equal up to an equivalence relation ''R'' * if ''a'' and ''b'' are related by ''R'', that is, * if ''aRb'' holds, that is, * if the equivalence classes of ''a'' and ''b'' with respect to ''R'' ...
the multiplication and division of the factors by non-zero constants. The square-free factorization is much easier to compute than the complete
factorization In mathematics, factorization (or factorisation, see English spelling differences) or factoring consists of writing a number or another mathematical object as a product of several ''factors'', usually smaller or simpler objects of the same kind ...
into irreducible factors, and is thus often preferred when the complete factorization is not really needed, as for the
partial fraction decomposition In algebra, the partial fraction decomposition or partial fraction expansion of a rational fraction (that is, a fraction such that the numerator and the denominator are both polynomials) is an operation that consists of expressing the fraction as ...
and the
symbolic integration In calculus, symbolic integration is the problem of finding a formula for the antiderivative, or ''indefinite integral'', of a given function ''f''(''x''), i.e. to find a differentiable function ''F''(''x'') such that :\frac = f(x). This is a ...
of rational fractions. Square-free factorization is the first step of the
polynomial factorization In mathematics and computer algebra, factorization of polynomials or polynomial factorization expresses a polynomial with coefficients in a given field or in the integers as the product of irreducible factors with coefficients in the same dom ...
algorithms that are implemented in
computer algebra system A computer algebra system (CAS) or symbolic algebra system (SAS) is any mathematical software with the ability to manipulate mathematical expressions in a way similar to the traditional manual computations of mathematicians and scientists. The ...
s. Therefore, the algorithm of square-free factorization is basic in
computer algebra In mathematics and computer science, computer algebra, also called symbolic computation or algebraic computation, is a scientific area that refers to the study and development of algorithms and software for manipulating mathematical expressions ...
. Over a field of characteristic 0, the quotient of f by its GCD with its derivative is the product of the a_i in the above square-free decomposition. Over a perfect field of non-zero characteristic , this quotient is the product of the a_i such that is not a multiple of . Further GCD computations and exact divisions allow computing the square-free factorization (see square-free factorization over a finite field). In characteristic zero, a better algorithm is known, Yun's algorithm, which is described below. Its
computational complexity In computer science, the computational complexity or simply complexity of an algorithm is the amount of resources required to run it. Particular focus is given to computation time (generally measured by the number of needed elementary operations) ...
is, at most, twice that of the GCD computation of the input polynomial and its derivative. More precisely, if T_ is the time needed to compute the GCD of two polynomials of degree n and the quotient of these polynomial by the GCD, then 2T_ is an upper bound for the time needed to compute the square free decomposition. There are also known algorithms for the computation of the square-free decomposition of
multivariate polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exampl ...
s, that proceed generally by considering a multivariate polynomial as a univariate polynomial with polynomial coefficients, and applying recursively a univariate algorithm.


Yun's algorithm

This section describes Yun's algorithm for the square-free decomposition of univariate polynomials over a field of
characteristic 0 In mathematics, the characteristic of a ring , often denoted , is defined to be the smallest number of times one must use the ring's multiplicative identity (1) in a sum to get the additive identity (0). If this sum never reaches the additive id ...
. It proceeds by a succession of GCD computations and exact divisions. The input is thus a non-zero polynomial ''f'', and the first step of the algorithm consists of computing the GCD ''a''0 of ''f'' and its
formal derivative In mathematics, the formal derivative is an operation on elements of a polynomial ring or a ring of formal power series that mimics the form of the derivative from calculus. Though they appear similar, the algebraic advantage of a formal derivati ...
''f. If : f = a_1 a_2^2 a_3^3 \cdots a_k^k is the desired factorization, we have thus : a_0 = a_2^1 a_3^2 \cdots a_k^, : f/a_0 = a_1 a_2 a_3 \cdots a_k and : f'/a_0 = \sum_^k i a_i' a_1 \cdots a_ a_ \cdots a_k. If we set b_1=f/a_0, c_1=f'/a_0 and d_1=c_1-b_1', we get that : \gcd(b_1,d_1) = a_1, : b_2=b_1/a_1 = a_2 a_3 \cdots a_n, and : c_2=d_1/a_1 = \sum_^k (i-1) a_i' a_2 \cdots a_ a_ \cdots a_k. Iterating this process until b_=1 we find all the a_i. This is formalized into an algorithm as follows: The degree of c_i and d_i is one less than the degree of b_i. As f is the product of the b_i, the sum of the degrees of the b_i is the degree of f. As the complexity of GCD computations and divisions increase more than linearly with the degree, it follows that the total running time of the "repeat" loop is less than the running time of the first line of the algorithm, and that the total running time of Yun's algorithm is upper bounded by twice the time needed to compute the GCD of f and f' and the quotient of f and f' by their GCD.


Square root

In general, a polynomial has no
square root In mathematics, a square root of a number is a number such that ; in other words, a number whose '' square'' (the result of multiplying the number by itself, or  ⋅ ) is . For example, 4 and −4 are square roots of 16, because . ...
. More precisely, most polynomials cannot be written as the square of another polynomial. A polynomial has a square root if and only if all exponents of the square-free decomposition are even. In this case, a square root is obtained by dividing these exponents by 2. Thus the problem of deciding if a polynomial has a square root, and of computing it if it exists, is a special case of square-free factorization.


Notes


References

{{Polynomials Polynomials Computer algebra Polynomials factorization algorithms