Skip to main content
Mathematics LibreTexts

3.5: Dividing Polynomials

  • Page ID
    117119
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Using Long Division to Divide Polynomials

    We are familiar with the long division algorithm for ordinary arithmetic. We begin by dividing into the digits of the dividend that have the greatest place value. We divide, multiply, subtract, include the digit in the next place value position, and repeat. For example, let’s divide 178 by 3 using long division.

    alt

    Another way to look at the solution is as a sum of parts. This should look familiar, since it is the same method used to check division in elementary arithmetic.

    \[\begin{align*} \text{dividend}&=(\text{divisor}{\cdot}\text{quotient})+\text{remainder} \\ 178&=(3{\cdot}59)+1 \\ &=177+1 \\ &=178\end{align*}\]

    We call this the Division Algorithm and will discuss it more formally after looking at an example.

    Division of polynomials that contain more than one term has similarities to long division of whole numbers. We can write a polynomial dividend as the product of the divisor and the quotient added to the remainder. The terms of the polynomial division correspond to the digits (and place values) of the whole number division. This method allows us to divide two polynomials. For example, if we were to divide \(2x^3−3x^2+4x+5\) by \(x+2\) using the long division algorithm, it would look like this:

    \[\require{enclose}\begin{array} {rll} \large x+2\enclose{longdiv}{ 2x^3-3x^2+4x+5\phantom{0}} & \qquad &\large\text{Set up the division problem.}\\[8pt]
    \large 2x^2 \hspace{5.45em} & \qquad & \large2x^3\text{ divided by }x\text{ is }2x^2.\\[-3pt]
    \large x+2\enclose{longdiv}{ 2x^3-3x^2+4x+5\phantom{0}} & \qquad &\\[8pt]
    \large 2x^2 \hspace{5.45em} & \qquad & \\[-3pt]
    \large x+2\enclose{longdiv}{ 2x^3-3x^2+4x+5\phantom{0}} & \qquad &\\[-3pt]
    \large \underline{-\left( 2x^3 + 4x^2 \right)} \hspace{4.9em} & \qquad & \large\text{Multiply }x+2\text{ by }2x^2\text{ and subtract.}\\[-3pt]
    \large -7x^2+4x \hspace{2.8em} & \qquad & \large\text{Bring down the next term.} \\[8pt]

    \large 2x^2 - 7x\hspace{2.85em} & \qquad & \large -7x^2\text{ divided by }x\text{ is }-7x.\\[-3pt]
    \large x+2\enclose{longdiv}{ 2x^3-3x^2+4x+5\phantom{0}} & \qquad &\\[-3pt]
    \large \underline{-\left( 2x^3 + 4x^2 \right)} \hspace{4.9em} & \qquad & \\[-3pt]
    \large -7x^2+4x \hspace{2.8em} & \qquad & \\[-3pt]
    \large \underline{-\left( -7x^2 - 14x \right)} \hspace{2.0em} & \qquad & \large\text{Multiply }x+2\text{ by }-7x.\\[-3pt]
    \large 18x+5 \phantom{0} & \qquad & \large\text{Subtract and bring down the next term.} \\[8pt]

    \large 2x^2 - 7x+18 & \qquad & \large 18x\text{ divided by }x\text{ is }18.\\[-3pt]
    \large x+2\enclose{longdiv}{ 2x^3-3x^2+4x+5\phantom{0}} & \qquad &\\[-3pt]
    \large \underline{-\left( 2x^3 + 4x^2 \right)} \hspace{4.9em} & \qquad & \\[-3pt]
    \large -7x^2+4x \hspace{2.8em} & \qquad & \\[-3pt]
    \large \underline{-\left( -7x^2 - 14x \right)} \hspace{2.0em} & \qquad & \\[-3pt]
    \large 18x+\phantom{0}5 & \qquad & \\[-3pt]
    \large \underline{-\left( 18x + 36 \right)} \hspace{-0.45em} & \qquad & \large\text{Multiply }x+2\text{ by }18.\\[-3pt]
    \large -31 & \qquad & \large\text{Subtract.} \\[8pt]
    \end{array} \nonumber\]

    We have found

    \[\dfrac{2x^3−3x^2+4x+5}{x+2}=2x^2−7x+18−\dfrac{31}{x+2} \nonumber\]

    or

    \[ 2x^3−3x^2+4x+5=(x+2)(2x^2−7x+18)−31 \nonumber\]

    We can identify the dividend, the divisor, the quotient, and the remainder.

    Writing the result in this manner illustrates the Division Algorithm.

    The Division Algorithm

    The Division Algorithm states that, given a polynomial dividend \(f(x)\) and a non-zero polynomial divisor \(d(x)\) where the degree of \(d(x)\) is less than or equal to the degree of \(f(x)\), there exist unique polynomials \(q(x)\) and \(r(x)\) such that

    \[f(x)=d(x)q(x)+r(x)\]

    \(q(x)\) is the quotient and \(r(x)\) is the remainder. The remainder is either equal to zero or has degree strictly less than \(d(x)\).

    If \(r(x)=0\), then \(d(x)\) divides evenly into \(f(x)\). This means that, in this case, both \(d(x)\) and \(q(x)\) are factors of \(f(x)\).

    Using Synthetic Division to Divide Polynomials

    As we’ve seen, long division of polynomials can involve many steps and be quite cumbersome. Synthetic division is a shorthand method of dividing polynomials for the special case of dividing by a linear factor whose leading coefficient is \(1.\)

    To illustrate the process, recall the example at the beginning of the section.

    Divide \(2x^3−3x^2+4x+5\) by \(x+2\) using the long division algorithm.

    The final form of the process looked like this:

    \[\require{enclose}\begin{array} {rl} \large 2x^2 - 7x+18 & \\[-3pt]
    \large x+2\enclose{longdiv}{ 2x^3-3x^2+4x+5\phantom{0}} & \\[-3pt]
    \large \underline{-\left( 2x^3 + 4x^2 \right)} \hspace{4.9em} & \\[-3pt]
    \large -7x^2+4x \hspace{2.8em} & \\[-3pt]
    \large \underline{-\left( -7x^2 - 14x \right)} \hspace{2.0em} &\\[-3pt]
    \large 18x+\phantom{0}5 & \\[-3pt]
    \large \underline{-\left( 18x + 36 \right)} \hspace{-0.45em} & \\[-3pt]
    \large -31 & \\[8pt]
    \end{array} \nonumber\]

    There is a lot of repetition in the table. If we don’t write the variables but, instead, line up their coefficients in columns under the division sign and also eliminate the partial products, we already have a simpler version of the entire problem.

    alt

    Synthetic division carries this simplification even a few more steps. Collapse the table by moving each of the rows up to fill any vacant spots. Also, instead of dividing by 2, as we would in division of whole numbers, then multiplying and subtracting the middle product, we change the sign of the “divisor” to –2, multiply and add. The process starts by bringing down the leading coefficient.

    alt

    We then multiply it by the “divisor” and add, repeating this process column by column, until there are no entries left. The bottom row represents the coefficients of the quotient; the last entry of the bottom row is the remainder. In this case, the quotient is \(2x^2–7x+18\) and the remainder is \(–31.\) The process will be made more clear in Example \(\PageIndex{3}\).

    Synthetic Division

    Synthetic division is a shortcut that can be used when the divisor is a binomial in the form \(x−k\). In synthetic division, only the coefficients are used in the division process.

    Given two polynomials, use synthetic division to divide
    1. Write \(k\) for the divisor.
    2. Write the coefficients of the dividend.
    3. Bring the lead coefficient down.
    4. Multiply the lead coefficient by \(k\). Write the product in the next column.
    5. Add the terms of the second column.
    6. Multiply the result by \(k\). Write the product in the next column.
    7. Repeat steps 5 and 6 for the remaining columns.
    8. Use the bottom numbers to write the quotient. The number in the last column is the remainder and has degree 0, the next number from the right has degree 1, the next number from the right has degree 2, and so on.

    This page titled 3.5: Dividing Polynomials is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.