Long Division of Polynomials


Suppose you are given two polynomials, and we want to divide one polynomial by another.  One method is long division, a process similar to long division of two whole numbers.  I will use an example as I explain each step along the way.

Suppose we want to divide x2 + 3x + 5 by x + 1.  Setup the long division as you would do with whole numbers, with the first polynomial (called the dividend) under the long division line, and the polynomial we are dividing by (called the divisor) on the left:

Make sure you write the terms left to right from highest degree to lowest degree for both the dividend and the divisor.

The long division process goes as follows:  Imagine taking just the highest degree term from the dividend (in our example, x2) and dividing it by the highest degree term of the divisor (in our example, x).  The result is the first term of our "quotient".  In our example, the result will be x.  Usually, you should write the answer above the term of the same degree as the result:

Now, take the result and multiply it by the entire divisor:
(x)(x + 1) = x2 + x

Write this result below the dividend, making sure you line up each term of the result under the term in the dividend with the same degree:


Now, we have to subtract our result x2 + x from the dividend.  One way to do this without losing track of signs is to reverse all the signs of the terms of our result and add like terms:




Note that the first term will always cancel out (and possibly others will as well).  After writing what is left over, bring down the next term in the dividend that we haven't used yet:


Now, we repeat the process of long division, taking the highest degree of our new polynomial (which is 2x) and dividing it by the highest degree term of the divisor (again, x); the result is 2.  That is our second term of our quotient, and we write it as follows:

As before, multiply 2 by x + 1 and write the result below 2x + 5 (lining up like terms), switch the signs, then add:



We stop once we have no more terms to bring down.  The result from the last step is the remainder.  So the quotient is x + 2 and our remainder is 3.

It is typical to write the answer as follows:



Other problems to consider:

When setting up the long division, if there are any terms missing as you write the terms from highest to lowest degree, it is useful to write zero placeholders for those missing terms:

Suppose we want to divide x3 - 1 by x - 1.  Note the dividend doesn't have an x2-term or an x-term, so it will be useful to write the setup as follows:

Then go through the long division steps as before, treating it as if the dividend had an x2-term and an x-term, except that they have coefficients of 0 when you do addition or subtraction with those terms.

Back to top

Back to Frequently Asked Math Questions               


  eMathLab    Math Lab    Math Department Home