Adding and Subtracting Polynomials Calculator
Add and subtract polynomials with our calculator. Simply type your polynomials, and the calculator gives you accurate results with clear, step-by-step solutions that help you understand each step.
In this lesson, you will learn
- how to add polynomials by grouping and combining like terms
- how to subtract polynomials by changing the sign of every term in the second polynomial
- how to check your own answers with the calculator
Interactive Polynomial Calculator
Type each polynomial the way you would write it, like 4x^3 - 2x^2 + 7. Any degree works, terms can be in any order, and you can use fractions, decimals and more than one variable. Choose Add or Subtract for each polynomial after the first.
Answer
Step-by-step solution
More tools: Algebra calculators
How to Add Polynomials
Like terms have the same variable raised to the same power. For example, 3x3 and β2x3 are like terms, but 3x3 and β4x2 are not.
- Write the polynomials side by side.(3x3 β 4x2 + 2x β 2) + (β2x3 + x2 + 2x + 3)
- Rearrange terms by like degrees.(3x3 + (β2x3)) + (β4x2 + x2) + (2x + 2x) + (β2 + 3)
- Combine like terms.x3 β 3x2 + 4x + 1
Answer: x3 β 3x2 + 4x + 1
When you combine like terms, add only the coefficients. The exponent stays the same: β4x2 + x2 = β3x2, not β3x4.
Add (2x2 + 5x β 1) + (x2 β 3x + 4).
Show answer
3x2 + 2x + 3. Combine the x2 terms (2 + 1 = 3), the x terms (5 β 3 = 2) and the numbers (β1 + 4 = 3).
How to Subtract Polynomials
To subtract a polynomial, add its opposite: change the sign of every term in the polynomial you are subtracting, then combine like terms.
- Write the polynomials side by side.(3x3 β 4x2 + 2x β 2) β (β2x3 + x2 + 2x + 3)
- Distribute the minus sign to the second polynomial.(3x3 β 4x2 + 2x β 2) + (2x3 β x2 β 2x β 3)
- Rearrange terms by like degrees.(3x3 + 2x3) + (β4x2 + (βx2)) + (2x + (β2x)) + (β2 + (β3))
- Combine like terms.5x3 β 5x2 β 5
Answer: 5x3 β 5x2 β 5
When like terms add up to 0, leave them out of the answer. Here 2x + (β2x) = 0, so the answer has no x term.
Changing only the sign of the first term. The minus sign in front of the parentheses changes every term: β(β2x3 + x2 + 2x + 3) = 2x3 β x2 β 2x β 3.
Subtract (5x2 β 2x + 7) β (3x2 β 6x + 2).
Show answer
2x2 + 4x + 5. Change every sign in the second polynomial to get 5x2 β 2x + 7 β 3x2 + 6x β 2, then combine: 5 β 3 = 2, β2 + 6 = 4 and 7 β 2 = 5.
Summary
- Like terms have the same variable raised to the same power. Only like terms can be combined.
- To add polynomials, group like terms and add their coefficients. The exponents do not change.
- To subtract polynomials, change the sign of every term in the second polynomial, then add.
- Leave out any like terms that add up to 0, and write the answer from the highest power down.
- The calculator accepts any polynomial, so you can use it to check your own work step by step.
Test Yourself: Interactive 10-Question Quiz
Now check what you learned. Every answer is explained, and each time you play you get new questions.
Quiz complete!