# 5.4: Multiply Polynomials

- Page ID
- 5148

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.

## 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:

- \((3x^2)(−4x^3)\)
- \((\frac{5}{6}x^3y)(12xy^2).\)

**Answer a**-
\(\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} \)

**Answer b**-
\(\begin{array} {ll} {} &{(\frac{5}{6}x^3y)(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} \)

Multiply:

- \((5y^7)(−7y^4)\)
- \((25a^4b^3)(15ab^3)\)

**Answer a**-
\(−35y^{11}\)

**Answer b**-
\(6a^5b^6\)

Example \(\PageIndex{3}\)

Multiply:

- \((−6b^4)(−9b^5)\)
- \((23r^5s)(12r^6s^7).\)

**Answer a**-
\(54b^9\)

**Answer b**-
\(8r^{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:

- \(−2y(4y^2+3y−5)\)
- \(3x^3y(x^2−8xy+y^2)\).

**Answer a**-
Distribute. Multiply. **Answer b**-
\(\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:

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

**Answer a**-
\(−15y^3−24y^2+21y\)

**Answer b**-
\(12x^4y^2−20x^3y^3+12x^2y^4\)

Example \(\PageIndex{6}\)

Multiply:

- \(4x^2(2x^2−3x+5)\)
- \(−6a^3b(3a^2−2ab+6b^2)\)

**Answer a**-
\(−15y^3−24y^2+21y\)

**Answer b**-
\(−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:

- \((y+5)(y+8)\)
- \((4y+3)(2y−5)\).

**Answer**-
ⓐ

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

Distribute. Distribute again. Combine like terms.

Example \(\PageIndex{8}\)

Multiply:

- \((x+8)(x+9)\)
- \((3c+4)(5c−2)\).

**Answer a**-
\(x^2+17x+72\)

**Answer b**-
\(15c^2+14c−8\)

Example \(\PageIndex{9}\)

Multiply:

- \((5x+9)(4x+3)\)
- \((5y+2)(6y−3)\).

**Answer a**-
\(20x^2+51x+27\)

**Answer b**-
\(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:

- \((y−7)(y+4)\)
- \((4x+3)(2x−5)\).

**Answer**-
ⓐ

ⓑ

Exercise \(\PageIndex{12}\)

Multiply:

- \((b−3)(b+6)\)
- \((4y+5)(4y−10)\).

**Answer**-
ⓐ \(b^2+3b−18\)

ⓑ \(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:

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

**Answer**-
ⓐ

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

Multiply the**Step 1.***First*terms.Multiply the**Step 2.***Outer*terms.Multiply the**Step 3.***Inner*terms.Multiply the**Step 4.***Last*terms.Combine like terms.**Step 5.**

Example \(\PageIndex{14}\)

Multiply:

- \((x^2+6)(x−8)\)
- \((2ab+5)(4ab−4)\).

**Answer**-
ⓐ \(x^3−8x^2+6x−48\)

ⓑ \(8a^2b^2+12ab−20\)

Example \(\PageIndex{15}\)

Multiply:

- \((y^2+7)(y−9)\)
- \((2xy+3)(4xy−5)\).

**Answer**-
ⓐ \(y^3−9y^2+7y−63\)

ⓑ \(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)\).

**Answer**-
It does not matter which binomial goes on the top.

Multiply3y−1by−6.Multiply3y−1by2y.Add like terms.3y−1×2y−6___________−18y+66y2−2y___________6y2−20y+6partial productpartial productproductMultiply3y−1by−6.Multiply3y−1by2y.Add like terms.3y−1×2y−6___________−18y+66y2−2y___________6y2−20y+6partial productpartial productproduct

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**-
ⓐ

Distribute. Multiply. Combine like terms. ⓑ 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**-
ⓐ \(y^3−8y2+17y−6\)

ⓑ \(y^3−8y2+17y−6\)

Example \(\PageIndex{21}\)

Multiply \((x+4)(2x^2−3x+5)\) using ⓐ the Distributive Property and ⓑ The Vertical Method.

**Answer**-
ⓐ \(2x^3+5x^2−7x+20\)

ⓑ \(y^3−8y^2+17y−6\)

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: ⓐ \((x+5)^2\) ⓑ \((2x−3y)^2\).

**Answer**-
ⓐ

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

Use the pattern. Simplify.

Example \(\PageIndex{23}\)

Multiply: ⓐ\((x+9)^2\) ⓑ \((2c−d)^2\).

**Answer**-
ⓐ \(x^2+18x+81\)

ⓑ \(4c^2−4cd+d^2\)

Example \(\PageIndex{24}\)

Multiply: ⓐ \((y+11)^2\) ⓑ \((4x−5y)^2\).

**Answer**-
ⓐ \(y^2+22y+121\)

ⓑ \(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**.

This leads to the pattern:

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: ⓐ \((2x+5)(2x−5)\) ⓑ \((5m−9n)(5m+9n)\).

**Answer**-
ⓐ

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. ⓑ

This fits the pattern. Use the pattern. Simplify.

Example \(\PageIndex{26}\)

Multiply: ⓐ \((6x+5)(6x−5)\) ⓑ \((4p−7q)(4p+7q)\).

**Answer**-
ⓐ \(36x^2−25\)

ⓑ \(16p^2−49q^2\)

Example \(\PageIndex{27}\)

Multiply: ⓐ \((2x+7)(2x−7)\) ⓑ\((3x−y)(3x+y)\).

**Answer**-
ⓐ \(4x^2−49\) ⓑ \(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 of the termsdouble the product |
• There is middle term.no |

Example \(\PageIndex{28}\)

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

ⓐ \((2x−3)(2x+3)\) ⓑ \((5x−8)^2\) ⓒ \((6m+7)^2\) ⓓ \((5x−6)(6x+5)\).

**Answer**-
ⓐ \((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. ⓑ \((8x−5)^2\)

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

Use the pattern. Simplify. ⓒ \((6m+7)^2\)

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

Use the pattern. Simplify. ⓓ \((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:

ⓐ \((9b−2)(2b+9)\) ⓑ \((9p−4)^2\) ⓒ \((7y+1)^2\) ⓓ \((4r−3)(4r+3)\).

**Answer**-
ⓐFOIL; \(18b^2+77b−18\)

ⓑ Binomial Squares; \(81p^2−72p+16\)

ⓒ Binomial Squares; \(49y^2+14y+1\)

ⓓ Product of Conjugates; \(16r^2−9\)

Example \(\PageIndex{30}\)

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

ⓐ \((6x+7)^2\) ⓑ \((3x−4)(3x+4)\) ⓒ \((2x−5)(5x−2)\) ⓓ \((6n−1)^2\).

**Answer**-
ⓐ Binomial Squares; \(36x^2+84x+49\) ⓑ Product of Conjugates; \(9x^2−16\) ⓒ FOIL; \(10x^2−29x+10\) ⓓ 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:

- \((f·g)(x)\)
- \((f·g)(2)\).

**Answer**-
ⓐ

\(\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}\)

ⓑ In part ⓐ 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

- \((f·g)(x)\)
- \((f·g)(2)\).

**Answer a**-
\((f·g)(x)=x^3−7x^2+13x−15\)

**Answer b**-
\((f·g)(2)=−9\)

example \(\PageIndex{33}\)

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

- \((f·g)(x)\)
- \((f·g)(2)\).

**Answer a**-
\((f·g)(x)=x^3+x^2−52x−28\)

**Answer a**-
\((f·g)(2)=−120\)

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

## Key Concepts

**How to use the FOIL method to multiply two binomials.**

To multiply binomials, use the:**Multiplying Two Binomials:**- Distributive Property
- FOIL Method

To multiply a trinomial by a binomial, use the:**Multiplying a Polynomial by a Polynomial:**- 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 of the terms**double the product**• There is middle term.**no****Multiplication of Polynomial Functions:**- For functions \(f(x)\) and \(g(x)\),
\[(f⋅g)(x)=f(x)⋅g(x) \nonumber\]

- For functions \(f(x)\) and \(g(x)\),

## Glossary

**conjugate pair**- A conjugate pair is two binomials of the form (a−b),(a+b).(a−b),(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.