Adding and Subtracting Polynomials Calculator
Add or subtract two polynomials and collect the like terms.
Use letters, brackets and whole powers.
Use letters, brackets and whole powers.
Try
Result
You entered
Degree
Number of terms
Show the work
Subtracting a polynomial
Subtracting a polynomial is the same as adding its opposite, so every sign inside the second polynomial changes.
Collect like terms
Like terms have the same letters with the same powers, so their coefficients can be added. Add the numbers in front of each group of like terms.
Using
Result
So the difference is .