Search results
Results from the WOW.Com Content Network
A simplified version of the LLL factorization algorithm is as follows: calculate a complex (or p-adic) root α of the polynomial () to high precision, then use the Lenstra–Lenstra–Lovász lattice basis reduction algorithm to find an approximate linear relation between 1, α, α 2, α 3, . . . with integer coefficients, which might be an ...
In elementary algebra, factoring a polynomial reduces the problem of finding its roots to finding the roots of the factors. Polynomials with coefficients in the integers or in a field possess the unique factorization property, a version of the fundamental theorem of arithmetic with prime numbers replaced by irreducible polynomials.
Suppose f is a k-degree polynomial over (the rational numbers), and r is a complex root of f. Then, f(r) = 0, which can be rearranged to express r k as a linear combination of powers of r less than k. This equation can be used to reduce away any powers of r with exponent e ≥ k.
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.
After each root is computed, its linear factor is removed from the polynomial. Using this deflation guarantees that each root is computed only once and that all roots are found. The real variant follows the same pattern, but computes two roots at a time, either two real roots or a pair of conjugate complex roots.
This requires some care in the presence of multiple roots; but a complex root and its conjugate do have the same multiplicity (and this lemma is not hard to prove). It can also be worked around by considering only irreducible polynomials ; any real polynomial of odd degree must have an irreducible factor of odd degree, which (having no multiple ...
Laguerre's method may even converge to a complex root of the polynomial, because the radicand of the square root may be of a negative number, in the formula for the correction, , given above – manageable so long as complex numbers can be conveniently accommodated for the calculation. This may be considered an advantage or a liability ...
In mathematics, particularly computational algebra, Berlekamp's algorithm is a well-known method for factoring polynomials over finite fields (also known as Galois fields). The algorithm consists mainly of matrix reduction and polynomial GCD computations. It was invented by Elwyn Berlekamp in 1967.