Sub topic 5
Special Patterns: Difference of Squares and Perfect Squares
Prerequisites and the main idea
Assume you can expand binomials, simplify square roots, and solve linear equations. These skills let you recognize patterns instead of multiplying every possible pair of factors.
Two special patterns are especially useful when factoring quadratic expressions:
- A difference of squares is the difference between two perfect-square expressions.
- A perfect square trinomial is a three-term expression created by squaring a binomial.
Recognizing these patterns can make factoring faster and can reveal the solutions of a quadratic equation.
Difference of squares
The difference of squares pattern is
\[ u^2-v^2=(u-v)(u+v). \]
It works because the middle terms cancel when the binomials are multiplied:
\[ (u-v)(u+v)=u^2+uv-uv-v^2=u^2-v^2. \]
The expression must meet both conditions:
- It has subtraction between two terms.
- Both terms are perfect squares.
Example: factoring numbers
Factor \(25x^2-49\).
Both terms are squares:
\[ 25x^2=(5x)^2,\qquad 49=7^2. \]
Therefore,
\[ 25x^2-49=(5x-7)(5x+7). \]
Example: factoring before using the pattern
Factor \(12x^2-75\).
First take out the greatest common factor, or GCF:
\[ 12x^2-75=3(4x^2-25). \]
The expression inside the parentheses is a difference of squares:
\[ 4x^2-25=(2x)^2-5^2=(2x-5)(2x+5). \]
So the complete factorization is
\[ 12x^2-75=3(2x-5)(2x+5). \]
A common error is to factor \(u^2+v^2\) as \((u-v)(u+v)\). The pattern requires subtraction. A sum of squares does not factor over the real numbers in the same way.
Perfect square trinomials
The two perfect square trinomial patterns are
\[ u^2+2uv+v^2=(u+v)^2 \]
and
\[ u^2-2uv+v^2=(u-v)^2. \]
To recognize one, check three features:
- The first term is a square.
- The last term is a square.
- The middle term is twice the product of the square roots, with the correct sign.
Example: factoring a perfect square trinomial
Factor \(x^2+10x+25\).
The first and last terms are squares:
\[ x^2=x^2,\qquad 25=5^2. \]
Twice their product is
\[ 2(x)(5)=10x, \]
which matches the middle term. Thus,
\[ x^2+10x+25=(x+5)^2. \]
For a negative middle term:
\[ x^2-14x+49=(x-7)^2, \]
because \(2(x)(7)=14x\), and the middle term is negative.
The middle term is the most important check. For example, \(x^2+12x+36\) is a perfect square trinomial because \(2(x)(6)=12x\). However, \(x^2+10x+36\) is not one: \(2(x)(6)=12x\), not \(10x\).
Using special patterns to solve equations
After factoring, set each factor equal to zero. For example:
\[ x^2-36=0 \]
becomes
\[ (x-6)(x+6)=0. \]
Therefore,
\[ x=6\quad\text{or}\quad x=-6. \]
A perfect square gives a repeated solution:
\[ x^2-12x+36=0 \]
becomes
\[ (x-6)^2=0, \]
so \(x=6\). The factor appears twice, but it gives only one distinct root.
Exercise
Factor and solve x^2 - 16 = 0. Then explain why x^2 + 16 is not factored by the same pattern.
Show answer
x^2 - 16 = (x - 4)(x + 4), so x = 4 or x = -4. The expression x^2 + 16 is a sum of squares, not a difference of squares, so this pattern does not apply over the real numbers.