Allday Education

Adding and Subtracting Polynomials

A polynomial is a sum of terms like 3x23x^2, 4x4x, and 1-1. Adding or subtracting two of them does not require any new rule. You are just collecting the pieces that match, the same way you would put all the quarters in one pile and all the dimes in another.

Terms match when they have the same variable raised to the same exponent. So 5x25x^2 and 2x22x^2 combine into 7x27x^2, but 5x25x^2 and 2x2x stay separate. Everything in this lesson comes from that one idea, plus one sign rule for subtraction.

Like terms are the whole game

Like terms have the identical variable part. 3x23x^2 and 8x2-8x^2 are like terms because both carry x2x^2. 3x23x^2 and 3x3x are not, because the exponents differ. Plain numbers such as 77 and 2-2 are like terms with each other.

To combine like terms, add the coefficients and leave the variable part alone. 3x2+5x2=8x23x^2 + 5x^2 = 8x^2, not 8x48x^4. The exponent counts how many xx factors a term has, and adding more of the same term never changes that count.

Adding: drop the parentheses and collect

When the two polynomials are being added, the parentheses do no work. Every sign inside stays exactly as it is, so you can erase the parentheses and rewrite the whole thing as one long sum.

Then sweep through and gather the x2x^2 terms, the xx terms, and the numbers. Write the result in standard form, meaning highest exponent first and the plain number last. If a power appears in only one of the polynomials, it simply carries down unchanged.

Subtracting: every sign in the second polynomial flips

Subtraction is where the parentheses matter. The minus sign in front applies to the entire second polynomial, not just its first term. Distribute it: each ++ inside becomes - and each - inside becomes ++. After that you are adding again, and the rest is the same collecting work.

This is the error worth guarding against. In (5x2x+6)(2x2+3x4)(5x^2 - x + 6) - (2x^2 + 3x - 4), students often flip the 2x22x^2 and the 3x3x but forget the 4-4, which should become +4+4. Rewrite the flipped version on its own line before combining anything, and check that you changed the sign of every single term.

Worked examples

Example 1: adding two trinomials

Add (3x2+2x1)+(x25x+4)(3x^2 + 2x - 1) + (x^2 - 5x + 4).

Adding keeps every sign, so drop the parentheses3x2+2x1+x25x+43x^2 + 2x - 1 + x^2 - 5x + 4
Combine the x2x^2 terms3x2+x2=4x23x^2 + x^2 = 4x^2
Combine the xx terms2x5x=3x2x - 5x = -3x
Combine the numbers1+4=3-1 + 4 = 3

Answer: 4x23x+34x^2 - 3x + 3

Example 2: a missing power

Add (5x2+7)+(2x23x2)(5x^2 + 7) + (2x^2 - 3x - 2).

Drop the parentheses5x2+7+2x23x25x^2 + 7 + 2x^2 - 3x - 2
Combine the x2x^2 terms5x2+2x2=7x25x^2 + 2x^2 = 7x^2
Only one polynomial has an xx term, so it carries down3x-3x
Combine the numbers72=57 - 2 = 5

Answer: 7x23x+57x^2 - 3x + 5

Example 3: subtracting

Subtract (5x2x+6)(2x2+3x4)(5x^2 - x + 6) - (2x^2 + 3x - 4).

Flip every sign in the second polynomial5x2x+62x23x+45x^2 - x + 6 - 2x^2 - 3x + 4
Combine the x2x^2 terms5x22x2=3x25x^2 - 2x^2 = 3x^2
Combine the xx termsx3x=4x-x - 3x = -4x
Combine the numbers, since the 4-4 became +4+46+4=106 + 4 = 10

Answer: 3x24x+103x^2 - 4x + 10

Example 4: subtracting when a power is missing

Subtract (6x24)(2x2+3x1)(6x^2 - 4) - (2x^2 + 3x - 1).

Flip all three signs in the second polynomial6x242x23x+16x^2 - 4 - 2x^2 - 3x + 1
Combine the x2x^2 terms6x22x2=4x26x^2 - 2x^2 = 4x^2
The first polynomial has no xx term, so the flipped 3x-3x stands alone3x-3x
Combine the numbers4+1=3-4 + 1 = -3

Answer: 4x23x34x^2 - 3x - 3

Try one yourself

Common questions

What makes two terms like terms?

Same variable, same exponent. 4x34x^3 and 9x3-9x^3 are like terms. 4x34x^3 and 4x24x^2 are not, and neither are 4x4x and 4y4y. Only like terms can be combined into a single term.

Do the exponents change when I add polynomials?

No. You add the coefficients and keep the variable part as it is, so 3x2+5x2=8x23x^2 + 5x^2 = 8x^2. Getting 8x48x^4 means the exponents were added by mistake, which is a multiplication rule, not an addition rule.

Why does subtraction change so many signs?

Because the minus sign belongs to the whole polynomial in parentheses, not just its first term. Subtracting (2x2+3x4)(2x^2 + 3x - 4) means subtracting 2x22x^2, subtracting 3x3x, and subtracting 4-4, and subtracting a negative adds. Rewriting it as 2x23x+4-2x^2 - 3x + 4 before you combine keeps this straight.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1