Recall that we combine like terms, or terms with the same variable part, as a means to simplify expressions. To do this, add the coefficients of the terms to obtain a single term with the same variable part. For example,
\[5x^{2}+8x^{2}=13x^{2}\]
Notice that the variable part, \(x^{2}\), does not change. This, in addition to the commutative and associative properties of addition, allows us to add polynomials.
Example \(\PageIndex{1}\)
Add:
\(3x+(4x−5)\).
Solution:
The property \(+(a+b)=a+b\), which was derived using the distributive property, allows us to remove the parentheses so that we can add like terms.
Answer:
\(7x-5\)
Example \(\PageIndex{2}\)
Add:
\((3x^{2}+3x+5)+(2x^{2}−x−2)\).
Solution:
Remove the parentheses and then combine like terms.
Answer:
\(5x^{2}+2x+3\)
Example \(\PageIndex{3}\)
Add:
\((−5x^{2}y−2xy^{2}+7xy)+(4x^{2}y+7xy^{2}−3xy)\).
Solution:
Remember that the variable parts have to be exactly the same before we can add the coefficients.
It is common practice to present the terms of the simplified polynomial expression in descending order based on their degree. In other words, we typically present polynomials in standard form, with terms in order from highest to lowest degree.
When subtracting polynomials, we see that the parentheses become very important. Recall that the distributive property allowed us to derive the following:
\[-(a+b)=-a-b\]
In other words, when subtracting an algebraic expression, we remove the parentheses by subtracting each term.
Example \(\PageIndex{5}\)
Subtract:
\(10x−(3x+5)\).
Solution:
Subtract each term within the parentheses and then combine like terms.
Answer:
\(7x-5\)
Subtracting a quantity is equivalent to multiplying it by \(−1\).
Example \(\PageIndex{6}\)
Subtract:
\((3x^{2}+3x+5)−(2x^{2}−x−2)\).
Solution:
Distribute the \(−1\), remove the parentheses, and then combine like terms.
Answer:
\(x^{2}+4x+7\)
Multiplying the terms of a polynomial by \(−1\) changes all the signs.
Example \(\PageIndex{7}\)
Subtract:
\((−5x^{3}−2x^{2}+7)−(4x^{3}+7x^{2}−3x+2)\).
Solution:
Distribute the \(−1\), remove the parentheses, and then combine like terms.
Answer:
\(-9x^{3}-9x^{2}+3x+5\)
Example \(\PageIndex{8}\)
Subtract \(6x^{2}−3x−1\) from \(2x^{2}+5x−2\).
Solution
Since subtraction is not commutative, we must take care to set up the difference correctly. First, write the quantity \((2x^{2}+5x−2)\); from this, subtract the quantity \((6x^{2}−3x−1)\).
Answer:
\(-4x^{2}+8x-1\)
Example \(\PageIndex{9}\)
Simplify:
\((2x^{2}−3x+5)−(x^{2}−3x+1)+(5x^{2}−4x−8)\).
Solution:
Apply the distributive property, remove the parentheses, and then combine like terms.
Answer:
\(6x^{2}-4x-4\)
Exercise \(\PageIndex{2}\)
Subtract:
\((8x^{2}y−5xy^{2}+6)−(x^{2}y+2xy^{2}−1)\).
Answer
\(7x^{2}y-7xy^{2}+7\)
Adding and Subtracting Polynomial Functions
We use function notation to indicate addition and subtraction of functions as follows:
Addition of functions:
\((f+g)(x)=f(x)+g(x)\)
Subtraction of functions:
\((f-g)(x)=f(x)-g(x)\)
Table \(\PageIndex{1}\)
When using function notation, be careful to group the entire function and add or subtract accordingly.
Example \(\PageIndex{10}\)
Calculate:
\((f+g)(x)\), given \(f(x)=−x^{2}−3x+5\) and \(g(x)=3x^{2}+2x+1\).
Solution:
The notation \((f+g)(x)\) indicates that you should add the functions \(f(x)+g(x)\) and collect like terms.
\((f−g)(x)\), given \(f(x)=2x−3\) and \(g(x)=−2x^{2}+2x+5\).
Solution:
The notation \((f−g)(x)\) indicates that you should subtract the functions \(f(x)−g(x)\):
Answer:
\((f-g)(x)=2x^{2}-8\)
We may be asked to evaluate the sum or difference of two functions. We have the option to first find the sum or difference and use the resulting function to evaluate for the given variable, or to first evaluate each function and then find the sum or difference.
Example \(\PageIndex{12}\)
Calculate:
\((f−g)(5)\), given \(f(x)=x^{2}+x−7\) and \(g(x)=4x+10\).
Solution:
First, find \((f−g)(x)=f(x)−g(x)\).
Therefore,
\((f-g)(x)=x^{2}-3x-17\)
Next, substitute \(5\) for the variable \(x\).
Answer:
\((f-g)(5)=-7\)
Alternate Solution:
Since \((f−g)(5)=f(5)−g(5)\), we can find \(f(5)\) and \(g(5)\) and then subtract the results.
Find the difference of \(2x^{2}+3x−5\) and \(x^{2}−9\).
The cost in dollars of producing customized coffee mugs with a company logo is given by the formula \(C=150+0.10x\), where \(x\) is the number of cups produced. The revenue from selling the cups in the company store is given by \(R=10x−0.05x^{2}\), where \(x\) is the number of units sold.
Find a formula for the profit. (profit = revenue − cost)
Find the profit from producing and selling 100 mugs in the company store.
The cost in dollars of producing sweat shirts is given by the formula \(C=10q+1200\), where \(C\) is the cost and \(q\) represents the quantity produced. The revenue generated by selling the sweat shirts for $\(37\) each is given by \(R=37q\), where \(q\) represents the quantity sold. Determine the profit generated if \(125\) sweat shirts are produced and sold.
The outer radius of a washer is \(3\) times the radius of the hole.
Figure \(\PageIndex{2}\)
a. Derive a formula for the area of the face of the washer.
b. What is the area of the washer if the hole has a diameter of \(10\) millimeters?
Derive a formula for the surface area of the following rectangular solid.
Figure \(\PageIndex{3}\)
Answer
1. \(3x−2\)
3. \(−\frac{1}{2}x−\frac{7}{8}\)
5. \(−3x^{2}+12x−6\)
7. \(−3x^{3}+x^{2}−18\)
9. \(\frac{2}{9}x^{2}−\frac{1}{10}x−\frac{8}{9}\)
11. \(2a^{3}+5a^{2}+a−10\)
13. \(5x^{4}+4x^{3}+x^{2}+2x+1\)
15. \(−x^{2}y^{2}−xy+14\)
17. \(7x^{2}+6xy−15y^{2}\)
19. \(4a^{2}b+3ab^{2}−6ab\)
21. \(2x−10\)
23. \(−5x−13 \)
25. a. \(P=−0.05x^{2}+9.9x−150\); b. $\(340\)
27. a. \(A=8πr^{2}\); b. \(628.32\) square millimeters
Exercise \(\PageIndex{5}\) Addition and Subtraction of Polynomial