Algebra

Adding and Subtracting Polynomials

Last updated: March 2026 · Beginner
Before you start

You should be comfortable with:

Real-world applications
πŸ“
Carpentry

Measurements, material estimation, cutting calculations

A polynomial is an expression made up of terms that are added or subtracted, where each term is a number times a variable raised to a whole-number exponent. Expressions like 3x2+5xβˆ’73x^2 + 5x - 7, 4y3βˆ’y+24y^3 - y + 2, and even a plain number like 1212 are all polynomials. They are the workhorses of algebra β€” you will add, subtract, multiply, and factor them constantly.

This page covers the foundational skills: naming polynomials, identifying like terms, and performing addition and subtraction.

Polynomial Vocabulary

Parts of a Term

Each term in a polynomial has two parts:

  • Coefficient: the numerical factor (the number in front). In 7x37x^3, the coefficient is 7.
  • Variable part: the variable with its exponent. In 7x37x^3, the variable part is x3x^3.

A term with no variable (like βˆ’5-5) is called a constant term.

Naming by Number of Terms

NameNumber of TermsExample
Monomial16x26x^2
Binomial23x+43x + 4
Trinomial3x2βˆ’5x+6x^2 - 5x + 6
Polynomial4 or more (or the general term)x3+2x2βˆ’x+8x^3 + 2x^2 - x + 8

Degree of a Polynomial

The degree of a term is the exponent on its variable (for multi-variable terms, it is the sum of all exponents). The degree of the polynomial is the highest degree among all its terms.

  • 5x3βˆ’2x+95x^3 - 2x + 9 has degree 3 (from the 5x35x^3 term)
  • 4x2+7x24x^2 + 7x^2 simplifies to 11x211x^2, which has degree 2
  • The constant 1212 has degree 0

Standard Form

A polynomial is in standard form when its terms are written from highest degree to lowest degree:

StandardΒ form:Β 3x4βˆ’x3+7x2βˆ’2x+5\text{Standard form: } 3x^4 - x^3 + 7x^2 - 2x + 5

Always write your final answers in standard form.

Like Terms

Like terms have the same variable raised to the same exponent. Only the coefficients can differ.

Like TermsNot Like Terms
3x23x^2 and βˆ’5x2-5x^23x23x^2 and 3x33x^3 (different exponents)
7xy7xy and βˆ’2xy-2xy7xy7xy and 7x7x (different variables)
44 and βˆ’9-9 (both constants)4x4x and 44 (one has a variable)

You can only combine like terms. This is the single most important rule for adding and subtracting polynomials.

How to Combine Like Terms

Add (or subtract) the coefficients while keeping the variable part unchanged:

3x2+5x2=(3+5)x2=8x23x^2 + 5x^2 = (3 + 5)x^2 = 8x^2

7yβˆ’2y=(7βˆ’2)y=5y7y - 2y = (7 - 2)y = 5y

Example 1: Simplify 4x3+2xβˆ’7x3+5x+34x^3 + 2x - 7x^3 + 5x + 3

Group like terms:

(4x3βˆ’7x3)+(2x+5x)+3(4x^3 - 7x^3) + (2x + 5x) + 3

Combine coefficients:

βˆ’3x3+7x+3-3x^3 + 7x + 3

Answer: βˆ’3x3+7x+3-3x^3 + 7x + 3

Adding Polynomials

To add polynomials, remove the parentheses and combine like terms. Since you are adding, the signs of all terms stay the same.

Example 2: (3x2+5xβˆ’4)+(2x2βˆ’3x+7)(3x^2 + 5x - 4) + (2x^2 - 3x + 7)

Step 1 β€” Remove parentheses (signs stay the same):

3x2+5xβˆ’4+2x2βˆ’3x+73x^2 + 5x - 4 + 2x^2 - 3x + 7

Step 2 β€” Group like terms:

(3x2+2x2)+(5xβˆ’3x)+(βˆ’4+7)(3x^2 + 2x^2) + (5x - 3x) + (-4 + 7)

Step 3 β€” Combine:

5x2+2x+35x^2 + 2x + 3

Answer: 5x2+2x+35x^2 + 2x + 3

Example 3: (x3+4x2βˆ’x)+(2x3βˆ’x2+6xβˆ’5)(x^3 + 4x^2 - x) + (2x^3 - x^2 + 6x - 5)

Step 1 β€” Remove parentheses:

x3+4x2βˆ’x+2x3βˆ’x2+6xβˆ’5x^3 + 4x^2 - x + 2x^3 - x^2 + 6x - 5

Step 2 β€” Group and combine like terms:

(x3+2x3)+(4x2βˆ’x2)+(βˆ’x+6x)+(βˆ’5)(x^3 + 2x^3) + (4x^2 - x^2) + (-x + 6x) + (-5)

3x3+3x2+5xβˆ’53x^3 + 3x^2 + 5x - 5

Answer: 3x3+3x2+5xβˆ’53x^3 + 3x^2 + 5x - 5

Vertical Method

Some students prefer stacking polynomials vertically, aligning like terms in columns:

3x2+5xβˆ’4+β€…β€Š2x2βˆ’3x+75x2+2x+3\begin{array}{r} 3x^2 + 5x - 4 \\ + \; 2x^2 - 3x + 7 \\ \hline 5x^2 + 2x + 3 \end{array}

Both methods give the same result. Use whichever feels more natural.

Subtracting Polynomials

Subtracting a polynomial means distributing the negative sign (multiplying each term in the second polynomial by βˆ’1-1) and then combining like terms. This is where most mistakes happen.

Example 4: (6x2+3xβˆ’8)βˆ’(2x2βˆ’5x+1)(6x^2 + 3x - 8) - (2x^2 - 5x + 1)

Step 1 β€” Distribute the negative sign to every term in the second polynomial:

6x2+3xβˆ’8βˆ’2x2+5xβˆ’16x^2 + 3x - 8 - 2x^2 + 5x - 1

Notice how every sign in the second polynomial flipped: +2x2+2x^2 became βˆ’2x2-2x^2, βˆ’5x-5x became +5x+5x, and +1+1 became βˆ’1-1.

Step 2 β€” Group and combine like terms:

(6x2βˆ’2x2)+(3x+5x)+(βˆ’8βˆ’1)(6x^2 - 2x^2) + (3x + 5x) + (-8 - 1)

4x2+8xβˆ’94x^2 + 8x - 9

Answer: 4x2+8xβˆ’94x^2 + 8x - 9

Example 5: (5x3βˆ’2x+7)βˆ’(3x3+x2βˆ’4x+3)(5x^3 - 2x + 7) - (3x^3 + x^2 - 4x + 3)

Step 1 β€” Distribute the negative sign:

5x3βˆ’2x+7βˆ’3x3βˆ’x2+4xβˆ’35x^3 - 2x + 7 - 3x^3 - x^2 + 4x - 3

Step 2 β€” Group and combine like terms:

(5x3βˆ’3x3)+(βˆ’x2)+(βˆ’2x+4x)+(7βˆ’3)(5x^3 - 3x^3) + (-x^2) + (-2x + 4x) + (7 - 3)

2x3βˆ’x2+2x+42x^3 - x^2 + 2x + 4

Answer: 2x3βˆ’x2+2x+42x^3 - x^2 + 2x + 4

Example 6: Subtract Using the Vertical Method

Find (7x2+4xβˆ’3)βˆ’(5x2βˆ’2x+6)(7x^2 + 4x - 3) - (5x^2 - 2x + 6).

First, change the signs of the second polynomial, then add:

7x2+4xβˆ’3+β€…β€Š(βˆ’5x2+2xβˆ’6)2x2+6xβˆ’9\begin{array}{r} 7x^2 + 4x - 3 \\ + \;(-5x^2 + 2x - 6) \\ \hline 2x^2 + 6x - 9 \end{array}

Answer: 2x2+6xβˆ’92x^2 + 6x - 9

Polynomial Addition and Subtraction with Missing Terms

When one polynomial is missing a term of a certain degree, treat that term’s coefficient as zero.

Example 7: (x3+5)+(2x3βˆ’4x2+x)(x^3 + 5) + (2x^3 - 4x^2 + x)

The first polynomial has no x2x^2 or xx terms. Think of it as x3+0x2+0x+5x^3 + 0x^2 + 0x + 5.

(x3+2x3)+(0x2βˆ’4x2)+(0x+x)+5(x^3 + 2x^3) + (0x^2 - 4x^2) + (0x + x) + 5

3x3βˆ’4x2+x+53x^3 - 4x^2 + x + 5

Answer: 3x3βˆ’4x2+x+53x^3 - 4x^2 + x + 5

Real-World Application: Carpentry β€” Perimeter of a Custom Frame

A carpenter is building a rectangular picture frame with a decorative border. The frame has:

  • Length: (3x+5)(3x + 5) inches (where xx depends on the customer’s chosen artwork size)
  • Width: (2xβˆ’1)(2x - 1) inches

The perimeter (total length of molding needed) is:

P=2Γ—length+2Γ—widthP = 2 \times \text{length} + 2 \times \text{width}

P=2(3x+5)+2(2xβˆ’1)P = 2(3x + 5) + 2(2x - 1)

Step 1 β€” Distribute:

P=6x+10+4xβˆ’2P = 6x + 10 + 4x - 2

Step 2 β€” Combine like terms:

P=(6x+4x)+(10βˆ’2)=10x+8P = (6x + 4x) + (10 - 2) = 10x + 8

If the customer’s artwork requires x=4x = 4 inches:

P=10(4)+8=40+8=48Β inches=4Β feetP = 10(4) + 8 = 40 + 8 = 48 \text{ inches} = 4 \text{ feet}

Answer: The carpenter needs 48 inches (4 feet) of molding. By keeping the expression in polynomial form first, the carpenter has a reusable formula β€” change xx for different artwork sizes without reworking the entire calculation.

Common Mistakes to Avoid

  1. Forgetting to distribute the negative sign to every term. When subtracting (2x2βˆ’5x+1)(2x^2 - 5x + 1), all three signs flip: βˆ’2x2+5xβˆ’1-2x^2 + 5x - 1. The most common error is flipping the first sign but leaving the others unchanged.
  2. Combining unlike terms. 3x2+5x3x^2 + 5x cannot be simplified further β€” they have different exponents, so they are not like terms.
  3. Losing the sign of a coefficient. Be careful with terms like βˆ’x2-x^2, which has a coefficient of βˆ’1-1, not 00 or 11.
  4. Not writing the answer in standard form. After combining like terms, arrange from highest degree to lowest.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Add (4x2+3xβˆ’1)+(x2βˆ’5x+4)(4x^2 + 3x - 1) + (x^2 - 5x + 4)

Remove parentheses and combine like terms:

(4x2+x2)+(3xβˆ’5x)+(βˆ’1+4)(4x^2 + x^2) + (3x - 5x) + (-1 + 4)

5x2βˆ’2x+35x^2 - 2x + 3

Answer: 5x2βˆ’2x+35x^2 - 2x + 3

Problem 2: Subtract (7x2+2xβˆ’6)βˆ’(3x2+2xβˆ’4)(7x^2 + 2x - 6) - (3x^2 + 2x - 4)

Distribute the negative: 7x2+2xβˆ’6βˆ’3x2βˆ’2x+47x^2 + 2x - 6 - 3x^2 - 2x + 4

Combine: (7x2βˆ’3x2)+(2xβˆ’2x)+(βˆ’6+4)(7x^2 - 3x^2) + (2x - 2x) + (-6 + 4)

4x2+0xβˆ’2=4x2βˆ’24x^2 + 0x - 2 = 4x^2 - 2

Answer: 4x2βˆ’24x^2 - 2

Problem 3: Add (2x3βˆ’x+4)+(x3+3x2βˆ’5)(2x^3 - x + 4) + (x^3 + 3x^2 - 5)

(2x3+x3)+3x2+(βˆ’x)+(4βˆ’5)(2x^3 + x^3) + 3x^2 + (-x) + (4 - 5)

3x3+3x2βˆ’xβˆ’13x^3 + 3x^2 - x - 1

Answer: 3x3+3x2βˆ’xβˆ’13x^3 + 3x^2 - x - 1

Problem 4: Subtract (5x3+xβˆ’9)βˆ’(5x3βˆ’2x2+3xβˆ’1)(5x^3 + x - 9) - (5x^3 - 2x^2 + 3x - 1)

Distribute: 5x3+xβˆ’9βˆ’5x3+2x2βˆ’3x+15x^3 + x - 9 - 5x^3 + 2x^2 - 3x + 1

Combine: (5x3βˆ’5x3)+2x2+(xβˆ’3x)+(βˆ’9+1)(5x^3 - 5x^3) + 2x^2 + (x - 3x) + (-9 + 1)

0+2x2βˆ’2xβˆ’80 + 2x^2 - 2x - 8

Answer: 2x2βˆ’2xβˆ’82x^2 - 2x - 8

Problem 5: A carpenter cuts two pieces of trim from a board. The first piece is (4x+7)(4x + 7) inches and the second is (3xβˆ’2)(3x - 2) inches. Write a polynomial for the total length of trim cut.

Add the two expressions:

(4x+7)+(3xβˆ’2)=7x+5(4x + 7) + (3x - 2) = 7x + 5

Answer: (7x+5)(7x + 5) inches of total trim

Problem 6: What is the degree of the polynomial 8x5βˆ’3x3+xβˆ’128x^5 - 3x^3 + x - 12?

The term with the highest exponent is 8x58x^5.

Answer: The degree is 5.

Key Takeaways

  • A polynomial is a sum of terms with whole-number exponents; terms are classified by their degree and polynomials by their number of terms (monomial, binomial, trinomial)
  • The degree of a polynomial is the highest exponent β€” always write the final answer in standard form (highest to lowest degree)
  • Like terms have the same variable and exponent β€” combine them by adding or subtracting their coefficients
  • Adding polynomials: Drop the parentheses and combine like terms
  • Subtracting polynomials: Distribute the negative sign to every term in the polynomial being subtracted, then combine like terms
  • The most common mistake is forgetting to flip all signs when subtracting

Return to Algebra for more topics in this section.

Last updated: March 29, 2026