Why Special Product Identities Help with Factoring
A polynomial can sometimes be written as a product more quickly by recognizing a familiar pattern than by trying possible factors. Three useful patterns come from expanding products of two binomials: the square of a sum, the square of a difference, and the product of a sum and a difference.
These patterns are not separate rules that must be memorized without explanation. Each follows directly from the distributive law. Deriving them makes clear where every term comes from, and reversing the expansions gives precise ways to recognize certain factorizations.
Deriving the Square of a Sum
The square of a quantity means that quantity multiplied by itself. Thus \((a+b)^2\) means \((a+b)(a+b)\), not \(a^2+b^2\). Apply the distributive law to multiply each term in the first factor by each term in the second:
The two middle products are both \(ab\), so together they contribute \(2ab\). This gives the first identity.
Reversing the identity gives a pattern for factoring: if the first and last terms are squares, and the middle term is twice the product of their square roots, the trinomial may be the square of a sum. The signs and coefficients must match exactly.
Worked Example: Expand and Check a Square of a Sum
Expand \((3x+2)^2\). First rewrite the square as a product, then multiply each term:
Check by applying the identity with \(a=3x\) and \(b=2\): \(a^2=9x^2\), \(2ab=2(3x)(2)=12x\), and \(b^2=4\). These terms reproduce \(9x^2+12x+4\), so the expansion is verified.
Deriving the Square of a Difference
For a difference, write the square as \((a-b)(a-b)\) and again multiply every term in the first factor by every term in the second. Keeping the negative signs visible helps prevent errors:
The last term is positive because the product of two negative terms is positive. The two middle products are both \(-ab\), so their sum is \(-2ab\).
The square-of-a-sum and square-of-a-difference identities share the same first and last terms. They differ in the sign of the middle term. A positive middle term points to a square of a sum; a negative middle term points to a square of a difference, provided the other terms also match.
Worked Example: Recognize a Square of a Difference
Factor \(x^2-10x+25\), if it matches a square pattern. The first term is \(x^2\), the square of \(x\), and the last term is \(25\), the square of \(5\). The middle term required for \((x-5)^2\) is \(-2(x)(5)=-10x\), which matches. Therefore, the factorization is:
Check by multiplying the factors: \((x-5)^2=(x-5)(x-5)=x^2-5x-5x+25=x^2-10x+25\). The product equals the original trinomial.
Deriving the Difference of Squares
Now multiply a sum by its corresponding difference. The first and last terms are products of matching quantities, while the two cross-products have opposite signs:
The middle terms cancel because \(-ab+ab=0\). This cancellation is why a difference of squares factors into a sum times a difference.
To recognize this pattern, check that the expression has exactly two terms, that each term is a square, and that they are being subtracted. A sum of two squares does not match this identity: the cancellation depends on using opposite signs in the binomial factors.
Worked Example: Factor a Difference of Squares
Factor \(25y^2-49\). The first term is \((5y)^2\), and the second is \(7^2\). Since one square is subtracted from the other, use \(a^2-b^2=(a+b)(a-b)\) with \(a=5y\) and \(b=7\):
Check by multiplication: \((5y+7)(5y-7)=25y^2-35y+35y-49=25y^2-49\). The cross-products cancel, leaving the original expression.
A Reliable Recognition Process
When one of these patterns seems possible, match every part of the expression rather than relying on its general appearance. The order below separates the checks and makes sign errors easier to catch.
Decide whether the expression has three terms, as a square trinomial does, or two terms, as a difference of squares does.
For a square trinomial, check whether its first and last terms are squares. For a difference of squares, check whether both terms are squares and whether they are subtracted.
For a square trinomial, compute twice the product of the candidate square roots and compare it with the middle term, including its sign.
Use the matching identity in reverse, then expand the proposed factors to confirm that their product is the original expression.
For example, \(x^2+8x+16\) matches \((x+4)^2\): the end terms are \(x^2\) and \(4^2\), and the middle term is \(2(x)(4)=8x\). In contrast, \(x^2+7x+16\) does not match either square pattern with end terms \(x^2\) and \(16\), because the required middle term would be \(8x\) or \(-8x\), not \(7x\). A resemblance to a pattern is not enough; the coefficient must agree.
Common Mistake: Squaring Each Term Separately
A frequent error is to treat the square of a sum as the sum of the squares. For instance, the incorrect calculation \((x+3)^2=x^2+9\) omits both cross-products. It is wrong because \((x+3)^2\) means \((x+3)(x+3)\), which includes \(x\cdot3\) and \(3\cdot x\).
A numerical check also exposes the incorrect result: at \(x=1\), the left side is \((1+3)^2=16\), while the mistaken expression gives \(1^2+9=10\). The corrected expansion gives \(1+6+9=16\). The cross-term is essential, not optional.
Why the Identities Matter
These identities connect multiplication and factoring. Expanding turns products into sums of terms; recognizing a pattern lets us reverse that process for certain expressions. The derivations explain exactly which features to look for: two equal cross-products in a squared binomial, or opposite cross-products in a product of a sum and a difference.
Factoring also provides a direct check on an answer: multiply the proposed factors and compare the result term by term with the original polynomial. If any coefficient or sign differs, the proposed factorization is not correct. These three identities cover specific patterns; they do not imply that every trinomial is a perfect square or that every two-term expression is a difference of squares.
Check Your Understanding
Use the identities and the distributive law to answer these questions. Check each proposed factorization by expanding it.
- Expand \((2x+5)^2\). Which two products combine to form the middle term?
- Factor \(x^2+14x+49\), or explain which square-pattern check would fail.
- Factor \(36t^2-1\) using the difference-of-squares identity, then multiply the factors to check.
- Does \(x^2+25\) match the difference-of-squares identity as written? Explain the role of the sign between its terms.
- What middle term must appear if \(x^2+cx+16\) is the square of \(x+4\)? Give the value of \(c\) and verify the expansion.