Ad
related to: easiest way to factor trinomials
Search results
Results From The WOW.Com Content Network
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 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.
Polynomial long division is an algorithm that implements the Euclidean division of polynomials, which starting from two polynomials A (the dividend) and B (the divisor) produces, if B is not zero, a quotient Q and a remainder R such that A = BQ + R, and either R = 0 or the degree of R is lower than the degree of B.
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 ...
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.
Fermat's method works best when there is a factor near the square-root of N. If the approximate ratio of two factors ( d / c {\displaystyle d/c} ) is known, then a rational number v / u {\displaystyle v/u} can be picked near that value.
Euler's factorization method is a technique for factoring a number by writing it as a sum of two squares in two different ways. For example the number 1000009 {\displaystyle 1000009} can be written as 1000 2 + 3 2 {\displaystyle 1000^{2}+3^{2}} or as 972 2 + 235 2 {\displaystyle 972^{2}+235^{2}} and Euler's method gives the factorization ...