Skip to main content

Section 4.3 Factoring Special Patterns

Subsection 4.3.1 Difference of Squares

Example 4.3.1. Intro Examples.

When multiplying two binomials that are almost the same, except for one having a positive sign and one having a negative, there is a special pattern. Observe the expansion,
\begin{align*} (x-2)(x+2) \amp = x^2 + 2x - 2x - 4\\ \amp = x^2 - 4 \end{align*}
Notice that the middle terms \(2x\) and \(-2x\) cancel out.
\begin{align*} (x-6)(x+6) \amp = x^2 + 6x - 6x - 36\\ \amp = x^2 - 36\\ (x+10)(x-10) \amp = x^2 + 10x - 10x - 100\\ \amp = x^2 - 100 \end{align*}
In general, when expanding an expression of the form \((x-a)(x+a)\) (where the two numbers are opposites of each other), the middle two terms always cancel out, because they are opposites of each other. The result is \(x\) squared, minus the number \(a\) squared.
In general,
\begin{equation*} (a+b)(a-b) = a^2 - b^2 \end{equation*}
This identity for expanding can be thought of in reverse, as an identity for factoring,
\begin{equation*} \boxed{a^2 - b^2 = (a-b)(a+b)} \end{equation*}
In other words, for an expression of the form \(a^2 - b^2\) (where there are two things being squared, and they’re subtracted), it can be factored as \((a-b)(a+b)\text{.}\) It’s called difference of squares, β€œdifference” because of the minus sign, and β€œsquares” because both terms are perfect squares.

Example 4.3.2.

For example, \(x^2-9\) is a difference of squares, because it’s \(x\) squared, and 9 is \(3^2\text{,}\) so,
\begin{gather*} x^2-9 = (x-3)(x+3) \end{gather*}

Exercise Group 4.3.1. Factor Each Expression.

Factor each expression.

Remark 4.3.3.

You can write the minus factor or the plus factor first. The order doesn’t matter. For example,
\begin{align*} x^2-16 \amp = (x-4)(x+4)\\ \text{OR} \quad \amp = (x+4)(x-4) \end{align*}

Example 4.3.4. Factor \(4x^2-25\).

Here, we have \(4x^2\) instead of \(x^2\text{.}\) However, it is still a difference of squares, because \(4x^2=(2x)^2\) and \(25=5^2\text{.}\)
\begin{align*} 4x^2-25\amp=(2x)^2-5^2\\ \amp=(2x-5)(2x+5) \end{align*}
This basically means that we’re applying the same difference of squares pattern \((a+b)(a-b)=a^2-b^2\text{,}\) where \(a=2x\) and \(b=5\text{.}\)
In general, difference of squares applies when:
  1. There are two terms.
  2. There is a minus sign between them.
  3. Each term is a perfect square (the square of something).
A term is a perfect square if both its coefficient (the number part) and its variable part are perfect squares. In general, to figure out what goes in the brackets, rewrite each term as a square,
  • Ask: β€œWhat squares to make the first term?” This is the first thing in the brackets.
  • Ask: β€œWhat squares to make the second term?” This is the second thing in the brackets.
  • Then, write those two answers twice, one with a minus and one with a plus.

Exercise Group 4.3.2. Factor Each Expression.

Factor each expression.
If an expression has only 2 terms, this is a good indicator that difference of squares could work.

Exercise Group 4.3.3. Factor Each Expression Fully.

Factor each expression fully.

Exercise Group 4.3.4. Factor Each Expression Fully.

Factor each expression fully.

Exercise Group 4.3.5. Advanced Examples.

Remark 4.3.5.

Subsection 4.3.2 Perfect Square Trinomials

Another special pattern comes from expanding the square of a binomial.

Example 4.3.6. Expanding Squares of Binomials.

Consider these expansions,
\begin{align*} (x+3)^2 \amp= (x+3)(x+3) = x^2 + 6x + 9\\ (x-5)^2 \amp= (x-5)(x-5) = x^2 - 10x + 25\\ (x+6)^2 \amp= (x+6)(x+6) = x^2 + 12x + 36\\ (2x-5)^2 \amp= (2x-5)(2x-5) = 4x^2 - 20x + 25\\ (3x+4)^2 \amp= (3x+4)(3x+4) = 9x^2 + 24x + 16 \end{align*}
Observe the pattern of the 3 resulting terms.
  • The 1st term is the square of the 1st term in the binomial.
  • The 3rd term is the square of the 2nd term in the binomial.
  • The middle (2nd) term is the product of the 2 terms in the binomial, multiplied by 2.
In general,
\begin{equation*} (a + b)^2 = a^2 + 2ab + b^2 \end{equation*}
Also, if there is a negative number, we can say,
\begin{equation*} (a - b)^2 = a^2 - 2ab + b^2 \end{equation*}
Reversing this identity gives a factoring identity for trinomials of this special form.
\begin{align*} a^2 + 2ab + b^2 \amp= (a+b)^2\\ a^2 - 2ab + b^2 \amp= (a-b)^2 \end{align*}

Exercise Group 4.3.6. Factoring Perfect Square Trinomials I.

These are called perfect square trinomials, because they can be written as a perfect square. To recognize if it is one,
  • Are the 1st and 3rd terms squares?
  • Is the middle term double the product? Take the square roots of the first and last terms, multiply them together, and multiply by 2. If it matches the middle term, then it is a perfect square trinomial.
Sometimes, you must first factor out a GCF, before the remaining expression is a perfect square.

Exercise Group 4.3.7. Factoring Perfect Square Trinomials II.

Factor each expression fully.
Technically, recognizing perfect square trinomials is optional, since you could instead just factor it as a trinomial instead (for example, using the cross method). However, being able to recognize this pattern can save a bit of time from trial-and-error.

Exercise Group 4.3.8. Factoring Perfect Square Trinomials III.

Exercise Group 4.3.9. Completing a Perfect Square Trinomial (Middle Term).

Fill in the missing term to create a perfect square trinomial, and then factor it.
(a)
\(x^2 + \_\_\_ + 9\)
Answer.
\(x^2 \pm 6x + 9 = (x \pm 3)^2\)
(b)
\(x^2 + \_\_\_ + 49\)
Answer.
\(x^2 \pm 14x + 49 = (x \pm 7)^2\)
(c)
\(4x^2 + \_\_\_ + 9\)
Answer.
\(4x^2 \pm 12x + 9 = (2x \pm 3)^2\)
(d)
\(36x^2 + \_\_\_ + 25\)
Answer.
\(36x^2 \pm 60x + 25 = (6x \pm 5)^2\)

Exercise Group 4.3.10. Completing a Perfect Square Trinomial (Last Term).

Fill in the missing term to create a perfect square trinomial, and then factor it.
(c)
\(16x^2 - 8x + \_\_\_\)
Answer.
\(16x^2 - 8x + 1 = (4x-1)^2\)
(d)
\(9x^2 + 30x + \_\_\_\)
Answer.
\(9x^2 + 30x + 25 = (3x+5)^2\)