To expand algebraic expressions, we need to use the distributive property. The reverse of expansion, called factorization or factoring, consists of using the distributive property in reverse and writing the expression as product of simpler ones. For example, we can write

We say that and are factors of .
Click here to read why factorization is important
Collapse importance of factorization
Factorization has many applications. Here are a number of them.
Solving equations: If we can put an equation in a factored form (where and are two expressions), then solving the problem reduces to solving two independent and often simpler equations and . (Recall if then or ). For example instead of solving
because , we can solve
which shows at once
Similarly because
we immediately conclude
Evaluating expressions: It is often easier to evaluate polynomials in the factored form. For example, evaluating reduces to only three subtractions and two multiplications if we use its factored form .
Determining sign of the output: Sometimes, we need to find out for which values of the variable (often denoted by ) a polynomail is positive and for which values it is negative. Doing so is often much easier if we use the factored forms.
Simplifying rational expressions: Another application of factorization can be simplification of rational expressions. For example, can be simplified as
However, factorization is not always possible and when it is possible, it does not necessarily yield simpler factors. For example, can be factored into and , but obviously we would rather solve than solve the following two equations
Now let’s review some techniques of factorization.
Common Factors
When there is a factor common to every term of an expression, we can simply factor it out by applying the distributive property in reverse.
Example 1
Factor each expression
(a)
(b)
(c)
Solution
(a) The greatest common factor of the terms and is , so we have
(b) The greatest common factor of all terms is , so we have
(c) The greatest common factor of and is . Thus
In calculus sometimes we need to factor expressions with fractional or negative exponents. In this case, we factor out the common factor with the smallest exponent.
Example 2
Factor each expression
(a)
(b)
Solution
(a) The common factor is and its smallest exponent is . Thus
Note that and .
(b) The common factor is and its smallest exponent is . Thus
Note .
Factorization of polynomials of the form x2 + bx + c
Because
we can factor polynomials of the form if we can find numbers and such that
In this section, we choose and by trial and error, but technically we can choose them systematically (see the Section on Solutions and Roots).
Example 3
Factor each expression
(a)
(b)
Solution
(a) We need to find and such that and . By trial and error we find that they are 2 and 1. Thus the factorization is
(b) We need to choose and such that and . By trial and error we find that they are and . Thus
Special Factorization Formulas
If there is no common factor, to factor algebraic expressions we can sometimes use the following formulas that we reviewed in Section 1.12 and reverse the process.
1. |
(Difference of Squares) |
2. |
(Perfect Square) |
3. |
(Difference of Cubes) |
4. |
(Sum of Cubes) |
Mnemonics for Memorizing the Sum/Difference of Cubes Formulas:
Remember a cube of SOAP

Example 4
Factor each expression
(a)
(b)
(c)
(d)
(e)
Solution
(a) Rewriting as difference of squares
Let and in . Then
(b) Let and , then
We note that we can rewrite as , so we can use the Difference of Squares formula and factor it as
Thus
(c) Let and . Because the middle term , the polynomial is a perfect square. By the Perfect Square formula we have
(d) Let and , then
(e) Here the terms and 64 have the common factor 8, so first of all we factor it out.
Then we can use the Sum of Cubes formula with and :
Therefore
Click here for more special factorization formulas
Collapse more formulas
In general we can factor the sum or difference of two th power ( an integer) as follows
Difference, even exponent:
Difference, even or odd exponent:
If we replace with in the above formula and is odd then we will get the following formula (Note that if is even, we won’t get a new formula).
Sum, odd exponent:
Sum, even exponent:
cannot, in general, be factored.
Factorization by Grouping Terms
Sometimes there is no a common factor (other than ) to all terms of a polynomial. However, the polynomial can sometimes be factored if we suitably group the terms that have common factors. This strategy may work for polynomials with at least four terms.
For example, we can factor the polynomial if we group the first two terms together and the last two terms together and then factor each group, namely
For the last equation, we have factored out the common factor .