Polynomial Calculator
Enter two polynomials and an operation, and this polynomial calculator adds, subtracts, multiplies or divides them step by step. The result is written in standard form, highest power first, with its degree and leading coefficient.
Worked example
Step-by-step solution
Step 1 / 5
Multiply 2x by each term
Distribute the first term of the binomial.
Step 2 / 5
Multiply −3 by each term
Distribute the second term, keeping its sign.
Step 3 / 5
Add the two results
Combine like terms: x² terms and x terms.
Step 4 / 5
Write in standard form
Highest power first; the degree is 3 and the leading coefficient is 2.
Step 5 / 5
Check with x = 1
Both sides give the same value.
Answer
2x³ + 5x² − 14x + 3
How to use the Polynomial Calculator
- Type the polynomials in brackets with the operation between them, for example (2x − 3)(x² + 4x − 1). Use ^ for powers: x^2.
- Press Solve it. The calculator lines up like terms for addition and subtraction, distributes for multiplication and uses long division for division.
- Follow each step to see which terms were combined or multiplied.
- Read the result in standard form, with the degree and leading coefficient, and check it by substituting x = 1.
How polynomial operations work
A polynomial is a sum of terms of the form axⁿ, where n is a whole number. To add polynomials, combine like terms, the terms with the same power of x. To subtract, change the sign of every term in the polynomial being subtracted, then add. Writing both polynomials in standard form, highest power first, makes it easy to line the like terms up.
To multiply, use the distributive property: multiply every term of the first polynomial by every term of the second, then combine like terms. A binomial times a binomial gives four products (the FOIL pattern); a binomial times a trinomial gives six. The degree of a product is the sum of the degrees of the factors.
To divide, use polynomial long division or, when dividing by x − c, synthetic division. The result is a quotient and a remainder, and the remainder always has a lower degree than the divisor. When the remainder is zero, the divisor is a factor of the polynomial.
Polynomial calculator examples
Addition: (3x² + 2x − 5) + (x² − 4x + 7) = 4x² − 2x + 2, adding the x² terms, the x terms and the constants. Subtraction: change every sign in the second polynomial and add, which gives 3x³ − x² − 2x + 4 for the example above. Both results have the degree of the highest power that survives.
Division: (x³ − 8) ÷ (x − 2) = x² + 2x + 4 with remainder 0. Multiply back to check: (x − 2)(x² + 2x + 4) = x³ + 2x² + 4x − 2x² − 4x − 8 = x³ − 8. A zero remainder means x − 2 is a factor, which is also what the difference of cubes pattern a³ − b³ = (a − b)(a² + ab + b²) predicts.
Reading the result: degree and leading coefficient
Standard form lists terms from the highest power down, so the result 2x³ + 5x² − 14x + 3 has degree 3, leading coefficient 2 and constant term 3. The degree tells you the most real roots the polynomial can have and the end behaviour of its graph: an odd degree with a positive leading coefficient falls to the left and rises to the right.
When you multiply polynomials, the degrees add: a degree-1 factor times a degree-2 factor gives degree 3, and the leading coefficients multiply, 2 · 1 = 2. When you divide, the degree of the quotient is the difference of the degrees, and the remainder has a lower degree than the divisor. These two facts are a fast way to check a result.
Frequently asked questions
What is the degree of a polynomial?
The degree is the highest power of the variable with a non-zero coefficient. 2x³ + 5x² − 14x + 3 has degree 3. The coefficient of that highest-power term, here 2, is the leading coefficient.
How do I subtract polynomials without sign mistakes?
Distribute the minus sign to every term of the second polynomial first. (5x³ − 2x + 1) − (2x³ + x² − 3) becomes 5x³ − 2x + 1 − 2x³ − x² + 3, which simplifies to 3x³ − x² − 2x + 4.
Can the calculator divide polynomials?
Yes. It uses long division and shows the quotient and the remainder. For example (x³ − 8) ÷ (x − 2) = x² + 2x + 4 with remainder 0, so x − 2 is a factor of x³ − 8.
Does it factor polynomials too?
This page focuses on adding, subtracting, multiplying and dividing. To write a polynomial as a product of factors, use the factoring calculator.
Related calculators
Have a different kind of math problem? Try the free math solver. Use the subject menu for physics and chemistry.