Search results
Results From The WOW.Com Content Network
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.
For instance, the polynomial x 2 + 3x + 2 is an example of this type of trinomial with n = 1. The solution a 1 = −2 and a 2 = −1 of the above system gives the trinomial factorization: x 2 + 3x + 2 = (x + a 1)(x + a 2) = (x + 2)(x + 1). The same result can be provided by Ruffini's rule, but with a more complex and time-consuming process.
A general-purpose factoring algorithm, also known as a Category 2, Second Category, or Kraitchik family algorithm, [10] has a running time which depends solely on the size of the integer to be factored. This is the type of algorithm used to factor RSA numbers. Most general-purpose factoring algorithms are based on the congruence of squares method.
Modern algorithms and computers can quickly factor univariate polynomials of degree more than 1000 having coefficients with thousands of digits. [3] For this purpose, even for factoring over the rational numbers and number fields, a fundamental step is a factorization of a polynomial over a finite field.
In the second step, the distributive law is used to simplify each of the two terms. Note that this process involves a total of three applications of the distributive property. In contrast to the FOIL method, the method using distributivity can be applied easily to products with more terms such as trinomials and higher.
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.
Consider the number field rings Z[r 1] and Z[r 2], where r 1 and r 2 are roots of the polynomials f and g. Since f is of degree d with integer coefficients, if a and b are integers, then so will be b d ·f(a/b), which we call r. Similarly, s = b e ·g(a/b) is an integer.
The algorithm attempts to set up a congruence of squares modulo n (the integer to be factorized), which often leads to a factorization of n.The algorithm works in two phases: the data collection phase, where it collects information that may lead to a congruence of squares; and the data processing phase, where it puts all the data it has collected into a matrix and solves it to obtain a ...