Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Factorization

From Wikipedia, the free encyclopedia
(Mathematical) decomposition into a product
For other uses, seeFactor (disambiguation).
The polynomialx2 + cx + d, wherea + b = c andab = d, can be factorized into (x + a)(x + b).

Inmathematics,factorization (orfactorisation, seeEnglish spelling differences) orfactoring consists of writing a number or anothermathematical object as a product of severalfactors, usually smaller or simpler objects of the same kind. For example,3 × 5 is aninteger factorization of15, and(x − 2)(x + 2) is apolynomial factorization ofx2 − 4.

Factorization is not usually considered meaningful within number systems possessingdivision, such as thereal orcomplex numbers, since anyx{\displaystyle x} can be trivially written as(xy)×(1/y){\displaystyle (xy)\times (1/y)} whenevery{\displaystyle y} is not zero. However, a meaningful factorization for arational number or arational function can be obtained by writing it in lowest terms and separately factoring its numerator and denominator.

Factorization was first considered byancient Greek mathematicians in the case of integers. They proved thefundamental theorem of arithmetic, which asserts that every positive integer may be factored into a product ofprime numbers, which cannot be further factored into integers greater than 1. Moreover, this factorization is uniqueup to the order of the factors. Althoughinteger factorization is a sort of inverse to multiplication, it is much more difficultalgorithmically, a fact which is exploited in theRSA cryptosystem to implementpublic-key cryptography.

Polynomial factorization has also been studied for centuries. Inelementary algebra, factoring a polynomial reduces the problem of finding itsroots to finding the roots of the factors. Polynomials with coefficients in the integers or in afield possess theunique factorization property, a version of the fundamental theorem of arithmetic with prime numbers replaced byirreducible polynomials. In particular, aunivariate polynomial withcomplex coefficients admits a unique (up to ordering) factorization intolinear polynomials: this is a version of thefundamental theorem of algebra. In this case, the factorization can be done withroot-finding algorithms. The case of polynomials with integer coefficients is fundamental forcomputer algebra. There are efficient computeralgorithms for computing (complete) factorizations within the ring of polynomials with rational number coefficients (seefactorization of polynomials).

Acommutative ring possessing the unique factorization property is called aunique factorization domain. There arenumber systems, such as certainrings of algebraic integers, which are not unique factorization domains. However, rings of algebraic integers satisfy the weaker property ofDedekind domains:ideals factor uniquely intoprime ideals.

Factorization may also refer to more general decompositions of a mathematical object into the product of smaller or simpler objects. For example, every function may be factored into the composition of asurjective function with aninjective function.Matrices possess many kinds ofmatrix factorizations. For example, every matrix has a uniqueLUP factorization as a product of alower triangular matrixL with all diagonal entries equal to one, anupper triangular matrixU, and apermutation matrixP; this is a matrix formulation ofGaussian elimination.

Integers

[edit]
Main article:Integer factorization

By thefundamental theorem of arithmetic, everyinteger greater than 1 has a unique (up to the order of the factors) factorization intoprime numbers, which are those integers which cannot be further factorized into the product of integers greater than one.

For computing the factorization of an integern, one needs analgorithm for finding adivisorq ofn or deciding thatn is prime. When such a divisor is found, the repeated application of this algorithm to the factorsq andn /q gives eventually the complete factorization ofn.[1]

For finding a divisorq ofn, if any, it suffices to test all values ofq such that1 <q andq2n. In fact, ifr is a divisor ofn such thatr2 >n, thenq =n /r is a divisor ofn such thatq2n.

If one tests the values ofq in increasing order, the first divisor that is found is necessarily a prime number, and thecofactorr =n /q cannot have any divisor smaller thanq. For getting the complete factorization, it suffices thus to continue the algorithm by searching a divisor ofr that is not smaller thanq and not greater thanr.

There is no need to test all values ofq for applying the method. In principle, it suffices to test only prime divisors. This needs to have a table of prime numbers that may be generated for example with thesieve of Eratosthenes. As the method of factorization does essentially the same work as the sieve of Eratosthenes, it is generally more efficient to test for a divisor only those numbers for which it is not immediately clear whether they are prime or not. Typically, one may proceed by testing 2, 3, 5, and the numbers > 5, whose last digit is 1, 3, 7, 9 and the sum of digits is not a multiple of 3.

This method works well for factoring small integers, but is inefficient for larger integers. For example,Pierre de Fermat was unable to discover that the 6thFermat number

1+225=1+232=4294967297{\displaystyle 1+2^{2^{5}}=1+2^{32}=4\,294\,967\,297}

is not a prime number. In fact, applying the above method would require more than10000 divisions, for a number that has 10 decimal digits.

There are more efficient factoring algorithms. However they remain relatively inefficient, as, with the present state of the art, one cannot factorize, even with the more powerful computers, a number of 500 decimal digits that is the product of two randomly chosen prime numbers. This ensures the security of theRSA cryptosystem, which is widely used for secureinternet communication.

Example

[edit]

For factoringn = 1386 into primes:

  • Start with division by 2: the number is even, andn = 2 · 693. Continue with 693, and 2 as a first divisor candidate.
  • 693 is odd (2 is not a divisor), but is a multiple of 3: one has693 = 3 · 231 andn = 2 · 3 · 231. Continue with 231, and 3 as a first divisor candidate.
  • 231 is also a multiple of 3: one has231 = 3 · 77, and thusn = 2 · 32 · 77. Continue with 77, and 3 as a first divisor candidate.
  • 77 is not a multiple of 3, since the sum of its digits is 14, not a multiple of 3. It is also not a multiple of 5 because its last digit is 7. The next odd divisor to be tested is 7. One has77 = 7 · 11, and thusn = 2 · 32 · 7 · 11. This shows that 7 is prime (easy to test directly). Continue with 11, and 7 as a first divisor candidate.
  • As72 > 11, one has finished. Thus 11 is prime, and the prime factorization is
1386 = 2 · 32 · 7 · 11.

Expressions

[edit]

Manipulatingexpressions is the basis ofalgebra. Factorization is one of the most important methods for expression manipulation for several reasons. If one can put anequation in a factored formEF = 0, then the problem of solving the equation splits into two independent (and generally easier) problemsE = 0 andF = 0. When an expression can be factored, the factors are often much simpler, and may thus offer some insight on the problem. For example,

x3ax2bx2cx2+abx+acx+bcxabc{\displaystyle x^{3}-ax^{2}-bx^{2}-cx^{2}+abx+acx+bcx-abc}

having 16 multiplications, 4 subtractions and 3 additions, may be factored into the much simpler expression

(xa)(xb)(xc),{\displaystyle (x-a)(x-b)(x-c),}

with only two multiplications and three subtractions. Moreover, the factored form immediately givesrootsx =a,b,c as the roots of the polynomial.

On the other hand, factorization is not always possible, and when it is possible, the factors are not always simpler. For example,x101{\displaystyle x^{10}-1} can be factored into twoirreducible factorsx1{\displaystyle x-1} andx9+x8++x2+x+1{\displaystyle x^{9}+x^{8}+\cdots +x^{2}+x+1}.

Various methods have been developed for finding factorizations; some are describedbelow.

Solvingalgebraic equations may be viewed as a problem ofpolynomial factorization. In fact, thefundamental theorem of algebra can be stated as follows: everypolynomial inx of degreen withcomplex coefficients may be factorized inton linear factorsxai,{\displaystyle x-a_{i},} fori = 1, ...,n, where theais are the roots of the polynomial.[2] Even though the structure of the factorization is known in these cases, theais generally cannot be computed in terms of radicals (nth roots), by theAbel–Ruffini theorem. In most cases, the best that can be done is computingapproximate values of the roots with aroot-finding algorithm.

History of factorization of expressions

[edit]

The systematic use of algebraic manipulations for simplifying expressions (more specificallyequations) may be dated to 9th century, withal-Khwarizmi's bookThe Compendious Book on Calculation by Completion and Balancing, which is titled with two such types of manipulation.

However, even for solvingquadratic equations, the factoring method was not used beforeHarriot's work published in 1631, ten years after his death.[3] In his bookArtis Analyticae Praxis ad Aequationes Algebraicas Resolvendas, Harriot drew tables for addition,subtraction, multiplication and division ofmonomials,binomials, andtrinomials. Then, in a second section, he set up the equationaaba +ca = +bc, and showed that this matches the form of multiplication he had previously provided, giving the factorization(ab)(a +c).[4]

General methods

[edit]

The following methods apply to any expression that is a sum, or that may be transformed into a sum. Therefore, they are most often applied topolynomials, though they also may be applied when the terms of the sum are notmonomials, that is, the terms of the sum are a product of variables and constants.

Common factor

[edit]

It may occur that all terms of a sum are products and that some factors are common to all terms. In this case, thedistributive law allows factoring out this common factor. If there are several such common factors, it is preferable to divide out the greatest such common factor. Also, if there are integer coefficients, one may factor out thegreatest common divisor of these coefficients.

For example,[5]6x3y2+8x4y310x5y3=2x3y2(3+4xy5x2y),{\displaystyle 6x^{3}y^{2}+8x^{4}y^{3}-10x^{5}y^{3}=2x^{3}y^{2}(3+4xy-5x^{2}y),}since 2 is the greatest common divisor of 6, 8, and 10, andx3y2{\displaystyle x^{3}y^{2}} divides all terms.

Grouping

[edit]

Grouping terms may allow using other methods for getting a factorization.

For example, to factor4x2+20x+3xy+15y,{\displaystyle 4x^{2}+20x+3xy+15y,}one may remark that the first two terms have a common factorx, and the last two terms have the common factory. Thus4x2+20x+3xy+15y=(4x2+20x)+(3xy+15y)=4x(x+5)+3y(x+5).{\displaystyle 4x^{2}+20x+3xy+15y=(4x^{2}+20x)+(3xy+15y)=4x(x+5)+3y(x+5).}Then a simple inspection shows the common factorx + 5, leading to the factorization4x2+20x+3xy+15y=(4x+3y)(x+5).{\displaystyle 4x^{2}+20x+3xy+15y=(4x+3y)(x+5).}

In general, this works for sums of 4 terms that have been obtained as the product of twobinomials. Although not frequently, this may work also for more complicated examples.

Adding and subtracting terms

[edit]

Sometimes, some term grouping reveals part of arecognizable pattern. It is then useful to add and subtract terms to complete the pattern.

A typical use of this is thecompleting the square method for getting thequadratic formula.

Another example is the factorization ofx4+1.{\displaystyle x^{4}+1.} If one introduces the non-realsquare root of –1, commonly denotedi, then one has adifference of squaresx4+1=(x2+i)(x2i).{\displaystyle x^{4}+1=(x^{2}+i)(x^{2}-i).}However, one may also want a factorization withreal number coefficients. By adding and subtracting2x2,{\displaystyle 2x^{2},} and grouping three terms together, one may recognize the square of abinomial:x4+1=(x4+2x2+1)2x2=(x2+1)2(x2)2=(x2+x2+1)(x2x2+1).{\displaystyle x^{4}+1=(x^{4}+2x^{2}+1)-2x^{2}=(x^{2}+1)^{2}-\left(x{\sqrt {2}}\right)^{2}=\left(x^{2}+x{\sqrt {2}}+1\right)\left(x^{2}-x{\sqrt {2}}+1\right).}Subtracting and adding2x2{\displaystyle 2x^{2}} also yields the factorization:x4+1=(x42x2+1)+2x2=(x21)2+(x2)2=(x2+x21)(x2x21).{\displaystyle x^{4}+1=(x^{4}-2x^{2}+1)+2x^{2}=(x^{2}-1)^{2}+\left(x{\sqrt {2}}\right)^{2}=\left(x^{2}+x{\sqrt {-2}}-1\right)\left(x^{2}-x{\sqrt {-2}}-1\right).}These factorizations work not only over the complex numbers, but also over anyfield, where either –1, 2 or –2 is a square. In afinite field, the product of two non-squares is a square; this implies that thepolynomialx4+1,{\displaystyle x^{4}+1,} which isirreducible over the integers, is reduciblemodulo everyprime number. For example,x4+1(x+1)4(mod2);{\displaystyle x^{4}+1\equiv (x+1)^{4}{\pmod {2}};}x4+1(x2+x1)(x2x1)(mod3),{\displaystyle x^{4}+1\equiv (x^{2}+x-1)(x^{2}-x-1){\pmod {3}},}since122(mod3);{\displaystyle 1^{2}\equiv -2{\pmod {3}};}x4+1(x2+2)(x22)(mod5),{\displaystyle x^{4}+1\equiv (x^{2}+2)(x^{2}-2){\pmod {5}},}since221(mod5);{\displaystyle 2^{2}\equiv -1{\pmod {5}};}x4+1(x2+3x+1)(x23x+1)(mod7),{\displaystyle x^{4}+1\equiv (x^{2}+3x+1)(x^{2}-3x+1){\pmod {7}},}since322(mod7).{\displaystyle 3^{2}\equiv 2{\pmod {7}}.}

Recognizable patterns

[edit]

Manyidentities provide an equality between a sum and a product. The above methods may be used for letting the sum side of some identity appear in an expression, which may therefore be replaced by a product.

Below are identities whose left-hand sides are commonly used as patterns (this means that the variablesE andF that appear in these identities may represent any subexpression of the expression that has to be factorized).[6]

Visual proof of the differences between two squares and two cubes
E2F2=(E+F)(EF){\displaystyle E^{2}-F^{2}=(E+F)(E-F)}
For example,
a2+2ab+b2x2+2xyy2=(a2+2ab+b2)(x22xy+y2)=(a+b)2(xy)2=(a+b+xy)(a+bx+y).{\displaystyle {\begin{aligned}a^{2}+&2ab+b^{2}-x^{2}+2xy-y^{2}\\&=(a^{2}+2ab+b^{2})-(x^{2}-2xy+y^{2})\\&=(a+b)^{2}-(x-y)^{2}\\&=(a+b+x-y)(a+b-x+y).\end{aligned}}}
  • Sum/difference of two cubes

E3+F3=(E+F)(E2EF+F2){\displaystyle E^{3}+F^{3}=(E+F)(E^{2}-EF+F^{2})}
E3F3=(EF)(E2+EF+F2){\displaystyle E^{3}-F^{3}=(E-F)(E^{2}+EF+F^{2})}
a3+b3+3ab(a+b)=(a+b)3{\displaystyle a^{3}+b^{3}+3ab(a+b)=(a+b)^{3}}
a3b33ab(ab)=(ab)3{\displaystyle a^{3}-b^{3}-3ab(a-b)=(a-b)^{3}}
  • Difference of two fourth powers
E4F4=(E2+F2)(E2F2)=(E2+F2)(E+F)(EF){\displaystyle {\begin{aligned}E^{4}-F^{4}&=(E^{2}+F^{2})(E^{2}-F^{2})\\&=(E^{2}+F^{2})(E+F)(E-F)\end{aligned}}}
  • Sum/difference of twonth powers
In the following identities, the factors may often be further factorized:
  • Difference, even exponent
E2nF2n=(En+Fn)(EnFn){\displaystyle E^{2n}-F^{2n}=(E^{n}+F^{n})(E^{n}-F^{n})}
  • Difference, even or odd exponent
EnFn=(EF)(En1+En2F+En3F2++EFn2+Fn1)=(EF)k=0n1En1kFk{\displaystyle E^{n}-F^{n}=(E-F)(E^{n-1}+E^{n-2}F+E^{n-3}F^{2}+\cdots +EF^{n-2}+F^{n-1})=(E-F)\sum _{k=0}^{n-1}{E^{n-1-k}F^{k}}}
This is an example showing that the factors may be much larger than the sum that is factorized.
  • Sum, odd exponent
En+Fn=(E+F)(En1En2F+En3F2EFn2+Fn1)=(E+F)k=0n1(1)kEn1kFk{\displaystyle E^{n}+F^{n}=(E+F)(E^{n-1}-E^{n-2}F+E^{n-3}F^{2}-\cdots -EF^{n-2}+F^{n-1})=(E+F)\sum _{k=0}^{n-1}(-1)^{k}{E^{n-1-k}F^{k}}}
(obtained by changingF byF in the preceding formula)
  • Sum, even exponent
If the exponent is apower of two then the expression cannot, in general, be factorized without introducingcomplex numbers (ifE andF contain complex numbers, this may be not the case). Ifn has an odd divisor, that is ifn =pq withp odd, one may use the preceding formula (in "Sum, odd exponent") applied to(Eq)p+(Fq)p.{\displaystyle (E^{q})^{p}+(F^{q})^{p}.}
  • Trinomials and cubic formulas
x2+y2+z2+2(xy+yz+xz)=(x+y+z)2x3+y3+z33xyz=(x+y+z)(x2+y2+z2xyxzyz)x3+y3+z3+3x2(y+z)+3y2(x+z)+3z2(x+y)+6xyz=(x+y+z)3x3+y3+z3+3(x+y)(y+z)(x+z)=(x+y+z)3{\displaystyle {\begin{aligned}&x^{2}+y^{2}+z^{2}+2(xy+yz+xz)=(x+y+z)^{2}\\&x^{3}+y^{3}+z^{3}-3xyz=(x+y+z)(x^{2}+y^{2}+z^{2}-xy-xz-yz)\\&x^{3}+y^{3}+z^{3}+3x^{2}(y+z)+3y^{2}(x+z)+3z^{2}(x+y)+6xyz=(x+y+z)^{3}\\&x^{3}+y^{3}+z^{3}+3(x+y)(y+z)(x+z)=(x+y+z)^{3}\\\end{aligned}}}
x4+x2y2+y4=(x2+xy+y2)(x2xy+y2){\displaystyle x^{4}+x^{2}y^{2}+y^{4}=(x^{2}+xy+y^{2})(x^{2}-xy+y^{2})}
x4+x2+1=(x2+x+1)(x2x+1){\displaystyle x^{4}+x^{2}+1=(x^{2}+x+1)(x^{2}-x+1)}
  • Binomial expansions
Visualisation of binomial expansion up to the 4th power
Thebinomial theorem supplies patterns that can easily be recognized from the integers that appear in them
In low degree:
a2+2ab+b2=(a+b)2{\displaystyle a^{2}+2ab+b^{2}=(a+b)^{2}}
a22ab+b2=(ab)2{\displaystyle a^{2}-2ab+b^{2}=(a-b)^{2}}
a3+3a2b+3ab2+b3=(a+b)3{\displaystyle a^{3}+3a^{2}b+3ab^{2}+b^{3}=(a+b)^{3}}
a33a2b+3ab2b3=(ab)3{\displaystyle a^{3}-3a^{2}b+3ab^{2}-b^{3}=(a-b)^{3}}
More generally, the coefficients of the expanded forms of(a+b)n{\displaystyle (a+b)^{n}} and(ab)n{\displaystyle (a-b)^{n}} are thebinomial coefficients, that appear in thenth row ofPascal's triangle.

Roots of unity

[edit]

Thenthroots of unity are thecomplex numbers each of which is aroot of the polynomialxn1.{\displaystyle x^{n}-1.} They are thus the numberse2ikπ/n=cos2πkn+isin2πkn{\displaystyle e^{2ik\pi /n}=\cos {\tfrac {2\pi k}{n}}+i\sin {\tfrac {2\pi k}{n}}}fork=0,,n1.{\displaystyle k=0,\ldots ,n-1.}

It follows that for any two expressionsE andF, one has:EnFn=(EF)k=1n1(EFe2ikπ/n){\displaystyle E^{n}-F^{n}=(E-F)\prod _{k=1}^{n-1}\left(E-Fe^{2ik\pi /n}\right)}En+Fn=k=0n1(EFe(2k+1)iπ/n)if n is even{\displaystyle E^{n}+F^{n}=\prod _{k=0}^{n-1}\left(E-Fe^{(2k+1)i\pi /n}\right)\qquad {\text{if }}n{\text{ is even}}}En+Fn=(E+F)k=1n1(E+Fe2ikπ/n)if n is odd{\displaystyle E^{n}+F^{n}=(E+F)\prod _{k=1}^{n-1}\left(E+Fe^{2ik\pi /n}\right)\qquad {\text{if }}n{\text{ is odd}}}

IfE andF are real expressions, and one wants real factors, one has to replace every pair ofcomplex conjugate factors by its product. As the complex conjugate ofeiα{\displaystyle e^{i\alpha }} iseiα,{\displaystyle e^{-i\alpha },} and(abeiα)(abeiα)=a2ab(eiα+eiα)+b2eiαeiα=a22abcosα+b2,{\displaystyle \left(a-be^{i\alpha }\right)\left(a-be^{-i\alpha }\right)=a^{2}-ab\left(e^{i\alpha }+e^{-i\alpha }\right)+b^{2}e^{i\alpha }e^{-i\alpha }=a^{2}-2ab\cos \,\alpha +b^{2},}one has the following real factorizations (one passes from one to the other by changingk intonk orn + 1 −k, and applying the usualtrigonometric formulas:E2nF2n=(EF)(E+F)k=1n1(E22EFcoskπn+F2)=(EF)(E+F)k=1n1(E2+2EFcoskπn+F2){\displaystyle {\begin{aligned}E^{2n}-F^{2n}&=(E-F)(E+F)\prod _{k=1}^{n-1}\left(E^{2}-2EF\cos \,{\tfrac {k\pi }{n}}+F^{2}\right)\\&=(E-F)(E+F)\prod _{k=1}^{n-1}\left(E^{2}+2EF\cos \,{\tfrac {k\pi }{n}}+F^{2}\right)\end{aligned}}}E2n+F2n=k=1n(E2+2EFcos(2k1)π2n+F2)=k=1n(E22EFcos(2k1)π2n+F2){\displaystyle {\begin{aligned}E^{2n}+F^{2n}&=\prod _{k=1}^{n}\left(E^{2}+2EF\cos \,{\tfrac {(2k-1)\pi }{2n}}+F^{2}\right)\\&=\prod _{k=1}^{n}\left(E^{2}-2EF\cos \,{\tfrac {(2k-1)\pi }{2n}}+F^{2}\right)\end{aligned}}}

Thecosines that appear in these factorizations arealgebraic numbers, and may be expressed in terms ofradicals (this is possible because theirGalois group is cyclic); however, these radical expressions are too complicated to be used, except for low values ofn. For example,a4+b4=(a22ab+b2)(a2+2ab+b2).{\displaystyle a^{4}+b^{4}=(a^{2}-{\sqrt {2}}ab+b^{2})(a^{2}+{\sqrt {2}}ab+b^{2}).}a5b5=(ab)(a2+152ab+b2)(a2+1+52ab+b2),{\displaystyle a^{5}-b^{5}=(a-b)\left(a^{2}+{\frac {1-{\sqrt {5}}}{2}}ab+b^{2}\right)\left(a^{2}+{\frac {1+{\sqrt {5}}}{2}}ab+b^{2}\right),}a5+b5=(a+b)(a2152ab+b2)(a21+52ab+b2),{\displaystyle a^{5}+b^{5}=(a+b)\left(a^{2}-{\frac {1-{\sqrt {5}}}{2}}ab+b^{2}\right)\left(a^{2}-{\frac {1+{\sqrt {5}}}{2}}ab+b^{2}\right),}

Often one wants a factorization with rational coefficients. Such a factorization involvescyclotomic polynomials. To express rational factorizations of sums and differences or powers, we need a notation for thehomogenization of a polynomial: ifP(x)=a0xn+aixn1++an,{\displaystyle P(x)=a_{0}x^{n}+a_{i}x^{n-1}+\cdots +a_{n},} itshomogenization is thebivariate polynomialP¯(x,y)=a0xn+aixn1y++anyn.{\displaystyle {\overline {P}}(x,y)=a_{0}x^{n}+a_{i}x^{n-1}y+\cdots +a_{n}y^{n}.} Then, one hasEnFn=knQ¯n(E,F),{\displaystyle E^{n}-F^{n}=\prod _{k\mid n}{\overline {Q}}_{n}(E,F),}En+Fn=k2n,knQ¯n(E,F),{\displaystyle E^{n}+F^{n}=\prod _{k\mid 2n,k\not \mid n}{\overline {Q}}_{n}(E,F),}where the products are taken over all divisors ofn, or all divisors of2n that do not dividen, andQn(x){\displaystyle Q_{n}(x)} is thenth cyclotomic polynomial.

For example,a6b6=Q¯1(a,b)Q¯2(a,b)Q¯3(a,b)Q¯6(a,b)=(ab)(a+b)(a2ab+b2)(a2+ab+b2),{\displaystyle a^{6}-b^{6}={\overline {Q}}_{1}(a,b){\overline {Q}}_{2}(a,b){\overline {Q}}_{3}(a,b){\overline {Q}}_{6}(a,b)=(a-b)(a+b)(a^{2}-ab+b^{2})(a^{2}+ab+b^{2}),}a6+b6=Q¯4(a,b)Q¯12(a,b)=(a2+b2)(a4a2b2+b4),{\displaystyle a^{6}+b^{6}={\overline {Q}}_{4}(a,b){\overline {Q}}_{12}(a,b)=(a^{2}+b^{2})(a^{4}-a^{2}b^{2}+b^{4}),}since the divisors of 6 are 1, 2, 3, 6, and the divisors of 12 that do not divide 6 are 4 and 12.

Polynomials

[edit]
See also:Factorization of polynomials

For polynomials, factorization is strongly related with the problem of solvingalgebraic equations. An algebraic equation has the form

P(x) =def a0xn+a1xn1++an=0,{\displaystyle P(x)\ \,{\stackrel {\text{def}}{=}}\ \,a_{0}x^{n}+a_{1}x^{n-1}+\cdots +a_{n}=0,}

whereP(x) is a polynomial inx witha00.{\displaystyle a_{0}\neq 0.}A solution of this equation (also called aroot of the polynomial) is a valuer ofx such that

P(r)=0.{\displaystyle P(r)=0.}

IfP(x)=Q(x)R(x){\displaystyle P(x)=Q(x)R(x)} is a factorization ofP(x) = 0 as a product of two polynomials, then the roots ofP(x) are theunion of the roots ofQ(x) and the roots ofR(x). Thus solvingP(x) = 0 is reduced to the simpler problems of solvingQ(x) = 0 andR(x) = 0.

Conversely, thefactor theorem asserts that, ifr is a root ofP(x) = 0, thenP(x) may be factored as

P(x)=(xr)Q(x),{\displaystyle P(x)=(x-r)Q(x),}

whereQ(x) is the quotient ofEuclidean division ofP(x) = 0 by the linear (degree one) factorxr.

If the coefficients ofP(x) arereal orcomplex numbers, thefundamental theorem of algebra asserts thatP(x) has a real or complex root. Using the factor theorem recursively, it results that

P(x)=a0(xr1)(xrn),{\displaystyle P(x)=a_{0}(x-r_{1})\cdots (x-r_{n}),}

wherer1,,rn{\displaystyle r_{1},\ldots ,r_{n}} are the real or complex roots ofP, with some of them possibly repeated. This complete factorization is uniqueup to the order of the factors.

If the coefficients ofP(x) are real, one generally wants a factorization where factors have real coefficients. In this case, the complete factorization may have some quadratic (degree two) factors. This factorization may easily be deduced from the above complete factorization. In fact, ifr =a +ib is a non-real root ofP(x), then itscomplex conjugates =aib is also a root ofP(x). So, the product

(xr)(xs)=x2(r+s)x+rs=x22ax+a2+b2{\displaystyle (x-r)(x-s)=x^{2}-(r+s)x+rs=x^{2}-2ax+a^{2}+b^{2}}

is a factor ofP(x) with real coefficients. Repeating this for all non-real factors gives a factorization with linear or quadratic real factors.

For computing these real or complex factorizations, one needs the roots of the polynomial, which may not be computed exactly, and only approximated usingroot-finding algorithms.

In practice, most algebraic equations of interest haveinteger orrational coefficients, and one may want a factorization with factors of the same kind. Thefundamental theorem of arithmetic may be generalized to this case, stating that polynomials with integer or rational coefficients have theunique factorization property. More precisely, every polynomial with rational coefficients may be factorized in a product

P(x)=qP1(x)Pk(x),{\displaystyle P(x)=q\,P_{1}(x)\cdots P_{k}(x),}

whereq is a rational number andP1(x),,Pk(x){\displaystyle P_{1}(x),\ldots ,P_{k}(x)} are non-constant polynomials with integer coefficients that areirreducible andprimitive; this means that none of thePi(x){\displaystyle P_{i}(x)} may be written as the product two polynomials (with integer coefficients) that are neither 1 nor −1 (integers are considered as polynomials of degree zero). Moreover, this factorization is unique up to the order of the factors and the signs of the factors.

There are efficientalgorithms for computing this factorization, which are implemented in mostcomputer algebra systems. SeeFactorization of polynomials. Unfortunately, these algorithms are too complicated to use for paper-and-pencil computations. Besides the heuristics above, only a few methods are suitable for hand computations, which generally work only for polynomials of low degree, with few nonzero coefficients. The main such methods are described in next subsections.

Primitive-part & content factorization

[edit]
Main article:Polynomial factorization § Primitive part–content factorization

Every polynomial withrational coefficients, may be factorized, in a unique way, as the product of a rational number and a polynomial with integer coefficients, which isprimitive (that is, thegreatest common divisor of the coefficients is 1), and has a positive leading coefficient (coefficient of the term of the highest degree). For example:

10x2+5x+5=(5)(2x2x1){\displaystyle -10x^{2}+5x+5=(-5)\cdot (2x^{2}-x-1)}
13x5+72x2+2x+1=16(2x5+21x2+12x+6){\displaystyle {\frac {1}{3}}x^{5}+{\frac {7}{2}}x^{2}+2x+1={\frac {1}{6}}(2x^{5}+21x^{2}+12x+6)}

In this factorization, the rational number is called thecontent, and the primitive polynomial is theprimitive part. The computation of this factorization may be done as follows: firstly, reduce all coefficients to a common denominator, for getting the quotient by an integerq of a polynomial with integer coefficients. Then one divides out the greater common divisorp of the coefficients of this polynomial for getting the primitive part, the content beingp/q.{\displaystyle p/q.} Finally, if needed, one changes the signs ofp and all coefficients of the primitive part.

This factorization may produce a result that is larger than the original polynomial (typically when there are manycoprime denominators), but, even when this is the case, the primitive part is generally easier to manipulate for further factorization.

Using the factor theorem

[edit]
Main article:Factor theorem

The factor theorem states that, ifr is aroot of apolynomial

P(x)=a0xn+a1xn1++an1x+an,{\displaystyle P(x)=a_{0}x^{n}+a_{1}x^{n-1}+\cdots +a_{n-1}x+a_{n},}

meaningP(r) = 0, then there is a factorization

P(x)=(xr)Q(x),{\displaystyle P(x)=(x-r)Q(x),}

where

Q(x)=b0xn1++bn2x+bn1,{\displaystyle Q(x)=b_{0}x^{n-1}+\cdots +b_{n-2}x+b_{n-1},}

witha0=b0{\displaystyle a_{0}=b_{0}}. Thenpolynomial long division orsynthetic division give:

bi=a0ri++ai1r+ai  for  i=1,,n1.{\displaystyle b_{i}=a_{0}r^{i}+\cdots +a_{i-1}r+a_{i}\ {\text{ for }}\ i=1,\ldots ,n{-}1.}

This may be useful when one knows or can guess a root of the polynomial.

For example, forP(x)=x33x+2,{\displaystyle P(x)=x^{3}-3x+2,} one may easily see that the sum of its coefficients is 0, sor = 1 is a root. Asr + 0 = 1, andr2+0r3=2,{\displaystyle r^{2}+0r-3=-2,} one has

x33x+2=(x1)(x2+x2).{\displaystyle x^{3}-3x+2=(x-1)(x^{2}+x-2).}

Rational roots

[edit]

For polynomials with rational number coefficients, one may search for roots which are rational numbers. Primitive part-content factorization (seeabove) reduces the problem of searching for rational roots to the case of polynomials with integer coefficients having no non-trivialcommon divisor.

Ifx=pq{\displaystyle x={\tfrac {p}{q}}} is a rational root of such a polynomial

P(x)=a0xn+a1xn1++an1x+an,{\displaystyle P(x)=a_{0}x^{n}+a_{1}x^{n-1}+\cdots +a_{n-1}x+a_{n},}

the factor theorem shows that one has a factorization

P(x)=(qxp)Q(x),{\displaystyle P(x)=(qx-p)Q(x),}

where both factors have integer coefficients (the fact thatQ has integer coefficients results from the above formula for the quotient ofP(x) byxp/q{\displaystyle x-p/q}).

Comparing the coefficients of degreen and the constant coefficients in the above equality shows that, ifpq{\displaystyle {\tfrac {p}{q}}} is a rational root inreduced form, thenq is a divisor ofa0,{\displaystyle a_{0},} andp is a divisor ofan.{\displaystyle a_{n}.} Therefore, there is a finite number of possibilities forp andq, which can be systematically examined.[7]

For example, if the polynomial

P(x)=2x37x2+10x6{\displaystyle P(x)=2x^{3}-7x^{2}+10x-6}

has a rational rootpq{\displaystyle {\tfrac {p}{q}}} withq > 0, thenp must divide 6; that isp{±1,±2,±3,±6},{\displaystyle p\in \{\pm 1,\pm 2,\pm 3,\pm 6\},} andq must divide 2, that isq{1,2}.{\displaystyle q\in \{1,2\}.} Moreover, ifx < 0, all terms of the polynomial are negative, and, therefore, a root cannot be negative. That is, one must have

pq{1,2,3,6,12,32}.{\displaystyle {\tfrac {p}{q}}\in \{1,2,3,6,{\tfrac {1}{2}},{\tfrac {3}{2}}\}.}

A direct computation shows that only32{\displaystyle {\tfrac {3}{2}}} is a root, so there can be no other rational root. Applying the factor theorem leads finally to the factorization2x37x2+10x6=(2x3)(x22x+2).{\displaystyle 2x^{3}-7x^{2}+10x-6=(2x-3)(x^{2}-2x+2).}

Quadratic ac method

[edit]

The above method may be adapted forquadratic polynomials, leading to theac method of factorization.[8]

Consider the quadratic polynomial

P(x)=ax2+bx+c{\displaystyle P(x)=ax^{2}+bx+c}

with integer coefficients. If it has a rational root, its denominator must dividea evenly and it may be written as a possiblyreducible fractionr1=ra.{\displaystyle r_{1}={\tfrac {r}{a}}.} ByVieta's formulas, the other rootr2{\displaystyle r_{2}} is

r2=bar1=bara=b+ra=sa,{\displaystyle r_{2}=-{\frac {b}{a}}-r_{1}=-{\frac {b}{a}}-{\frac {r}{a}}=-{\frac {b+r}{a}}={\frac {s}{a}},}

withs=(b+r).{\displaystyle s=-(b+r).}Thus the second root is also rational, and Vieta's second formular1r2=ca{\displaystyle r_{1}r_{2}={\frac {c}{a}}} gives

sara=ca,{\displaystyle {\frac {s}{a}}{\frac {r}{a}}={\frac {c}{a}},}

that is

rs=acandr+s=b.{\displaystyle rs=ac\quad {\text{and}}\quad r+s=-b.}

Checking all pairs of integers whose product isac gives the rational roots, if any.

In summary, ifax2+bx+c{\displaystyle ax^{2}+bx+c} has rational roots there are integersr ands suchrs=ac{\displaystyle rs=ac} andr+s=b{\displaystyle r+s=-b} (a finite number of cases to test), and the roots arera{\displaystyle {\tfrac {r}{a}}} andsa.{\displaystyle {\tfrac {s}{a}}.} In other words, one has the factorization

a(ax2+bx+c)=(axr)(axs).{\displaystyle a(ax^{2}+bx+c)=(ax-r)(ax-s).}

For example, let consider the quadratic polynomial

6x2+13x+6.{\displaystyle 6x^{2}+13x+6.}

Inspection of the factors ofac = 36 leads to4 + 9 = 13 =b, giving the two roots

r1=46=23andr2=96=32,{\displaystyle r_{1}=-{\frac {4}{6}}=-{\frac {2}{3}}\quad {\text{and}}\quad r_{2}=-{\frac {9}{6}}=-{\frac {3}{2}},}

and the factorization

6x2+13x+6=6(x+23)(x+32)=(3x+2)(2x+3).{\displaystyle 6x^{2}+13x+6=6(x+{\tfrac {2}{3}})(x+{\tfrac {3}{2}})=(3x+2)(2x+3).}

Using formulas for polynomial roots

[edit]

Any univariatequadratic polynomialax2+bx+c{\displaystyle ax^{2}+bx+c} can be factored using thequadratic formula:

ax2+bx+c=a(xα)(xβ)=a(xb+b24ac2a)(xbb24ac2a),{\displaystyle ax^{2}+bx+c=a(x-\alpha )(x-\beta )=a\left(x-{\frac {-b+{\sqrt {b^{2}-4ac}}}{2a}}\right)\left(x-{\frac {-b-{\sqrt {b^{2}-4ac}}}{2a}}\right),}

whereα{\displaystyle \alpha } andβ{\displaystyle \beta } are the tworoots of the polynomial.

Ifa, b, c are allreal, the factors are realif and only if thediscriminantb24ac{\displaystyle b^{2}-4ac} is non-negative. Otherwise, the quadratic polynomial cannot be factorized into non-constant real factors.

The quadratic formula is valid when the coefficients belong to anyfield ofcharacteristic different from two, and, in particular, for coefficients in afinite field with an odd number of elements.[9]

There are also formulas for roots ofcubic andquartic polynomials, which are, in general, too complicated for practical use. TheAbel–Ruffini theorem shows that there are no general root formulas in terms of radicals for polynomials of degree five or higher.

Using relations between roots

[edit]

It may occur that one knows some relationship between the roots of a polynomial and its coefficients. Using this knowledge may help factoring the polynomial and finding its roots.Galois theory is based on a systematic study of the relations between roots and coefficients, that includeVieta's formulas.

Here, we consider the simpler case where two rootsx1{\displaystyle x_{1}}andx2{\displaystyle x_{2}} of a polynomialP(x){\displaystyle P(x)} satisfy the relation

x2=Q(x1),{\displaystyle x_{2}=Q(x_{1}),}

whereQ is a polynomial.

This implies thatx1{\displaystyle x_{1}} is a common root ofP(Q(x)){\displaystyle P(Q(x))} andP(x).{\displaystyle P(x).} It is therefore a root of thegreatest common divisor of these two polynomials. It follows that this greatest common divisor is a non constant factor ofP(x).{\displaystyle P(x).}Euclidean algorithm for polynomials allows computing this greatest common factor.

For example,[10] if one know or guess that:P(x)=x35x216x+80{\displaystyle P(x)=x^{3}-5x^{2}-16x+80} has two roots that sum to zero, one may apply Euclidean algorithm toP(x){\displaystyle P(x)} andP(x).{\displaystyle P(-x).} The first division step consists in addingP(x){\displaystyle P(x)} toP(x),{\displaystyle P(-x),} giving theremainder of

10(x216).{\displaystyle -10(x^{2}-16).}

Then, dividingP(x){\displaystyle P(x)} byx216{\displaystyle x^{2}-16} gives zero as a new remainder, andx − 5 as a quotient, leading to the complete factorization

x35x216x+80=(x5)(x4)(x+4).{\displaystyle x^{3}-5x^{2}-16x+80=(x-5)(x-4)(x+4).}

Unique factorization domains

[edit]

The integers and the polynomials over afield share the property of unique factorization, that is, every nonzero element may be factored into a product of an invertible element (aunit, ±1 in the case of integers) and a product ofirreducible elements (prime numbers, in the case of integers), and this factorization is unique up to rearranging the factors and shifting units among the factors.Integral domains which share this property are calledunique factorization domains (UFD).

Greatest common divisors exist in UFDs, but not every integral domain in which greatest common divisors exist (known as aGCD domain) is a UFD. Everyprincipal ideal domain is a UFD.

AEuclidean domain is an integral domain on which is defined aEuclidean division similar to that of integers. Every Euclidean domain is a principal ideal domain, and thus a UFD.

In a Euclidean domain, Euclidean division allows defining aEuclidean algorithm for computing greatest common divisors. However this does not imply the existence of a factorization algorithm. There is an explicit example of afieldF such that there cannot exist any factorization algorithm in the Euclidean domainF[x] of the univariate polynomials overF.

Ideals

[edit]
Main article:Dedekind domain

Inalgebraic number theory, the study ofDiophantine equations led mathematicians, during 19th century, to introduce generalizations of theintegers calledalgebraic integers. The firstring of algebraic integers that have been considered wereGaussian integers andEisenstein integers, which share with usual integers the property of beingprincipal ideal domains, and have thus theunique factorization property.

Unfortunately, it soon appeared that most rings of algebraic integers are not principal and do not have unique factorization. The simplest example isZ[5],{\displaystyle \mathbb {Z} [{\sqrt {-5}}],} in which

9=33=(2+5)(25),{\displaystyle 9=3\cdot 3=(2+{\sqrt {-5}})(2-{\sqrt {-5}}),}

and all these factors areirreducible.

This lack of unique factorization is a major difficulty for solving Diophantine equations. For example, many wrong proofs ofFermat's Last Theorem (probably includingFermat's"truly marvelous proof of this, which this margin is too narrow to contain") were based on the implicit supposition of unique factorization.

This difficulty was resolved byDedekind, who proved that the rings of algebraic integers have unique factorization ofideals: in these rings, every ideal is a product ofprime ideals, and this factorization is unique up the order of the factors. Theintegral domains that have this unique factorization property are now calledDedekind domains. They have many nice properties that make them fundamental in algebraic number theory.

Matrices

[edit]

Matrix rings are non-commutative and have no unique factorization: there are, in general, many ways of writing amatrix as a product of matrices. Thus, the factorization problem consists of finding factors of specified types. For example, theLU decomposition gives a matrix as the product of alower triangular matrix by anupper triangular matrix. As this is not always possible, one generally considers the "LUP decomposition" having apermutation matrix as its third factor.

SeeMatrix decomposition for the most common types of matrix factorizations.

Alogical matrix represents abinary relation, andmatrix multiplication corresponds tocomposition of relations. Decomposition of a relation through factorization serves to profile the nature of the relation, such as adifunctional relation.

See also

[edit]

Notes

[edit]
  1. ^Hardy; Wright (1980),An Introduction to the Theory of Numbers (5th ed.), Oxford Science Publications,ISBN 978-0198531715
  2. ^Klein 1925, pp. 101–102
  3. ^InSanford, Vera (2008) [1930],A Short History of Mathematics, Read Books,ISBN 9781409727101, the author notes "In view of the present emphasis given to the solution of quadratic equations by factoring, it is interesting to note that this method was not used until Harriot's work of 1631".
  4. ^Harriot, T. (1631),Artis Analyticae Praxis ad Aequationes Algebraicas Resolvendas (in Latin), Apud Robertum Barker, typographum regium
  5. ^Fite 1921, p. 19
  6. ^Selby 1970, p. 101
  7. ^Dickson 1922, p. 27
  8. ^Stover, Christopher,"AC Method",Mathworld,archived from the original on 2014-11-12
  9. ^In a field of characteristic 2, one has 2 = 0, and the formula produces a division by zero.
  10. ^Burnside & Panton 1960, p. 38

References

[edit]
  • Burnside, William Snow; Panton, Arthur William (1960) [1912],The Theory of Equations with an introduction to the theory of binary algebraic forms (Volume one), Dover
  • Dickson, Leonard Eugene (1922), "First Course in the Theory of Equations",Nature,109 (2746), New York: John Wiley & Sons: 773,Bibcode:1922Natur.109R.773.,doi:10.1038/109773c0
  • Fite, William Benjamin (1921),College Algebra (Revised), Boston: D. C. Heath & Co.
  • Klein, Felix (1925),Elementary Mathematics from an Advanced Standpoint; Arithmetic, Algebra, Analysis, Dover
  • Selby, Samuel M. (1970),CRC Standard Mathematical Tables (18th ed.), The Chemical Rubber Co.

External links

[edit]
Look upfactorisation orfactorization in Wiktionary, the free dictionary.
National
Other
Retrieved from "https://en.wikipedia.org/w/index.php?title=Factorization&oldid=1332447667"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp