Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

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+3abb2)+(4a2+11ab9b2)

Solution

Use the commutative and associative properties to change the order and regroup. Then combine like terms.

(a2+3abb2)+(4a2+11ab9b2)=(a2+4a2)+(3ab+11ab)+(b29b2)=5a2+14ab10b2

Exercise 5.4.1

Simplify: (3s22st+4t2)+(s2+7st5t2)

Answer

4s2+5stt2

Let’s combine some polynomial functions.

Example 5.4.2

Given f(x)=3x24x8 and g(x)=x211x+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)=(3x24x8)+(x211x+15) Now use the commutative and associative properties to change the order and regroup. Combine like terms.

=(3x2+x2)+(4x11x)+(8+15)=4x215x+7

Hence, f(x)+g(x)=4x215x+7.

Exercise 5.4.2

Given f(x)=2x2+9x5 and g(x)=x24x+3, simplify f(x)+g(x).

Answer

x2+5x2

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: (x32x2y+3xy2+y3)+(2x34x2y8xy2+5y3)

Solution

If we use the associative and commutative property to reorder and regroup, then combine like terms, we get the following result.

(x32x2y+3xy2+y3)+(2x34x2y8xy2+5y3)=(x3+2x3)+(2x2y4x2y)+(3xy28xy2)+(y3+5y3)=3x36x2y5xy2+6y3

However, if we can combine like terms mentally, eliminating the middle step, it is much more efficient to write:

(x32x2y+3xy2+y3)+(2x34x2y8xy2+5y3)=3x36x2y5xy2+6y3

Exercise 5.4.3

Simplify: (5a2b+4ab3ab2)+(2a2b+7abab2)

Answer

3a2b+11ab4ab2d

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=ab Subtraction means add the opposite. 

Thus, (a+b)=ab. 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)=ab

Let’s look at this principle in the next example.

Example 5.4.4

Simplify: (3x2+4x8)

Solution

First, negating is equivalent to multiplying by 1. Then distribute the 1.

(3x2+4x8)=(1)(3x2+4x8)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=3x24x+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+4x8)=3x24x+8simply changing the sign of each term inside the parentheses.

Exercise 5.4.4

Simplify: (2x23x+9)

Answer

2x2+3x9

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: (y33y2z+4yz2+z3)(2y38y2z+2yz28z3)

Solution

First, distribute the minus sign, changing the sign of each term of the second polynomial.

(y33y2z+4yz2+z3)(2y38y2z+2yz28z3)=y33y2z+4yz2+z32y3+8y2z2yz2+8z3

Regroup, combining like terms. You may perform this next step mentally if you wish.

=(y32y3)+(3y2z+8y2z)+(4yz22yz2)+(z3+8z3)=y3+5y2z+2yz2+9z3

Exercise 5.4.5

Simplify: (4a2b+2ab7ab2)(2a2bab5ab2)

Answer

2a2b+3ab2ab2

Let’s subtract two polynomial functions.

Example 5.4.6

Given p(x)=5x3+6x9 and q(x)=6x27x11, 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+6x9)(6x27x11)

Distribute the minus sign, changing the sign of each term in the second polynomial, then regroup and combine like terms.

=5x3+6x96x2+7x+11=5x36x2+(6x+7x)+(9+11)=5x36x2+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+6x9)(6x27x11)=5x3+6x96x2+7x+11=5x36x2+13x+2

Exercise 5.4.6

Given f(x)=3x2+9x4 and g(x)=5x2+4x6, 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).

fig 5.4.1.png
Figure 5.4.1: Area formulae for the rectangle and square.

Example 5.4.7

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

fig 5.4.2.png
Figure 5.4.2: Find the sum of the parts.

Solution

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

fig 5.4.3.png
Figure 5.4.3: Finding the area of each of the four parts.

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.

Ex 5.4.7.png
Figure 5.4.4
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+3x0.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+3x0.02x2)
Distribute the minus sign and combine like terms.

=2.75x1003x+0.02x2=0.02x20.25x100

Thus, the profit function is P(x)=0.02x20.25x100.

Next, to determine the profit if 123 wicker baskets are sold, substitute 123 for x in the profit function P(x).

P(x)=0.02x20.25x100P(123)=0.02(123)20.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.

fig 5.4.5.png
Figure 5.4.5: Determining the profit from selling 123 wicker baskets.

Exercise 5.4.8

The costs for producing and selling x widgets are given by the polynomial function C(x)=50+5x0.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


This page titled 5.4: Adding and Subtracting Polynomials is shared under a CC BY-NC-ND 3.0 license and was authored, remixed, and/or curated by David Arnold via source content that was edited to the style and standards of the LibreTexts platform.

  • Was this article helpful?

Support Center

How can we help?