Cubic & Higher Degree Polynomial Factorization
A reasonable mastery of polynomial factorization will facilitate the understanding of certain kinds of mathematics, certain later proofs, and higher scores on popular standardized tests. Now that we have completed our discussion of quadratic factoring, let’s venture into a more general discuss higher degree polynomial factorization techniques.
1. Common but less Essential Factoring Techniques
The sum and difference of cubes frequently finds its way on to standardized exams and competition tests in more specialized areas of mathematics. We could, of course, obtain the difference identity from equation 3 above. Notice that the signing is reversed on the right hand side of the equality when compared to the left hand side. You can verify these two identities for yourself.
$$a^3 \pm b^3 = (a \pm b)(a^2 \mp ab + b^2)$$
Factoring by grouping is a useful technique that you will come across with some frequency. I employed this to prove equation 3 above. Here, we will consider a short collection of examples.
Example 1: Factor $x^2(x – 1) – (x-1)$ completely.
$x^2(x – 1) – (x-1) =$
$x^2(x – 1) – 1(x-1) =$
$(x^2 – 1)(x – 1)=$
$(x+1)(x-1)(x – 1)=$
$(x+1)(x-1)^2$
Notice the understood 1 in front of the (x – 1) factor here.
Here, we take the (x – 1) factor out of both terms.
We recall the difference of perfect squares from section 1
Now, we just tidy up the expression and voila!
Example 2: Factor $x^3 + 8 + 4x + 8$ completely.
This problem requires us to apply several techniques. First, we group the first pair of terms and the last pair of terms. It is possible that you need to rearrange terms here too.
$x^3 + 8 + 4x + 8 = $
$(x^3 + 8) + (4x + 8) = $
$(x^3 + 8) + 4(x + 2) = $
$(x+2)(x^2 – x + 4) + 4(x + 2) = $
$(x+2)(x^2 – x + 4 + 4) = $
$(x+2)(x^2 – x + 8)$
The last quadratic cannot be factored over reals.
Example 3: Factor $x^5 + x^4 + x^3 + x^2 + x + 1$ completely.
Here, we have to factor by grouping again.
$x^5 + x^4 + x^3 + x^2 + x + 1 =$
$(x^5 + x^4 + x^3) + (x^2 + x + 1) =$
$x^3(x^2 + x + 1) + (x^2 + x + 1) =$
$(x^3 + 1)(x^2 + x + 1) =$
$(x+1)(x^2 – x + 1)(x^2 + x + 1)$
2. The Rational Roots Theorem
The Rational Roots Theorem states that given a polynomial of any degree of the form $a_nx^n + a_{n-1}x^{n-1} + \cdots + a_1x + a_0 = 0$ then the roots of that polynomial which are rational (if they exist at all) are a factor of $a_0$ over a factor of $a_n$. It is possible that a polynomial has no rational roots.
Proof
Suppose \frac{p}{q} is a rational number expressed in lowest terms such that it solves the polynomial $f(x) = a_nx^n + a_{n-1}x^{n-1} + \cdots + a_1x + a_0$ Then we can write
$f(\frac{p}{q}) = 0$
$\sum_{k=0}^n a_k\left(\frac{p}{q}\right)^k = 0$
$\sum_{k=1}^n a_k\left(\frac{p}{q}\right)^k = -a_0$
$\sum_{k=1}^n a_kq^{n-k}p^k = -a_0q^n$
And now we see, every term on the lefthand side contains 1 or more factors of p. Since p does not divide q because \frac{p}{q} is a rational number expressed in lowest terms, this implies p must divide $a_0$. Now, we repeat the process, but moving over the leading term:
$f(\frac{p}{q}) = 0$
$\sum_{k=0}^n a_k\left(\frac{p}{q}\right)^k = 0$
$\sum_{k=0}^n a_k\left(\frac{p}{q}\right)^k = a_n\left(\frac{p}{q}\right)^n$
$\sum_{k=0}^n a_kq^{n-k}p^k = a_np^n$
Now we notice that every term on the lefthand side contains one or more factors of q. q does not divide p, so q must divide $a_n$.
Example 5: Use the rational roots theorem to factor $24x^3 – 2x^2 – 9x + 2$.
We notice that factors of 1 are $\{\pm1, \pm2\}$ and factors of 24 are $\{\pm1, \pm2, \pm3, \pm4, \pm6, \pm8, \pm12, \pm24\}$. Notice we included the positive and negative factors in the set of possible factors. Now, we make the set of possible rational roots by considering factors from the first set over factors from the second set. We obtain $\{\pm1, \pm\frac{1}{2}, \pm\frac{1}{3}, \pm\frac{1}{4}, \pm\frac{1}{6}, \pm\frac{1}{8}, \pm\frac{1}{12}, \pm{1}{24}\, \pm2, \pm\frac{2}{3}\}$. Notice that we eliminate repeated factors like $\frac{2}{2} = 1$ and $\frac{2}{6} = \frac{1}{3}$ because we are forming sets. (Recall there is no place for repeated elements in sets!)
In order to determine which are factors, we substitute each in for x. We can see that substituting in 1 results in 24 – 2 – 9 + 2 = 15. If 1 were a factor then the result would be zero so one is not a factor. Let’s try $\frac{1}{4}$. This does indeed yield $\frac{24}{64} – \frac{2}{16} – \frac{9}{4} + 2 = 0$ and so $\frac{1}{4}$ is a factor! We write the associate linear factor as $x – \frac{1}{4} \rightarrow 4x – 1$. Now, we know that $24x^3 – 2x^2 – 9x + 2 = (4x – 1)(ax^2 + bx + c)$. We could determine the quadratic by polynomial division or quickly figure it out. For instance, a must equal 6 here in order to get the first term. Then b = 1 as a result and c will equal -2 in order to get the last term. Now, we have a quadratic and can use the quadratic formula or factor directly $(4x – 1)(6x^2 + x – 2) = (4x – 1)(3x + 2)(2x – 1)$. We could have also tried to continue to apply the rational roots theorem.
3. The Complex Conjugate Theorem
The complex conjugate theorem states given a polynomial with real number coefficients that any complex solution necessarily comes with its conjugate.
The conjugate of a complex number $a + bi$ is $a – bi$. If you think about this carefully, you’ll note that what you’re observing is the difference of perfect squares in complex numbers. Consider a real quadratic with factor $(x – 1 + i)$. Its other factor must be $(x – 1 – i)$. Thus, the quadratic is $(x – 1 + i)(x – 1 – i) = x^2 – x – ix -x +1 +i +ix -i + 1 = x^2 – 2x + 2$.
Example 6: Construct a polynomial of degree 3 with real coefficients with roots 1 and 2 + i.
We use the complex conjugate theorem to obtain:
$(x – 1)(x – (2 + i))(x – (2 – i)) =$
$(x – 1)(x^2 – 4x – 5) =$
$x^3 – 5x^2 – x +5$