Optional interactive aid
Try one division and reveal the worked rows.What polynomial long division is
Polynomial long division is an organized way to divide one polynomial by another. It is used when ordinary factoring is not enough, especially when the divisor contains more than one term. Instead of attempting the entire problem at once, the method divides one leading term at a time and reduces the degree of the remaining expression after every pass.
The four working quantities have the same names as in numerical long
division. The dividend is the expression inside the division; the
divisor is the polynomial doing the dividing; the quotient is the
answer written on top; and the remainder is what cannot be divided
further. If the dividend is P(x), divisor is
D(x), quotient is Q(x), and remainder is
R(x), the relationship is:
P(x) = D(x) × Q(x) + R(x)
The familiar number problem 17 ÷ 5 = 3 R2 has the same
structure: quotients and remainders combine to recover the original
amount. Polynomials work term by term. Degrees replace place values,
coefficients may be negative or fractional, and subtraction must be
applied to every term in the product.
A good setup makes the process much easier. Rewrite both polynomials in descending order, from the highest power to the constant term. Then fill every skipped power with a zero coefficient. These placeholders make column alignment visible and prevent two different powers from being combined accidentally.
How to do polynomial long division: the five steps
Every pass through polynomial long division uses the same short cycle. The cycle may repeat several times, but the rule for each action stays constant.
- Divide the leading terms. Calculate the quotient of the highest nonzero term in the current polynomial and the highest term of the divisor.
- Multiply back. Multiply the entire divisor by the quotient term you just found.
- Subtract. Subtract the entire product, changing the sign of every term before combining like terms.
- Bring down the remaining terms. Carry the terms that have not yet been used into the next working row.
- Repeat. Continue while the working polynomial has degree greater than or equal to the divisor's degree.
The first quotient term is chosen so that multiplying it by the divisor creates a leading term identical to the current leading term. Subtraction then cancels that highest power. If the degree does not decrease, either the chosen term or the subtraction is wrong.
Keep two separate records while working. The quotient row records the terms selected above the division, while the working row records the polynomial that remains after each subtraction. Align equal powers in the same column. When a quotient term is written above a particular power, its product should begin in that same column. This alignment is what makes the five-step cycle dependable from the first pass to the last. A monic divisor is especially convenient because dividing by a leading coefficient of 1 does not immediately create a fraction, but a non-monic divisor follows exactly the same rule.
Once the steps make sense, use the polynomial long division calculator to compare a result with the written method. This guide explains why each line is produced; the calculator is useful for a quick numerical check.
A full worked example, line by line
Example 1: (x³ + 2x² − 5x + 6) ÷ (x − 2)
In this polynomial long division example, divide the leading term
x³ by x. The first quotient term is
x².
x³ ÷ x = x²
Multiply the entire divisor by x²:
x²(x − 2) = x³ − 2x²
Subtract that product from the working polynomial:
(x³ + 2x² − 5x + 6) − (x³ − 2x²) = 4x² − 5x + 6
The next working polynomial is 4x² − 5x + 6. Bring its
leading term into the new row, divide, and use 4x in
the quotient:
4x² ÷ x = 4x
Notice that 4x is placed above the x
term of the quotient, not above the x² position. The
quotient is being built one degree at a time. Each new term
corresponds to the difference between the current leading degree
and the divisor's leading degree. This positional rule prevents a
correct coefficient from being attached to the wrong power.
Multiply and subtract:
4x(x − 2) = 4x² − 8x
(4x² − 5x + 6) − (4x² − 8x) = 3x + 6
Repeat once more. The leading term 3x gives a
quotient term of 3.
3x ÷ x = 3
3(x − 2) = 3x − 6
(3x + 6) − (3x − 6) = 12
The remaining value 12 has degree zero, which is lower
than the degree-one divisor. Division stops. The quotient is
x² + 4x + 3 and the remainder is 12.
Read the work as a sequence of reductions. The first row reduces a cubic expression to a quadratic one. The second row reduces that quadratic to a linear expression. The final row reduces the linear expression to a constant. If a subtraction fails to lower the degree, division cannot continue correctly. Comparing the degree before and after each pass provides an immediate diagnostic check, even before the multiplication is fully reviewed.
x³ + 2x² − 5x + 6 = (x − 2)(x² + 4x + 3) + 12
In plain language: the divisor fits into the dividend as
x² + 4x + 3 full polynomial groups, with
12 left over.
Read the final quotient row from left to right. The selected terms
x², 4x, and 3 combine into a
single polynomial rather than three unrelated answers. Their
positions matter because each quotient term was created from a
specific reduction. If the row skips a power, write a zero in that
position when you reconstruct the complete answer so the quotient
keeps its degree structure.
After following this line, use the polynomial long division calculator to compare each generated row with the work above.
Handling missing terms with zero placeholders
Example 2: (x³ − 1) ÷ (x − 1)
The dividend has no x² term and no x
term. In polynomial long division, rewrite it with zero
placeholders before dividing:
x³ − 1 = x³ + 0x² + 0x − 1
Divide x³ by x to get x².
Multiply x²(x − 1) = x³ − x², then subtract:
(x³ + 0x² + 0x − 1) − (x³ − x²) = x² + 0x − 1
The next quotient term is x. Its product is
x² − x, and subtraction leaves x − 1.
One final pass uses quotient term 1:
(x − 1) − (x − 1) = 0
The quotient is x² + x + 1 and the remainder is zero.
The zeros were placeholders only; after the powers are aligned, the
final quotient does not need to repeat them.
Before beginning, count the powers that should appear between the highest term and the constant. For a cubic, the standard row contains cubic, quadratic, linear, and constant positions. If one is missing, write it with coefficient zero instead of closing the gap visually. The zero may disappear from intermediate products once it has served its alignment purpose.
x³ − 1 = (x − 1)(x² + x + 1) + 0
In plain language: every power stays in its own column, even when its coefficient is zero.
When there is a remainder
Example 3: (x³ − 2x² − 4) ÷ (x − 3)
Begin this polynomial long division with
x³ ÷ x = x². Subtract
x²(x − 3) = x³ − 3x²:
(x³ − 2x² − 4) − (x³ − 3x²) = x² − 4
The next term is x. Subtract
x(x − 3) = x² − 3x:
(x² − 4) − (x² − 3x) = 3x − 4
Finally, 3x ÷ x = 3. Multiply and subtract:
3(x − 3) = 3x − 9
(3x − 4) − (3x − 9) = 5
The quotient is x² + x + 3 and the remainder is
5. Because the divisor is x − 3, the
remainder theorem gives the same result more quickly:
P(3) = 3³ − 2(3²) − 4 = 5.
The remainder theorem follows directly from the division identity.
When the divisor is x − c, substitute c
into both sides. The factor (c − c) becomes zero, so
the quotient disappears and P(c) equals the remainder.
This gives two complementary views: the long division shows how the
remainder was produced, while the theorem provides a shortcut for
checking a linear divisor.
A polynomial remainder may be negative; unlike the elementary rule for whole-number remainders, it does not need to be smaller than zero. The essential condition is about degree. A nonzero remainder is acceptable whenever its degree is lower than the divisor's degree, and it must be included in the final equation.
x³ − 2x² − 4 = (x − 3)(x² + x + 3) + 5
In plain language: the final leftover 5 is the remainder, and substituting 3 into the dividend produces that same value.
Dividing by a quadratic divisor
Example 4: (2x⁴ − 3x³ + x − 5) ÷ (x² − x + 1)
For polynomial long division by a quadratic, divide the leading
terms: 2x⁴ ÷ x² = 2x². Multiply 2x² by
the complete divisor:
2x²(x² − x + 1) = 2x⁴ − 2x³ + 2x²
Rewrite the dividend with a zero x² placeholder and
subtract:
(2x⁴ − 3x³ + 0x² + x − 5) − (2x⁴ − 2x³ + 2x²)
= −x³ − 2x² + x − 5
The next quotient term is −x. Multiply by the divisor
to get −x³ + x² − x, then subtract:
(−x³ − 2x² + x − 5) − (−x³ + x² − x)
= −3x² + 2x − 5
The last divisible term is −3x², so the next quotient
term is −3. Its product is
−3x² + 3x − 3:
(−3x² + 2x − 5) − (−3x² + 3x − 3) = −x − 2
The remainder −x − 2 has degree one, while the divisor
has degree two. Since the remainder degree is lower, division stops.
This stopping rule is structural, not cosmetic. If a remainder
still had degree two while the divisor also had degree two, another
quotient term could be chosen. A linear remainder cannot support
another x² ÷ x² step from a quadratic divisor, so the
process is finished. Do not force another factor simply because the
remainder contains more than one term.
The missing x² term is why the zero placeholder
matters here: it keeps every later quotient term above the correct
power.
2x⁴ − 3x³ + x − 5 = (x² − x + 1)(2x² − x − 3) + (−x − 2)
In plain language: a quadratic divisor may leave a linear remainder, but never another quadratic term.
Fractional coefficients and non-monic divisors
In polynomial long division, a divisor is monic when its leading coefficient is 1. If the leading coefficient is something else, divide by that entire leading term. Fractional coefficients are normal in this situation, so keep them in reduced fraction form.
Treat the coefficient and variable as one leading monomial. Dividing
2x² by 3x produces
(2/3)x, not merely x. Use the exact fraction
throughout.
Example 5: (x² + 1) ÷ (2x − 1)
Divide leading terms: x² ÷ 2x = (1/2)x. Multiply the
full divisor:
(1/2)x(2x − 1) = x² − (1/2)x
Subtract, then divide the new leading term:
(x² + 1) − (x² − (1/2)x) = (1/2)x + 1
(1/2)x ÷ 2x = 1/4
Multiply and subtract again:
(1/4)(2x − 1) = (1/2)x − 1/4
((1/2)x + 1) − ((1/2)x − 1/4) = 5/4
The quotient is (1/2)x + 1/4 and the remainder is
5/4. No decimal rounding is needed.
x² + 1 = (2x − 1)((1/2)x + 1/4) + 5/4
In plain language: the divisor leading coefficient 2 creates fractions in the quotient, but the identity remains exact.
Example 6: (6x³ + 5x² − 7) ÷ (2x + 1)
First, 6x³ ÷ 2x = 3x². Multiply by the divisor:
3x²(2x + 1) = 6x³ + 3x². Subtracting leaves
2x² − 7.
Next, 2x² ÷ 2x = x. The product is
2x² + x, so subtraction gives −x − 7.
Finally, −x ÷ 2x = −1/2. Multiply:
(−1/2)(2x + 1) = −x − 1/2. Subtract:
(−x − 7) − (−x − 1/2) = −13/2
The quotient is 3x² + x − 1/2 and the remainder is
−13/2.
6x³ + 5x² − 7 = (2x + 1)(3x² + x − 1/2) − 13/2
In plain language: the non-monic divisor produces fractional quotient and remainder values, and subtraction uses those exact fractions.
Check your answer: dividend = divisor × quotient + remainder
A polynomial long division verification has three actions. First, multiply the quotient by the divisor. Second, add the remainder to that product. Third, compare the recovered expression with the original dividend term by term.
For Example 5, multiply
(2x − 1)((1/2)x + 1/4). The products are
x² + (1/2)x − (1/2)x − 1/4, which simplify to
x² − 1/4. Add the remainder 5/4 to recover
x² + 1.
dividend = divisor × quotient + remainder
If the recovered polynomial differs from the dividend, check signs first. A subtraction changes every term in the product, not just the leading term. Then verify zero placeholders and fractional coefficients. This three-action check is quicker than repeating the division and catches most mistakes.
Apply the check to Example 4 as well. Multiplying the quadratic
quotient by x² − x + 1 produces
2x⁴ − 3x³ + 2x − 3. Adding −x − 2 gives
2x⁴ − 3x³ + x − 5, which is the original dividend. This
confirms both the polynomial quotient and the linear remainder
without re-running the division rows.
A match in every degree confirms a complete answer.
For a faster numerical comparison, open this step-by-step calculator and inspect the quotient and remainder separately.
Polynomial long division vs synthetic division
Synthetic division is a compact shortcut for dividing by a linear
divisor in the form x − c. It writes only coefficients,
so it is fast when the divisor is linear and monic. It is not a
general replacement for the longer method.
Use synthetic division for cases such as
(x³ + 2x² − 5x + 6) ÷ (x − 2). The linear divisor means
only one root needs to be tested. For a divisor such as
x² − x + 1, use the full written algorithm because the
divisor has degree two and its coefficients must all participate in
each multiplication.
Both methods rely on the same division identity. Learning the full process first makes the shortcut meaningful, especially when a missing term or a fractional coefficient appears.
Synthetic division also assumes that the divisor is monic. A divisor
such as 2x + 1 requires an extra scaling adjustment before
coefficient-only division, while the written method handles the
leading coefficient directly. When you need the reasoning or the
divisor is not linear, stay with the complete column-based process.
Use synthetic division for a monic linear divisor when speed matters; use the written method for quadratic or non-monic cases.
Common mistakes
- Combining unlike powers. Add and subtract only terms with the same variable and exponent. Correct this by aligning columns before calculating.
-
Dropping zero placeholders. Rewrite every missing
power with a zero coefficient, as in
x³ + 0x² + 0x − 1, before starting. - Changing only the first subtraction sign. Subtract the entire product by changing the sign of every term, then combine like terms.
-
Dividing only the variable parts. Divide the
complete leading terms, including coefficients. For example,
3x² ÷ 2x = (3/2)x. - Stopping too early. Continue until the remainder is zero or its degree is lower than the divisor's degree.
- Losing the remainder. If the final row is not zero, include it in the equation and in the answer. A quotient alone does not represent the original dividend.
- Misplacing a quotient term. Put each result above the power obtained by subtracting the divisor degree from the current degree.
A careful setup prevents most of these errors. If you want a broader comparison with numerical place value, start from the SolveSteps home page and choose the arithmetic tool.
During every pass, confirm that the new leading degree is lower.
Practice problems
Work each problem with pencil and paper before opening the answer. The set includes exact division, a remainder, missing powers, a quadratic divisor, and a fractional coefficient.
Write the dividend and divisor in descending order first, add zero placeholders where needed, and finish with the multiplication check. A nonzero remainder is valid when its degree is lower than the divisor.
-
1. Divide
(x³ + 3x² − 4)by(x + 2).Show answer
Quotient:
x² + x − 2; remainder:0. -
2. Divide
(x³ − 8)by(x − 2). Begin with zero placeholders.Show answer
Quotient:
x² + 2x + 4; remainder:0. -
3. Divide
(x³ + 2x² − 5x − 6)by(x − 1).Show answer
Quotient:
x² + 3x − 2; remainder:−8. -
4. Divide
(2x⁴ + x³ − 3x + 4)by(x² + 1).Show answer
Quotient:
2x² + x − 2; remainder:−4x + 6. -
5. Divide
(x² − 1)by(2x + 1).Show answer
Quotient:
(1/2)x − 1/4; remainder:−3/4.
FAQ
What is the first step in polynomial long division?
Arrange both polynomials in descending powers, then divide the dividend's leading term by the divisor's leading term to get the first quotient term.
How do you know when to stop dividing?
Stop when the remaining polynomial is zero or has a lower degree than the divisor. Whatever remains is the final remainder.
Why do missing powers need zero coefficients?
Zero coefficients preserve each power's position. For example, x³ − 1 is aligned as x³ + 0x² + 0x − 1.
What changes when the divisor has a leading coefficient other than one?
Divide by the complete leading term, including its coefficient. The quotient coefficient may therefore become a fraction.
How can I check a polynomial division answer?
Multiply the divisor by the quotient, add the remainder, and compare the result with the dividend. The identity should satisfy dividend = divisor × quotient + remainder.
When can synthetic division be used instead?
Synthetic division works when dividing by a linear divisor of the form x − c. It does not directly apply to quadratic divisors or other non-linear divisors.
What does a zero remainder mean?
A zero remainder means exact division, so the dividend factors as divisor × quotient.
Are all coefficients shown as fractions?
The worked examples use exact fractions whenever division produces a non-integer coefficient, including cases such as 1/2 and 5/4.