Jump to content

Factorization

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Burki1907 (talk | contribs) at 14:57, 15 December 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This article is about the mathematical concept. For the financial term see factoring (finance).

In mathematics, factorization or factoring is the decomposition of an object (for example, a number, a polynomial, or a matrix) into a product of other objects, or factors, which when multiplied together give the original. For example, the number 15 factors into primes as 3 × 5, and the polynomial x2 − 4 factors as (x − 2)(x + 2). In all cases, a product of simpler objects is obtained.

The aim of factoring is usually to reduce something to "basic building blocks," such as numbers to prime numbers, or polynomials to irreducible polynomials. Factoring integers is covered by the fundamental theorem of arithmetic and factoring polynomials by the fundamental theorem of algebra.

The opposite of factorization is expansion. This is the process of multiplying together factors to recreate the original, "expanded" polynomial.

Integer factorization for large integers appears to be a difficult problem. There is no known method to carry it out quickly. Its complexity is the basis of the assumed security of some public key cryptography algorithms, such as RSA.

A matrix can also be factorized into a product of matrices of special types, for an application in which that form is convenient. One major example of this uses an orthogonal or unitary matrix, and a triangular matrix. There are different types: QR decomposition, LQ, QL, RQ, RZ.

Another example is the factorization of a function as the composition of other functions having certain properties; for example, every function can be viewed as the composition of a surjective function with an injective function.

Prime factorization of an integer

By the fundamental theorem of arithmetic, every positive integer has a unique prime factorization. Given an algorithm for integer factorization, one can factor any integer down to its constituent primes by repeated application of this algorithm. For very large numbers, no efficient algorithm is known. For smaller numbers, however, there are a variety of different algorithms that can be applied.

See also: Prime factorization algorithms

Factoring a quadratic polynomial

Any quadratic polynomial (polynomials in the form of ) can be factored into an expression with the form using the quadratic formula. The method is as follows:

where j and k are the two roots of the polynomial, found with the quadratic formula.

Quadratic polynomials can sometimes be factored into two binomials with simple integer coefficients, without the need to use the quadratic formula. In a quadratic equation, this will expose its two roots. The formula

would be factored into:

where

You can then set each binomial equal to zero, and solve for x to reveal the two roots. Factoring does not involve any other formulas, and is mostly just something you see when you come upon a quadratic equation.

Take for example 2x2 − 5x + 2 = 0. Because a = 2 and mn = a, mn = 2, which means that of m and n, one is 1 and the other is 2. Now we have (2x + p)(x + q) = 0. Because c = 2 and pq = c, pq = 2, which means that of p and q, one is 1 and the other is 2 or one is −1 and the other is −2. A guess and check of substituting the 1 and 2, and −1 and −2, into p and q (while applying pn + mq = b) tells us that 2x2 − 5x + 2 = 0 factors into (2x − 1)(x − 2) = 0, giving us the roots x = {0.5, 2}

(a+b)²=a²+2ab+b²

Perfect square trinomials

Some quadratics can be factored into two identical binomials. These quadratics are called perfect square trinomials. Perfect square trinomials can be factored as follows:

Table method

The table method is less used method that involves creating a multiplication table. This method is very decisive and can be much faster than other algorithms once the rules surrounding the method are mastered.

To factor the polynomial ax2 + bx + c:

  1. place the value of a in the top-left of the table and the last term (c) in the bottom-right box,
  2. find two factors of a × c that add up to b and place those factors in the top-right and bottom-left boxes,
  3. find the greatest common factor (GCF) of each adjacent pair

The table will then be in this form:

a j A = GCF(a,j)
k c B = GCF(k,c)
C = GCF(a,k) D = GCF(j,c)

where j and k are factors of and j+k=b, and A, B, C, and D are lables for the GCFs.

The GCFs comprise the final factors of the quadratic in this way:

  • one factor is (Ax + B) if k is positive, or (Ax − B) if k is negative, and
  • the other factor is (Cx + D) if j is positive, or (Cx − D) if j is negative.

Example

For example, to factor 6x2 − 17x + 12, first multiply 6x2 × 12 to get 72x2. Then find two factors of 72 that add up to -17 (such as −9 and −8).

In the table, place the a value in the top-left and the last term (c) in the bottom-right box. Fit the -9 and -8 in the remaining boxes. Then find the GCF up and down and side to side for each row for the answer.

6 −8 2
−9 12 3
3 4

The final answer is (3x − 4)(2x − 3).

Sum/difference of two squares

Another common type of algebraic factoring is called the difference of two squares. It is the application of the formula

to any two terms, whether or not they are perfect squares. If the two terms are subtracted, simply apply the formula. If they are added, the two binomials obtained from the factoring will each have an imaginary term. This formula can be represented as

. However, expressions of the form (known as Sophie Germain's identity), can be factorized in the form

For example, can be factored into . Or, from Sophie Germain's identity,

Sum/difference of two cubes

Another less-used but still common formula for factoring is the sum or difference of two cubes. The sum can be represented by

and the difference by

For example, x3 − 103 (or x3 − 1000) can be factored into (x − 10)(x2 + 10x + 100).

In general, the difference of any two numbers raised to the same (positive integer) power

contains the factor (a - b), and the sum of any two numbers raised to the same (positive integer) odd power

and the difference of any two numbers raised to the same (positive integer) even power contain the factor (a + b).

Factoring by grouping

Another way to factor some equations is factoring by grouping. This is done by placing the terms in an expression into two or more groups, where each group can be factored by a known method. The results of these factorizations can sometimes be combined to make an even more simplified expression.

For example, suppose you had the expression

which upon first glance looks like a crazy expression. One logical step, if you decide to factor by grouping, would be to combine all of the expressions with and all without . Then you would have the expression

where each of the two groups can be factored giving us

This can be further simplified into

when can then be factored into

which is the expression in fully factored form.

Other common formulas

There are many additional formulas that can be used to easily factor a polynomial. Some common ones are listed below.

Expanded form Factored form

Factoring in mathematical logic

In mathematical logic and automated theorem proving, factoring is the technique of deriving a single, more specific atom from a disjunction of two more general unifiable atoms. For example, from ∀ X, Y : P(X, a) or P(b, Y) we can derive P(b, a).

See also