Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

5.7: Special Products

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

This section is dedicated to explaining a number of important shortcuts for multiplying binomials. These are extremely important patterns that will produce the same products computed in previous sections. It is essential that readers practice until they become proficient using each of the patterns presented in this section.

The FOIL Method

Consider the product of two binomials (x+3)(x+6). We already know how to find the product of these two binomials; we multiply x times both terms of x+6, then we multiply 3 times both terms of x+6.

(x+3)(x+6)=x2+6x+3x+18

Normally we combine like terms, but we halt the process at this point so as to introduce the pattern called the FOIL method. The letters in the word FOIL stand for “First,” “Outer,” “Inner,” and “Last.”

Let’s see how we can connect these terms to the product (x+3)(x+6).

  • The arrows indicate the terms in the “First” positions in each binomial. If you multiply the terms in the “First” position, you get x2.(x+3)(xF+6)
  • The arrows indicate the terms in the “Outer” positions in each binomial. If you multiply the terms in the “Outer” positions, you get 6x.(x+3)(x+6O)
  • The arrows indicate the terms in the “Inner” positions in each binomial. If you multiply the terms in the “Inner” positions, you get 3x.(x+3)(xI+6)
  • The arrows indicate the terms in the “Last” positions in each binomial. If you multiply the terms in the “Last” positions, you get 18.(x+3)(x+6L)

The following diagram shows the connection between “First,” “Outer,” “Inner,” “Last,” and the answer.

(x+3)(x+6)=FOILx2+6x+3x+18

Example 5.7.1

Use the FOIL method to simplify: (x+5)(x+7)

Solution

Multiply the “First” positions: x2. Multiply the “Outer” positions: 7x. Multiply the “Inner” positions: 5x. Multiply the “Last” positions: 35.

(x+5)(x+7)=FOILx2+7x+5x+35

Combining like terms, (x+5)(x+7)=x2+12x+35

Exercise 5.7.1

Simplify: (x+2)(x+11)

Answer

x2+13x+22

Example 5.7.2

Use the FOIL method to simplify: (2x7)(x4)

Solution

Multiply the “First” positions: 2x2. Multiply the “Outer” positions: 8x. Multiply the “Inner” positions: 7x. Multiply the “Last” positions: 28.

(2x7)(x4)=FOIL2x28x7x+28

Combining like terms, (2x7)(x4)=2x215x+28

Exercise 5.7.2

Simplify: (x1)(4x+5)

Answer

4x2+x5

At first glance, the FOIL method doesn’t look like much of a shortcut. After all, if we simply use the distributive property on the product of Example 5.7.2, we get the same quick result.

(2x7)(x4)=2x(x4)7(x4)=2x28x7x+28=2x215x+28

The FOIL method becomes a true shortcut when we add the “Outer” and “Inner” results in our head.

FOIL Shortcut

To multiply two binomials, follow these steps:

  1. Multiply the terms in the “First” positions.
  2. Multiply the terms in the “Outer” and “Inner” positions and combine the results mentally (if they are like terms).
  3. Multiply the terms in the “Last” positions.

Example 5.7.3

Use the FOIL shortcut to simplify: (3x+8)(2x1)

Solution

Each of the following steps is performed mentally.

  1. Multiply the terms in the “First” positions: 6x2
  2. Multiply the terms in the “Outer” and “Inner” positions and add the results mentally: 3x+16x=13x
  3. Multiply the terms in the “Last” positions: 8

Write the answer with no intermediate steps: (3x+8)(2x1)=6x2+13x8

Exercise 5.7.3

Simplify: (2z3)(5z1)

Answer

10z217z+3

Example 5.7.4

Use the FOIL shortcut to simplify: (4y3)(5y+2)

Solution

Each of the following steps is performed mentally.

  1. Multiply the terms in the “First” positions: 20y2
  2. Multiply the terms in the “Outer” and “Inner” positions and add the results mentally: 8y15y=7y
  3. Multiply the terms in the “Last” positions: 6

Write the answer with no intermediate steps: (4y3)(5y+2)=20y27y6

Exercise 5.7.4

Simplify: (7x+2)(2x3)

Answer

14x217x6

The Difference of Squares

We can use the FOIL shortcut to multiply (a+b)(ab).

  1. Multiply the terms in the “First” positions: a2
  2. Multiply the terms in the “Outer” and “Inner” positions and add the results mentally: abab=0
  3. Multiply the terms in the “Last” positions: b2

Thus, (a+b)(ab)=a2b2. Note how the right-hand side a2b2 is the difference of two squares. This leads to the following shortcut.

The difference of squares

If you have identical terms in the “First” positions and identical terms in the “Last” positions, but one set is separated with a plus sign while the other is separated by a minus sign, then proceed as follows:

  1. Square the “First” term.
  2. Square the “Last” term.
  3. Place a minus sign between the results

That is,

(a+b)(ab)=a2b2

Note

If you don’t have identical terms in the “First” and “Last” positions, with one set separated with a plus sign and the other with a minus sign, then you do not have the difference of squares pattern and you must find some other way to multiply. For example, (x+3)(x3) is an example of the difference of squares pattern, but (2y+3)(2y5) is not.

Example 5.7.5

Use the difference of squares shortcut to simplify: (x+3)(x3)

Solution

Note how the terms in the “First” position are identical, as are the terms in the “Last” position, with one set separated by a plus sign and the other with a minus sign. Hence, this is the difference of squares pattern and we proceed as follows:

  1. Square the term in the “First” position: x2
  2. Square the term in the “Last” position: (3)2=9
  3. Separate the squares with a minus sign.

That is:

(x+3)(x3)=x2(3)2=x29

Note

You should practice this pattern until you can go straight from the problem statement to the answer without writing down any intermediate work, as in (x+3)(x3)=x29.

Exercise 5.7.5

Simplify: (x+5)(x5)

Answer

x225

Example 5.7.6

Use the difference of squares shortcut to simplify: (8y+7z)(8y7z)

Solution

Note how the terms in the “First” position are identical, as are the terms in the “Last” position, with one set separated by a plus sign and the other with a minus sign. Hence, this is the difference of squares pattern and we proceed as follows:

  1. Square the term in the “First” position: (8y)2=64y2
  2. Square the term in the “Last” position: (7z)2=49z2
  3. Separate the squares with a minus sign.

That is:

(8y+7z)(8y7z)=(8y)2(7z)2=64y249z2

Note

You should practice this pattern until you can go straight from the problem statement to the answer without writing down any intermediate work, as in (8y+7z)(8y7z)=64y249z2

Exercise 5.7.6

Simplify: (3a6b)(3a+6b)

Answer

9a236b2

Example 5.7.7

Use the difference of squares shortcut to simplify: (x35y2)(x3+5y2)

Solution

Note how the terms in the “First” position are identical, as are the terms in the “Last” position, with one set separated by a plus sign and the other with a minus sign. Hence, this is the difference of squares pattern and we proceed as follows:

  1. Square the term in the “First” position: (x3)2=x6
  2. Square the term in the “Last” position: (5y2)2=25y4
  3. Separate the squares with a minus sign.

That is:

(x35y2)(x3+5y2)=(x3)2(5y2)2=x625y4

Note

You should practice this pattern until you can go straight from the problem statement to the answer without writing down any intermediate work, as in (x35y2)(x3+5y2)=x625y4

Exercise 5.7.7

Simplify: (2y4+z3)(2y4z3)

Answer

4y8z6

Squaring a Binomial

Before demonstrating the correct procedure for squaring a binomial, we will first share one of the most common mistakes made in algebra.

Warning! This is incorrect!

One of the most common mistakes made in algebra is the assumption that:

(a+b)2=a2+b2

The fact that this is incorrect is easily checked. Substitute 3 for a and 4 for b.

(3+4)2=32+4272=32+4249=9+16

Clearly this is incorrect!

So what is the correct answer? First, (a+b)2=(a+b)(a+b). We can now use the FOIL shortcut.

  1. Multiply the terms in the “First” positions: a2
  2. Multiply the terms in the “Outer” and “Inner” positions and add the results mentally: ab+ab=2ab
  3. Multiply the terms in the “Last” positions: b2

Hence, the correct answer is (a+b)2=a2+2ab+b2. This leads us to the following shortcut for squaring a binomial.

Squaring a binomial

To square a binomial, such as (a+b)2, perform the following steps:

  1. Square the “First” term: a2
  2. Multiply the “First” and “Last” terms and double the result: 2ab
  3. Square the “Last” term: b2

That is:

(a+b)2=a2+2ab+b2

Example 5.7.8

Use the squaring a binomial shortcut to expand: (x+5)2

Solution

Follow these steps:

  1. Square the first term: x2
  2. Multiply the “First” and “Last” terms and double the result: 2(x)(5)=10x
  3. Square the “Last” term: 52=25

Thus:

(x+5)2=x2+2(x)(5)+(5)2=x2+10x+25

Note

You should practice this pattern until you can go straight from the problem statement to the answer without writing down any intermediate work, as in (x+5)2=x2+10x+25

Exercise 5.7.8

Simplify: (x+3)2

Answer

x2+6x+9

Comment

Students often refuse to learn the “squaring a binomial” shortcut, noting that they can just as easily use the FOIL technique or a simple application of the distributive property to arrive at the same result. Unfortunately, failure to learn the “squaring a binomial” shortcut will severely handicap students, as this pattern is an important component of many procedures in future mathematics courses.

Example 5.7.9

Use the squaring a binomial shortcut to expand: (3x+7y)2

Solution

Follow these steps:

  1. Square the first term: (3x)2=9x2
  2. Multiply the “First” and “Last” terms and double the result: 2(3x)(7y)=42xy
  3. Square the “Last” term: (7y)2=49y2

Thus:

(3x+7y)2=(3x)2+2(3x)(7y)+(7y)2=9x2+42xy+49y2

Note

You should practice this pattern until you can go straight from the problem statement to the answer without writing down any intermediate work, as in (3x+7y)2=9x2+42xy+49y2

Exercise 5.7.9

Simplify: (2y+3z)2

Answer

4y2+12yz+9z2

In the next example, when squaring a binomial with a minus sign, we take care of the minus sign by “adding the opposite.”

Example 5.7.10

Use the squaring a binomial shortcut to expand: (4a25b3)2

Solution

Add the opposite: (4a25b3)2=(4a2+(5b3))2. Now follow these steps:

  1. Square the first term: (4a2)2=16a4
  2. Multiply the “First” and “Last” terms and double the result: 2(4a2)(5b3)=40a2b3
  3. Square the “Last” term: (5b3)2=25b6

Thus:

(4a25b3)2=(4a2+(5b3))2=(4a2)2+2(4a2)(5b3)+(5b3)2=16a440a2b3+25b6

Note

You should practice this pattern until you can go straight from the problem statement to the answer without writing down any intermediate work, as in (4a25b3)2=16a440a2b3+25b6

Exercise 5.7.10

Simplify: (3x45z2)2

Answer

9x830x4z2+25z4

Example 5.7.10 shows us that if we are squaring a difference, the middle term will be minus. That is, the only difference between (a+b)2 and (ab)2 is the sign of the middle term.

Squaring a binomial

The shortcuts for squaring a binomial are:

(a+b)2=a2+2ab+b2

(ab)2=a22ab+b2

Example 5.7.11

Use the squaring a binomial shortcut to expand: (x3y3)2

Solution

Use the pattern (ab)2=a22ab+b2. Square the “First” term, multiply the “First” and “Last” terms and double the result, then square the “Last” term. Because of the minus sign, the middle term will be minus, but all other terms are plus.

(x3y3)2=(x3)22(x3)(y3)+(y3)2=x62x3y3+y6

Exercise 5.7.11

Simplify: (a23b5)2

Answer

a46a2b5+9b10

An Application

In Example 5.7.7, we found the area of the outer square by summing the areas of its parts (see Figure 5.7.1). Recall that the answer was A=x2+6x+9.

fig 5.7.1.png
Figure 5.7.1: Find the area of the square.

Now that we have the squaring a binomial shortcut, we can simplify the process of finding the area of the outer square by squaring its side. That is:

A=(x+3)2

Now we can use the squaring the binomial technique to expand.

=x2+2(x)(3)+(3)2=x2+6x+9

Note that this is the same as the answer found by summing the four parts of the square in Example 5.7.7.


This page titled 5.7: Special Products is shared under a CC BY-NC-ND 3.0 license and was authored, remixed, and/or curated by David Arnold via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?