KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesPolynomial Long DivisionEngineering · Engineering MathematicsLesson 4/5← PrevNext →
GuidePublished 15 Aug 20266 min readBy Kevin Joginlong divisionpolynomial divisionquotientremainder
On this page

Ask about this page

KEVOS AIPolynomial Long Division

KEVOS knowledge first · trusted web sources when needed

Polynomials and Factoring

Polynomial Long Division

The division algorithm for polynomials, laid out beside the arithmetic long division it copies, with placeholders, remainders and the quotient-plus-remainder form.

Category Engineering / MathematicsStream Polynomials and FactoringLevel CoreReading 7 minSource Week 6, pages 6-7; supplementary notes

What this page covers

  • Set out a polynomial long division with correct placeholders
  • Carry the algorithm through to a remainder of lower degree than the divisor
  • Write the result in quotient-plus-remainder form and check it
  • Recognise a zero remainder as a statement that the divisor is a factor
On this page
  1. The arithmetic it copies
  2. The algorithm for polynomials
  3. Worked example: a linear divisor
  4. Worked example: a quadratic divisor and a non-zero remainder
  5. The two standard forms of the answer
  6. Using division to factor a cubic
  7. Common mistakes
  8. Frequently asked questions

The arithmetic it copies

Polynomial long division is the school method for dividing numbers, transplanted. The source notes make the parallel explicit by doing an arithmetic division first, and the comparison is worth keeping in view throughout.

18317 = 10 + 1317, equivalently 183 = 10 × 17 + 13Source example, Week 6, page 6
Dividend
The number or polynomial being divided — here 183
Divisor
What it is divided by — here 17
Quotient
How many times it goes — here 10
Remainder
What is left over — here 13

The defining property is that the remainder is smaller than the divisor. For numbers 'smaller' means smaller in value; for polynomials it means lower in degree. That is the only substantive change in the transplant.

Arithmetic warm-up — 68437 div 314

The running commentary the typed notes supply
StepWorkingReasoning
1314 into 684 goes 2Put 2 in the quotient
22 × 314 = 628; subtractLeaves 56, bring down 3
3314 into 563 goes 1Put 1 in the quotient
41 × 314 = 314; subtractLeaves 249, bring down 7
5314 into 2497 goes 7Put 7 in the quotient
67 × 314 = 2198; subtractLeaves 299
68437314 = 217 + 299314299 < 314, so the division stops

The algorithm for polynomials

  1. Write both polynomials in standard form, descending by degree, with a zero placeholder for every missing power.
  2. Divide the leading term of the dividend by the leading term of the divisor. That quotient term goes on top.
  3. Multiply the whole divisor by that quotient term and write the product underneath, aligned by degree.
  4. Subtract. The leading terms must cancel; if they do not, the quotient term was wrong.
  5. Bring down the next term and repeat from step 2.
  6. Stop when the degree of the remainder is strictly less than the degree of the divisor.
Watch out

Step 4 is where signs are lost. You are subtracting the whole product, so every term of it changes sign. Writing the product and then explicitly negating it on the next line is slower and much safer than trying to subtract in the head.

Worked example: a linear divisor

Divide x3 - 5x2 + 7x - 12 by x - 4

Each stage of the division
Quotient termMultiply divisor by itSubtract, leaving
x2x3 - 4x2-x2 + 7x
-x-x2 + 4x3x - 12
+33x - 120

Each quotient term comes from dividing the current leading term by x: first x3 div x = x2, then -x2 div x = -x, then 3x div x = 3.

x3 - 5x2 + 7x - 12x - 4 = x2 - x + 3Source example, Week 6, page 7. The remainder is zero
Check by multiplying back

(x - 4)(x2 - x + 3) = x3 - x2 + 3x - 4x2 + 4x - 12 = x3 - 5x2 + 7x - 12. Correct.

A remainder of zero is a statement worth reading carefully: it says x - 4 is a factor of the dividend. That observation is the whole content of the factor theorem.

Worked example: a quadratic divisor and a non-zero remainder

Divide 2x4 - x2 - 2 by x2 + 2x - 1

The dividend is missing its x3 and x terms, so write it in full before starting:

2x4 + 0x3 - x2 + 0x - 2Placeholders are not optional
Each stage
Quotient termMultiply divisor by itSubtract, leaving
2x22x4 + 4x3 - 2x2-4x3 + x2 + 0x
-4x-4x3 - 8x2 + 4x9x2 - 4x - 2
+99x2 + 18x - 9-22x + 7

The remainder -22x + 7 has degree 1, which is below the divisor's degree 2, so the division stops.

2x4 - x2 - 2x2 + 2x - 1 = 2x2 - 4x + 9 + -22x + 7x2 + 2x - 1Source example, Week 6, pages 6-7
Check

(x2 + 2x - 1)(2x2 - 4x + 9) = 2x4 - x2 + 22x - 9. Adding the remainder -22x + 7 gives 2x4 - x2 - 2. Correct.

Note

Notice how much work the placeholders did. Without the 0x3 the second subtraction would have aligned -4x3 against -x2, and everything after that would have been wrong while still looking orderly.

The two standard forms of the answer

The division algorithm
f(x)g(x) = q(x) + r(x)g(x)equivalently f(x) = q(x) · g(x) + r(x)with ° r < ° g

The second form is the more useful of the two. It contains no fractions, it is the form the check is done in, and it is the form from which the remainder theorem is derived in one line.

The same result, three ways
FormExample
Fractionalx3 - 5x2 + 7x - 12x - 4 = x2 - x + 3
Productx3 - 5x2 + 7x - 12 = (x - 4)(x2 - x + 3)
General, with remainderf(x) = q(x)g(x) + r(x), ° r < ° g

Using division to factor a cubic

Division is the second half of the standard method for factoring a cubic: find one root by trial, then divide it out to leave a quadratic, which any of the usual methods can handle.

Worked example &mdash; f(x) = 2x3 + 5x2 - 14x + 3

The typed notes test x = 32:

f(32) = 2(278) + 5(94) - 14(32) + 3= 274 + 454 - 21 + 3 = 724 - 18 = 0A root, so 2x - 3 is a factor

Dividing 2x3 + 5x2 - 14x + 3 by 2x - 3:

Each stage
Quotient termMultiply divisor by itSubtract, leaving
x22x3 - 3x28x2 - 14x
+4x8x2 - 12x-2x + 3
-1-2x + 30
2x3 + 5x2 - 14x + 3 = (2x - 3)(x2 + 4x - 1)Typed supplementary notes on long division

The quadratic does not factor over the integers, so finish with the formula: x = -4 ± √202 = -2 ± √5.

f(x) = (2x - 3)(x + 2 + √5)(x + 2 - √5)Fully factored over the reals

The trial step is not guesswork if it is done properly. Which values are worth testing, and why, is set out in The Remainder and Factor Theorems.

Common mistakes

Errors and how to prevent them
MistakeConsequencePrevention
Omitting placeholder termsColumns misalign; every later step is wrongWrite the dividend in full, with 0 coefficients
Adding instead of subtractingThe leading term fails to cancelNegate the product on its own line before combining
Stopping while the remainder still has high degreeAn incomplete quotientCompare degrees explicitly before stopping
Dividing the whole leading coefficient into the wrong termWrong quotient termDivide leading term by leading term only
Not checkingErrors survive to the final answerq · g + r must reproduce f exactly
Writing the divisor out of standard orderThe algorithm cannot startSort both polynomials by descending degree first

Frequently asked questions

Why do I need placeholder zeros?

The algorithm aligns terms by degree. If x3 - 2 is written without its missing x2 and x terms, the subtraction at each stage lines up the wrong columns and every subsequent step is wrong. Writing x3 + 0x2 + 0x - 2 costs nothing and removes the risk entirely.

When do I stop dividing?

When the degree of what remains is strictly less than the degree of the divisor. Dividing by a quadratic, you stop once the remainder is linear or constant. Dividing by a linear factor, you stop at a constant.

Does the remainder have to be zero?

No. A zero remainder is the special case that says the divisor is a factor. A non-zero remainder is a perfectly good answer and is written as the fractional part of the quotient-plus-remainder form.

Is there a faster method?

For a linear divisor x - a, yes: the remainder alone can be got from f(a) by the remainder theorem, with no division at all. Long division is still needed when the quotient itself is wanted, or when the divisor has degree two or more.

Related pages

  • The Remainder and Factor Theorems
  • Polynomials: Terminology, Degree and Standard Form
  • Cubic and Higher-Degree Equations
  • Factoring Polynomials: the Five Standard Methods

Source. Handwritten teaching notes, Week 6, pages 6-7, with the arithmetic parallel and the cubic factorisation from the typed supplementary notes on long division.

This page is an original exposition prepared for the KEVOS® knowledge library. It restates, reorganises and verifies the mathematics of the supplied teaching notes; it is not a reproduction of them. Numerical values taken from the notes are identified as source examples and are not presented as engineering standards.

Continue learning

Factoring Polynomials: the Five Standard MethodsGuide · Engineering MathematicsNEXT LESSON →The Remainder and Factor TheoremsGuide · Engineering MathematicsMultiplying Polynomials and the Special ProductsGuide · Engineering MathematicsPolynomials: Terminology, Degree and Standard FormGuide · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®