Now that we have reviewed the basics of polynomial arithmetic it’s time to review the basic techniques of factoring polynomial expressions. Our goal is to apply these techniques to help us solve certain specialized classes of non-linear equations. Given that ‘factoring’ literally means to resolve a product into its factors, it is, in the purest sense, ‘undoing’ multiplication. If this sounds like division to you then you’ve been paying attention. Let’s start with a numerical example.

Suppose we are asked to factor \(16337\). We could write \(16337 = 16337 \cdot 1\), and while this is technically a factorization of \(16337\), it’s probably not an answer the poser of the question would accept. Usually, when we’re asked to factor a natural number, we are being asked to resolve it into to a product of so-called ‘prime’ numbers. Recall that prime numbers are defined as natural numbers whose only (natural number) factors are themselves and \(1\). They are, in essence, the ‘building blocks’ of natural numbers as far as multiplication is concerned. Said differently, we can build - via multiplication - any natural number given enough primes.

So how do we find the prime factors of \(16337\)? We start by dividing each of the primes: \(2\), \(3\), \(5\), \(7\), etc., into \(16337\) until we get a remainder of \(0\). Eventually, we find that \(16337 \div 17 = 961\) with a remainder of \(0\), which means \(16337 = 17 \cdot 961\). So factoring and division are indeed closely related - factors of a number are precisely the divisors of that number which produce a zero remainder. We continue our efforts to see if \(961\) can be factored down further, and we find that \(961 = 31 \cdot 31\). Hence, \(16337\) can be ‘completely factored’ as \(17 \cdot 31^2\). (This factorization is called the prime factorization of \(16337\).)

In factoring natural numbers, our building blocks are prime numbers, so to be completely factored means that every number used in the factorization of a given number is prime. One of the challenges when it comes to factoring polynomial expressions is to explain what it means to be ‘completely factored’. In this section, our ‘building blocks’ for factoring polynomials are ‘irreducible’ polynomials as defined below.

While Definition irreduciblepoly seems straightforward enough, sometimes a greater level of specificity is required. For example, \(x^2 - 3 = (x-\sqrt {3})(x + \sqrt {3})\). While \(x-\sqrt {3}\) and \(x+\sqrt {3}\) are perfectly fine polynomials, factoring which requires irrational numbers is usually saved for a more advanced treatment of factoring. For now, we will restrict ourselves to factoring using rational coefficients. So, while the polynomial \(x^2 - 3\) can be factored using irrational numbers, it is called irreducible over the rationals, since there are no polynomials with rational coefficients of smaller degree which can be used to factor it.

Since polynomials involve terms, the first step in any factoring strategy involves pulling out factors which are common to all of the terms. For example, in the polynomial \(18x^2y^3 - 54x^3y^2 - 12xy^2\), each coefficient is a multiple of \(6\) so we can begin the factorization as \(6(3x^2y^3 - 9x^3y^2 - 2xy^2)\). The remaining coefficients: \(3\), \(9\) and \(2\), have no common factors so \(6\) was the greatest common factor. What about the variables? Each term contains an \(x\), so we can factor an \(x\) from each term. When we do this, we are effectively dividing each term by \(x\) which means the exponent on \(x\) in each term is reduced by \(1\): \(6x(3xy^3 - 9x^2y^2 - 2y^2)\). Next, we see that each term has a factor of \(y\) in it. In fact, each term has at least two factors of \(y\) in it, since the lowest exponent on \(y\) in each term is \(2\). This means that we can factor \(y^2\) from each term. Again, factoring out \(y^2\) from each term is tantamount to dividing each term by \(y^2\) so the exponent on \(y\) in each term is reduced by two: \(6xy^2(3xy - 9x^2 - 2)\). Just like we checked our division by multiplication in the previous section, we can check our factoring here by multiplication, too. \(6xy^2(3xy - 9x^2 - 2) = (6xy^2)(3xy) - (6xy^2)(9x^2) - (6xy^2)(2) = 18x^2y^3 - 54x^3y^2 - 12xy^2 \, \checkmark \). We summarize how to find the Greatest Common Factor (G.C.F.) of a polynomial expression below.

Finding the G.C.F. of a Polynomial Expression
  • If the coefficients are integers, find the G.C.F. of the coefficients.

    NOTE 1: If all of the coefficients are negative, consider the negative as part of the G.C.F..

    NOTE 2: If the coefficients involve fractions, get a common denominator, combine numerators, reduce to lowest terms and apply this step to the polynomial in the numerator.

  • If a variable is common to all of the terms, the G.C.F. contains that variable to the smallest exponent which appears among the terms.

For example, to factor \(-\frac {3}{5}z^3 - 6z^2\), we would first get a common denominator and factor as:

\[ -\frac {3}{5}z^3 - 6z^2 = \frac {-3z^3 - 30z^2}{5} = \frac {-3z^2(z + 10)}{5} = -\frac {3z^2(z + 10)}{5} = -\frac {3}{5}z^{2}(z + 10)\]

We now list some common factoring formulas, each of which can be verified by multiplying out the right side of the equation. While they all should look familiar - this is a review section after all - some should look more familiar than others since they appeared as ‘special product’ formulas in the previous section.

Common Factoring Formulas
  • Perfect Square Trinomials: \(a^2 + 2ab + b^2 = (a+b)^2\) and \(a^2 - 2ab + b^2 = (a-b)^2\)
  • Difference of Two Squares: \(a^2 - b^2 = (a-b)(a+b)\)

    NOTE: In general, the sum of squares, \(a^2 + b^2\) is irreducible over the rationals.

  • Sum of Two Cubes: \(a^3 + b^3 = (a + b)(a^2 - ab + b^2)\)

    NOTE: In general, \(a^2 - ab + b^2\) is irreducible over the rationals.

  • Difference of Two Cubes: \(a^3 - b^3 = (a - b)(a^2 + ab + b^2)\)

    NOTE: In general, \(a^2 + ab + b^2\) is irreducible over the rationals.

The example on the next page gives us practice with these formulas.

The formulas on page 2, while useful, can only take us so far. Thus we need to review some additional factoring strategies which should be good friends from back in the day!

Additional Factoring Formulas
  • ‘un-F.O.I.L.ing’: Given a trinomial \(Ax^2 + Bx + C\), try to reverse the F.O.I.L. process.

    That is, find \(a\), \(b\), \(c\) and \(d\) such that \(Ax^2 + Bx + C= (ax+b)(cx+d)\).

    NOTE: This means \(ac = A\), \(bd = C\) and \(B = ad+bc\).

  • Factor by Grouping: If the expression contains four terms with no common factors among the four terms, try ‘factor by grouping’:

    \[ac + bc + ad + bd = (a +b)c + (a+b)d = (a+b)(c+d)\]

The techniques of ‘un-F.O.I.L.ing’ and ‘factoring by grouping’ are difficult to describe in general but should make sense to you with enough practice. Be forewarned - like all ‘Rules of Thumb’, these strategies work just often enough to be useful, but you can be sure there are exceptions which will defy any advice given here and will require some ‘inspiration’ to solve. Even though Section RealZeros will give us more powerful factoring methods, we’ll find that, in the end, there is no single algorithm for factoring which works for every polynomial. In other words, there will be times when you just have to try something and see what happens.

1 Solving Equations by Factoring

Many students wonder why they are forced to learn how to factor. Simply put, factoring is our main tool for solving the non-linear equations which arise in many of the applications of Mathematics. We use factoring in conjunction with the Zero Product Property of Real Numbers which was first stated on page ?? and is given here again for reference.

The Zero Product Property of Real Numbers: If \(a\) and \(b\) are real numbers with \(ab = 0\) then either \(a = 0\) or \(b = 0\) or both.

Consider the equation \(6x^2 + 11x = 10\). To see how the Zero Product Property is used to help us solve this equation, we first set the equation equal to zero and then apply the techniques from Example 2:

\[ \begin{array}{rclr} 6x^2 + 11x & = & 10 \\ 6x^2 + 11x - 10 & = & 0 & \text {Subtract $10$ from both sides} \\ (2x+5)(3x-2) & = & 0 & \text {Factor} \\ 2x +5 = 0 & \text {or} & 3x -2 = 0 & \text {Zero Product Property} \\ & & & a = 2x+5, b = 3x-2 \\ x = -\frac {5}{2} & \text {or} & x = \frac {2}{3} & \\ \end{array} \]

The reader should check that both of these solutions satisfy the original equation.

It is critical that you see the importance of setting the expression equal to \(0\) before factoring. Otherwise, we’d get something silly like:

\[ \begin{array}{rclr} 6x^2 + 11x & = & 10 \\ x(6x + 11) & = & 10 & \text {Factor} \\ \end{array} \]

What we cannot deduce from this equation is that \(x = 10\) or \(6x+11 = 10\) or that \(x = 2\) and \(6x+11 = 5\). (It’s wrong and you should feel bad if you do it.) It is precisely because \(0\) plays such a special role in the arithmetic of real numbers (as the Additive Identity) that we can assume a factor is \(0\) when the product is \(0\). No other real number has that ability.

We summarize the correct equation solving strategy below.

Strategy for Solving Non-linear Equations
  1. Put all of the nonzero terms on one side of the equation so that the other side is \(0\).
  2. Factor.
  3. Use the Zero Product Property of Real Numbers and set each factor equal to \(0\).
  4. Solve each of the resulting equations.

Let’s finish the section with a collection of examples in which we use this strategy.