In this tutorial, we’ll learn all about adding and subtracting polynomials. But first, there are a few fundamental concepts we need to look at.
Terms in a Polynomial
Here’s an example of a polynomial (with four terms).
4x3−2x2−9x+5
The parts of the polynomial separated by the addition/subtraction symbols are called terms. And each term can be seen as having two parts – the coefficient and the variables (along with their exponents).
Here’s the first term in our polynomial above.
Note – You will frequently come across terms that appear to have no coefficients (or have variables without exponents). So remember, if the coefficient is not visible, it’s 1. Same with the exponent. For example –
a2b=1a2b1
Terms are important because they hold the key when it comes to adding and subtracting polynomials.
Like/Unlike Terms
Like terms in a polynomial are those that have the same variable part (variables along with their exponents).
Here are a few examples of like terms. Focus on the variables parts (orchid and green).
2x2,5x2,−8x2
9a2b,−a2b,4a2b
Now, terms that are not like are known as “unlike terms”. Their variable parts (the variables themselves or their exponents) are different. For example (differences in red) –
4x2,3x
5p3q2,2p2q2
7ab2c3,3a2c3
Adding and Subtracting Like Terms
The important thing about like terms is we can add (or subtract) them into a single term.
Let me explain. Here we have two like terms being added together.
8x2y+3x2y
Now, there are two steps to adding like terms.
Step 1. Take the coefficients and add/subtract them.
8x2y+3x2y=(8+3)=11
Step 2. Copy the variable part.
8x2y+3x2y=11x2y
Nothing too difficult, right? We can also subtract like terms using the same steps.
8x2y−3x2y=(8−3)x2y=5x2y
Alright, let’s do a couple of examples.
Example
Simplify.
(i)2ab+5ab−7ab(ii)−7p2qr−3p2qr+5p2qr
Solution (i)
Just like we did earlier, we’ll bring the coefficients together, simplify them, and copy down the variables.
2ab+5ab−7ab=(2+5−7)ab=0ab=0
Solution (ii)
Again, the same two steps.
−7p2qr−3p2qr+5p2qr=(−7−3+5)p2qr=−5p2qr
Great! We are all set to start adding and subtracting polynomials.
Adding and Subtracting Polynomials
We'll go with addition first. Subtraction would require only a slight adjustment.
Adding Polynomials
To add two or more polynomials,
Write all the polynomials one after the other connected with the plus sign.
Group the like terms together.
Simplify each group of like terms into one term.
Let’s apply these steps to solve a few polynomial addition problems.
Example
Add and simplify.
(i)2x2+3x−4,x2−5x+9(ii)−3p2q−5pq−6p,p2q2−6pq+1
Solution (i)
Step 1. We write the two polynomials one after the other with a plus sign between them.
2x2+3x−4+x2−5x+9
Like terms are in the same color.
Step 2. Next, we bring the like terms together and simplify each group (using what we learned in the last section).
=2x2+x2+3x−5x−4+93x2−2x+5
We can’t simplify any further (can’t combine unlike terms). So that’s the answer.
Solution (ii)
Nothing really different in this example. Using the same two steps from above, we get –
Step 1. We write the polynomials one below the other such that each group of like terms falls in a separate column.
Also, draw a horizontal line below the polynomials as shown below.
Step 2. Add the terms (with their signs) in each column and write the sum below the line.
So the sum of the two polynomials is 13a2b+5ab2+2ab+7.
Solution (ii)
Again, the same two steps. Just make sure only like terms go into the same column.
In our final answer, we don’t need to write the second term (it’s 0). The sum is −10x3y2+3xy2+2xy
Subtracting Polynomials
Subtracting a polynomial is the same as inverting the sign of each of its terms (− ↔ +), and adding the polynomial.
Let me explain through this example.
Example
Subtract the second polynomial from the first.
(i)3x2−2xy,x2−xy+2(ii)4a2b2+2a2b+9ab,5a2b2−4ab
Solution (i)
Step 1. We write the two polynomials one after the other with a minus sign between them.
Now it’s important to write the second polynomial inside parentheses because it’s the whole polynomial we are subtracting and not just the first term.
=3x2−2xy−(x2−xy+2)3x2−2xy−x2+xy−2
Steps 1 & 2
Step 2. Open the parentheses and distribute the minus sign across the second polynomial. In other words, we flip the sign of each term in the second polynomial from + to − and the other way around. (Shown above)
Step 3. Group the like terms together and simplify.
==3x2−2xy−x2+xy−23x2−x2−2xy+xy−22x2−xy−2
Solution (ii)
Again, we start by writing the polynomials together with a minus sign between them.
I repeat, make sure the second polynomial is enclosed within parentheses. And that you flip the signs when opening the parentheses.
=4a2b2+2a2b+9ab−(5a2−4ab)4a2b2+2a2b+9ab−5a2+4ab
And now, it’s time to simplify each group of like terms.