mathematics

Polynomial Long Division: Step-by-step Guide

Polynomial long division is the exact same engine you learned in elementary school for numbers, just repurposed for algebra. When you need to divide a polynomial by a linear or quadratic expression an

Polynomial Long Division: Step-by-step Guide
In this story

Polynomial long division is the exact same engine you learned in elementary school for numbers, just repurposed for algebra. When you need to divide a polynomial by a linear or quadratic expression and regular factoring or synthetic division won't cut it, the classic algorithm gets the job done. You'll use this technique extensively in precalculus and calculus to simplify rational functions, find roots, and graph complex curves.

The core mechanics rely on four repeating steps: divide, multiply, subtract, and bring down. If you mastered standard arithmetic division with remainders, you already know the rhythm. You just need to handle variable exponents and negative signs carefully so you don't drop terms along the way.

Understanding the Setup and Terminology

Before diving into an example, you need to recognize the structural layout. A division problem features a dividend (the polynomial inside the house), a divisor (the polynomial outside the house), a quotient (the answer on top), and a remainder (what's left over at the bottom).

Every polynomial must be written in standard form, meaning terms are ordered from the highest exponent to the lowest. If a degree is missing—for example, if you have an $x^3$ term and an $x$ term, but no $x^2$ term—you must insert a placeholder with a zero coefficient, like $0x^2$. Skipping placeholders is the single fastest way to misalign your columns and ruin the calculation.

Let's look at the formal division statement:

$$\frac{P(x)}{D(x)} = Q(x) + \frac{R(x)}{D(x)}$$

Here, $P(x)$ is the dividend, $D(x)$ is the divisor, $Q(x)$ is the quotient, and $R(x)$ is the remainder.

For a deeper dive into algebraic structures and formal definitions, you can review the Algebra resources at Paul's Online Math Notes.

Step-by-Step Example: Dividing a Cubic Polynomial

Let's walk through a concrete problem. Divide $2x^3 - 5x^2 + 3x - 7$ by $x - 2$.

Step 1: Divide the Leading Terms

Set up the problem with the dividend under the long division bar and the divisor on the outside left.

Look only at the leading term of the dividend ($2x^3$) and the leading term of the divisor ($x$). Ask yourself: What do I multiply $x$ by to get $2x^3$?

The answer is $2x^2$. Write this at the top above the $x^2$ column.

Step 2: Multiply and Subtract

Take that new term ($2x^2$) and multiply it by the entire divisor ($x - 2$).

$$2x^2(x - 2) = 2x^3 - 4x^2$$

Write this product directly beneath the matching terms of your dividend. Now, subtract this entire row from the dividend above it.

Pro tip: Change the signs of every term in the row you are subtracting and add straight down. It prevents distribution errors with negative signs.

$$(2x^3 - 5x^2) - (2x^3 - 4x^2) = -x^2$$

Step 3: Bring Down the Next Term

Bring down the next term from the original dividend (+3x) right next to your new remainder ($-\text{x}^2$). You now have a new working expression: $-x^2 + 3x$.

Step 4: Repeat the Cycle

Start the loop over. Look at the new leading term ($-x^2$) and divide it by the divisor's leading term ($x$).

$$\frac{-x^2}{x} = -x$$

Write $-x$ at the top as the next part of your quotient. Multiply $-x$ by $(x - 2)$ to get $-x^2 + 2x$. Subtract this from $-x^2 + 3x$ by flipping the signs:

$$(-x^2 + 3x) - (-x^2 + 2x) = x$$

Bring down the final constant term (-7) from the original polynomial. Your new working line is $x - 7$.

Step 5: Final Division and Remainder

Divide the leading term $x$ by $x$, which gives $+1$.

Multiply $1$ by $(x - 2)$ to get $x - 2$. Subtract that from $x - 7$:

$$(x - 7) - (x - 2) = -5$$

Since the degree of your remainder ($-5$, which is degree 0) is less than the degree of your divisor ($x - 2$, which is degree 1), you're finished.

Your final answer is:

$$2x^2 - x + 1 - \frac{5}{x - 2}$$

For additional practice problems and textbook-style verification, check out the curriculum guides at Khan Academy Algebra 2.

Handling Missing Terms and Placeholders

Ignoring missing powers is a trap that catches many students. If your dividend is $x^3 - 8$ and your divisor is $x - 2$, you cannot just write $x^3 - 8$ under the bar with no space.

You must write it as:

$$x^3 + 0x^2 + 0x - 8$$

Without those zeros, your alignment collapses. When you multiply and subtract, your $x^2$ terms won't have a designated column, leading to miscalculated sums. Treat placeholder zeros like anchors holding your columns steady.

Common Mistakes to Avoid

  • Distributing negative signs incorrectly: When subtracting an entire multi-term expression, failing to distribute the negative sign to the second and third terms is the most common error. Always write out the sign change explicitly.
  • Stopping too early: You must continue the algorithm until the degree of the remainder is strictly less than the degree of the divisor. If your divisor is a binomial of degree 1, your remainder must be a constant of degree 0.
  • Misaligning columns: Keep your $x^3$, $x^2$, $x$, and constant columns strictly vertical. Graph paper can save you from careless alignment slips.

Frequently Asked Questions

When should I use polynomial long division instead of synthetic division?

Synthetic division only works when your divisor is a linear expression in the form $x - c$ (where the coefficient of $x$ is 1). If your divisor is quadratic (like $x^2 + 1$) or has a leading coefficient greater than 1 (like $2x - 3$), you must use polynomial long division.

How do I check if my answer is correct?

Multiply your entire quotient by the divisor, then add the remainder. If your arithmetic is clean, the result will simplify back down to your original dividend.

What does a remainder of zero mean?

A remainder of zero means the divisor is an exact factor of the dividend. This tells you that the value you tested is a root of the polynomial equation, a concept foundational to the Factor Theorem.

Can the degree of the remainder be equal to the degree of the divisor?

No. The degree of the remainder must always be strictly less than the degree of the divisor. If they match, you haven't divided completely and need to go another round.

IC

Written by

Isabella Carter

As a veteran correspondent, Isabella Carter has reported from across the globe, bringing firsthand perspectives to international stories and local issues.

More from mathematics