We can add and subtract polynomials by combining like terms, which are terms that contain the same variables raised to the same exponents. For example, [latex]5{x}^{2}[/latex] and [latex]-2{x}^{2}[/latex] are like terms, and can be added to get [latex]3{x}^{2}[/latex], but [latex]3x[/latex] and [latex]3{x}^{2}[/latex] are not like terms, and therefore cannot be added.

### How To: Given multiple polynomials, add or subtract them to simplify the expressions.

- Combine like terms.
- Simplify and write in standard form.

### Example 2: Adding Polynomials

Find the sum.

[latex]\left(12{x}^{2}+9x - 21\right)+\left(4{x}^{3}+8{x}^{2}-5x+20\right)[/latex]

### Solution

[latex]\begin{array}{cc}4{x}^{3}+\left(12{x}^{2}+8{x}^{2}\right)+\left(9x - 5x\right)+\left(-21+20\right) \hfill & \text{Combine like terms}.\hfill \\ 4{x}^{3}+20{x}^{2}+4x - 1\hfill & \text{Simplify}.\hfill \end{array}[/latex]

### Analysis of the Solution

We can check our answers to these types of problems using a graphing calculator. To check, graph the problem as given along with the simplified answer. The two graphs should be equivalent. Be sure to use the same window to compare the graphs. Using different windows can make the expressions seem equivalent when they are not.

### Try It 2

Find the sum.

[latex]\left(2{x}^{3}+5{x}^{2}-x+1\right)+\left(2{x}^{2}-3x - 4\right)[/latex]

### Example 3: Subtracting Polynomials

Find the difference.

[latex]\left(7{x}^{4}-{x}^{2}+6x+1\right)-\left(5{x}^{3}-2{x}^{2}+3x+2\right)[/latex]

### Solution

[latex]\begin{array}{cc}7{x}^{4}-5{x}^{3}+\left(-{x}^{2}+2{x}^{2}\right)+\left(6x - 3x\right)+\left(1 - 2\right)\text{ }\hfill & \text{Combine like terms}.\hfill \\ 7{x}^{4}-5{x}^{3}+{x}^{2}+3x - 1\hfill & \text{Simplify}.\hfill \end{array}[/latex]

### Analysis of the Solution

Note that finding the difference between two polynomials is the same as adding the opposite of the second polynomial to the first.

### Try It 3

Find the difference.

[latex]\left(-7{x}^{3}-7{x}^{2}+6x - 2\right)-\left(4{x}^{3}-6{x}^{2}-x+7\right)[/latex]