Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Add and Subtract Polynomials Calculator

Operation

Operation: choose P + Q or P − Q. Prefilled example: P + Q.

P: coefficient of x³: enter a number. Prefilled example: 2.

P: coefficient of x²: enter a number. Prefilled example: -3.

P: coefficient of x: enter a number. Prefilled example: 0.

P: constant term: enter a number. Prefilled example: 5.

Q: coefficient of x³: enter a number. Prefilled example: 1.

Q: coefficient of x²: enter a number. Prefilled example: 4.

Q: coefficient of x: enter a number. Prefilled example: -2.

Q: constant term: enter a number. Prefilled example: -7.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Operation: choose P + Q or P − Q.
  2. P: coefficient of x³: enter a number.
  3. P: coefficient of x²: enter a number.
  4. P: coefficient of x: enter a number.
  5. P: constant term: enter a number.
  6. Q: coefficient of x³: enter a number.
  7. Q: coefficient of x²: enter a number.
  8. Q: coefficient of x: enter a number.
  9. Q: constant term: enter a number.
  10. 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

  1. R3=p3+op×q3
Symbols used in the formula
SymbolMeaning
opOperation
p3P: coefficient of x³
q3Q: coefficient of x³
R3Result: coefficient of x³

Worked example

OperationP + Q
P: coefficient of x³2
P: coefficient of x²-3
P: coefficient of x0
P: constant term5
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
  1. R3=2+1×1=3

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.

Related calculators