
# 5.3: Multiply Polynomials


##### Learning Objectives

By the end of this section, you will be able to:

• Multiply monomials
• Multiply a polynomial by a monomial
• Multiply a binomial by a binomial
• Multiply a polynomial by a polynomial
• Multiply special products
• Multiply polynomial functions

Before you get started, take this readiness quiz.

1. Distribute: $$2(x+3)$$.
If you missed this problem, review [link].
2. Simplify: a. $$9^2$$ b. $$(−9)^2$$ c. $$−9^2$$.
If you missed this problem, review [link].
3. Evaluate: $$2x^2−5x+3$$ for $$x=−2$$.
If you missed this problem, review [link].

## Multiply Monomials

We are ready to perform operations on polynomials. Since monomials are algebraic expressions, we can use the properties of exponents to multiply monomials.

##### Example $$\PageIndex{1}$$

Multiply:

1. $$(3x^2)(−4x^3)$$
2. $$\left(\frac{5}{6}x^3y\right)(12xy^2).$$

$$\begin{array} {ll} {} &{(3x^2)(−4x^3)} \\ {\text{Use the Commutative Property to rearrange the terms.}} &{3·(−4)·x^2·x^3} \\ {\text{}} &{−12x^5} \\ \end{array}$$

$$\begin{array} {ll} {} &{\left(\frac{5}{6}x^3y\right)(12xy^2)} \\ {\text{Use the Commutative Property to rearrange the terms.}} &{\frac{5}{6}·12·x^3·x·y·y^2} \\ {\text{Multiply.}} &{10x^4y^3} \\ \end{array}$$

##### Example $$\PageIndex{2}$$

Multiply:

1. $$(5y^7)(−7y^4)$$
2. $$(25a^4b^3)(15ab^3)$$

$$−35y^{11}$$

$$375 a^5b^6$$

##### Example $$\PageIndex{3}$$

Multiply:

1. $$(−6b^4)(−9b^5)$$
2. $$(23r^5s)(12r^6s^7).$$

$$54b^9$$

$$276 r^{11}s^8$$

## Multiply a Polynomial by a Monomial

Multiplying a polynomial by a monomial is really just applying the Distributive Property.

##### Example $$\PageIndex{4}$$

Multiply:

1. $$−2y(4y^2+3y−5)$$
2. $$3x^3y(x^2−8xy+y^2)$$.
 Distribute. Multiply.

$$\begin{array} {ll} {} &{3x^3y(x^2−8xy+y^2)} \\ {\text{Distribute.}} &{3x^3y⋅x^2+(3x^3y)⋅(−8xy)+(3x^3y)⋅y^2} \\ {\text{Multiply.}} &{3x^5y−24x^4y^2+3x^3y^3} \\ \end{array}$$

##### Example $$\PageIndex{5}$$

Multiply:

1. $$-3y(5y^2+8y^{7})$$
2. $$4x^2y^2(3x^2−5xy+3y^2)$$

$$−15y^3−24y^8$$

$$12x^4y^2−20x^3y^3+12x^2y^4$$

##### Example $$\PageIndex{6}$$

Multiply:

1. $$4x^2(2x^2−3x+5)$$
2. $$−6a^3b(3a^2−2ab+6b^2)$$

$$8x^4−12x^3+20x^2$$

$$−18a^5b+12a^4b^2−36a^3b^3$$

## Multiply a Binomial by a Binomial

Just like there are different ways to represent multiplication of numbers, there are several methods that can be used to multiply a binomial times a binomial. We will start by using the Distributive Property.

##### Example $$\PageIndex{7}$$

Multiply:

1. $$(y+5)(y+8)$$
2. $$(4y+3)(2y−5)$$.

 Distribute $$(y+8)$$. Distribute again. Combine like terms.

 Distribute. Distribute again. Combine like terms.
##### Example $$\PageIndex{8}$$

Multiply:

1. $$(x+8)(x+9)$$
2. $$(3c+4)(5c−2)$$.

$$x^2+17x+72$$

$$15c^2+14c−8$$

##### Example $$\PageIndex{9}$$

Multiply:

1. $$(5x+9)(4x+3)$$
2. $$(5y+2)(6y−3)$$.

$$20x^2+51x+27$$

$$30y^2−3y−6$$

If you multiply binomials often enough you may notice a pattern. Notice that the first term in the result is the product of the first terms in each binomial. The second and third terms are the product of multiplying the two outer terms and then the two inner terms. And the last term results from multiplying the two last terms,

We abbreviate “First, Outer, Inner, Last” as FOIL. The letters stand for ‘First, Outer, Inner, Last’. We use this as another method of multiplying binomials. The word FOIL is easy to remember and ensures we find all four products.

Let’s multiply $$(x+3)(x+7)$$ using both methods.

We summarize the steps of the FOIL method below. The FOIL method only applies to multiplying binomials, not other polynomials!

##### DEFINITION: USE THE FOIL METHOD TO MULTIPLY TWO BINOMIALS.

When you multiply by the FOIL method, drawing the lines will help your brain focus on the pattern and make it easier to apply.

Now we will do an example where we use the FOIL pattern to multiply two binomials.

##### Example $$\PageIndex{10}$$

Multiply:

1. $$(y−7)(y+4)$$
2. $$(4x+3)(2x−5)$$.

a.

b.

##### Exercise $$\PageIndex{11}$$

Multiply:

1. $$(x−7)(x+5)$$
2. $$(3x+7)(5x−2)$$.

a. $$x^2−2x−35$$
b. $$15x^2+29x−14$$

##### Exercise $$\PageIndex{12}$$

Multiply:

1. $$(b−3)(b+6)$$
2. $$(4y+5)(4y−10)$$.

a. $$b^2+3b−18$$
b. $$16y^2−20y−50$$

The final products in the last example were trinomials because we could combine the two middle terms. This is not always the case.

##### Example $$\PageIndex{13}$$

Multiply:

1. $$(n^2+4)(n−1)$$
2. $$(3pq+5)(6pq−11)$$.

a.

 Step 1. Multiply the First terms. Step 2. Multiply the Outer terms. Step 3. Multiply the Inner terms. Step 4. Multiply the Last terms. Step 5. Combine like terms—there are none.

b.

 Step 1. Multiply the First terms. Step 2. Multiply the Outer terms. Step 3. Multiply the Inner terms. Step 4. Multiply the Last terms. Step 5. Combine like terms.
##### Example $$\PageIndex{14}$$

Multiply:

1. $$(x^2+6)(x−8)$$
2. $$(2ab+5)(4ab−4)$$.

a. $$x^3−8x^2+6x−48$$
b. $$8a^2b^2+12ab−20$$

##### Example $$\PageIndex{15}$$

Multiply:

1. $$(y^2+7)(y−9)$$
2. $$(2xy+3)(4xy−5)$$.

a. $$y^3−9y^2+7y−63$$
b. $$8x^2y^2+2xy−15$$

The FOIL method is usually the quickest method for multiplying two binomials, but it only works for binomials. You can use the Distributive Property to find the product of any two polynomials. Another method that works for all polynomials is the Vertical Method. It is very much like the method you use to multiply whole numbers. Look carefully at this example of multiplying two-digit numbers.

Now we’ll apply this same method to multiply two binomials.

##### Example $$\PageIndex{16}$$

Multiply using the Vertical Method: $$(3y−1)(2y−6)$$.

It does not matter which binomial goes on the top.

\begin{align*} & & &\quad\; \;\;3y - 1\4pt] & & &\underline{\quad \times \;2y-6}\\[4pt] &\text{Multiply }3y-1\text{ by }-6. & &\quad -18y + 6 & & \text{partial product}\\[4pt] &\text{Multiply }3y-1\text{ by }2y. & & \underline{6y^2 - 2y} & & \text{partial product}\\[4pt] &\text{Add like terms.} & & 6y^2 - 20y + 6 \end{align*} Notice the partial products are the same as the terms in the FOIL method. ##### Example $$\PageIndex{17}$$ Multiply using the Vertical Method: $$(5m−7)(3m−6)$$. Answer $$15m^2−51m+42$$ ##### Example $$\PageIndex{18}$$ Multiply using the Vertical Method: $$(6b−5)(7b−3)$$. Answer $$42b^2−53b+15$$ We have now used three methods for multiplying binomials. Be sure to practice each method, and try to decide which one you prefer. The methods are listed here all together, to help you remember them. ##### DEFINITION: MULTIPLYING TWO BINOMIALS To multiply binomials, use the: • Distributive Property • FOIL Method • Vertical Method ## Multiply a Polynomial by a Polynomial We have multiplied monomials by monomials, monomials by polynomials, and binomials by binomials. Now we’re ready to multiply a polynomial by a polynomial. Remember, FOIL will not work in this case, but we can use either the Distributive Property or the Vertical Method. ##### Example $$\PageIndex{19}$$ Multiply $$(b+3)(2b^2−5b+8)$$ using ⓐ the Distributive Property and ⓑ the Vertical Method. Answer a.  Distribute. Multiply. Combine like terms. b. It is easier to put the polynomial with fewer terms on the bottom because we get fewer partial products this way.  Multiply $$(2b^2−5b+8)$$ by 3. Multiply $$(2b^2−5b+8)$$ by $$b$$. Add like terms. ##### Example $$\PageIndex{20}$$ Multiply $$(y−3)(y^2−5y+2)$$ using ⓐ the Distributive Property and ⓑ the Vertical Method. Answer a. $$y^3−8y^2+17y−6$$ b. $$y^3−8y^2+17y−6$$ ##### Example $$\PageIndex{21}$$ Multiply $$(x+4)(2x^2−3x+5)$$ using a) the Distributive Property and b) The Vertical Method. Answer a. and b. $$2x^3+5x^2−7x+20$$ We have now seen two methods you can use to multiply a polynomial by a polynomial. After you practice each method, you’ll probably find you prefer one way over the other. We list both methods are listed here, for easy reference. ##### DEFINITION: MULTIPLYING A POLYNOMIAL BY A POLYNOMIAL To multiply a trinomial by a binomial, use the: • Distributive Property • Vertical Method ## Multiply Special Products Mathematicians like to look for patterns that will make their work easier. A good example of this is squaring binomials. While you can always get the product by writing the binomial twice and multiplying them, there is less work to do if you learn to use a pattern. Let’s start by looking at three examples and look for a pattern. Look at these results. Do you see any patterns? What about the number of terms? In each example we squared a binomial and the result was a trinomial. \[(a+b)^2=\text{___}+\text{___}+\text{___} \nonumber

Now look at the first term in each result. Where did it come from?

The first term is the product of the first terms of each binomial. Since the binomials are identical, it is just the square of the first term!

$(a+b)^2=a^2+\text{___}+\text{___} \nonumber$

To get the first term of the product, square the first term.

Where did the last term come from? Look at the examples and find the pattern.

The last term is the product of the last terms, which is the square of the last term.

$(a+b)^2=\text{___}+\text{___}+b^2 \nonumber$

To get the last term of the product, square the last term.

Finally, look at the middle term. Notice it came from adding the “outer” and the “inner” terms—which are both the same! So the middle term is double the product of the two terms of the binomial.

$(a+b)^2=\text{___}+2ab+\text{___} \nonumber$

$(a−b)^2=\text{___}−2ab+\text{___} \nonumber$

To get the middle term of the product, multiply the terms and double their product.

Putting it all together:

##### definition: BINOMIAL SQUARES PATTERN

If a and b are real numbers,

To square a binomial, square the first term, square the last term, double their product.

##### Example $$\PageIndex{22}$$

Multiply: a. $$(x+5)^2$$ b. $$(2x−3y)^2$$.

a.

 Square the first term. Square the last term. Double their product. Simplify.

b.

 Use the pattern. Simplify.
##### Example $$\PageIndex{23}$$

Multiply: a.$$(x+9)^2$$ b. $$(2c−d)^2$$.

a. $$x^2+18x+81$$
b. $$4c^2−4cd+d^2$$

##### Example $$\PageIndex{24}$$

Multiply: a. $$(y+11)^2$$ b. $$(4x−5y)^2$$.

a. $$y^2+22y+121$$
b. $$16x^2−40xy+25y^2$$

We just saw a pattern for squaring binomials that we can use to make multiplying some binomials easier. Similarly, there is a pattern for another product of binomials. But before we get to it, we need to introduce some vocabulary.

A pair of binomials that each have the same first term and the same last term, but one is a sum and one is a difference is called a conjugate pair and is of the form $$(a−b)$$, $$(a+b)$$.

##### definition: conjugate pair

A conjugate pair is two binomials of the form

$(a−b), (a+b). \nonumber$

The pair of binomials each have the same first term and the same last term, but one binomial is a sum and the other is a difference.

There is a nice pattern for finding the product of conjugates. You could, of course, simply FOIL to get the product, but using the pattern makes your work easier. Let’s look for the pattern by using FOIL to multiply some conjugate pairs.

What do you observe about the products?

The product of the two binomials is also a binomial! Most of the products resulting from FOIL have been trinomials.

Each first term is the product of the first terms of the binomials, and since they are identical it is the square of the first term.

$(a+b)(a−b)=a^2−\text{___} \nonumber$

To get the first term, square the first term.

The last term came from multiplying the last terms, the square of the last term.

$(a+b)(a−b)=a^2−b^2 \nonumber$

To get the last term, square the last term.

Why is there no middle term? Notice the two middle terms you get from FOIL combine to 0 in every case, the result of one addition and one subtraction.

The product of conjugates is always of the form $$a^2−b^2$$. This is called a difference of squares.

##### definition: PRODUCT OF CONJUGATES PATTERN

If a and b are real numbers,

The product is called a difference of squares.

To multiply conjugates, square the first term, square the last term, write it as a difference of squares.

##### Example $$\PageIndex{25}$$

Multiply using the product of conjugates pattern: a. $$(2x+5)(2x−5)$$ b. $$(5m−9n)(5m+9n)$$.

a.

 Are the binomials conjugates? It is the product of conjugates. Square the first term, 2x.2x. Square the last term, 5.5. Simplify. The product is a difference of squares.

b.

 This fits the pattern. Use the pattern. Simplify.
##### Example $$\PageIndex{26}$$

Multiply: a. $$(6x+5)(6x−5)$$ b. $$(4p−7q)(4p+7q)$$.

a. $$36x^2−25$$
b. $$16p^2−49q^2$$

##### Example $$\PageIndex{27}$$

Multiply: a. $$(2x+7)(2x−7)$$ b.$$(3x−y)(3x+y)$$.

a. $$4x^2−49$$ b. $$9x^2−y^2$$

We just developed special product patterns for Binomial Squares and for the Product of Conjugates. The products look similar, so it is important to recognize when it is appropriate to use each of these patterns and to notice how they differ. Look at the two patterns together and note their similarities and differences.

##### COMPARING THE SPECIAL PRODUCT PATTERNS
Binomial Squares Product of Conjugates
$$(a+b)^2=a^2+2ab+b^2$$ $$(a−b)(a+b)=a^2−b^2$$
$$(a−b)^2=a^2−2ab+b^2$$
• Squaring a binomial • Multiplying conjugates
• Product is a trinomial • Product is a binomial.
• Inner and outer terms with FOIL are the same. • Inner and outer terms with FOIL are opposites.
• Middle term is double the product of the terms • There is no middle term.
##### Example $$\PageIndex{28}$$

Choose the appropriate pattern and use it to find the product:

a. $$(2x−3)(2x+3)$$ b. $$(8x-5)^2$$ c. $$(6m+7)^2$$ d. $$(5x−6)(6x+5)$$.

a. $$(2x−3)(2x+3)$$

These are conjugates. They have the same first numbers, and the same last numbers, and one binomial is a sum and the other is a difference. It fits the Product of Conjugates pattern.

 Use the pattern. Simplify.

b. $$(8x−5)^2$$

We are asked to square a binomial. It fits the binomial squares pattern.

 Use the pattern. Simplify.

c. $$(6m+7)^2$$

Again, we will square a binomial so we use the binomial squares pattern.

 Use the pattern. Simplify.

d. $$(5x−6)(6x+5)$$

This product does not fit the patterns, so we will use FOIL.

$$\begin{array} {ll} {} &{(5x−6)(6x+5)} \\ {\text{Use FOIL.}} & {30x^2+25x−36x−30} \\ {\text{Simplify.}} & {30x^2−11x−30} \\ \end{array}$$

##### Example $$\PageIndex{29}$$

Choose the appropriate pattern and use it to find the product:

a. $$(9b−2)(2b+9)$$ b. $$(9p−4)^2$$ c. $$(7y+1)^2$$ d. $$(4r−3)(4r+3)$$.

a. FOIL; $$18b^2+77b−18$$
b. Binomial Squares; $$81p^2−72p+16$$
c. Binomial Squares; $$49y^2+14y+1$$
d. Product of Conjugates; $$16r^2−9$$

##### Example $$\PageIndex{30}$$

Choose the appropriate pattern and use it to find the product:

a. $$(6x+7)^2$$ b. $$(3x−4)(3x+4)$$ c. $$(2x−5)(5x−2)$$ d. $$(6n−1)^2$$.

a. Binomial Squares; $$36x^2+84x+49$$ b. Product of Conjugates; $$9x^2−16$$ c. FOIL; $$10x^2−29x+10$$ d. Binomial Squares; $$36n^2−12n+1$$

## Multiply Polynomial Functions

Just as polynomials can be multiplied, polynomial functions can also be multiplied.

##### MULTIPLICATION OF POLYNOMIAL FUNCTIONS

For functions $$f(x)$$ and $$g(x)$$,

$(f·g)(x)=f(x)·g(x)$

##### Example $$\PageIndex{31}$$

For functions $$f(x)=x+2$$ and $$g(x)=x^2−3x−4$$, find:

1. $$(f·g)(x)$$
2. $$(f·g)(2)$$.

a.

$$\begin{array} {ll} {} &{(f·g)(x)=f(x)·g(x)} \\ {\text{Substitute for } f(x) \text{ and } g(x)} &{(f·g)(x)=(x+2)(x^2−3x−4)} \\ {\text{Multiply the polynomials.}} &{(f·g)(x)=x(x^2−3x−4)+2(x^2−3x−4)} \\ {\text{Distribute.}} &{(f·g)(x)=x3−3x^2−4x+2x^2−6x−8} \\ {\text{Combine like terms.}} &{(f·g)(x)=x3−x^2−10x−8} \\ \end{array}$$

b. In part a. we found $$(f·g)(x)$$ and now are asked to find $$(f·g)(2)$$.

$$\begin{array} {ll} {} &{(f·g)(x)=x^3−x^2−10x−8} \\ {\text{To find }(f·g)(2), \text{ substitute } x=2.} &{(f·g)(2)=2^3−2^2−10·2−8} \\ {} &{(f·g)(2)=8−4−20−8} \\ {} &{(f·g)(2)=−24} \\ \end{array}$$

##### Example $$\PageIndex{32}$$

For functions $$f(x)=x−5$$ and $$g(x)=x^2−2x+3$$, find

1. $$(f·g)(x)$$
2. $$(f·g)(2)$$.

$$(f·g)(x)=x^3−7x^2+13x−15$$

$$(f·g)(2)=−9$$

##### Example $$\PageIndex{33}$$

For functions $$f(x)=x−7$$ and $$g(x)=x^2+8x+4$$, find

1. $$(f·g)(x)$$
2. $$(f·g)(2)$$.

$$(f·g)(x)=x^3+x^2−52x−28$$

$$(f·g)(2)=−120$$

Access this online resource for additional instruction and practice with multiplying polynomials.

• Introduction to special products of binomials

## Key Concepts

• How to use the FOIL method to multiply two binomials.
• Multiplying Two Binomials: To multiply binomials, use the:
• Distributive Property
• FOIL Method
• Multiplying a Polynomial by a Polynomial: To multiply a trinomial by a binomial, use the:
• Distributive Property
• Vertical Method
• Binomial Squares Pattern
If a and b are real numbers,
• Product of Conjugates Pattern
If a, b are real numbers

The product is called a difference of squares.
To multiply conjugates, square the first term, square the last term, write it as a difference of squares.
• Comparing the Special Product Patterns
Binomial Squares Product of Conjugates
$$(a+b)^2=a^2+2ab+b^2$$ $$(a−b)^2=a^2−2ab+b^2$$
$$(a−b)(a+b)=a^2−b^2$$
• Squaring a binomial • Multiplying conjugates
• Product is a trinomial • Product is a binomial.
• Inner and outer terms with FOIL are the same. • Inner and outer terms with FOIL are opposites.
• Middle term is double the product of the terms • There is no middle term.
• Multiplication of Polynomial Functions:
• For functions $$f(x)$$ and $$g(x)$$,

$(f⋅g)(x)=f(x)⋅g(x) \nonumber$

## Glossary

conjugate pair
A conjugate pair is two binomials of the form $$(a−b)$$ and $$(a+b)$$. The pair of binomials each have the same first term and the same last term, but one binomial is a sum and the other is a difference.

5.3: Multiply Polynomials is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.