Factorization (or factoring) is the reverse of expansion: instead of multiplying out, we write an algebraic expression as a product of simpler ones. For example,
We say that
Quick Reference
| Method | Key Formula or Idea | When to Use |
|---|---|---|
| Common Factor | Always check this first | |
| Difference of Squares | Two perfect squares with a minus sign | |
| Perfect Square Trinomial | Middle term equals |
|
| Difference of Cubes | Two perfect cubes, minus sign | |
| Sum of Cubes | Two perfect cubes, plus sign | |
| Inspection ( |
Find integers |
Leading coefficient is 1 |
| Inspection ( |
Multiply by |
General quadratic trinomial |
| Completing the Square ( |
Add and subtract |
Always works, including irrational roots |
| Grouping | Group terms that share common factors | Four or more terms |
Why Is Factorization Important?
If we can write an equation in factored form
we solve
which gives at once
Similarly, because
we immediately conclude
Evaluating
Factorization is not always possible, and even when it is, the factors are not always simpler. For example,
Another application is simplifying rational expressions. For example:
Now let's review the main factorization techniques.
Common Factors
When a factor appears in every term of an expression, factor it out using the distributive property in reverse.
Example. Factor each expression.
Solution
-
The greatest common factor of
and is : -
The greatest common factor of all four terms is
: -
The common factor of
and is :
Factoring fractional and negative exponents. In calculus, expressions with fractional or negative exponents often need to be factored. In that case, factor out the common base with the smallest exponent.
Example. Factor each expression.
Solution
-
The common base is
and the smallest exponent is : Check: and , as required. -
The common base is
and the smallest exponent is : Check: , using .
Special Factorization Formulas
When no common factor exists, the following formulas — each the reverse of a special product identity — often apply.
(Difference of Squares) (Perfect Square Trinomial) (Difference of Cubes) (Sum of Cubes)
How to remember Sum and Difference of Cubes: the SOAP rule. For a factored cubic
Example. Factor each expression.
Solution
-
Set
and , then apply the Difference of Squares formula: -
Set
and : Since , apply the formula once more: -
Set
and . Since the middle term satisfies , this is a Perfect Square Trinomial: -
Set
and , then apply the Difference of Cubes formula: -
First factor out the common factor 8, then apply Sum of Cubes with
and :
Example. Factor
Solution
SinceExample. Factor
Solution
Regroup to reveal a perfect square pattern:Example. Factor
Solution
Example. Factor
Solution
Add and subtractMore Special Factorization Formulas. For any integer
- Difference, even exponent:
- Difference, any exponent:
- Sum, odd exponent:
- Sum, even exponent:
cannot, in general, be factored over the reals.
Replacing
Factoring x2 +bx+c by Inspection
Since
a polynomial
By the Rational Root Theorem, when rational roots exist they must be integers, so we do not consider fractions such as
Example. Factor
Solution
We seek two integersExample. Factor
Solution
SinceExample. Factor
Solution
SinceExample. Factor each expression.
Solution
-
Find
and with and . By trial: , . -
Find
and with and . By trial: , .
Factoring ax2 +bx+c by Inspection
It is sometimes possible to factor
Multiplying and dividing by
and then factor the numerator with respect to
Example. Factor
Solution
Multiply and divide by 6:Example. Factor
Solution
Multiply and divide by 2, then find two integers with productExample. Factor
Solution
Example. Factor
Solution
Notice that
Factoring x2+px+q by Completing the Square
While inspection applies only in particular cases, completing the square is perfectly general. The key identity is:
so we can make
- Adding and subtracting
leaves unchanged, but transforms it into a difference of squares:
- For the general case
, substitute and into (i) and simplify:
Example. Factor
Solution
Example. Factor
Solution
Example. Factor
Solution
Factoring by Grouping
Sometimes a polynomial has no common factor shared by all terms, but can still be factored by grouping terms that share a common factor. This strategy works best for polynomials with four or more terms.
For example:
Example. Factor
Solution
Group the first two and last two terms: