This polynomial long division calculator divides one polynomial (the dividend) by another (the divisor) and returns the quotient and remainder in standard algebraic form. It follows the same step pattern as numerical long division: divide, multiply, subtract, and bring down the next term.
The tool is designed for typical Algebra 2, Pre‑Calculus, and introductory college algebra courses where you learn how to divide polynomials, simplify rational expressions, and prepare for standardized tests. By automating the arithmetic, you can check homework, confirm exam practice problems, and explore more complex examples without getting lost in the algebra.
2x^3 + 3x^2 - 5x + 6.
x - 2 or x^2 + x - 1.
x as the variable, ^ for powers (like x^3), and + or - between terms. Spaces are optional.
Polynomial long division is based on the idea that, for a nonzero divisor D(x), any polynomial P(x) can be written in the form
where:
The degree of the remainder is always less than the degree of the divisor. If the remainder is the zero polynomial, then the divisor divides the dividend exactly.
In terms of a rational expression, you can also write
This is exactly what the calculator computes: the quotient Q(x) and the remainder R(x) that satisfy this relationship.
The calculator implements the standard long division algorithm. Conceptually, it follows these steps:
x^3 + 6 as x^3 + 0x^2 + 0x + 6).
Suppose we want to divide
2x^3 + 3x^2 - 5x + 6 by x - 2.
2x^3 by x to get 2x^2. This is the first term of the quotient.
2x^2 to get 2x^3 - 4x^2. Subtracting this from the original dividend gives a new polynomial:
(2x^3 + 3x^2 - 5x + 6) - (2x^3 - 4x^2) = 7x^2 - 5x + 6.
7x^2 by x to get 7x. Multiply the divisor by 7x to get 7x^2 - 14x. Subtracting gives
(7x^2 - 5x + 6) - (7x^2 - 14x) = 9x + 6.
9x by x to get 9. Multiply the divisor by 9 to get 9x - 18. Subtracting gives
(9x + 6) - (9x - 18) = 24.
24 has degree 0, which is less than the degree 1 of x - 2, so the algorithm stops.
The final answer is
2x^3 + 3x^2 - 5x + 6 = (x - 2)(2x^2 + 7x + 9) + 24.
The calculator will show the quotient 2x^2 + 7x + 9 and the remainder 24.
When you run the calculation, you typically see three key pieces of information:
Q(x) + R(x) / D(x) to emphasize the rational function form.
For example, if you divide x^3 + 6 by x - 1 the result may appear as
Q(x) = x^2 + x + 1 and R(x) = 7. Interpreted as a rational expression, this means
(x^3 + 6) / (x - 1) = x^2 + x + 1 + 7 / (x - 1).
Polynomial long division is closely related to other algebraic techniques. The table below summarizes how it compares to common alternatives.
| Method | Typical use | When it works best | Key limitation |
|---|---|---|---|
| Polynomial long division | Divide any polynomials and express as quotient and remainder. | General-purpose; works for divisors of any degree. | More writing and algebra steps than synthetic division. |
| Synthetic division | Quick division by linear factors such as x - c. |
When the divisor is first-degree and monic (leading coefficient 1). | Does not directly handle higher-degree or non-monic divisors. |
| Factoring | Simplify rational expressions by canceling common factors. | When both numerator and denominator factor nicely. | May not be practical when factoring is difficult or impossible by hand. |
To keep the algorithm fast and reliable in a browser, the calculator makes several assumptions about the polynomials you enter.
3x^2 - 5x + 2). Some simple fractions or decimals may work, but they are not guaranteed.
x^3, x^2, x, and constants are supported. Negative or fractional exponents (such as x^-1 or x^(1/2)) are not handled.
x). Multivariable expressions such as x^2 + y are outside the scope of this tool.
^ for powers (for example, 4x^5), write multiplication implicitly as in 4x or explicitly as 4*x, and separate terms with + or -. Extra spaces are ignored.
x^3 + 6 is treated as x^3 + 0x^2 + 0x + 6 during the computation.
These assumptions match most textbook problems. If you need more general symbolic manipulation, such as expressions with multiple variables, fractional exponents, or exact rational coefficients, a full computer algebra system may be more appropriate.
Polynomial long division appears throughout the secondary and early tertiary curriculum. It is especially important when simplifying rational functions, analyzing asymptotic behavior, and preparing for topics like partial fraction decomposition and power series in calculus.
After you are comfortable using this calculator, you might also explore related tools such as a synthetic division calculator for quick division by linear factors, or a factoring polynomials calculator to help you simplify rational expressions before or after division.