Adding and Subtracting Polynomials

Learning Objective

Introduction

Adding and subtracting polynomialsA monomial or sum of monomials, like `4x^2 + 3x - 10`. may sound complicated, but it’s really not much different from adding and subtracting numbers. Any terms that have the same variables with the same exponents can be combined.

Adding Polynomials

Adding polynomials involves combining like terms. Like termsTwo or more monomials that contain the same variables raised to the same powers, regardless of their coefficients. For example, `2x^2y` and `-8x^2y` are like terms because they have the same variables raised to the same exponents. are monomialsA number, a variable, or a product of a number and one or more variables with whole number exponents, such as `-5`, `x`, and `8xy^3`. that contain the same variable or variables raised to the same powers. The following are examples of like and unlike terms:

Monomials

Terms

Explanation

`3x`

 

`14x`

like

same variables with same exponents

`16xyz^2`

 

`-5xyz^2`

like

same variables with same exponents

`3x`

 

`5y`

unlike

different variables with same exponents

`-3z`

 

`-3z^2`

unlike

same variables with different exponents

We combine like terms by adding or subtracting the coefficient of the term and keeping the variables and their exponents the same. The distributive property is why we can do this. Look at the example below to see that it's okay to add or subtract the coefficients of like terms:

Example

Problem

Simplify `1/2x+8x`. 

 

`x(1/2+8)`

 

Rewrite the expression using the distributive property.

 

`x*(8 1/2)`

 

Add the terms in the parentheses.

 

`8 1/2x`

 

Rewrite using the commutative property.

Answer

`8 1/2x`

 

 

             

We've just seen how to add two monomials that have like terms. We can also apply the properties of numbers when adding polynomials. To add polynomials, shuffle the expression and group like terms together to make it easier to combine them:

Example

Problem

`(8x^2 + 4x + 12) + (2x^2 + 7x + 10)`

 

`(8x^2 + 2x^2) + (4x + 7x) + (12 + 10)`

 

Regroup using commutative and associative properties.

 

`10x^2 + 11x + 22`

 

Add like terms.

Answer

`10x^2 + 11x + 22`

 

 

             

The procedure is the same when we are adding polynomials that contain negative coefficients or subtraction as shown below:

Example

Problem

`(-5x^2 - 10x - 7y + 2) + (3x^2 - 4 + 7x)`

 

 

`(-5x^2 + 3x^2) + (-10x + 7x) - 7y + (2 - 4)`

 

Regroup using commutative and associative properties.

 

`-2x^2 + (-3x) - 7y - 2`

 

Combine like terms.

Answer

`-2x^2 - 3x - 7y - 2`

 

 

             

So far, we have been adding polynomials by reading from left to right along the same line. Some people like to organize their work vertically instead, because they find it easier to be sure that they are combining like terms. The process of adding the polynomials is the same, but the arrangement of the terms is different. The example below shows this “vertical” method of adding polynomials:

Example

Problem

`(3x^2 + 2xy - 7) + (7x^2 - 4xy + 8)` 

 

 

 

`3x^2`

`+`

`2xy`

`-`

`7`

 

`+`

`7x^2`

`-`

`4xy`

`+`

`8`

 

 

Write one polynomial below the other.

 

 

`3x^2`

`+`

`2xy`

`-`

`7`

 

`+`

`7x^2`

`-`

`4xy`

`+`

`8`

 

 

`10x^2`

`-`

`2xy`

`+`

`1`

 

 

Combine like terms, paying close attention to the signs.

Answer

`10x^2 - 2xy + 1`

 

       

Sometimes in a vertical arrangement, we can line up every term beneath a like term, like we did in the example above. But sometimes it isn't so tidy. When there isn't a matching like term for every term, there will be empty spots in the vertical arrangement.

Example

Problem

`(4x^2y + 5x^2 + 3xy - 6x + 2) + (-4x^2 - 8xy + 10)`

 

 

 

`4x^2y`

`+`

`5x^2`

`+`

`3xy`

`-`

`6x`

`+`

`2`

`+`

 

`-`

`4x^2`

`-`

`8xy`

 

 

`+`

`10`

 

`4x^2y`

`+`

`x^2`

`-`

`5xy`

`-`

`6x`

`+`

`12`

 

Write one polynomial below the other, lining up like terms vertically.

Leave a blank space above or below every term without a matching like term.

Combine like terms, paying close attention to the signs.

Answer

`4x^2y + x^2 - 5xy - 6x + 12`

       

Subtracting Polynomials

Subtracting polynomials also involves identifying and combining like terms. Remember that a subtraction sign in front of the parentheses is like a coefficient of `-1`. When subtracting, we can distribute (`-1`) to each of the terms in the second polynomial and then add the two polynomials. Let's look at an example:

Example

Problem

`(15x^2 + 12xy + 20) - (9x^2 + 10xy + 5)`

 

`(15x^2 - 9x^2) + (12xy - 10xy) + (20 - 5)`

 

Distribute `-1` to the terms in the second polynomial, then regroup to match like terms.

 

 

`6x^2 + 2xy + 15`

 

Combine like terms.

Answer

`6x^2 + 2xy + 15`

 

         

When polynomials include a lot of terms, it can be easy to lose track of the signs. Be very careful to transfer them correctly, especially when subtracting a negative term.

Example

Problem

`(14x^2y + 3x^2 - 5y + 14) - (7x^2y + 5x^2 - 8y + 10)`

`(14x^2y + 3x^2 - 5y + 14) + (-7x^2y - 5x^2 + 8y - 10)`

Distribute `-1`.

 

 

`(14x^2y - 7x^2y) + (3x^2 - 5x^2) + (-5y + 8y) + (14 - 10)`

 

Regroup like terms using the associative property.

 

`7x^2y - 2x^2 + 3y + 4`

Combine like terms.

Answer

`7x^2y - 2x^2 + 3y + 4`

 

       

As with integer operations, experience and practice makes it easier to add and subtract polynomials.

Solve.

`(4a + 5by + 7b) - (8a + 3b + 2b^2y)`

 

A) `-4a + 3b^2y + 4b`

 

B) `-4a + 10b + 5by + 2b^2y`

 

C) `-4a + 4b + 5by - 2b^2y`

 

D) `12a + 5by - 2b^2y + 10b`

 

Summary

When adding or subtracting polynomials, look for like terms, which are terms that have the same variables raised to the same power. Use the commutative property of addition to regroup the terms in an expression into sets of like terms. Like terms are combined by adding or subtracting the coefficients as appropriate while keeping the variables and exponents the same.

Polynomials are not considered simplified until all of the like terms have been combined.