5.4: Adding and Subtracting Polynomials
( \newcommand{\kernel}{\mathrm{null}\,}\)
In this section we concentrate on adding and subtracting polynomial expressions, based on earlier work combining like terms in Ascending and Descending Powers. Let’s begin with an addition example.
Example 5.4.1
Simplify: (a2+3ab−b2)+(4a2+11ab−9b2)
Solution
Use the commutative and associative properties to change the order and regroup. Then combine like terms.
(a2+3ab−b2)+(4a2+11ab−9b2)=(a2+4a2)+(3ab+11ab)+(−b2−9b2)=5a2+14ab−10b2
Exercise 5.4.1
Simplify: (3s2−2st+4t2)+(s2+7st−5t2)
- Answer
-
4s2+5st−t2
Let’s combine some polynomial functions.
Example 5.4.2
Given f(x)=3x2−4x−8 and g(x)=x2−11x+15, simplify f(x)+g(x).
Solution
First, replace f(x) and g(x) with their definitions. Be sure to surround each polynomial with parentheses, because we are asked to add all of f(x) to all of g(x).
f(x)+g(x)=(3x2−4x−8)+(x2−11x+15) Now use the commutative and associative properties to change the order and regroup. Combine like terms.
=(3x2+x2)+(−4x−11x)+(−8+15)=4x2−15x+7
Hence, f(x)+g(x)=4x2−15x+7.
Exercise 5.4.2
Given f(x)=2x2+9x−5 and g(x)=−x2−4x+3, simplify f(x)+g(x).
- Answer
-
x2+5x−2
If you are comfortable skipping a step or two, it is not necessary to write down all of the steps shown in Examples 5.4.1 and 5.4.2. Let’s try combining like terms mentally in the next example.
Example 5.4.3
Simplify: (x3−2x2y+3xy2+y3)+(2x3−4x2y−8xy2+5y3)
Solution
If we use the associative and commutative property to reorder and regroup, then combine like terms, we get the following result.
(x3−2x2y+3xy2+y3)+(2x3−4x2y−8xy2+5y3)=(x3+2x3)+(−2x2y−4x2y)+(3xy2−8xy2)+(y3+5y3)=3x3−6x2y−5xy2+6y3
However, if we can combine like terms mentally, eliminating the middle step, it is much more efficient to write:
(x3−2x2y+3xy2+y3)+(2x3−4x2y−8xy2+5y3)=3x3−6x2y−5xy2+6y3
Exercise 5.4.3
Simplify: (−5a2b+4ab−3ab2)+(2a2b+7ab−ab2)
- Answer
-
−3a2b+11ab−4ab2d
Negating a Polynomial
Before attempting subtraction of polynomials, let’s first address how to negate or “take the opposite” of a polynomial. First recall that negating is equivalent to multiplying by −1.
Negating
If a is any number, then
−a=(−1)a.
That is, negating is equivalent to multiplying by −1.
We can use this property to simplify −(a+b). First, negating is identical to multiplying by −1. Then we can distribute the −1.
−(a+b)=(−1)(a+b) Negating is equivalent to multiplying by −1=(−1)a+(−1)b Distribute the −1.=−a+(−b) Simplify: (−1)a=−a and (−1)b=−b=−a−b Subtraction means add the opposite.
Thus, −(a+b)=−a−b. However, it is probably simpler to note that the minus sign in front of the parentheses simply changed the sign of each term inside the parentheses.
Negating a sum
When negating a sum of terms, the effect of the minus sign is to change each term in the parentheses to the opposite sign. −(a+b)=−a−b
Let’s look at this principle in the next example.
Example 5.4.4
Simplify: −(−3x2+4x−8)
Solution
First, negating is equivalent to multiplying by −1. Then distribute the −1.
−(−3x2+4x−8)=(−1)(−3x2+4x−8)Negating is equivalent to multiplying by −1=(−1)(−3x2)+(−1)(4x)−(−1)(8)Distribute the −1=3x2+(−4x)−(−8)Simplify: (−1)(−3x2)=3x2,(−1)(4x)=−4x,and(−1)(8)=−8=3x2−4x+8Subtraction means add the opposite.
Alternate solution:
As we saw above, a negative sign in front of a parentheses simply changes the sign of each term inside the parentheses. So it is much more efficient to write−(−3x2+4x−8)=3x2−4x+8simply changing the sign of each term inside the parentheses.
Exercise 5.4.4
Simplify: −(2x2−3x+9)
- Answer
-
−2x2+3x−9
Subtracting Polynomials
Now that we know how to negate a polynomial (change the sign of each term of the polynomial), we’re ready to subtract polynomials.
Example 5.4.5
Simplify: (y3−3y2z+4yz2+z3)−(2y3−8y2z+2yz2−8z3)
Solution
First, distribute the minus sign, changing the sign of each term of the second polynomial.
(y3−3y2z+4yz2+z3)−(2y3−8y2z+2yz2−8z3)=y3−3y2z+4yz2+z3−2y3+8y2z−2yz2+8z3
Regroup, combining like terms. You may perform this next step mentally if you wish.
=(y3−2y3)+(−3y2z+8y2z)+(4yz2−2yz2)+(z3+8z3)=−y3+5y2z+2yz2+9z3
Exercise 5.4.5
Simplify: (4a2b+2ab−7ab2)−(2a2b−ab−5ab2)
- Answer
-
2a2b+3ab−2ab2
Let’s subtract two polynomial functions.
Example 5.4.6
Given p(x)=−5x3+6x−9 and q(x)=6x2−7x−11, simplify p(x)−q(x).
Solution
First, replace p(x) and q(x) with their definitions. Because we are asked to subtract all of q(x) from all of p(x), it is critical to surround each polynomial with parentheses.
p(x)−q(x)=(−5x3+6x−9)−(6x2−7x−11)
Distribute the minus sign, changing the sign of each term in the second polynomial, then regroup and combine like terms.
=−5x3+6x−9−6x2+7x+11=−5x3−6x2+(6x+7x)+(−9+11)=−5x3−6x2+13x+2
However, after distributing the minus sign, if we can combine like terms mentally, eliminating the middle step, it is much more efficient to write:
p(x)−q(x)=(−5x3+6x−9)−(6x2−7x−11)=−5x3+6x−9−6x2+7x+11=−5x3−6x2+13x+2
Exercise 5.4.6
Given f(x)=3x2+9x−4 and g(x)=−5x2+4x−6, simplify f(x)−g(x).
- Answer
-
8x2+5x+2
Some Applications
Recall that the area of a rectangle having length L and width W is found using the formula A=LW. The area of a square having side s is found using the formula A=s2 (see Figure 5.4.1).

Example 5.4.7
Find the area of the square in Figure 5.4.2 by summing the area of its parts.

Solution
Let’s separate each of the four pieces and label each with its area (see Figure 5.4.3).

The two shaded squares in Figure 5.4.3 have areas A1=x2 and A3=9, respectively. The two unshaded rectangles in Figure 5.4.3 have areas A2=3x and A4=3x. Summing these four areas gives us the area of the entire figure.
A=A1+A2+A3+A4=x2+3x+9+3x=x2+6x+9
Exercise 5.4.7
Find the area of the square shown below by summing the area of its parts.

- Answer
-
x2+8x+16
Example 5.4.8
Ginger runs a business selling wicker baskets. Her business costs for producing and selling x wicker baskets are given by the polynomial function C(x)=100+3x−0.02x2. The revenue she earns from selling x wicker baskets is given by the polynomial function R(x)=2.75x. Find a formula for P(x), the profit made from selling x wicker baskets. Use your formula to determine Ginger’s profit if she sells 123 wicker baskets.
Solution
The profit made from selling x wicker baskets is found by subtracting the costs incurred from the revenue received. In symbols: P(x)=R(x)−C(x)
Next, replace R(x) and C(x) with their definitions. Because we are supposed to subtract all of the cost from the revenue, be sure to surround the cost polynomial with parentheses.P(x)=2.75x−(100+3x−0.02x2)
Distribute the minus sign and combine like terms.
=2.75x−100−3x+0.02x2=0.02x2−0.25x−100
Thus, the profit function is P(x)=0.02x2−0.25x−100.
Next, to determine the profit if 123 wicker baskets are sold, substitute 123 for x in the profit function P(x).
P(x)=0.02x2−0.25x−100P(123)=0.02(123)2−0.25(123)−100
You can now use your graphing calculator to determine the profit (see Figure 5.4.5). Hence, the profit made from selling 123 wicker baskets is $171.83.

Exercise 5.4.8
The costs for producing and selling x widgets are given by the polynomial function C(x)=50+5x−0.5x2, and the revenue for selling x widgets is given by the polynomial function R(x)=3.5x. Determine the profit if 75 widgets are sold.
- Answer
-
$2,650