## Polynomials

### Learning Objectives

In this section students will:

• Identify the degree and leading coefficient of polynomials.
• Multiply polynomials.
• Use FOIL to multiply binomials.
• Perform operations with polynomials of several variables.

Earl is building a doghouse, whose front is in the shape of a square topped with a triangle. There will be a rectangular door through which the dog can enter and exit the house. Earl wants to find the area of the front of the doghouse so that he can purchase the correct amount of paint. Using the measurements of the front of the house, shown in (Figure), we can create an expression that combines several variable terms, allowing us to solve this problem and others like it.

Figure 1.

First find the area of the square in square feet.

$\begin{array}{ccc}\hfill A& =& {s}^{2}\hfill \\ & =& {\left(2x\right)}^{2}\hfill \\ & =& 4{x}^{2}\hfill \end{array}$

Then find the area of the triangle in square feet.

$\begin{array}{ccc}\hfill A& =& \frac{1}{2}bh\hfill \\ & =& \text{ }\frac{1}{2}\left(2x\right)\left(\frac{3}{2}\right)\hfill \\ & =& \text{ }\frac{3}{2}x\hfill \end{array}$

Next find the area of the rectangular door in square feet.

$\begin{array}{ccc}\hfill A& =& lw\hfill \\ & =& x\cdot 1\hfill \\ \hfill & =& x\hfill \end{array}$

The area of the front of the doghouse can be found by adding the areas of the square and the triangle, and then subtracting the area of the rectangle. When we do this, we get$\,4{x}^{2}+\frac{3}{2}x-x\,{\text{ft}}^{2},$or$\,4{x}^{2}+\frac{1}{2}x\,$ft2.

In this section, we will examine expressions such as this one, which combine several variable terms.

### Identifying the Degree and Leading Coefficient of Polynomials

The formula just found is an example of a polynomial, which is a sum of or difference of terms, each consisting of a variable raised to a nonnegative integer power. A number multiplied by a variable raised to an exponent, such as$\,384\pi ,$is known as a coefficient. Coefficients can be positive, negative, or zero, and can be whole numbers, decimals, or fractions. Each product$\,{a}_{i}{x}^{i},$such as$\,384\pi w,$is a term of a polynomial. If a term does not contain a variable, it is called a constant.

A polynomial containing only one term, such as$\,5{x}^{4},$is called a monomial. A polynomial containing two terms, such as$\,2x-9,$is called a binomial. A polynomial containing three terms, such as$\,-3{x}^{2}+8x-7,$is called a trinomial.

We can find the degree of a polynomial by identifying the highest power of the variable that occurs in the polynomial. The term with the highest degree is called the leading term because it is usually written first. The coefficient of the leading term is called the leading coefficient. When a polynomial is written so that the powers are descending, we say that it is in standard form.

### Polynomials

A polynomial is an expression that can be written in the form

${a}_{n}{x}^{n}+…+{a}_{2}{x}^{2}+{a}_{1}x+{a}_{0}$

Each real number aiis called a coefficient. The number$\,{a}_{0}\,$that is not multiplied by a variable is called a constant. Each product$\,{a}_{i}{x}^{i}\,$is a term of a polynomial. The highest power of the variable that occurs in the polynomial is called the degree of a polynomial. The leading term is the term with the highest power, and its coefficient is called the leading coefficient.

### How To

Given a polynomial expression, identify the degree and leading coefficient.

1. Find the highest power of x to determine the degree.
2. Identify the term containing the highest power of x to find the leading term.
3. Identify the coefficient of the leading term.

### Identifying the Degree and Leading Coefficient of a Polynomial

For the following polynomials, identify the degree, the leading term, and the leading coefficient.

1. $3+2{x}^{2}-4{x}^{3}$
2. $5{t}^{5}-2{t}^{3}+7t$
3. $6p-{p}^{3}-2$

### Try It

Identify the degree, leading term, and leading coefficient of the polynomial$\,4{x}^{2}-{x}^{6}+2x-6.$

We can add and subtract polynomials by combining like terms, which are terms that contain the same variables raised to the same exponents. For example,$\,5{x}^{2}\,$and$\,-2{x}^{2}\,$are like terms, and can be added to get$\,3{x}^{2},$but$\,3x\,$and$\,3{x}^{2}\,$are not like terms, and therefore cannot be added.

### How To

Given multiple polynomials, add or subtract them to simplify the expressions.

1. Combine like terms.
2. Simplify and write in standard form.

Find the sum.

$\left(12{x}^{2}+9x-21\right)+\left(4{x}^{3}+8{x}^{2}-5x+20\right)$

#### Analysis

We can check our answers to these types of problems using a graphing calculator. To check, graph the problem as given along with the simplified answer. The two graphs should be equivalent. Be sure to use the same window to compare the graphs. Using different windows can make the expressions seem equivalent when they are not.

### Try It

Find the sum.

$\left(2{x}^{3}+5{x}^{2}-x+1\right)+\left(2{x}^{2}-3x-4\right)$

### Subtracting Polynomials

Find the difference.

$\left(7{x}^{4}-{x}^{2}+6x+1\right)-\left(5{x}^{3}-2{x}^{2}+3x+2\right)$

#### Analysis

Note that finding the difference between two polynomials is the same as adding the opposite of the second polynomial to the first.

### Try It

Find the difference.

$\left(-7{x}^{3}-7{x}^{2}+6x-2\right)-\left(4{x}^{3}-6{x}^{2}-x+7\right)$

### Multiplying Polynomials

Multiplying polynomials is a bit more challenging than adding and subtracting polynomials. We must use the distributive property to multiply each term in the first polynomial by each term in the second polynomial. We then combine like terms. We can also use a shortcut called the FOIL method when multiplying binomials. Certain special products follow patterns that we can memorize and use instead of multiplying the polynomials by hand each time. We will look at a variety of ways to multiply polynomials.

#### Multiplying Polynomials Using the Distributive Property

To multiply a number by a polynomial, we use the distributive property. The number must be distributed to each term of the polynomial. We can distribute the$\,2\,$in$\,2\left(x+7\right)\,$to obtain the equivalent expression$\,2x+14.\,$When multiplying polynomials, the distributive property allows us to multiply each term of the first polynomial by each term of the second. We then add the products together and combine like terms to simplify.

### How To

Given the multiplication of two polynomials, use the distributive property to simplify the expression.

1. Multiply each term of the first polynomial by each term of the second.
2. Combine like terms.
3. Simplify.

### Multiplying Polynomials Using the Distributive Property

Find the product.

$\left(2x+1\right)\left(3{x}^{2}-x+4\right)$

#### Analysis

We can use a table to keep track of our work, as shown in (Figure). Write one polynomial across the top and the other down the side. For each box in the table, multiply the term for that row by the term for that column. Then add all of the terms together, combine like terms, and simplify.

 $3{x}^{2}$ $-x$ $+4$ $2x$ $6{x}^{3}$ $-2{x}^{2}$ $8x$ $+1$ $3{x}^{2}$ $-x$ $4$

### Try It

Find the product.

$\left(3x+2\right)\left({x}^{3}-4{x}^{2}+7\right)$

#### Using FOIL to Multiply Binomials

A shortcut called FOIL is sometimes used to find the product of two binomials. It is called FOIL because we multiply the first terms, the outer terms, the inner terms, and then the last terms of each binomial.

The FOIL method arises out of the distributive property. We are simply multiplying each term of the first binomial by each term of the second binomial, and then combining like terms.

### How To

Given two binomials, use FOIL to simplify the expression.

1. Multiply the first terms of each binomial.
2. Multiply the outer terms of the binomials.
3. Multiply the inner terms of the binomials.
4. Multiply the last terms of each binomial.
6. Combine like terms and simplify.

### Using FOIL to Multiply Binomials

Use FOIL to find the product.

$\left(2x-18\right)\left(3x+3\right)$

### Try It

Use FOIL to find the product.

$\left(x+7\right)\left(3x-5\right)$

#### Perfect Square Trinomials

Certain binomial products have special forms. When a binomial is squared, the result is called a perfect square trinomial. We can find the square by multiplying the binomial by itself. However, there is a special form that each of these perfect square trinomials takes, and memorizing the form makes squaring binomials much easier and faster. Let’s look at a few perfect square trinomials to familiarize ourselves with the form.

$\begin{array}{ccc}\hfill \text{ }{\left(x+5\right)}^{2}& =& {x}^{2}+10x+25\hfill \\ \hfill {\left(x-3\right)}^{2}& =& \text{ }{x}^{2}-6x+9\hfill \\ \hfill {\left(4x-1\right)}^{2}& =& 16{x}^{2}-8x+1\hfill \end{array}$

Notice that the first term of each trinomial is the square of the first term of the binomial and, similarly, the last term of each trinomial is the square of the last term of the binomial. The middle term is double the product of the two terms. Lastly, we see that the first sign of the trinomial is the same as the sign of the binomial.

### Perfect Square Trinomials

When a binomial is squared, the result is the first term squared added to double the product of both terms and the last term squared.

${\left(x+a\right)}^{2}=\left(x+a\right)\left(x+a\right)={x}^{2}+2ax+{a}^{2}$

### How To

Given a binomial, square it using the formula for perfect square trinomials.

1. Square the first term of the binomial.
2. Square the last term of the binomial.
3. For the middle term of the trinomial, double the product of the two terms.

### Expanding Perfect Squares

Expand$\,{\left(3x-8\right)}^{2}.$

Simplify

$\,9{x}^{2}-48x+64.$

### Try It

Expand $\,{\left(4x-1\right)}^{2}.$

#### Difference of Squares

Another special product is called the difference of squares, which occurs when we multiply a binomial by another binomial with the same terms but the opposite sign. Let’s see what happens when we multiply$\,\left(x+1\right)\left(x-1\right)\,$using the FOIL method.

$\begin{array}{ccc}\hfill \left(x+1\right)\left(x-1\right)& =& {x}^{2}-x+x-1\hfill \\ & =& {x}^{2}-1\hfill \end{array}$

The middle term drops out, resulting in a difference of squares. Just as we did with the perfect squares, let’s look at a few examples.

$\begin{array}{ccc}\hfill \left(x+5\right)\left(x-5\right)& =& {x}^{2}-25\hfill \\ \hfill \left(x+11\right)\left(x-11\right)& =& {x}^{2}-121\hfill \\ \hfill \left(2x+3\right)\left(2x-3\right)& =& 4{x}^{2}-9\hfill \end{array}$

Because the sign changes in the second binomial, the outer and inner terms cancel each other out, and we are left only with the square of the first term minus the square of the last term.

Is there a special form for the sum of squares?

No. The difference of squares occurs because the opposite signs of the binomials cause the middle terms to disappear. There are no two binomials that multiply to equal a sum of squares.

### Difference of Squares

When a binomial is multiplied by a binomial with the same terms separated by the opposite sign, the result is the square of the first term minus the square of the last term.

$\left(a+b\right)\left(a-b\right)={a}^{2}-{b}^{2}$

### How To

Given a binomial multiplied by a binomial with the same terms but the opposite sign, find the difference of squares.

1. Square the first term of the binomials.
2. Square the last term of the binomials.
3. Subtract the square of the last term from the square of the first term.

### Multiplying Binomials Resulting in a Difference of Squares

Multiply$\,\left(9x+4\right)\left(9x-4\right).$

### Try It

Multiply$\,\left(2x+7\right)\left(2x-7\right).$

### Performing Operations with Polynomials of Several Variables

We have looked at polynomials containing only one variable. However, a polynomial can contain several variables. All of the same rules apply when working with polynomials containing several variables. Consider an example:

$\begin{array}{cc}\left(a+2b\right)\left(4a-b-c\right)\hfill & \hfill \\ a\left(4a-b-c\right)+2b\left(4a-b-c\right)\hfill & \phantom{\rule{2em}{0ex}}\text{Use the distributive property}.\hfill \\ 4{a}^{2}-ab-ac+8ab-2{b}^{2}-2bc\hfill & \phantom{\rule{2em}{0ex}}\text{Multiply}.\hfill \\ 4{a}^{2}+\left(-ab+8ab\right)-ac-2{b}^{2}-2bc\hfill & \phantom{\rule{2em}{0ex}}\text{Combine like terms}.\hfill \\ 4{a}^{2}+7ab-ac-2bc-2{b}^{2}\hfill & \phantom{\rule{2em}{0ex}}\text{Simplify}.\hfill \end{array}$

### Multiplying Polynomials Containing Several Variables

Multiply$\,\left(x+4\right)\left(3x-2y+5\right).$

### Try It

Multiply $\left(3x-1\right)\left(2x+7y-9\right).$

Access these online resources for additional instruction and practice with polynomials.

### Key Equations

 perfect square trinomial ${\left(x+a\right)}^{2}=\left(x+a\right)\left(x+a\right)={x}^{2}+2ax+{a}^{2}$ difference of squares $\left(a+b\right)\left(a-b\right)={a}^{2}-{b}^{2}$

### Key Concepts

• A polynomial is a sum of terms each consisting of a variable raised to a non-negative integer power. The degree is the highest power of the variable that occurs in the polynomial. The leading term is the term containing the highest degree, and the leading coefficient is the coefficient of that term. See (Figure).
• We can add and subtract polynomials by combining like terms. See (Figure) and (Figure).
• To multiply polynomials, use the distributive property to multiply each term in the first polynomial by each term in the second. Then add the products. See (Figure).
• FOIL (First, Outer, Inner, Last) is a shortcut that can be used to multiply binomials. See (Figure).
• Perfect square trinomials and difference of squares are special products. See (Figure) and (Figure).
• Follow the same rules to work with polynomials containing several variables. See (Figure).

### Section Exercises

#### Verbal

Evaluate the following statement: The degree of a polynomial in standard form is the exponent of the leading term. Explain why the statement is true or false.

Many times, multiplying two binomials with two variables results in a trinomial. This is not the case when there is a difference of two squares. Explain why the product in this case is also a binomial.

You can multiply polynomials with any number of terms and any number of variables using four basic steps over and over until you reach the expanded polynomial. What are the four steps?

State whether the following statement is true and explain why or why not: A trinomial is always a higher degree than a monomial.

#### Algebraic

For the following exercises, identify the degree of the polynomial.

$7x-2{x}^{2}+13$

$14{m}^{3}+{m}^{2}-16m+8$

$-625{a}^{8}+16{b}^{4}$

$200p-30{p}^{2}m+40{m}^{3}$

${x}^{2}+4x+4$

$6{y}^{4}-{y}^{5}+3y-4$

For the following exercises, find the sum or difference.

$\left(12{x}^{2}+3x\right)-\left(8{x}^{2}-19\right)$

$\left(4{z}^{3}+8{z}^{2}-z\right)+\left(-2{z}^{2}+z+6\right)$

$\left(6{w}^{2}+24w+24\right)-\left(3w{}^{2}-6w+3\right)$

$\left(7{a}^{3}+6{a}^{2}-4a-13\right)+\left(-3{a}^{3}-4{a}^{2}+6a+17\right)$

$\left(11{b}^{4}-6{b}^{3}+18{b}^{2}-4b+8\right)-\left(3{b}^{3}+6{b}^{2}+3b\right)$

$\left(49{p}^{2}-25\right)+\left(16{p}^{4}-32{p}^{2}+16\right)$

For the following exercises, find the product.

$\left(4x+2\right)\left(6x-4\right)$

$\left(14{c}^{2}+4c\right)\left(2{c}^{2}-3c\right)$

$\left(6{b}^{2}-6\right)\left(4{b}^{2}-4\right)$

$\left(3d-5\right)\left(2d+9\right)$

$\left(9v-11\right)\left(11v-9\right)$

$\left(4{t}^{2}+7t\right)\left(-3{t}^{2}+4\right)$

$\left(8n-4\right)\left({n}^{2}+9\right)$

For the following exercises, expand the binomial.

${\left(4x+5\right)}^{2}$

${\left(3y-7\right)}^{2}$

${\left(12-4x\right)}^{2}$

${\left(4p+9\right)}^{2}$

${\left(2m-3\right)}^{2}$

${\left(3y-6\right)}^{2}$

${\left(9b+1\right)}^{2}$

For the following exercises, multiply the binomials.

$\left(4c+1\right)\left(4c-1\right)$

$\left(9a-4\right)\left(9a+4\right)$

$\left(15n-6\right)\left(15n+6\right)$

$\left(25b+2\right)\left(25b-2\right)$

$\left(4+4m\right)\left(4-4m\right)$

$\left(14p+7\right)\left(14p-7\right)$

$\left(11q-10\right)\left(11q+10\right)$

For the following exercises, multiply the polynomials.

$\left(2{x}^{2}+2x+1\right)\left(4x-1\right)$

$\left(4{t}^{2}+t-7\right)\left(4{t}^{2}-1\right)$

$\left(x-1\right)\left({x}^{2}-2x+1\right)$

$\left(y-2\right)\left({y}^{2}-4y-9\right)$

$\left(6k-5\right)\left(6{k}^{2}+5k-1\right)$

$\left(3{p}^{2}+2p-10\right)\left(p-1\right)$

$\left(4m-13\right)\left(2{m}^{2}-7m+9\right)$

$\left(a+b\right)\left(a-b\right)$

$\left(4x-6y\right)\left(6x-4y\right)$

${\left(4t-5u\right)}^{2}$

$\left(9m+4n-1\right)\left(2m+8\right)$

$\left(4t-x\right)\left(t-x+1\right)$

$\left({b}^{2}-1\right)\left({a}^{2}+2ab+{b}^{2}\right)$

$\left(4r-d\right)\left(6r+7d\right)$

$\left(x+y\right)\left({x}^{2}-xy+{y}^{2}\right)$

#### Real-World Applications

A developer wants to purchase a plot of land to build a house. The area of the plot can be described by the following expression:$\,\left(4x+1\right)\left(8x-3\right)\,$where x is measured in meters. Multiply the binomials to find the area of the plot in standard form.

A prospective buyer wants to know how much grain a specific silo can hold. The area of the floor of the silo is$\,{\left(2x+9\right)}^{2}.\,$The height of the silo is$\,10x+10,$where x is measured in feet. Expand the square and multiply by the height to find the expression that shows how much grain the silo can hold.

#### Extensions

For the following exercises, perform the given operations.

${\left(4t-7\right)}^{2}\left(2t+1\right)-\left(4{t}^{2}+2t+11\right)$

$\left(3b+6\right)\left(3b-6\right)\left(9{b}^{2}-36\right)$

$\left({a}^{2}+4ac+4{c}^{2}\right)\left({a}^{2}-4{c}^{2}\right)$

### Glossary

binomial
a polynomial containing two terms
coefficient
any real number$\,{a}_{i}\,$in a polynomial in the form$\,{a}_{n}{x}^{n}+…+{a}_{2}{x}^{2}+{a}_{1}x+{a}_{0}$
degree
the highest power of the variable that occurs in a polynomial
difference of squares
the binomial that results when a binomial is multiplied by a binomial with the same terms, but the opposite sign
any$\,{a}_{i}{x}^{i}\,$of a polynomial in the form$\,{a}_{n}{x}^{n}+…+{a}_{2}{x}^{2}+{a}_{1}x+{a}_{0}$