A polynomial in one variable is a sum of terms with whole-number exponents, such as . This polynomial calculator handles the operations that fill algebra homework: long division (quotient and remainder), synthetic division by , multiplication, addition and subtraction, evaluation at a given , and a search for rational roots with the factored form.
Every result is computed exactly with fractions, never with rounded decimals, so a remainder that should be zero really is zero. It is a polynomial calculator with steps: the long division is written out term by term, synthetic division is laid out as the usual three-row table, and the root search lists the candidates from the rational root theorem before testing them.
Type polynomials the way you would write them on paper (3x^3 - 2x + 5, (x-1)(x+2)^2, x^2/2 + 1) or as a plain list of coefficients from the highest degree, 3, 0, -2, 5. Superscripts such as x² are accepted too, so you can paste expressions straight from a worksheet.
How to use this calculator
- Choose the operation: long division, synthetic division, multiplication, addition, subtraction, evaluation or rational roots.
- Enter and, for the two-polynomial operations, . A missing power simply has coefficient 0; in a coefficient list you must write that 0.
- For synthetic division, enter the number of the divisor : dividing by means . For evaluation, enter the value of .
- Read the main result (quotient, product, value or roots), then the remainder and the division identity.
- Open the steps to copy the full working into your notebook.
The formula
Division algorithm. For polynomials and there is exactly one quotient and remainder with
Long division builds one term at a time: divide the leading term of the current remainder by the leading term of , multiply by that term, subtract, and repeat until the degree drops below .
Synthetic division is the same algorithm for a divisor , keeping only the coefficients. With : , then . The last value is the remainder, and by the remainder theorem it equals , which is also how the calculator evaluates polynomials (Horner's method).
Multiplication distributes every term: .
Rational root theorem. If has integer coefficients and (in lowest terms) is a root, then divides and divides . Testing this finite list finds every rational root.
Worked example
Long division. Divide by (note the missing term). ; subtract to get . Then ; subtract to get . Finally ; subtract to get . So
The remainder theorem confirms it: .
Multiplying polynomials. .
Synthetic division. Divide by . Bring down 2; , ; , ; , . The quotient is and the remainder is 0, so is a root.
Polynomial long division vs synthetic division
Both give the same quotient and remainder. Long division works for any divisor, such as or , and is what you want when dividing polynomials by long division must be shown line by line. Synthetic division is a shortcut that only applies to linear divisors , but it is much faster by hand and doubles as a way to evaluate .
To divide by synthetically, divide by instead and then divide the quotient by 2; the remainder is unchanged. Or simply pick long division here, which handles non-monic divisors directly.
Finding and using rational roots
When synthetic division by leaves remainder 0, is a root and the quotient is a polynomial of lower degree: the key step in factoring. The rational roots mode automates this. It lists the candidates , keeps those with , divides them out (repeated roots are found with their multiplicity) and solves a remaining quadratic exactly with square roots. For a cubic with no rational root, use the cubic equation calculator; for a single quadratic, the quadratic formula calculator.
Frequently asked questions
How do I divide polynomials with long division?
Write both in descending powers, with 0 for any missing term. Divide the leading term of the dividend by the leading term of the divisor, multiply the divisor by the result, subtract, and bring down the next term. Repeat until the remainder has a lower degree than the divisor.
When can I use synthetic division?
Only when the divisor is linear and monic, x − r. For x + 5 use r = −5. For a divisor like 3x − 2, use r = 2/3 and divide the quotient by 3, or use long division instead.
How does the calculator multiply polynomials?
It multiplies every term of the first polynomial by every term of the second and collects like powers. The steps show the distribution term by term, so you can check the FOIL pattern for binomials or longer products.
What does a remainder of 0 mean?
The divisor is a factor of the polynomial. For a divisor x − r it also means r is a root: P(r) = 0.
Can I enter fractions or decimals as coefficients?
Yes. Write 0.5x^2 or x^2/2; all arithmetic is exact with fractions, and results with short decimals are shown as decimals, others as fractions such as (1/3)x.
Sources
- OpenStax, College Algebra 2e — §5.4 Dividing Polynomials
- OpenStax, College Algebra 2e — §5.5 Zeros of Polynomial Functions (rational zero theorem)
- OpenStax, College Algebra 2e — §1.4 Polynomials
- Weisstein, Synthetic Division — Wolfram MathWorld
- Weisstein, Rational Zero Theorem — Wolfram MathWorld
Last updated: