A polynomial may need to be simplified. One way to simplify a polynomial is to combine the like terms if there are any. Two or more terms in a polynomial are like terms if they have the same variable (or variables) with the same exponent. For example, 3x2 and −5x2 are like terms: They both have x as the variable, and the exponent is 2 for each. However, 3x2 and 3x are not like terms, because their exponents are different.
Here are some examples of terms that are alike and some that are unlike.
Term
Like Terms
UNLike Terms
a
3a,−2a,12a
a2,1a,√a
a2
−5a2,14a2,0.56a2
1a2,√a2,a3
ab
7ab,0.23ab,23ab,−ab
a2b,1ab,√ab
ab2
4ab2,ab27,0.4ab2,−a2b
a2b,ab,√ab2,1ab2
Example
Which of these terms are like terms?
7x3,7x,7y,−8x3,9y,−3x2,8y2
Show Solution
Like terms must have the same variables, so first identify which terms use the same variables.
x:7x3,7x,−8x3,−3x2y:7y,9y,8y2
Like terms must also have the same exponents. Identify which terms with the same variables also use the same exponents.
The x terms 7x3 and −8x3 have the same exponent.
The y terms 7y and 9y have the same exponent.
Answer
7x3 and −8x3 are like terms.
7y and 9y are like terms.
You can use the distributive property to simplify the sum of like terms. Recall that the distributive property of addition states that the product of a number and a sum (or difference) is equal to the sum (or difference) of the products.
2(3+6)=2(3)+2(6)
Both expressions equal 18. So you can write the expression in whichever form is the most useful.
Let’s see how we can use this property to combine like terms.
Example
Simplify 3x2−5x2.
Show Solution
3x2 and 5x2are like terms.
3(x2)−5(x2)
We can rewrite the expression as the product of the difference.
(3−5)(x2)
Calculate 3–5.
(−2)(x2)
Write the difference of 3–5 as the new coefficient.
Answer
3x2−5x2=−2x2
You may have noticed that combining like terms involves combining the coefficients to find the new coefficient of the like term. You can use this as a shortcut.
Example
Simplify 6a4+4a4.
Show Solution
Notice that both terms have a number multiplied by a4. This makes them like terms.
6a4+4a4
Combine the coefficients, 6 and 4.
(6+4)(a4)
Calculate the sum.
(10)(a4)
Write the sum as the new coefficient.
Answer
6a4+4a4=10a4
When you have a polynomial with more terms, you have to be careful that you combine only like terms. If two terms are not like terms, you can’t combine them.
Example
Simplify 3x2+3x+x+1+5x
Show Solution
First identify which terms are like terms: only 3x, x, and 5x are like terms.
3x, x, and 5x are like terms.
Use the commutative and associative properties to group the like terms together.
3x2+3x+x+1+5x3x2+(3x+x+5x)+1
Add the coefficients of the like terms. Remember that the coefficient of x is 1(x=1x).
3x2+(3+1+5)x+13x2+(9)x+1
Write the sum as the new coefficient.
Answer
3x2+3x+x+1+5x=3x2+9x+1
Adding and Subtracting Monomials
Adding and subtracting monomials is the same as combining like terms. Like terms must have the same variable with the same exponent. Recall that when combining like terms only the coefficients are combined, never the exponents.
Here is a brief summary of the steps we will follow to add or subtract polynomials.
How To: Given multiple polynomials, add or subtract them to simplify the expressions
Combine like terms.
Simplify and write in standard form.
example
Add: 17x2+6x2
Solution
17x2+6x2
Combine like terms.
23x2
try it
Pay attention to signs when adding or subtracting monomials. In the example below, we are subtracting a monomial with a negative coefficient.
example
Subtract: 11n−(−8n)
Show Solution
Solution
11n−(−8n)
Combine like terms.
19n
try it
Whenever we add monomials in which the variables are not the same, even if their exponents have the same value, they are not like terms and therefore cannot be added together.
example
Simplify: a2+4b2−7a2
Show Solution
Solution
a2+4b2−7a2
Combine like terms.
−6a2+4b2
Remember, −6a2 and 4b2 are not like terms. The variables are not the same.
try it
Add and Subtract Polynomials
Adding and subtracting polynomials may sound complicated, but it’s really not much different from the addition and subtraction that you do every day. You can add two (or more) polynomials as you have added algebraic expressions. Adding and subtracting polynomials can be thought of as just adding and subtracting like terms. Look for like terms—those with the same variables with the same exponent. You can remove the parentheses and then use the Commutative Property to rearrange the terms to put like terms together. (It may also be helpful to underline, circle, or box like terms.)
Example
Add. (3b+5)+(2b+4)
Show Solution
Regroup
(3b+2b)+(5+4)
Combine like terms.
5b+9
Answer
(3b+5)+(2b+4)=5b+9
When you are adding polynomials that have subtraction, it is important to remember to keep the sign on each term as you are collecting like terms. The next example will show you how to regroup terms that are subtracted when you are collecting like terms.
Example
Add. (−5x2–10x+2)+(3x2+7x–4)
Show Solution
Collect like terms, making sure you keep the sign on each term. For example, when you collect the x2 terms, make sure to keep the negative sign on −5x2.
Helpful Hint: We find that it is easier to put the terms with a negative sign on the right of the terms that are positive. This would mean that the x2 terms would be grouped as (3x2−5x2). If both terms are negative, then it doesn’t matter which is on the left or right.
The polynomial now looks like this, with like terms collected:
(3x2−5x2)+(7x−10x)+(2−4)x2 terms x terms constants
The x2 terms will simplify to −2x2
The x will simplify to −3x
The constant terms will simplify to −2
Rewrite the polynomial with it’s simplified terms, keeping the sign on each term.
−2x2−3x−2
As a matter of convention, we write polynomials in descending order based on degree. Notice how we put the x2 term first, the x term second and the constant term last.
Answer
(−5x2−10x+2)+(3x2+7x−4)=−2x2−3x−2
Example
Find the sum: (4x2−5x+1)+(3x2−8x−9).
Show Solution
Solution
(4x2−5x+1)+(3x2−8x−9)
Identify like terms.
Rearrange to get the like terms together.
Combine like terms.
7x2−13x−8
The above examples show addition of polynomials horizontally, 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 example below shows this “vertical” method of adding polynomials:
Example
Add. (3x2+2x−7)+(7x2−4x+8)
Show Solution
Write one polynomial below the other, making sure to line up like terms.
3x2+2x−7+7x2−4x+8
Combine like terms, paying close attention to the signs.
3x2+2x−7+7x2−4x+8––––––––––––––––10x2−2x+1
Answer
(3x2+3x−7)+(7x2−4x+8)=10x2−2x+1
Sometimes in a vertical arrangement, you can line up every term beneath a like term, as 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 places in the vertical arrangement.
Example
Add. (4x3+5x2−6x+2)+(−4x2+10)
Show Solution
Write one polynomial below the other, lining up like terms vertically.
To keep track of like terms, you can insert zeros where there aren’t any shared like terms. This is optional, but some find it helpful.
4x3+5x2−6x+2+0−4x2+0+10
Combine like terms, paying close attention to the signs.
You may be thinking, how is this different than combining like terms, which we did in the last section? The answer is, it’s not really. We just added a layer to combining like terms by adding more terms to combine. :) Polynomials are a useful tool for describing the behavior of anything that isn’t linear, and sometimes you may need to add them.
In the following video, you will see more examples of combining like terms by adding polynomials.
In the next section we will show how to subtract polynomials.
Find the opposite of a polynomial
When you are solving equations, it may come up that you need to subtract polynomials. This means subtracting each term of a polynomial, which requires changing the sign of each term in a polynomial. Recall that changing the sign of 3 gives −3, and changing the sign of −3 gives 3. Just as changing the sign of a number is found by multiplying the number by −1, we can change the sign of a polynomial by multiplying it by −1. Think of this in the same way as you would the distributive property. You are distributing −1 to each term in the polynomial. Changing the sign of a polynomial is also called finding the opposite.
Example
Find the opposite of 9x2+10x+5.
Show Solution
Find the opposite by multiplying by −1.
(−1)(9x2+10x+5)
Distribute −1 to each term in the polynomial.
(−1)9x2+(−1)10x+(−1)5
Your new terms all have the opposite sign:
(−1)9x2=−9x2(−1)10x=−10x(−1)5=−5
Now you can rewrite the polynomial with the new sign on each term:
−9x2−10x−5
Answer
The opposite of 9x2+10x+5 is −9x2−10x−5
You can also write:
(−1)(9x2+10x+5)=−9x2−10x−5
Be careful when there are negative terms or subtractions in the polynomial already. Just remember that you are changing the sign, so if it is negative, it will become positive.
Example
Find the opposite of 3p2–5p+7.
Show Solution
Find the opposite by multiplying by −1.
(−1)(3p2−5p+7)
Distribute −1 to each term in the polynomial by multiplying each coefficient by −1.
(−1)3p2+(−1)(−5p)+(−1)7
Your new terms all have the opposite sign:
(−1)3p2=−3p2(−1)(−5p)=5p(−1)7=−7
Now you can rewrite the polynomial with the new sign on each term:
−3p2+5p−7
Answer
The opposite of 3p2−5p+7 is −3p2+5p−7.
Notice that in finding the opposite of a polynomial, you change the sign of each term in the polynomial, then rewrite the polynomial with the new signs on each term.
Subtract polynomials
When you subtract one polynomial from another, you will first find the opposite of the polynomial being subtracted, then combine like terms. The easiest mistake to make when subtracting one polynomial from another is to forget to change the sign of EVERY term in the polynomial being subtracted.
Example
Subtract. (15x2+12x+20)–(9x2+10x+5)
Show Solution
Change the sign of each term in the polynomial 9x2+10x+5! All the terms are positive, so they will all become negative.
(15x2+12x+20)−9x2−10x−5
Regroup to match like terms, remember to check the sign of each term.
15x2−9x2+12x−10x+20−5
Combine like terms.
6x2+2x+15
Answer
(15x2+12x+20)−(9x2+10x+5)=6x2+2x+15
When polynomials include a lot of terms, it can be easy to lose track of the signs. Be careful to transfer them correctly, especially when subtracting a negative term.
In the following example we will show how to distribute the negative sign to each term of a polynomial that is being subtracted from another.
Example
Find the difference.
(7x4−x2+6x+1)−(5x3−2x2+3x+2)
Show Solution
7x4−x2+6x+1−5x3+2x2−3x−2Distribute.7x4−5x3+(−x2+2x2)+(6x−3x)+(1−2)Combine like terms.7x4−5x3+x2+3x−1Simplify.
Note that finding the difference between two polynomials is the same as adding the opposite of the second polynomial to the first.
Example
Subtract. (14x3+3x2–5x+14)–(7x3+5x2–8x+10)
Show Solution
Change the sign of each term in the polynomial 7x3+5x2–8x+10
(14x3+3x2−5x+14)−7x3−5x2+8x−10
Regroup to put like terms together and combine like terms.
Write the resulting polynomial with each term’s sign in front.
7x3−2x2+3x+4
Answer
(14x3+3x2−5x+14)−(7x3+5x2−8x+10)=7x3−2x2+3x+4
When you have many terms, like in the examples above, try the vertical approach shown above to keep your terms organized. However you choose to combine polynomials is up to you—the key point is to identify like terms, keep track of their signs, and be able to organize them accurately.
When we add polynomials as we did in the last example, we can rewrite the expression without parentheses and then combine like terms. But when we subtract polynomials, we must be very careful with the signs.
example
Find the difference: (7u2−5u+3)−(4u2−2).
Show Solution
Solution
(7u2−5u+3)−(4u2−2)
Distribute and identify like terms.
Rearrange the terms.
Combine like terms.
3u2−5u+5
try it
Exercises
Subtract (m2−3m+8) from (9m2−7m+4).
Show Solution
Solution
Subtract (m2−3m+8) from (9m2−7m+4).
(9m2−7m+4)−(m2−3m+8)
Distribute and identify like terms.
Rearrange the terms.
Combine like terms.
8m2−4m−4
TRY IT
In the following video, you will see more examples of subtracting polynomials.
In the next video we show more examples of adding and subtracting polynomials.
Summary
We have seen that subtracting a polynomial means changing the sign of each term in the polynomial and then reorganizing all the terms to make it easier to combine those that are alike. How you organize this process is up to you, but we have shown two ways here. One method is to place the terms next to each other horizontally, putting like terms next to each other to make combining them easier. The other method was to place the polynomial being subtracted underneath the other after changing the signs of each term. In this method it is important to align like terms and use a blank space when there is no like term.
Contribute!
Did you have an idea for improving this content? We’d love your input.
Prealgebra. Provided by: OpenStax. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/caa57dab-41c7-455e-bd6f-f443cda5519c@9.757
Licenses and Attributions
CC licensed content, Original
Question ID 146085, 146084, 146078, 146070, 146073. Authored by: Lumen Learning. License: CC BY: Attribution
Prealgebra. Provided by: OpenStax. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/caa57dab-41c7-455e-bd6f-f443cda5519c@9.757