It may be the case that the terms of the binomial have a common factor. If so, it will be difficult to identify the perfect squares until we first factor out the GCF.
Example \(\PageIndex{3}\)
Factor:
\(12y^{2}−75\).
Solution:
The terms are not perfect squares. However, notice that they do have a common factor. First, factor out the GCF, \(3\).
\(12y^{2}-75=3(4y^{2}-25)\)
The resulting binomial factor is a difference of squares with \(a=2y\) and \(b=5\).
Given any real number \(b\), a polynomial of the form \(x^{2}+b^{2}\) is prime.
Furthermore, the sum of squares \(a^{2}+b^{2}\) does not have a general factored equivalent. Care should be taken not to confuse this with a perfect square trinomial:
When the degree of the special binomial is greater than two, we may need to apply the difference of squares formula multiple times. A polynomial is completely factored when none of the factors can be factored any further.
Example \(\PageIndex{5}\)
Factor completely:
\(x^{4}−16\).
Solution:
First, identify what is being squared:
\(x^{4}-16=(\quad )^{2}-(\quad )^{2}\)
To do this, recall the power rule for exponents, \((x^{m})^{^{n}}=x^{m^{n}}\). When exponents are raised to a power, multiply them. With this in mind, determine that \((x^{2})^{^{2}}=x^{4}\) and write
\(x^{4}-16=(x^{2})^{^{2}}-(4)^{2}\)
Therefore, \(a=x^{2}\) and \(b=4\). Substitute into the formula for difference of squares.
\(x^{4}-16=(x^{2}+4)(x^{2}-4)\)
At this point, notice that the factor \((x^{2}−4)\) is itself a difference of two squares and thus can be further factored using \(a=x\) and \(b=2\). The factor \((x^{2}+4)\) is a sum of squares, which cannot be factored using real numbers.
The process for factoring the sum and difference of cubes is very similar to that for the difference of squares. We first identify \(a\) and \(b\) and then substitute into the appropriate formula. The separate formulas for sum and difference of cubes allow us to always choose \(a\) and \(b\) to be positive.
Example \(\PageIndex{6}\)
Factor:
\(x^{3}+8\).
Solution:
The plus sign and the fact that the terms are cubes indicate to us that this is a sum of cubes.
When factoring, always look for resulting factors to factor further.
Example \(\PageIndex{10}\)
Factor completely:
\(x^{6}−64\).
Solution:
When confronted with a binomial that is both a difference of squares and cubes, as this is, make it a rule to factor using difference of squares first.
The trinomial factors are prime and the expression is completely factored.
Answer:
\((x+2)(x^{2}−2x+4)(x−2)(x^{2}+2x+4)\)
As an exercise, factor the previous example as a difference of cubes first and then compare the results. Why do you think we make it a rule to factor using difference of squares first?
Exercise \(\PageIndex{4}\)
Factor:
\(x^{6}−y^{6}\).
Answer
\((x+y)(x^{2}−xy+y2)(x−y)(x^{2}+xy+y2)\)
Key Takeaways
When factoring special binomials, the first step is to identify it as a sum or difference. Once we identify the binomial, we then determine the values of \(a\) and \(b\) and substitute into the appropriate formula.
The formulas for all of the special binomials should be memorized. In addition, to help facilitate the identification of special binomials, memorize the squares and cubes of integers up to at least \(12\).
If a binomial is both a difference of squares and cubes, then first factor it as a difference of squares.
Exercise \(\PageIndex{5}\) Difference of Squares
Factor completely.
\(x^{2}−9\)
\(x^{2}−100 \)
\(y^{2}−36 \)
\(y^{2}−144 \)
\(x^{2}+4 \)
\(x^{2}−5 \)
\(m^{2}−81 \)
\(m^{2}−64 \)
\(16x^{2}−9 \)
\(25x^{2}−4 \)
\(144x^{2}−1 \)
\(9x^{2}−121 \)
\(4y^{2}−81 \)
\(100y^{2} −49 \)
\(9 − 4 x^{2}\)
\(100 −x^{2}\)
\(1 −y^{2}\)
\(25 − 9y^{2}\)
\(− 3 x^{2} +75\)
\(−16 x^{2} +25\)
\(2 x^{2} −72\)
\(20 x^{3} −45 x\)
\(−48 x +27x^{3}\)
\(36 x^{2} −100\)
\(x^{2} −y^{2}\)
\(25 x^{2} − 9y^{2}\)
\(a^{2} − 4 b^{2}\)
\(a^{2} b^{2} −36\)
\(4 x^{2}y^{2} − 1\)
\(x^{2}y^{2} −25\)
\(2 a^{3} − 8ab^{2}\)
\(3 a^{3} b^{4} −75ab^{2}\)
\(−100xy^{3} + 4x^{3}y\)
\(−18 x^{3}y^{3} +32xy\)
\((x + 1 )^{2} −y^{2}\)
\(x^{2}−(y − 2 )^{2}\)
\((x − 3 )^{2}−(y + 3 )^{2}\)
\((x^{2} + 2 )^{2}−(x − 1 )^{2}\)
\((x^{2} − 1 )^{2}−( 2 x + 3 )^{2}\)
\(x^{4} − 1\)
\(x^{4} −y^{4}\)
\(16 x^{4} −81\)
\(a^{4}b^{4}−16\)
\(a^{4}−16b^{4}\)
\(x^{8}−1\)
\(25x^{8}−1\)
\(a^{8}−b^{2}\)
\(a^{4}−9\)
\(x^{8}−y^{8}\)
\(81x^{8}−1 \)
The height of a projectile dropped from a \(64\)-foot tower is given by the function \(h(t)=−16t^{2}+64\), where \(t\) represents the time in seconds after it is dropped. Rewrite this function in factored form. (Hint: Factor out \(−16\) first.)
The height of a projectile dropped from a \(36\)-foot tower is given by the function \(h(t)=−16t^{2}+36\), where \(t\) represents the time in seconds after it is dropped. Rewrite this function in factored form.
If a binomial falls into both categories, difference of squares and difference of cubes, which would be best to factor it as, and why? Create an example that illustrates this situation and factor it using both formulas.
What can be said about the degrees of the factors of a polynomial? Give an example.
Make up your own difference of squares factoring exercise and provide the answer. Explain how you solved it.
Make up your own sum or difference of cubes factoring exercise and provide the answer. Explain how you solved it.