The One Identity That Every Polynomial Division Obeys
Divide any whole number by another and something quiet always holds: the divisor times the quotient, plus the remainder, rebuilds the original number. $17 = 5 \times 3 + 2$. Polynomials obey the exact same law, and that law is the division algorithm.
The polynomial version simply swaps numbers for expressions in $x$. Once you see that the rule is the same one you already trust for arithmetic, the whole method stops feeling like a new procedure.
What Is the Division Algorithm for Polynomials?
The division algorithm for polynomials says that if $p(x)$ and $g(x)$ are two polynomials with $g(x) \neq 0$, then there exist unique polynomials $q(x)$ and $r(x)$ such that
$$p(x) = g(x),q(x) + r(x),$$
where either $r(x) = 0$ or the degree of $r(x)$ is strictly less than the degree of $g(x)$. In plain words: dividend equals divisor times quotient, plus remainder, and the remainder must be "smaller" than the divisor. It is the polynomial twin of Euclid's division lemma for whole numbers, and it is the rule that makes dividing polynomials trustworthy.
What Do p(x), g(x), q(x), and r(x) Mean?
Every symbol in the identity has one fixed job. Defining them before using them keeps the whole algorithm readable.
Symbol | Name | What it is |
|---|---|---|
$p(x)$ | Dividend | The polynomial being divided |
$g(x)$ | Divisor | The polynomial you divide by (never zero) |
$q(x)$ | Quotient | The result of the division |
$r(x)$ | Remainder | What is left over; $r(x) = 0$ or $\deg r(x) < \deg g(x)$ |
The degree of a polynomial is the highest power of $x$ that appears in it; you can read more on the degree of a polynomial if that idea is new. The degree condition on $r(x)$ is the whole point of the algorithm. It is the signal that tells you when to stop dividing, exactly as "the remainder must be less than the divisor" tells you when to stop in arithmetic.
How Do You Divide One Polynomial by Another?
Polynomial division uses the same long-division layout you learned for numbers, just tracked by powers of $x$. The procedure repeats one small step until the remainder's degree drops below the divisor's.
Arrange both polynomials in descending order of powers, and insert a zero coefficient for any missing power.
Divide the leading term of the current dividend by the leading term of the divisor. That gives one term of the quotient.
Multiply the whole divisor by that quotient term.
Subtract the product from the current dividend to get a new, smaller dividend.
Repeat steps 2 to 4 until the remainder is $0$ or its degree is less than $\deg g(x)$.
What happens if a term is missing in the dividend? You insert it with a coefficient of zero. Writing $x^3 - 8$ as $x^3 + 0x^2 + 0x - 8$ keeps every column lined up under the right power, which is the single most common place the whole calculation goes wrong. Synthetic division is a faster shorthand for the special case where the divisor is linear, but it obeys the same algorithm underneath.
What Are the Properties of the Division Algorithm?
The remainder is genuinely smaller. Either $r(x) = 0$ or $\deg r(x) < \deg g(x)$. A remainder whose degree still matches or beats the divisor means the division is not finished.
The quotient and remainder are unique. For a given $p(x)$ and $g(x)$, exactly one pair $q(x)$, $r(x)$ satisfies the identity. There is no second valid answer.
A zero remainder means a factor. If $r(x) = 0$, then $g(x)$ divides $p(x)$ exactly, so $g(x)$ is a factor of $p(x)$.
Linear divisors link to the remainder theorem. When $g(x) = x - a$, the remainder is the single number $p(a)$. This is the remainder theorem, and it lets you find a remainder without doing the full division.
Does the remainder always have to be smaller than the divisor? Yes. That degree condition is not a suggestion, it is the definition of "done". If you can still divide the leading terms, the algorithm has more work left.
Examples of the Division Algorithm for Polynomials
The set runs from a clean linear divisor, through the missing-placeholder trap, up to reversing the algorithm to rebuild a dividend. Students meeting polynomial division for the first time usually forget the placeholder for a missing power and misalign every column that follows, so watch for that in Example 2.
Example 1
Divide $p(x) = 2x^2 + 3x + 1$ by $g(x) = x + 2$, and state the quotient and remainder.
Divide leading terms:
$$2x^2 \div x = 2x.$$
Multiply and subtract:
$$2x^2 + 3x + 1 - 2x(x + 2) = 2x^2 + 3x + 1 - 2x^2 - 4x = -x + 1.$$
Divide again:
$$-x \div x = -1.$$
Multiply and subtract:
$$-x + 1 - (-1)(x + 2) = -x + 1 + x + 2 = 3.$$
Final answer: $q(x) = 2x - 1$ and $r(x) = 3$. Check: $(x + 2)(2x - 1) + 3 = 2x^2 + 3x - 2 + 3 = 2x^2 + 3x + 1$.
Example 2
Divide $p(x) = x^3 - 8$ by $g(x) = x - 2$.
Wrong attempt. A student writes the dividend as just $x^3 - 8$ and tries to divide, lining up the $-8$ directly under the $x^3$. The columns no longer track powers of $x$, and the subtraction produces nonsense like a leftover $x^2$ term that should never have appeared.
Take a step back. The dividend has no $x^2$ term and no $x$ term, and skipping them is what broke the alignment.
Correct method. Write every power, using zero placeholders:
$$p(x) = x^3 + 0x^2 + 0x - 8.$$
Now divide step by step:
$$x^3 \div x = x^2,$$
$$x^3 + 0x^2 - x^2(x - 2) = 2x^2 + 0x,$$
$$2x^2 \div x = 2x,$$
$$2x^2 + 0x - 2x(x - 2) = 4x - 8,$$
$$4x \div x = 4,$$
$$4x - 8 - 4(x - 2) = 0.$$
Final answer: $q(x) = x^2 + 2x + 4$ and $r(x) = 0$. The zero remainder confirms $x - 2$ is a factor of $x^3 - 8$.
Example 3
Divide $p(x) = 3x^3 + x^2 + 2x + 5$ by $g(x) = x^2 + 2x + 1$, a quadratic divisor.
Divide leading terms:
$$3x^3 \div x^2 = 3x.$$
Multiply and subtract:
$$3x^3 + x^2 + 2x + 5 - 3x(x^2 + 2x + 1) = -5x^2 - x + 5.$$
Divide again:
$$-5x^2 \div x^2 = -5.$$
Multiply and subtract:
$$-5x^2 - x + 5 - (-5)(x^2 + 2x + 1) = 9x + 10.$$
The remainder $9x + 10$ has degree $1$, which is less than the divisor's degree $2$, so the division stops.
Final answer: $q(x) = 3x - 5$ and $r(x) = 9x + 10$.
Example 4
Divide $p(x) = 4x^3 + 5x^2 + 5x + 8$ by $g(x) = 4x + 1$.
$$4x^3 \div 4x = x^2,$$
$$4x^3 + 5x^2 - x^2(4x + 1) = 4x^2 + 5x,$$
$$4x^2 \div 4x = x,$$
$$4x^2 + 5x - x(4x + 1) = 4x + 8,$$
$$4x \div 4x = 1,$$
$$4x + 8 - (4x + 1) = 7.$$
Final answer: $q(x) = x^2 + x + 1$ and $r(x) = 7$. Check: $(4x + 1)(x^2 + x + 1) + 7 = 4x^3 + 5x^2 + 5x + 1 + 7 = 4x^3 + 5x^2 + 5x + 8$.
Example 5
Reverse the algorithm: find the dividend $p(x)$ if the divisor is $g(x) = x^2 + x + 1$, the quotient is $q(x) = x - 2$, and the remainder is $r(x) = 3$.
Substitute straight into $p(x) = g(x)q(x) + r(x)$:
$$p(x) = (x^2 + x + 1)(x - 2) + 3.$$
Expand the product:
$$(x^2 + x + 1)(x - 2) = x^3 - 2x^2 + x^2 - 2x + x - 2 = x^3 - x^2 - x - 2.$$
Add the remainder:
$$p(x) = x^3 - x^2 - x - 2 + 3 = x^3 - x^2 - x + 1.$$
Final answer: $p(x) = x^3 - x^2 - x + 1$.
Example 6
Divide $p(x) = x^3 + 3x^2 - x + 2$ by $g(x) = x - 2$, then confirm the remainder using the remainder theorem.
$$x^3 \div x = x^2,$$
$$x^3 + 3x^2 - x^2(x - 2) = 5x^2 - x,$$
$$5x^2 \div x = 5x,$$
$$5x^2 - x - 5x(x - 2) = 9x + 2,$$
$$9x \div x = 9,$$
$$9x + 2 - 9(x - 2) = 20.$$
So $q(x) = x^2 + 5x + 9$ and $r(x) = 20$. Now the shortcut: because the divisor is $x - 2$, the remainder should equal $p(2)$.
$$p(2) = 2^3 + 3(2)^2 - 2 + 2 = 8 + 12 - 2 + 2 = 20.$$
Final answer: $r(x) = 20$, matching $p(2)$ exactly.
Where Is the Division Algorithm Used?
"How do you find the highest common factor of two polynomials?"
The division algorithm is not just a school exercise; it is the engine behind Euclid's method for greatest common divisors. To find the HCF of two polynomials, you divide, take the remainder, then divide the old divisor by that remainder, and repeat until the remainder is zero. The last non-zero remainder is the HCF. This is the same loop Euclid described for integers over two thousand years ago, extended to expressions in $x$.
Where the algorithm earns its keep:
Factorisation. A zero remainder proves a factor, turning division into a factor-hunting tool.
Coding theory. Error-correcting codes such as cyclic redundancy checks divide message polynomials by a fixed generator polynomial; the remainder becomes the check digits that catch transmission errors.
Simplifying rational expressions. Writing an improper algebraic fraction as "quotient plus a proper remainder fraction" is exactly this algorithm, and it is the setup step for polynomial integration in calculus.
That last use is the blitzkrieg destination: the same identity you use on $x^3 - 8$ in Grade 9 or 10 reappears untouched when you split rational functions before integrating them. For a formal treatment of the integer version this generalises, the Euclidean algorithm is the standard reference.
Common Mistakes with Polynomial Division
Mistake 1: Skipping the placeholder for a missing power
Where it slips in: Dividing a polynomial that is missing a power, such as $x^3 - 8$ or $2x^4 + 1$.
Don't do this: Write only the terms that appear and line up columns by position on the page.
The correct way: Insert a zero coefficient for every missing power so each column tracks one power of $x$. The learner who writes $x^3 + 0x^2 + 0x - 8$ keeps the subtraction honest; the one who omits the zeros almost always loses a term partway down.
Mistake 2: Stopping the division too early
Where it slips in: After one or two rounds, when the leftover still has a high degree.
Don't do this: Call the current leftover the remainder just because the numbers got messy.
The correct way: Keep going until $r(x) = 0$ or $\deg r(x) < \deg g(x)$. The second-guesser who stops at a degree-2 leftover while dividing by a quadratic has not finished, because that leftover can still be divided once more.
Mistake 3: Forgetting to distribute the minus sign in the subtraction
Where it slips in: The subtract step, where you take the divisor-times-quotient product away from the running dividend.
Don't do this: Change only the first sign and copy the rest of the product straight down.
The correct way: Subtract every term of the product, flipping each sign. A quick guard is to rewrite subtraction as "add the negative" of the whole line, so no term keeps its old sign by accident.
Conclusion
The division algorithm for polynomials is the identity $p(x) = g(x)q(x) + r(x)$ with $g(x) \neq 0$ and $r(x) = 0$ or $\deg r(x) < \deg g(x)$.
The four parts are dividend $p(x)$, divisor $g(x)$, quotient $q(x)$, and remainder $r(x)$.
The degree condition on the remainder is what tells you when the division is finished.
The quotient and remainder are unique, and a zero remainder means the divisor is a factor.
The most common slips are skipping placeholders, stopping too early, and mishandling the subtraction sign.
To take the division algorithm for polynomials further with a teacher, explore Bhanzu's algebra tutor, get focused help with algebra, or join math classes online.
Practice These to Solidify Your Understanding
Divide $p(x) = x^3 + 4x^2 + x - 6$ by $g(x) = x + 3$ and state the quotient and remainder.
Divide $p(x) = 2x^4 + 3x^2 - 1$ by $g(x) = x^2 + 1$ (watch the missing $x^3$ and $x$ terms).
Given divisor $g(x) = x - 1$, quotient $q(x) = x^2 + 2x + 5$, and remainder $r(x) = 4$, rebuild the dividend $p(x)$.
If Problem 2 comes out with a leftover degree of $2$ or higher, return to Mistake 2 above. Want a live Bhanzu trainer to walk through polynomial division step by step? Book a free demo class.
Read More
Was this article helpful?
Your feedback helps us write better content
