Search results
Results from the WOW.Com Content Network
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 domain. Polynomial factorization is one of the fundamental components of computer algebra systems.
The polynomial x 2 + cx + d, where a + b = c and ab = d, can be factorized into (x + a)(x + b).. 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.
Given a quadratic polynomial of the form + + it is possible to factor out the coefficient a, and then complete the square for the resulting monic polynomial. Example: + + = [+ +] = [(+) +] = (+) + = (+) + This process of factoring out the coefficient a can further be simplified by only factorising it out of the first 2 terms.
Polynomial factoring algorithms use basic polynomial operations such as products, divisions, gcd, powers of one polynomial modulo another, etc. A multiplication of two polynomials of degree at most n can be done in O(n 2) operations in F q using "classical" arithmetic, or in O(nlog(n) log(log(n)) ) operations in F q using "fast" arithmetic.
An optimal strategy for choosing these polynomials is not known; one simple method is to pick a degree d for a polynomial, consider the expansion of n in base m (allowing digits between −m and m) for a number of different m of order n 1/d, and pick f(x) as the polynomial with the smallest coefficients and g(x) as x − m.
Fermat's factorization method, named after Pierre de Fermat, is based on the representation of an odd integer as the difference of two squares: =. That difference is algebraically factorable as (+) (); if neither factor equals one, it is a proper factorization of N.
The polynomial factors into linear factors over a field of order q. More precisely, this polynomial is the product of all monic polynomials of degree one over a field of order q. This implies that, if q = p n then X q − X is the product of all monic irreducible polynomials over GF(p), whose degree divides n.
The Cantor–Zassenhaus algorithm takes as input a square-free polynomial (i.e. one with no repeated factors) of degree n with coefficients in a finite field whose irreducible polynomial factors are all of equal degree (algorithms exist for efficiently factoring arbitrary polynomials into a product of polynomials satisfying these conditions, for instance, () / ((), ′ ()) is a squarefree ...