Add and Subtract Polynomials Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the coefficients of two polynomials (0 for a missing power) and choose add or subtract.
Result
Result: coefficient of x³
Result: coefficient of x²
- Result: coefficient of x
- Result: constant term
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Operation: choose P + Q or P − Q.
- P: coefficient of x³: enter a number.
- P: coefficient of x²: enter a number.
- P: coefficient of x: enter a number.
- P: constant term: enter a number.
- Q: coefficient of x³: enter a number.
- Q: coefficient of x²: enter a number.
- Q: coefficient of x: enter a number.
- Q: constant term: enter a number.
- Read the result: Result: coefficient of x³; the panel also shows Result: coefficient of x², Result: coefficient of x and Result: constant term.
How this calculator works
Polynomials are added by combining like terms: the coefficients of the same power of x are added. To subtract, change the sign of every term of the second polynomial, then add.
Example: (2x³ − 3x² + 5) + (x³ + 4x² − 2x − 7) = 3x³ + x² − 2x − 2.
The formula
| Symbol | Meaning |
|---|---|
| Operation | |
| P: coefficient of x³ | |
| Q: coefficient of x³ | |
| Result: coefficient of x³ |
Worked example
| Operation | P + Q |
|---|---|
| P: coefficient of x³ | 2 |
| P: coefficient of x² | -3 |
| P: coefficient of x | 0 |
| P: constant term | 5 |
| Q: coefficient of x³ | 1 |
| Q: coefficient of x² | 4 |
| Q: coefficient of x | -2 |
| Q: constant term | -7 |
| Result: coefficient of x² | 1 |
|---|---|
| Result: coefficient of x | -2 |
| Result: constant term | -2 |
Result: coefficient of x³ 3
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is (2x³ − 3x² + 5) − (x³ + 4x² − 2x − 7)?
x³ − 7x² + 2x + 12: subtract each coefficient of the second polynomial from the first.
What are like terms?
Terms with the same variable raised to the same power, such as 3x² and −5x². Only like terms can be combined.