Skip to main content
Mathematics LibreTexts

3.2: The Factor Theorem and the Remainder Theorem

  • Page ID
    3990
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Suppose we wish to find the zeros of \(f(x) = x^3 + 4x^2-5x-14\). Setting \(f(x)=0\) results in the polynomial equation \(x^3 + 4x^2-5x-14=0\). Despite all of the factoring techniques we learned in Intermediate Algebra, this equation foils us at every turn. If we graph \(f\) using the graphing calculator, we get

    3.2a.png

    The graph suggests that the function has three zeros, one of which is \(x=2\). It's easy to show that \(f(2) = 0\), but the other two zeros seem to be less friendly. Even though we could use the 'Zero' command to find decimal approximations for these, we seek a method to find the remaining zeros exactly. Based on our experience, if \(x=2\) is a zero, it seems that there should be a factor of \((x-2)\) lurking around in the factorization of \(f(x)\). In other words, we should expect that \(x^3 + 4x^2-5x-14=(x-2) \, q(x)\), where \(q(x)\) is some other polynomial. How could we find such a \(q(x)\), if it even exists? The answer comes from our old friend, polynomial division. Dividing \(x^3 + 4x^2-5x-14\) by \(x-2\) gives

    3.2b.png

    As you may recall, this means \(x^3 + 4x^2-5x-14=(x-2)\left(x^2+6x+7\right)\), so to find the zeros of \(f\), we now solve \((x-2)\left(x^2+6x+7\right)=0\). We get \(x-2=0\) (which gives us our known zero, \(x=2\)) as well as \(x^2+6x+7=0\). The latter doesn't factor nicely, so we apply the Quadratic Formula to get \(x = -3 \pm \sqrt{2}\). The point of this section is to generalize the technique applied here. First up is a friendly reminder of what we can expect when we divide polynomials.

    Theorem 3.4: Polynomial Division

    Suppose \(d(x)\) and \(p(x)\) are nonzero polynomials where the degree of \(p\) is greater than or equal to the degree of \(d\). There exist two unique polynomials, \(q(x)\) and \(r(x)\), such that \(p(x) = d(x) \, q(x) + r(x),\,\) where either \(r(x) = 0\) or the degree of \(r\) is strictly less than the degree of \(d\).

    As you may recall, all of the polynomials in Theorem 3.4 have special names. The polynomial \(p\) is called the dividend; \(d\) is the divisor; \(q\) is the quotient; \(r\) is the remainder. If \(r(x)=0\) then \(d\) is called a factor of \(p\). The proof of Theorem 3.4 is usually relegated to a course in Abstract Algebra, but we can still use the result to establish two important facts which are the basis of the rest of the chapter.

    Theorem 3.5: Remainder Theorem

    Suppose \(p\) is a polynomial of degree at least \(1\) and \(c\) is a real number. When \(p(x)\) is divided by \(x-c\) the remainder is \(p(c)\).

    The proof of Theorem 3.5 is a direct consequence of Theorem 3.4. When a polynomial is divided by \(x-c\), the remainder is either \(0\) or has degree less than the degree of \(x-c\). Since \(x-c\) is degree \(1\), the degree of the remainder must be \(0\), which means the remainder is a constant. Hence, in either case, \(p(x) = (x-c) \, q(x) + r\), where \(r\), the remainder, is a real number, possibly \(0\). It follows that \(p(c) = (c-c) \, q(c) + r = 0 \cdot q(c) + r = r\), so we get \(r = p(c)\) as required. There is one last 'low hanging fruit' to collect which we present below.

    Theorem 3.6: The Factor Theorem

    Suppose \(p\) is a nonzero polynomial. The real number \(c\) is a zero of \(p\) if and only if \((x-c)\) is a factor of \(p(x)\).

    The proof of The Factor Theorem is a consequence of what we already know. If \((x-c)\) is a factor of \(p(x)\), this means \(p(x) = (x-c) \, q(x)\) for some polynomial \(q\). Hence, \(p(c) = (c-c) \, q(c) = 0\), so \(c\) is a zero of \(p\). Conversely, if \(c\) is a zero of \(p\), then \(p(c) = 0\). In this case, The Remainder Theorem tells us the remainder when \(p(x)\) is divided by \((x-c)\), namely \(p(c)\), is \(0\), which means \((x-c)\) is a factor of \(p\). What we have established is the fundamental connection between zeros of polynomials and factors of polynomials.

    Of the things The Factor Theorem tells us, the most pragmatic is that we had better find a more efficient way to divide polynomials by quantities of the form \(x-c\). Fortunately, people have already blazed this trail. Let's take a closer look at the long division we performed at the beginning of the section and try to streamline it. First off, let's change all of the subtractions into additions by distributing through the \(-1\)s.

    3.2c.png

    Next, observe that the terms \(-x^3\), \(-6x^2\) and \(-7x\) are the exact opposite of the terms above them. The algorithm we use ensures this is always the case, so we can omit them without losing any information. Also note that the terms we 'bring down' (namely the \(-5x\) and \(-14\)) aren't really necessary to recopy, so we omit them, too.

    3.2d.png

    Now, let's move things up a bit and, for reasons which will become clear in a moment, copy the \(x^3\) into the last row.

    3.2e.png

    Note that by arranging things in this manner, each term in the last row is obtained by adding the two terms above it. Notice also that the quotient polynomial can be obtained by dividing each of the first three terms in the last row by \(x\) and adding the results. If you take the time to work back through the original division problem, you will find that this is exactly the way we determined the quotient polynomial. This means that we no longer need to write the quotient polynomial down, nor the \(x\) in the divisor, to determine our answer.

    3.2f.png

    We've streamlined things quite a bit so far, but we can still do more. Let's take a moment to remind ourselves where the \(2x^2\), \(12x\) and \(14\) came from in the second row. Each of these terms was obtained by multiplying the terms in the quotient, \(x^2\), \(6x\) and \(7\), respectively, by the \(-2\) in \(x-2\), then by \(-1\) when we changed the subtraction to addition. Multiplying by \(-2\) then by \(-1\) is the same as multiplying by \(2\), so we replace the \(-2\) in the divisor by \(2\). Furthermore, the coefficients of the quotient polynomial match the coefficients of the first three terms in the last row, so we now take the plunge and write only the coefficients of the terms to get

    3.2g.png

    We have constructed a synthetic division tableau for this polynomial division problem. Let's re-work our division problem using this tableau to see how it greatly streamlines the division process. To divide \(x^3+4x^2-5x-14\) by \(x-2\), we write \(2\) in the place of the divisor and the coefficients of \(x^3+4x^2-5x-14\) in for the dividend. Then 'bring down' the first coefficient of the dividend.

    3.2h.png

    Next, take the \(2\) from the divisor and multiply by the \(1\) that was 'brought down' to get \(2\). Write this underneath the \(4\), then add to get \(6\).

    3.2i.png

    Now take the \(2\) from the divisor times the \(6\) to get \(12\), and add it to the \(-5\) to get \(7\).

    3.2j.png

    Finally, take the \(2\) in the divisor times the \(7\) to get \(14\), and add it to the \(-14\) to get \(0\).

    3.2k.png

    The first three numbers in the last row of our tableau are the coefficients of the quotient polynomial. Remember, we started with a third degree polynomial and divided by a first degree polynomial, so the quotient is a second degree polynomial. Hence the quotient is \(x^2+6x+7\). The number in the box is the remainder. Synthetic division is our tool of choice for dividing polynomials by divisors of the form \(x-c\). It is important to note that it works only for these kinds of divisors.\footnote{You'll need to use good old-fashioned polynomial long division for divisors of degree larger than 1.} Also take note that when a polynomial (of degree at least \(1\)) is divided by \(x-c\), the result will be a polynomial of exactly one less degree. Finally, it is worth the time to trace each step in synthetic division back to its corresponding step in long division. While the authors have done their best to indicate where the algorithm comes from, there is no substitute for working through it yourself.

    Example \(\PageIndex{1}\):

    Use synthetic division to perform the following polynomial divisions. Find the quotient and the remainder polynomials, then write the dividend, quotient and remainder in the form given in Theorem 3.4.

    1. \(\left(5x^3 - 2x^2 + 1\right) \div (x-3) \)
    2. \(\left(x^3+8\right) \div (x+2)\)
    3. \(\dfrac{4-8x-12x^2}{2x-3}\)

    Solution

    When setting up the synthetic division tableau, we need to enter \(0\) for the coefficient of \(x\) in the dividend. Doing so gives

    3.2.1a.png

    Since the dividend was a third degree polynomial, the quotient is a quadratic polynomial with coefficients \(5\), \(13\) and \(39\). Our quotient is \(q(x) = 5x^2+13x+39\) and the remainder is \(r(x) = 118\). According to Theorem 3.4, we have \(5x^3 - 2x^2 + 1 = (x-3)\left(5x^2+13x+39 \right) + 118\).

    For this division, we rewrite \(x+2\) as \(x-(-2)\) and proceed as before

    3.2.1b.png

    We get the quotient \(q(x) = x^2-2x+4\) and the remainder \(r(x) =0\). Relating the dividend, quotient and remainder gives \(x^3+8 = (x+2)\left( x^2-2x+4 \right)\).

    To divide \(4-8x-12x^2\) by \(2x-3\), two things must be done. First, we write the dividend in descending powers of \(x\) as \(-12x^2-8x+4\). Second, since synthetic division works only for factors of the form \(x-c\), we factor \(2x-3\) as \(2\left(x-\frac{3}{2}\right)\). Our strategy is to first divide \(-12x^2-8x+4\) by \(2\), to get \(-6x^2-4x+2\). Next, we divide by \(\left(x-\frac{3}{2}\right)\). The tableau becomes

    3.2.1c.png

    From this, we get \(-6x^2-4x+2 = \left(x-\frac{3}{2}\right)(-6 x - 13) - \frac{35}{2}\). Multiplying both sides by \(2\) and distributing gives \(-12x^2-8x+4 = \left(2x-3\right) (-6 x - 13) - 35\). At this stage, we have written \(-12x^2-8x+4\) in the form \((2x-3) q(x) + r(x)\), but how can we be sure the quotient polynomial is \(-6x-13\) and the remainder is \(-35\)? The answer is the word 'unique' in Theorem 3.4. The theorem states that there is only one way to decompose \(-12x^2-8x+4\) into a multiple of \((2x-3)\) plus a constant term. Since we have found such a way, we can be sure it is the only way. \(\Box\)

    The next example pulls together all of the concepts discussed in this section.

    Example \(\PageIndex{2}\):

    Let \(p(x) = 2x^3-5x+3\).

    1. Find \(p(-2)\) using The Remainder Theorem. Check your answer by substitution.
    2. Use the fact that \(x=1\) is a zero of \(p\) to factor \(p(x)\) and then find all of the real zeros of \(p\).

    Solution

    The Remainder Theorem states \(p(-2)\) is the remainder when \(p(x)\) is divided by \(x-(-2)\). We set up our synthetic division tableau below. We are careful to record the coefficient of \(x^2\) as \(0\), and proceed as above.

    3.2.2a.png

    According to the Remainder Theorem, \(p(-2) = -3\). We can check this by direct substitution into the formula for \(p(x)\): \(p(-2) = 2(-2)^3-5(-2)+3 = -16+10+3=-3\).

    The Factor Theorem tells us that since \(x=1\) is a zero of \(p\), \(x-1\) is a factor of \(p(x)\). To factor \(p(x)\), we divide

    3.2.2b.png

    We get a remainder of \(0\) which verifies that, indeed, \(p(1) = 0\). Our quotient polynomial is a second degree polynomial with coefficients \(2\), \(2\), and \(-3\). So \(q(x) = 2x^2 + 2x - 3\). Theorem 3.4 tells us \(p(x) = (x-1)\left( 2x^2 + 2x - 3\right)\). To find the remaining real zeros of \(p\), we need to solve \(2x^2 + 2x - 3=0\) for \(x\). Since this doesn't factor nicely, we use the quadratic formula to find that the remaining zeros are \(x = \frac{-1 \pm \sqrt{7}}{2}\). \(\Box\)

    In Section 3.1, we discussed the notion of the multiplicity of a zero. Roughly speaking, a zero with multiplicity \(2\) can be divided twice into a polynomial; multiplicity \(3\), three times and so on. This is illustrated in the next example.

    Example \(\PageIndex{3}\):

    Let \(p(x) = 4x^4-4x^3-11x^2+12x-3\). Given that \(x=\frac{1}{2}\) is a zero of multiplicity \(2\), find all of the real zeros of \(p\).

    Solution

    We set up for synthetic division. Since we are told the multiplicity of \(\frac{1}{2}\) is two, we continue our tableau and divide \(\frac{1}{2}\) into the quotient polynomial

    3.2.3a.png

    From the first division, we get \(4x^4-4x^3-11x^2+12x-3=\left(x-\frac{1}{2}\right) \left(4x^3-2x^2-12x+6\right)\). The second division tells us \(4x^3-2x^2-12x+6=\left(x-\frac{1}{2}\right)\left(4x^2-12\right)\). Combining these results, we have \(4x^4-4x^3-11x^2+12x-3 = \left(x-\frac{1}{2}\right)^2\left(4x^2-12\right)\). To find the remaining zeros of \(p\), we set \(4x^2-12=0\) and get \(x = \pm \sqrt{3}\). \(\Box\)

    A couple of things about the last example are worth mentioning. First, the extension of the synthetic division tableau for repeated divisions will be a common site in the sections to come. Typically, we will start with a higher order polynomial and peel off one zero at a time until we are left with a quadratic, whose roots can always be found using the Quadratic Formula. Secondly, we found \(x = \pm \sqrt{3}\) are zeros of \(p\). The Factor Theorem guarantees \(\left(x-\sqrt{3}\right)\) and \(\left(x - \left(-\sqrt{3}\right)\right)\) are both factors of \(p\). We can certainly put the Factor Theorem to the test and continue the synthetic division tableau from above to see what happens.

    3.2l.png

    This gives us

    \[4x^4-4x^3-11x^2+12x-3=\left(x-\frac{1}{2}\right)^2 \left(x-\sqrt{3}\right)\left(x - \left(-\sqrt{3}\right)\right) (4)\]

    or, when written with the constant in front

    \[ p(x) = 4\left(x-\frac{1}{2}\right)^2 \left(x-\sqrt{3}\right)\left(x - \left(-\sqrt{3}\right)\right)\]

    We have shown that \(p\) is a product of its leading coefficient times linear factors of the form \((x-c)\) where \(c\) are zeros of \(p\). It may surprise and delight the reader that, in theory, all polynomials can be reduced to this kind of factorization. We leave that discussion to Section 3.4, because the zeros may not be real numbers. Our final theorem in the section gives us an upper bound on the number of real zeros.

    Theorem 3.7:

    Suppose \(f\) is a polynomial of degree \(n \geq 1\). Then \(f\) has at most \(n\) real zeros, counting multiplicities.

    Theorem 3.7 is a consequence of the Factor Theorem and polynomial multiplication. Every zero \(c\) of \(f\) gives us a factor of the form \((x-c)\) for \(f(x)\). Since \(f\) has degree \(n\), there can be at most \(n\) of these factors. The next section provides us some tools which not only help us determine where the real zeros are to be found, but which real numbers they may be.

    We close this section with a summary of several concepts previously presented. You should take the time to look back through the text to see where each concept was first introduced and where each connection to the other concepts was made.

    Connections Between Zeros, Factors and Graphs of Polynomial Functions

    Suppose \(p\) is a polynomial function of degree \(n \geq 1\). The following statements are equivalent:

    • The real number \(c\) is a zero of \(p\)
    • \(p(c) = 0\)
    • \(x = c\) is a solution to the polynomial equation \(p(x) = 0\)
    • \((x - c)\) is a factor of \(p(x)\)
    • The point \((c, 0)\) is an \(x\)-intercept of the graph of \(y = p(x)\)

    This page titled 3.2: The Factor Theorem and the Remainder Theorem is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Carl Stitz & Jeff Zeager via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.