Right-to-left shunt

From formulasearchengine
Jump to navigation Jump to search

In mathematics, a square-free polynomial is a polynomial defined over a field or, more generally, a unique factorization domain that is not a multiple of the square of a non unit factor. In the important case of univariate polynomials over a field k, this means that, fk[X] is square-free if and only if b2f for every polynomial bk[X] of positive degree.[1] In applications in physics and engineering, a square-free polynomial is commonly called a polynomial with no repeated roots.

In the context of field theory, square-free polynomials are also called separable polynomials.

A square-free decomposition or square-free factorization of a polynomial is a factorization into powers of square-free factors

f=a1a22a33ann

where the ak that are not equal to 1 are pairwise coprime square-free polynomials.[1] Every non-zero polynomial with coefficients in a field admits a square-free factorization, which is unique up to the multiplication of the factors by non zero constants. The square-free factorization is much easier to compute than the complete factorization into irreducible factors, and is thus often preferred when the complete factorization is not really needed, like for the partial fraction decomposition and the symbolic integration of rational fractions. Square-free factorization is the first step of the polynomial factorization algorithms which are implemented in computer algebra systems. Therefore, the algorithm of square-free factorization is basic in computer algebra.

In the case of univariate polynomials over a field, any multiple factor of a polynomial introduces a nontrivial common factor of f and its formal derivative f ′, so a sufficient condition for f to be square-free is that the greatest common divisor of f and f ′ is 1. Over a perfect field, all irreducible polynomials are separable, so that condition is also necessary. If the polynomial is not square free, the product of the ai in the above square free decomposition may be obtained as the quotient of f by its GCD with its derivative. Further GCD computations and exact divisions allow to compute 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.[1] Its computational complexity is, at most, twice that of the GCD computation of the input polynomial and its derivative. More precisely, if Tn is the time needed to compute the GCD of two polynomials of degree n and the quotient of these polynomial by the GCD, then 2Tn 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 polynomials.[2]

Yun's algorithm

In this section we describe Yun's algorithm for the square-free decomposition of univariate polynomials over a field of characteristic 0.[1] It proceed 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 in computing the GCD a0 of f and its formal derivative f'.

If

f=a1a22a33akk

is the desired factorization, we have thus

a0=a21a32akk1,
f/a0=a1a2a3ak

and

f/a0=i=1kiaia1ai1ai+1ak.

If we set b1=f/a0, c1=f/a0 and d1=c1b1, we get that

gcd(b1,d1)=a1,
b2=b1/a1=a2a3an,

and

c2=d1/a1=i=2k(k1)aia2ai1ai+1ak.

Iterating this process until bk+1=1 we find all the ai.

This is formalized into an algorithm as follows: 36 year-old Diving Instructor (Open water ) Vancamp from Kuujjuaq, spends time with pursuits for instance gardening, public listed property developers in singapore developers in singapore and cigar smoking. Of late took some time to go China Danxia.

The degree of ci and di is one less than the degree of bi. As f is the product of the bi, the sum of the degrees of the bi 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.

Notes

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

  1. 1.0 1.1 1.2 1.3 Yun, David Y.Y. (1976). On square-free decomposition algorithms SYMSAC '76 Proceedings of the third ACM symposium on Symbolic and algebraic computation, p. 26-35.
  2. Gianni P., Trager B. (1996). Square-Free Algorithms in Positive Characteristic Applicable Algebra In Engineering, Communication And Computing, 7(1), p. 1-14.