Skip to main content
Mathematics LibreTexts

5.3: Multiply Polynomials

  • Page ID
    59877
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    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).\)
    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} {} &{\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)\)
    Answer a

    \(−35y^{11}\)

    Answer b

    \(375 a^5b^6\)

    Example \(\PageIndex{3}\)

    Multiply:

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

    \(54b^9\)

    Answer b

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

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

    \(−15y^3−24y^8\)

    Answer b

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

    \(8x^4−12x^3+20x^2\)

    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:

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

      .
    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)\).
    Answer a

    \(x^2+17x+72\)

    Answer b

    \(15c^2+14c−8\)

    Example \(\PageIndex{9}\)

    Multiply:

    1. \((5x+9)(4x+3)\)
    2. \((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.

    The figure shows how four terms in the product of two binomials can be remembered according to the mnemonic acronym FOIL. The example is the quantity x plus 3 in parentheses times the quantity x plus 7 in parentheses. The expression is expanded as in the previous examples by using the distributive property twice. After distributing the quantity x plus 7 in parentheses the result is x times the quantity x plus 7 in parentheses plus 3 times the quantity x plus 7 in parentheses. Then the x is distributed the x plus 7 and the 3 is distributed to the x plus 7 to get x squared plus 7 x plus 3 x plus 21. The letter F is written under the term x squared since it was the product of the first terms in the binomials. The letter O is written under the 7 x term sine it was the product of the outer terms in the binomials. The letter I is written under the 3 x term since it was the product of the inner terms in the binomials. The letter L is written under the 21 since it was the product of the last terms in the binomial. The original expression is shown again with four arrows connecting the first, outer, inner, and last terms in the binomials showing how the four terms can be determined directly from the factored form.

    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.

    The figure shows how to use the FOIL method to multiply two binomials. The example is the quantity a plus b in parentheses times the quantity c plus d in parentheses. The numbers a and c are labeled first and the numbers b and d are labeled last. The numbers b and c are labeled inner and the numbers a and d are labeled outer. A note on the side of the expression tells you to Say it as you multiply! FOIL First Outer Inner Last. The directions are then given in numbered steps. 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 when possible.

    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)\).
    Answer

    a.

    The figure shows how to use the FOIL method to multiply two binomials. The example is the quantity y minus 7 in parentheses times the quantity y plus 4 in parentheses. Step 1. Multiply the First terms. The terms y and y are colored red with an arrow connecting them. The result is y squared and is shown above the letter F in the word FOIL. Step 2. Multiply the Outer terms. The terms y and 4 are colored red with an arrow connecting them. The result is 4 y and is shown above the letter O in the word FOIL. Step 3. Multiply the Inner terms. The terms negative 7 and y are colored red with an arrow connecting them. The result is negative 7 y squared and is shown above the letter I in the word FOIL. Step 4. Multiply the Last terms. The terms negative 7 and 4 are colored red with an arrow connecting them. The result is negative 28 and is shown above the letter L in the word FOIL. Step 5. Combine like terms. The simplified result is y squared minus 3 y minus 28.

    b.

    The figure shows how to use the FOIL method to multiply two binomials. The example is the quantity 4 x plus 3 in parentheses times the quantity 2 x minus 5 in parentheses. The expression is show with four red arrows connecting the First. Outer, Inner, and Last terms. Step 1. Multiply the First terms 4 x and 2 x. The product of the first terms is 8 x squared and is shown above the letter F in the word FOIL. Step 2. Multiply the Outer terms 4 x and negative 5. The result is negative 20 x and is shown above the letter O in the word FOIL. Step 3. Multiply the Inner terms 3 and 2 x. The result is 6 x and is shown above the letter I in the word FOIL. Step 4. Multiply the Last terms 3 and negative 5. The result is negative 15 and is shown above the letter L in the word FOIL. Step 5. Combine like terms. The simplified result is 8 y squared minus 14 x minus 15.

    Exercise \(\PageIndex{11}\)

    Multiply:

    1. \((x−7)(x+5)\)
    2. \((3x+7)(5x−2)\).
    Answer

    a. \(x^2−2x−35\)
    b. \(15x^2+29x−14\)

    Exercise \(\PageIndex{12}\)

    Multiply:

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

    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)\).
    Answer

    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)\).
    Answer

    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)\).
    Answer

    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.

    This figure shows the vertical multiplication of 23 and 46. The number 23 is above the number 46. Below this, there is the partial product 138 over the partial product 92. The final product is at the bottom and is 1058. Text on the right side of the image says “You start by multiplying 23 by 6 to get 138. Then you multiply 23 by 4, lining up the partial product in the correct columns. Last, you add the partial products.”

    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.

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

    This figure has two columns. In the left column is the product of two binomials, 3y minus 1 and 2y minus 6. Below this is 6y squared minus 2y minus 18y plus 6. Below this is 6y squared minus 20y plus 6. In the right column is the vertical multiplication of 3y minus 1 and 2y minus 6. Below this is the partial product negative 18y plus 6. Below this is the partial product 6y squared minus 2y. Below this is 6y squared minus 20y plus 6.

    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?

    The figure shows three examples of squaring a binomial. In the first example x plus 9 is squared to get x plus 9 times x plus 9 which is x squared plus 9 x plus 9 x plus 81 which simplifies to x squared plus 18 x plus 81. Colors show that x squared comes from the square of the x in the original binomial and 81 comes from the square of the 9 in the original binomial. In the second example y minus 7 is squared to get y minus y times y minus 7 which is y squared minus 7 y minus 7 y plus 49 which simplifies to y squared minus 14 y plus 49. Colors show that y squared comes from the square of the y in the original binomial and 49 comes from the square of the negative 7 in the original binomial. In the third example 2 x plus 3 is squared to get 2 x plus 3 times 2 x plus 3 which is 4 x squared plus 6 x plus 6 x plus 9 which simplifies to 4 x squared plus 12 x plus 9. Colors show that 4 x squared comes from the square of the 2 x in the original binomial and 9 comes from the square of the 3 in the original binomial.

    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,

    The figure shows the result of squaring two binomials. The first example is a plus b squared equals a squared plus 2 a b plus b squared. The equation is written out again with each part labeled. The quantity a plus b squared is labeled binomial squared. The terms a squared is labeled first term squared. The term 2 a b is labeled 2 times product of terms. The term b squared is labeled last term squared. The second example is a minus b squared equals a squared minus 2 a b plus b squared. The equation is written out again with each part labeled. The quantity a minus b squared is labeled binomial squared. The terms a squared is labeled first term squared. The term negative 2 a b is labeled 2 times product of terms. The term b squared is labeled last term squared.

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

    Answer

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

    Answer

    a. \(x^2+18x+81\)
    b. \(4c^2−4cd+d^2\)

    Example \(\PageIndex{24}\)

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

    Answer

    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.

    The figure shows three examples of multiplying a binomial with its conjugate. In the first example x plus 9 is multiplied with x minus 9 to get x squared minus 9 x plus 9 x minus 81 which simplifies to x squared minus 81. Colors show that x squared comes from the square of the x in the original binomial and 81 comes from the square of the 9 in the original binomial. In the second example y minus 8 is multiplied with y plus 8 to get y squared plus 8 y minus 8 y minus 64 which simplifies to y squared minus 64. Colors show that y squared comes from the square of the y in the original binomial and 64 comes from the square of the 8 in the original binomial. In the third example 2 x minus 5 is multiplied with 2 x plus 5 to get 4 x squared plus 10 x minus 10 x minus 25 which simplifies to 4 x squared minus 25. Colors show that 4 x squared comes from the square of the 2 x in the original binomial and 25 comes from the square of the 5 in the original binomial.

    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 figure shows the result of multiplying a binomial with its conjugate. The formula is a plus b times a minus b equals a squared minus b squared. The equation is written out again with labels. The product a plus b times a minus b is labeled conjugates. The result a squared minus b squared is labeled difference of squares.

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

    Answer

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

    Answer

    a. \(36x^2−25\)
    b. \(16p^2−49q^2\)

    Example \(\PageIndex{27}\)

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

    Answer

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

    Answer

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

    Answer

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

    Answer

    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)\).
    Answer

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

    1. \((f·g)(x)\)
    2. \((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.

    • Introduction to special products of binomials

    Key Concepts

    • How to use the FOIL method to multiply two binomials.
      The figure shows how to use the FOIL method to multiply two binomials. The example is the quantity a plus b in parentheses times the quantity c plus d in parentheses. The numbers a and c are labeled first and the numbers b and d are labeled last. The numbers b and c are labeled inner and the numbers a and d are labeled outer. A note on the side of the expression tells you to Say it as you multiply! FOIL First Outer Inner Last. The directions are then given in numbered steps. 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 when possible.
    • 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,The figure shows the result of squaring two binomials. The first example is a plus b squared equals a squared plus 2 a b plus b squared. The equation is written out again with each part labeled. The quantity a plus b squared is labeled binomial squared. The terms a squared is labeled first term squared. The term 2 a b is labeled 2 times product of terms. The term b squared is labeled last term squared. The second example is a minus b squared equals a squared minus 2 a b plus b squared. The equation is written out again with each part labeled. The quantity a minus b squared is labeled binomial squared. The terms a squared is labeled first term squared. The term negative 2 a b is labeled 2 times product of terms. The term b squared is labeled last term squared.
    • Product of Conjugates Pattern
      If a, b are real numbers
      The figure shows the result of multiplying a binomial with its conjugate. The formula is a plus b times a minus b equals a squared minus b squared. The equation is written out again with labels. The product a plus b times a minus b is labeled conjugates. The result a squared minus b squared is labeled difference of squares.
      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.

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

    • Was this article helpful?