Skip to content
Tutorials Center
My learning

Topics

Lesson 23 of 37 · Exponents and Polynomials

Multiplying Polynomials and Special Products

Multiply monomials, binomials and larger polynomials with the distributive property, FOIL and the area model, and learn the special product patterns.

Multiplying polynomials is the distributive property used again and again. If you can multiply two-digit numbers like 23 × 14, you can multiply binomials: it is the same idea with x in place of tens.

You will first multiply a monomial by a polynomial, then two binomials, then larger polynomials, and finally meet three patterns that show up so often that they are worth memorizing.

Monomial times polynomial

Distribute the monomial to each term and use the product rule for exponents (see Rules of Exponents).

3x(2x² − 5x + 4) = 3x · 2x² − 3x · 5x + 3x · 4 = 6x³ − 15x² + 12x

Multiply the coefficients, add the exponents of equal variables.

Binomial times binomial

Each term of the first binomial multiplies each term of the second. That gives four products. Many students remember them with FOIL: First, Outer, Inner, Last.

(x + 3)(x + 5)

  • First: x · x = x²
  • Outer: x · 5 = 5x
  • Inner: 3 · x = 3x
  • Last: 3 · 5 = 15

Add and combine like terms: x² + 5x + 3x + 15 = x² + 8x + 15.

The area model shows why this works. Draw a rectangle with sides x + 3 and x + 5, split into four pieces:

x +3
x x² 3x
+5 5x 15

The total area is the sum of the four pieces. Signs travel with the terms: (2x − 1)(x + 4) = 2x² + 8x − x − 4 = 2x² + 7x − 4.

FOIL only works for two binomials. For larger polynomials use the general rule: every term times every term, then combine like terms.

Example. (x + 2)(x² − 3x + 1)

  1. x · (x² − 3x + 1) = x³ − 3x² + x
  2. 2 · (x² − 3x + 1) = 2x² − 6x + 2
  3. Add: x³ − x² − 5x + 2.
Python Multiply polynomials term by term

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Three special products

These patterns appear so often that recognizing them saves time, and they are the key to factoring special patterns later.

Name Pattern Example
Square of a sum (a + b)² = a² + 2ab + b² (x + 4)² = x² + 8x + 16
Square of a difference (a − b)² = a² − 2ab + b² (3x − 2)² = 9x² − 12x + 4
Difference of squares (a + b)(a − b) = a² − b² (x + 7)(x − 7) = x² − 49

(a + b)² is not a² + b². Test it with a = 3, b = 4: (3 + 4)² = 49, but 3² + 4² = 25. The missing piece is the middle term 2ab, which is the two "Outer" and "Inner" products added together.

For the difference of squares, the Outer and Inner products are −ab and +ab, which cancel, leaving only a² − b².

Here is a quick use: 51 × 49 = (50 + 1)(50 − 1) = 2500 − 1 = 2499.

Python Verify the special products numerically

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is 2x(x² − 3x + 5)?

    Multiply every term by 2x: 2x·x² = 2x³, 2x·(−3x) = −6x², 2x·5 = 10x.
  2. 2. Expand (x − 2)(x + 6).

    x² + 6x − 2x − 12 = x² + 4x − 12.
  3. 3. Expand (2x + 3)².

    a = 2x and b = 3, so a² + 2ab + b² = 4x² + 12x + 9.
  4. 4. Expand (5 + y)(5 − y).

    This is a difference of squares: a² − b² = 25 − y².

Summary

  • Multiplying polynomials means every term times every term; combine like terms afterwards.
  • FOIL and the area model are two views of the same rule for two binomials.
  • (a ± b)² = a² ± 2ab + b² and (a + b)(a − b) = a² − b².
  • Never write (a + b)² as a² + b².

Next: Factoring Out the GCF and Grouping