Polynomial Long Division
Learning goals
- State the division algorithm and its degree condition
- Read a polynomial in standard form as place-value columns, like a base- numeral
- Find each quotient term by dividing the leading terms
- Insert placeholders for every missing power
- Check a division by expanding , and read a zero remainder as a factorization
The promise integer division makes
Before touching a polynomial, look closely at what integer division actually delivers, because the polynomial version copies it clause for clause.
Divide by . The process returns with left over, and the entire content of that answer is one equation together with one condition:
The equation says the answer is correct: nine fives and two more really do rebuild . The condition says the division is finished: fewer than five remain, so no further five can be pulled out. Drop the condition and “answers” multiply without end. The equations and are both true, yet nobody calls remainder the result of dividing by , because a remainder of still contains a five. Only the demand that the remainder be smaller than the divisor pins down the pair as the one and only answer.
So division with remainder is really two promises: an identity, dividend equals divisor times quotient plus remainder, and a smallness condition that makes the identity’s pieces unique. Keep both promises in view; the whole lesson is about keeping them for polynomials.
Both promises are visible at once if you lay the dividend out in rows. In the figure below you set a number of dots and a row width. The dots fill rows from the top left, and any dots that cannot complete a row are drawn hollow.
Start at dots in rows of . Two rows fill and three dots are left hollow, which is the identity drawn rather than computed. The row width is the divisor, the solid rows are the quotient, and the hollow dots are the remainder. Try to break the smallness condition and you cannot: any four hollow dots would have completed another row, so the hollow dots always come out fewer than the row width. That is what “no further copy of the divisor can be pulled out” looks like. Set the count to against the same rows of and the hollow dots vanish, the case where the divisor goes in exactly.
Reading a divisor, a quotient, and a remainder off the rows
11 dots in rows of 4 make 2 full rows with 3 dots left over. So 11 = 4 times 2 + 3, remainder 3.
A polynomial is a numeral written in base x
The last lesson gave you the vocabulary. The degree of a polynomial is its highest power, the leading term carries that power, and standard form lists the terms in falling powers. Now set a numeral and a polynomial side by side:
Same skeleton. The coefficients play the digits, and the powers of play the places. Two honest differences separate them. First, a numeral’s digits stay between and , and any overflow is handled by carrying into the next column. A polynomial’s coefficients, by contrast, are unrestricted, so nothing ever carries and the columns never interact. In that one respect polynomial arithmetic is simpler than integer arithmetic. Second, a numeral names a single number, while a polynomial’s value moves with . That second difference is why the smallness condition needs translating. The phrase “the remainder is smaller than the divisor” cannot mean numerical size, because which of two polynomials is bigger can flip as changes. At , is smaller than , since . At , though, is larger than , since . The measure that does not move with is the degree, so degree takes over the job that size did for integers.
With that translation made, here is the exact claim this lesson runs on, proves, and then uses. It is called the division algorithm for polynomials. Let be any polynomial (the dividend) and any nonzero polynomial (the divisor). Then there is exactly one pair of polynomials (the quotient) and (the remainder) with
Two small print items. The zero polynomial has no degree, since it has no leading term, which is why the condition says ” or ” instead of just . And is excluded for the same reason is: with , nothing would stop from just equaling , and the division would promise nothing.
Each quotient term is forced
The algorithm is a loop, and the loop has only one legal move. Watch it once in slow motion on
Your goal is to peel copies of out of until what is left is too small, in degree, to contain another copy. The tool is subtraction: subtract a multiple of the divisor, record how many copies that multiple used, repeat. To make progress you must kill the dividend’s leading term , and here is the key point: a multiple cancels exactly when its own leading term is . If you take to be a single term, the leading term of is just , so you need , which forces
Divide the leading terms: that is the whole rule, and no other choice touches the . Multiply back and subtract, remembering to subtract the entire product:
The is gone, exactly as designed. What remains is a smaller division problem, divided by , so run the same forced move again: , then , and . Now the working remainder has degree , which is below the divisor’s degree . The loop must stop, because any further multiple of would introduce a new term rather than cancel anything. Collecting the two recorded quotient terms, and ,
The traditional tableau records exactly these moves in columns, quotient on the roof, each product written under the matching powers:
Now cash in the base- idea. Substitute everywhere: the dividend becomes , the divisor becomes , the quotient becomes , and the remainder stays . Check it as an integer sentence: . The division you just performed mirrors a grade-school division almost move for move, with one comfort added: since coefficients never carry, each column settles in a single step.
One habit before moving on. Every polynomial division can be checked by multiplying back, and the check is cheaper than the division was:
Make the check a reflex. The division algorithm’s identity is an equation about every value of at once, so expanding and comparing with catches any slip immediately.
Check your understanding
You are dividing by . What is the first term of the quotient?
The first quotient term is forced by the two leading terms alone: it must turn the divisor's leading term into the dividend's leading term .
Divide the coefficients () and subtract the exponents (). No other single term makes cancel .
Worked example 1 Divide by
Both polynomials are already in standard form, so run the forced move until the degree falls below .
First pass: divide the leading terms, . Multiply back and subtract the whole product:
Second pass: , and . Subtracting, . Watch the signs: subtracting adds .
Third pass: , and . Subtracting, . Degree is below degree , so the loop stops. In the tableau:
The quotient is and the remainder is :
Check by multiplying back:
and adding restores exactly.
Why the loop is correct, and why it must stop
Two questions are worth answering before you trust the method on harder problems: does every pass keep the identity true, and does the loop ever actually stop?
Both answers are visible in the two moves you just made. Multiplying the divisor by the new quotient term and subtracting removes exactly that amount from the working remainder and adds it to the quotient. So the total, ” times the quotient so far, plus what’s left,” never changes: it starts at , so it still equals at every later stage. That is why the final line, whatever it turns out to be, is automatically a true identity.
The quotient term at each pass was chosen for one reason: to cancel the working remainder’s leading term. Once that term is gone, nothing left over can be as large, so the degree of what remains drops by at least on every pass. A degree cannot drop below , so after a bounded number of passes the working remainder is or too low in degree to continue, and the loop must stop.
Notice what this quietly explains about the tableau. The invariant is why you can trust the final line without re-deriving anything, and the strict degree drop is why the highest surviving power gets lower after every subtraction. If a row’s highest power does not drop, a subtraction error has slipped in, usually a sign.
Missing terms need placeholders
The tableau is column bookkeeping, and columns only work when every power has a column. A numeral handles a skipped place with the digit . The zero in contributes nothing to the sum, but it holds the tens column open so the and the land where they belong. A polynomial that skips powers needs the same fix. Before dividing, rewrite the dividend (and the divisor, if need be) with an explicit coefficient for every missing power. Nothing changes mathematically, since is zero; what changes is that like powers now sit above one another in the tableau, where the subtractions can find them.
Worked example 2 Divide by
The dividend skips two powers, so restore them as placeholders first:
Now divide. First pass: , and ; subtracting leaves , with the placeholder column keeping the term aligned. Second pass: , and ; subtracting leaves . Third pass: , and ; subtracting leaves .
The remainder is the zero polynomial, so the division comes out even:
When we say divides , and the identity is a genuine factorization, certified by the division itself. Multiply back to confirm: . Division with zero remainder is how you prove one polynomial is a factor of another, and the rest of this chapter leans on exactly that.
Check your understanding
To divide by using the tableau, how should you write the dividend first?
The dividend skips the and powers, so hold those columns open with zero coefficients, the same way the digit holds an empty place in a numeral.
Adding changes nothing mathematically, but it keeps like powers aligned in the tableau. Inventing coefficients of would change the polynomial, and a in front of would erase the leading term.
Only one answer is possible
Existence came from running the loop: some quotient and remainder can always be found. A separate question is uniqueness: could a different pair also keep both promises for the same and ? It could not, and seeing why starts from one fact about degrees.
Multiply two nonzero polynomials with leading terms and . The only way to produce the power in the product is leading term times leading term, and every other pairing lands strictly lower. Since and , their product is not zero either, so the product’s leading term really is :
Degrees add under multiplication. That single fact is enough to rule out any second quotient and remainder. Two different quotients would force times their difference to have degree at least . But a difference of two too-small remainders can never reach that high, so no second pair exists. However you found a quotient and remainder, by the tableau, by cleverness, or by a lucky guess, they are the quotient and remainder.
Uniqueness pays off immediately in bookkeeping. Suppose . In the product has degree . And is either zero or too low in degree to disturb that leading term, so and must share a leading term. Two consequences follow, when ,
A cubic divided by a linear divisor must give a quadratic quotient; if it does not, stop and find the error before checking a single coefficient. And if instead , the pair , already keeps both promises, so by uniqueness it is the answer. Dividing by gives quotient and remainder , just as gives quotient and remainder .
Worked example 3 Divide by
The divisor’s leading coefficient is , not , and nothing about the method changes: each quotient term still comes from dividing leading terms, coefficients divided and exponents subtracted.
First pass: , and ; subtracting leaves . Second pass: , and ; subtracting leaves . Third pass: , and ; subtracting leaves .
So the quotient is and the remainder is :
Run the sanity checks from the uniqueness section before the full multiply-back. Degrees: . Leading coefficients: . Both pass. Now the full check: , and adding the remainder restores exactly. In general a divisor whose leading coefficient is not can force fractions into the quotient, and that is not an error. Dividing by opens with , and the algorithm carries on unbothered.
A divisor of higher degree
Nothing in the loop, the proof, or the bookkeeping assumed the divisor was linear. Divide by a quadratic and the only visible change is the finish line. With that divisor the loop stops when the working remainder is zero or of degree below , so a remainder may now be linear, or a constant, or zero.
Worked example 4 Divide by
Restore the missing column first: the dividend is .
First pass: , and . This product skips the column, so when you write it into the tableau, slide its term under the column and leave the gap open. Subtracting leaves . Second pass: , and ; subtracting leaves . Third pass: , and ; subtracting leaves , of degree : stop.
The quotient is and the remainder is :
A linear remainder is not unfinished business. No multiple of the degree- divisor can cancel a degree- term without introducing something of degree or higher. So is as reduced as a remainder can be. Check:
and adding gives back .
Two ways to package the answer
Dividing both sides of by gives a second form of the same fact:
This is the polynomial version of turning an improper fraction into a mixed number: , quotient out front, remainder still sitting over the divisor, valid wherever . From Worked Example 3, for instance,
Both forms carry the same information, but proofs use the identity form. The fraction form is what you’ll reach for later, when a chapter on rational expressions takes up quotients like this one in their own right.
Check your understanding
Divide by , then verify your division by expanding . Which option states both the correct division and a correct check?
Divide the leading terms twice. First pass: , and ; subtracting leaves . Second pass: , and ; subtracting leaves , degree , below the divisor's degree , so the loop stops: .
Now actually carry out the check: . That matches the dividend, so the division checks out.
The other three fail the check for different reasons. Option 2's quotient has the wrong sign on its constant term, and its own expansion shows it. Option 3 wrongly assumes the remainder is . Option 4 pairs the correct identity with an expansion that was never actually carried out: really does equal , not . Expanding is the only way to catch a slip like that.