Skip to main content

Section 4.6 Advanced Polynomial Factoring

Subsection 4.6.1 Factoring Polynomials in Multiple Variables Using the Cross Method

The cross method still works, even if the polynomial has multiple variables.

Exercise Group 4.6.1. Factoring Multivariable Polynomials.

Factor each expression.

Subsection 4.6.2 Factor by Grouping

Some polynomials with 4 terms can be factored by grouping them into pairs of terms. This is a special technique.

Example 4.6.1. Introduction to Factor by Grouping.

Consider the polynomial \(x^3+5x^2-2x-10\text{.}\) First, group the terms into the first 2 and last 2. Notice that first two terms \(x^3 + 5x^2\) have a common factor \(x^2\text{,}\) and the last two terms \(-2x - 10\) have a common factor \(-2\text{.}\) Factoring out these common factors from both pairs,
\begin{gather*} x^3 + 5x^2 - 2x - 10\\ = x^2(x + 5) - 2(x + 5) \end{gather*}
Then, both terms have a common factor of \(x+5\text{,}\)
\begin{gather*} = x^2\underbrace{(x + 5)} - 2\underbrace{(x + 5)} \end{gather*}
Then, we can factor it out, leaving \(x^2\) and \(-2\) left,
\begin{gather*} = (x+5)(x^2-2) \end{gather*}
This might seem a bit strange. However, factoring out \((x+5)\) works exactly the same as factoring out a single variable like \(y\text{.}\)
Factoring out \(y\) Factoring out \((x+5)\)
\(x^2 y - 2y\) \(x^2(x+5) - 2(x+5)\)
\(= y(x^2 - 2)\) \(= (x+5)(x^2 - 2)\)
What is common to both terms gets pulled out, and whatever is left behind stays inside the other bracket. If it helps, you can mentally substitute \(y = x + 5\) and it becomes the same problem.
In general,
  • Split the polynomial into 2 groups of terms (the first 2, and the last 2).
  • Factor out the GCF from each group.
  • If both groups now have the same binomial factor, then factor that common factor out.

Exercise Group 4.6.2. Factor by Grouping Practice I.

Factor each expression.
Determining if a polynomial can be factored by grouping involves some intuition.
  • The polynomial must have 4 terms (not 3, or 2, like previous techniques). This is a good indicator it can be factored by grouping.
  • Then, roughly, if the first two terms β€œlook like” the last two terms, then it probably can be factored by grouping.

Exercise Group 4.6.3. Factor by Grouping Practice II.

Factor each expression.
In general, factor by grouping has the form:
\begin{gather*} ax + ay + bx + by\\ = a(x + y) + b(x + y)\\ = (a + b)(x + y) \end{gather*}

Subsection 4.6.3 Factoring a Sum or Difference of Cubes

There are also special factoring patterns for a difference of cubes, as well as a sum of cubes.

Remark 4.6.3.

To verify that this identity is true, you can expand the right side, and check it is equivalent to the left side.
To help remember the pattern of the positive and negative signs, there is a mnemonic:
SOAP: same signs, opposite signs, always positive.

Example 4.6.4.

For example,
\begin{gather*} x^3 - 1 = (x - 1)(x^2 + x + 1) \end{gather*}

Exercise Group 4.6.4. Factoring Sum or Difference of Cubes.

Factor each sum or difference of cubes.
These two identities can be summarized as,
\begin{equation*} a^3 \pm b^3 = (a \pm b)(a^2 \mp ab + b^2) \end{equation*}
where the operations on top \(+, +, -\) all go together, and the bottom operations \(-, -, +\) all go together.

Subsection 4.6.4 Factoring Polynomials Flowchart Summary

  1. (If necessary) Write the polynomial in descending power order.
  2. If there is a GCF, factor it out.
  3. How many terms does the polynomial have?
    1. 2 terms: Try factoring as a difference of squares, or a sum or difference of cubes,
      \begin{align*} a^2 - b^2 \amp = (a + b)(a - b) \amp x^2 - 9 \amp = (x+3)(x-3)\\ a^3 + b^3 \amp = (a + b)(a^2 - ab + b^2) \amp x^3 + 8 \amp = (x+2)(x^2 - 2x + 4)\\ a^3 - b^3 \amp = (a - b)(a^2 + ab + b^2) \amp x^3 - 27 \amp = (x-3)(x^2+3x+9) \end{align*}
    2. 3 terms:
      • \(ax^2 + bx + c, a = 1\text{,}\) determine factors of \(c\) (numbers which multiply to \(c\)) which add to \(b\)
      • \(ax^2 + bx + c, a \neq 1\text{,}\) use the cross method (or box method, or \(ac\)-method)
      • Ideally, recognize perfect square trinomials,
        \begin{align*} a^2 + 2ab + b^2 \amp = (a + b)^2 \amp \text{e.g. } x^2 + 6x + 9 \amp = (x+3)^2\\ a^2 - 2ab + b^2 \amp = (a - b)^2 \amp \text{e.g. } 4x^2 - 12x + 9 \amp = (2x-3)^2 \end{align*}
    3. 4 terms: factor by grouping (probably).
  4. Double-check if there are any factors with multiple terms that can be factored again. If so, factor completely.

Subsection 4.6.5 Mixed Examples

Exercise Group 4.6.5. Mixed Factoring Practice.

Factor each polynomial.

Exercise Group 4.6.6. Advanced Examples.