Skip to main content
Mathematics LibreTexts

6.3: Factor Special Products

  • Page ID
    30864
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives

    By the end of this section, you will be able to:

    • Factor perfect square trinomials
    • Factor differences of squares
    • Factor sums and differences of cubes

    Before you get started, take this readiness quiz.

    1. Simplify: \((3x^2)^3\).
    2. Multiply: \((m+4)^2\).
    3. Multiply: \((x−3)(x+3)\).

    We have seen that some binomials and trinomials result from special products—squaring binomials and multiplying conjugates. If you learn to recognize these kinds of polynomials, you can use the special products patterns to factor them much more quickly.

    Factor Perfect Square Trinomials

    Some trinomials are perfect squares. They result from multiplying a binomial times itself. We squared a binomial using the Binomial Squares pattern in a previous chapter.

    In open parentheses 3x plus 4 close parentheses squared, 3x is a and 4 is b. Writing it as a squared plus 2ab plus b squared, we get open parentheses 3x close parentheses squared plus 2 times 3x times 4 plus 4 squared. This is equal to 9 x squared plus 24x plus 16.

    The trinomial \(9x^2+24x+16\) is called a perfect square trinomial. It is the square of the binomial \(3x+4\).

    In this chapter, you will start with a perfect square trinomial and factor it into its prime factors. You could factor this trinomial using the methods described in the last section, since it is of the form \(ax^2+bx+c\). But if you recognize that the first and last terms are squares and the trinomial fits the perfect square trinomials pattern, you will save yourself a lot of work. Here is the pattern—the reverse of the binomial squares pattern.

    PERFECT SQUARE TRINOMIALS PATTERN

    If \(a\) and \(b\) are real numbers

    \[a^2+2ab+b^2=(a+b)^2\nonumber\]

    \[a^2−2ab+b^2=(a−b)^2\nonumber\]

    To make use of this pattern, you have to recognize that a given trinomial fits it. Check first to see if the leading coefficient is a perfect square, \(a^2\). Next check that the last term is a perfect square, \(b^2\). Then check the middle term—is it the product, \(2ab\)? If everything checks, you can easily write the factors.

    Example \(\PageIndex{1}\): How to Factor Perfect Square Trinomials

    Factor: \(9x^2+12x+4\).

    Answer

    Step 1 is to check if the trinomial fits the perfect square trinomials pattern, a squared plus 2ab plus b squared. For this we check if the first term is a perfect square. 9 x squared is the square of 3x. Next we check if the last term is a perfect square. 4 is the square of 2. Next we check if the middle term is 2ab. 12 x is twice 3x times 2. Hence we have a perfect square trinomial.Step 2 is to write this as the square of a binomial. We write it as open parentheses 3x plus 2 close parentheses squared.Step 3 is to check by multiplying.

    Example \(\PageIndex{2}\)

    Factor: \(4x^2+12x+9\).

    Answer

    \((2x+3)^2\)

    Example \(\PageIndex{3}\)

    Factor: \(9y^2+24y+16\).

    Answer

    \((3y+4)^2\)

    The sign of the middle term determines which pattern we will use. When the middle term is negative, we use the pattern \(a^2−2ab+b^2\), which factors to \((a−b)^2\).

    The steps are summarized here.

    FACTOR PERFECT SQUARE TRINOMIALS

    \(\begin{array} {lllll} \textbf{Step 1.} &\text{Does the trinomial fit the pattern?} &\quad &\hspace{7mm} a^2+2ab+b^2 &\hspace{7mm} a^2−2ab+b^2 \\ &\text{Are the first and last terms perfect squares?} &\quad & &\\ &\text{Write them as squares.} &\quad &\hspace{5mm}(a)^2\hspace{16mm} (b)^2 &\hspace{6mm}(a)^2\hspace{16mm} (b)^2 \\ &\text{Check the middle term. Is it }2ab? &\quad &\hspace{12mm} {\,}^{\searrow}{\,}_{2·a·b}{\,}^{\swarrow} &\hspace{12mm} {\,}^{\searrow}{\,}_{2·a·b}{\,}^{\swarrow} \\ \textbf{Step 2.} &\text{Write the square of the binomial.} &\quad &\hspace{13mm} (a+b)^2 &\hspace{13mm} (a−b)^2 \\ \textbf{Step 3.} &\text{Check by multiplying.} & & & \end{array}\)

    We’ll work one now where the middle term is negative.

    Example \(\PageIndex{4}\)

    Factor: \(81y^2−72y+16\).

    Answer

    The first and last terms are squares. See if the middle term fits the pattern of a perfect square trinomial. The middle term is negative, so the binomial square would be \((a−b)^2\).

      \(81 y^{2}-72 y+16\)
    Are the first and last terms perfect squares? .
    Check the middle term. .
    Does it match \((a−b)^2\)? Yes. .
    Write as the square of a binomial. \((9 y-4)^{2}\)
    Check by multiplying:

    \[(9y−4)^2\nonumber\]\[(9y)^2−2·9y·4+4^2\nonumber\]\[81y^2−72y+16\checkmark\nonumber\]
     
    Example \(\PageIndex{5}\)

    Factor: \(64y^2−80y+25\).

    Answer

    \((8y−5)^2\)

    Example \(\PageIndex{6}\)

    Factor: \(16z^2−72z+81\).

    Answer

    \((4z−9)^2\)

    The next example will be a perfect square trinomial with two variables.

    Example \(\PageIndex{7}\)

    Factor: \(36x^2+84xy+49y^2\).

    Answer
      \(36 x^{2}+84 x y+49 y^{2}\)
    Test each term to verify the pattern. .
    Factor. \((6 x+7 y)^{2}\)
    Check by multiplying.

    \[(6x+7y)^2\nonumber\]\[(6x)^2+2·6x·7y+(7y)^2\nonumber\]\[36x^2+84xy+49y^2\checkmark\nonumber\]
     
    Example \(\PageIndex{8}\)

    Factor: \(49x^2+84xy+36y^2\).

    Answer

    \((7x+6y)^2\)

    Example \(\PageIndex{9}\)

    Factor: \(64m^2+112mn+49n^2\).

    Answer

    \((8m+7n)^2\)

    Remember the first step in factoring is to look for a greatest common factor. Perfect square trinomials may have a GCF in all three terms and it should be factored out first. And, sometimes, once the GCF has been factored, you will recognize a perfect square trinomial.

    Example \(\PageIndex{10}\)

    Factor: \(100x^2y−80xy+16y\).

    Answer
      \(100 x^{2} y-80 x y+16 y\)
    Is there a GCF? Yes, \(4y\), so factor it out. \(4 y\left(25 x^{2}-20 x+4\right)\)
    Is this a perfect square trinomial?  
    Verify the pattern. .
    Factor. \(4 y(5 x-2)^{2}\)
    Remember: Keep the factor 4y in the final product.  

    Check:

    \[4y(5x−2)^2\nonumber\]\[4y[(5x)2−2·5x·2+22]\nonumber\]

    \[4y(25x2−20x+4)\nonumber\]100x2y−80xy+16y\checkmark\]

     
    Example \(\PageIndex{11}\)

    Factor: \(8x^2y−24xy+18y\).

    Answer

    \(2y(2x−3)^2\)

    Example \(\PageIndex{12}\)

    Factor: \(27p^2q+90pq+75q\).

    Answer

    \(3q(3p+5)^2\)

    Factor Differences of Squares

    The other special product you saw in the previous chapter was the Product of Conjugates pattern. You used this to multiply two binomials that were conjugates. Here’s an example:

    We have open parentheses 3x minus 4 close parentheses open parentheses 3x plus 4. This is of the form a minus b, a plus b. We rewrite as open parentheses 3x close parentheses squared minus 4 squared. Here, 3x is a and 4 is b. This is equal to 9 x squared minus 16.

    A difference of squares factors to a product of conjugates.

    DIFFERENCE OF SQUARES PATTERN

    If \(a\) and \(b\) are real numbers,

    a squared minus b squared equals a minus b, a plus b. Here, a squared minus b squared is difference of squares and a minus b, a plus b are conjugates.

    Remember, “difference” refers to subtraction. So, to use this pattern you must make sure you have a binomial in which two squares are being subtracted.

    Example \(\PageIndex{13}\): How to Factor a Trinomial Using the Difference of Squares

    Factor: \(64y^2−1\).

    Answer

    Step 1 is to check if the binomial 64 y squared minus 1 fits the pattern. For that we check the following: Is this a difference? Yes. Are the first and last terms perfect squares? Yes.
    Step 2 is to write both terms as squares, So, we have open parentheses 8y close parentheses squared minus 1 squared.
    Step 3 is to write the product of conjugates 8y minus 1, 8y plus 1.
    Step 4 is to check. We multiply to get the original binomial

    Example \(\PageIndex{14}\)

    Factor: \(121m^2−1\).

    Answer

    \((11m−1)(11m+1)\)

    Example \(\PageIndex{15}\)

    Factor: \(81y^2−1\).

    Answer

    \((9y−1)(9y+1)\)

    FACTOR DIFFERENCES OF SQUARES.

    \(\begin{array} {llll} \textbf{Step 1.} &\text{Does the binomial fit the pattern?} &\qquad &\hspace{5mm} a^2−b^2 \\ &\text{Is this a difference?} &\qquad &\hspace{2mm} \text{____−____} \\ &\text{Are the first and last terms perfect squares?} & & \\ \textbf{Step 2.} &\text{Write them as squares.} &\qquad &\hspace{3mm} (a)^2−(b)^2 \\ \textbf{Step 3.} &\text{Write the product of conjugates.} &\qquad &(a−b)(a+b) \\ \textbf{Step 4.} &\text{Check by multiplying.} & & \end{array}\)

    It is important to remember that sums of squares do not factor into a product of binomials. There are no binomial factors that multiply together to get a sum of squares. After removing any GCF, the expression \(a^2+b^2\) is prime!

    The next example shows variables in both terms.

    Example \(\PageIndex{16}\)

    Factor: \(144x^2−49y^2\).

    Answer

    \(\begin{array} {lll} &\quad &144x^2−49y^2 \\ \text{Is this a difference of squares? Yes.} &\quad &(12x)^2−(7y)^2 \\ \text{Factor as the product of conjugates.} &\quad &(12x−7y)(12x+7y) \\ \text{Check by multiplying.} &\quad &(12x−7y)(12x+7y) \\ \text{Check by multiplying.} &\quad & \\ &\quad & \\ &\quad & \\ \hspace{14mm} (12x−7y)(12x+7y) &\quad & \\ \hspace{21mm} 144x^2−49y^2\checkmark &\quad & \end{array}\)

    Example \(\PageIndex{17}\)

    Factor: \(196m^2−25n^2\).

    Answer

    \((14m−5n)(14m+5n)\)

    Example \(\PageIndex{18}\)

    Factor: \(121p^2−9q^2\).

    Answer

    \((11p−3q)(11p+3q)\)

    As always, you should look for a common factor first whenever you have an expression to factor. Sometimes a common factor may “disguise” the difference of squares and you won’t recognize the perfect squares until you factor the GCF.

    Also, to completely factor the binomial in the next example, we’ll factor a difference of squares twice!

    Example \(\PageIndex{19}\)

    Factor: \(48x^4y^2−243y^2\).

    Answer

    \(\begin{array} {ll} &48x^4y^2−243y^2 \\ \text{Is there a GCF? Yes, }3y^2\text{—factor it out!} &3y^2(16x^4−81) \\ \text{Is the binomial a difference of squares? Yes.} &3y^2\left((4x^2)^2−(9)^2\right) \\ \text{Factor as a product of conjugates.} &3y^2(4x^2−9)(4x^2+9) \\ \text{Notice the first binomial is also a difference of squares!} &3y^2((2x)^2−(3)^2)(4x^2+9) \\ \text{Factor it as the product of conjugates.} &3y^2(2x−3)(2x+3)(4x^2+9) \end{array}\)

    The last factor, the sum of squares, cannot be factored.

    \(\begin{array} {l} \text{Check by multiplying:} \\ \hspace{10mm} 3y^2(2x−3)(2x+3)(4x^2+9) \\ \\ \\ \hspace{15mm} 3y^2(4x^2−9)(4x^2+9) \\ \hspace{20mm} 3y^2(16x^4−81) \\ \hspace{19mm} 48x^4y^2−243y^2\checkmark\end{array}\)

    Example \(\PageIndex{20}\)

    Factor: \(2x^4y^2−32y^2\).

    Answer

    \(2y^2(x−2)(x+2)(x^2+4)\)

    Example \(\PageIndex{21}\)

    Factor: \(7a^4c^2−7b^4c^2\).

    Answer

    \(7c^2(a−b)(a+b)(a^2+b^2)\)

    The next example has a polynomial with 4 terms. So far, when this occurred we grouped the terms in twos and factored from there. Here we will notice that the first three terms form a perfect square trinomial.

    Example \(\PageIndex{22}\)

    Factor: \(x^2−6x+9−y^2\).

    Answer

    Notice that the first three terms form a perfect square trinomial.

      \(x^{2}-6 x+9-y^{2}\)
    Factor by grouping the first three terms. \(\underbrace{x^{2}-6 x+9} - y^{2}\)
    Use the perfect square trinomial pattern. \((x-3)^{2}-y^{2}\)
    Is this a difference of squares? Yes.  
    Yes—write them as squares. .
    Factor as the product of conjugates. .
      \((x-3-y)(x-3+y)\)

    You may want to rewrite the solution as \((x−y−3)(x+y−3)\).

    Example \(\PageIndex{23}\)

    Factor: \(x^2−10x+25−y^2\).

    Answer

    \((x−5−y)(x−5+y)\)

    Example \(\PageIndex{24}\)

    Factor: \(x^2+6x+9−4y^2\).

    Answer

    \((x+3−2y)(x+3+2y)\)

    Factor Sums and Differences of Cubes

    There is another special pattern for factoring, one that we did not use when we multiplied polynomials. This is the pattern for the sum and difference of cubes. We will write these formulas first and then check them by multiplication.

    \[a^3+b^3=(a+b)(a^2−ab+b^2\nonumber\]

    \[a^3−b^3=(a−b)(a^2+ab+b^2)\nonumber\]

    We’ll check the first pattern and leave the second to you.

      \(\color{red}(a+b) \color{black} \left(a^{2}-a b+b^{2}\right)\)
    Distribute. \(\color{red}a \color{black}\left(a^{2}-a b+b^{2}\right)+ \color{red}b \color{black}\left(a^{2}-a b+b^{2}\right)\)
    Multiply. \(a^{3}-a^{2} b+a b^{2}+a^{2} b-a b^{2}+b^{3}\)
    Combine like terms. \(a^{3}+b^{3}\)
    SUM AND DIFFERENCE OF CUBES PATTERN

    \[a^3+b^3=(a+b)(a^2−ab+b^2\nonumber\]\[a^3−b^3=(a−b)(a^2+ab+b^2)\nonumber\]

    The two patterns look very similar, don’t they? But notice the signs in the factors. The sign of the binomial factor matches the sign in the original binomial. And the sign of the middle term of the trinomial factor is the opposite of the sign in the original binomial. If you recognize the pattern of the signs, it may help you memorize the patterns.

    a cubed plus b cubed is open parentheses a plus b close parentheses open parentheses a squared minus ab plus b squared close parentheses. a cubed minus b cubed is open parentheses a minus close parentheses open parentheses a squared plus ab plus b squared close parentheses. In both cases, the sign of the first term on the right side of the equation is the same as the sign on the left side of the equation and the sign of the second term is the opposite of the sign on the left side.

    The trinomial factor in the sum and difference of cubes pattern cannot be factored.

    It be very helpful if you learn to recognize the cubes of the integers from 1 to 10, just like you have learned to recognize squares. We have listed the cubes of the integers from 1 to 10 in Table.

    n 1 2 3 4 5 6 7 8 9 10
    \(n^3\) 1 8 27 64 125 216 343 512 729 1000
    Example \(\PageIndex{25}\): How to Factor the Sum or Difference of Cubes

    Factor: \(x^3+64\).

    Answer

    Step 1 is to check if the binomial fits the sum or difference of cubes pattern. For this, we check whether it is a sum or difference. x cubed plus 64 is a sum. Next we check if the first and last terms are perfect cubes. They areStep 2 is to rewrite as cubes. So we rewrite as x cubed plus 4 cubed.Step 3 is to use either the sum or difference of cubes pattern. Since this is a sum of cubes, we get open parentheses x plus 4 close parentheses open parentheses x squared minus 4x plus 4 squared.Step 4 is to simplify inside the parentheses. It is already simplifiedStep 5 is to check by multiplying the factors.

    Example \(\PageIndex{26}\)

    Factor: \(x^3+27\).

    Answer

    \((x+3)(x^2−3x+9)\)

    Example \(\PageIndex{27}\)

    Factor: \(y^3+8\).

    Answer

    \((y+2)(y^2−2y+4)\)

    FACTOR THE SUM OR DIFFERENCE OF CUBES.
    1. Does the binomial fit the sum or difference of cubes pattern?
      Is it a sum or difference?
      Are the first and last terms perfect cubes?
    2. Write them as cubes.
    3. Use either the sum or difference of cubes pattern.
    4. Simplify inside the parentheses.
    5. Check by multiplying the factors.
    Example \(\PageIndex{28}\)

    Factor: \(27u^3−125v^3\).

    Answer
      \(27 u^{3}-125 v^{3}\)
    This binomial is a difference. The first and last
    terms are perfect cubes.
     
    Write the terms as cubes. .
    Use the difference of cubes pattern. .
    Simplify. .
    Check by multiplying. We’ll leave the check to you.
    Example \(\PageIndex{29}\)

    Factor: \(8x^3−27y^3\).

    Answer

    \((2x−3y)(4x^2+6xy+9y^2)\)

    Example \(\PageIndex{30}\)

    Factor: \(1000m^3−125n^3\).

    Answer

    \((10m−5n)(100m^2+50mn+25n^2)\)

    In the next example, we first factor out the GCF. Then we can recognize the sum of cubes.

    Example \(\PageIndex{31}\)

    Factor: \(6x^3y+48y^4\).

    Answer
      \(6 x^{3} y+48 y^{4}\)
    Factor the common factor. \(6 y\left(x^{3}+8 y^{3}\right)\)
    This binomial is a sum The first and last
    terms are perfect cubes.
     
    Write the terms as cubes. .
    Use the sum of cubes pattern. .
    Simplify. .

    Check:

    To check, you may find it easier to multiply the sum of cubes factors first, then multiply that product by 6y.6y. We’ll leave the multiplication for you.

    Example \(\PageIndex{32}\)

    Factor: \(500p^3+4q^3\).

    Answer

    \(4(5p+q)(25p^2−5pq+q^2)\)

    Example \(\PageIndex{33}\)

    Factor: \(432c^3+686d^3\).

    Answer

    \(2(6c+7d)(36c^2−42cd+49d^2)\)

    The first term in the next example is a binomial cubed.

    Example \(\PageIndex{34}\)

    Factor: \((x+5)^3−64x^3\).

    Answer
      \((x+5)^{3}-64 x^{3}\)
    This binomial is a difference. The first and
    last terms are perfect cubes.
     
    Write the terms as cubes. .
    Use the difference of cubes pattern. .
    Simplify. \((x+5-4 x)\left(x^{2}+10 x+25+4 x^{2}+20 x+16 x^{2}\right)\)
      \((-3 x+5)\left(21 x^{2}+30 x+25\right)\)
    Check by multiplying. We’ll leave the check to you.
    Example \(\PageIndex{35}\)

    Factor: \((y+1)^3−27y^3\).

    Answer

    \((−2y+1)(13y^2+5y+1)\)

    Example \(\PageIndex{36}\)

    Factor: \((n+3)^3−125n^3\).

    Answer

    \((−4n+3)(31n^2+21n+9)\)

    Access this online resource for additional instruction and practice with factoring special products.

    Key Concepts

    • Perfect Square Trinomials Pattern: If a and b are real numbers,

      \[\begin{array} {l} a^2+2ab+b^2=(a+b)^2 \\ a^2−2ab+b^2=(a−b)^2\end{array} \nonumber\]

    • How to factor perfect square trinomials.
      \(\begin{array} {lllll} \textbf{Step 1.} &\text{Does the trinomial fit the pattern?} &\quad &\hspace{7mm} a^2+2ab+b^2 &\hspace{7mm} a^2−2ab+b^2 \\ &\text{Are the first and last terms perfect squares?} &\quad & &\\ &\text{Write them as squares.} &\quad &\hspace{5mm}(a)^2\hspace{16mm} (b)^2 &\hspace{6mm}(a)^2\hspace{16mm} (b)^2 \\ &\text{Check the middle term. Is it }2ab? &\quad &\hspace{12mm} {\,}^{\searrow}{\,}_{2·a·b}{\,}^{\swarrow} &\hspace{12mm} {\,}^{\searrow}{\,}_{2·a·b}{\,}^{\swarrow} \\ \textbf{Step 2.} &\text{Write the square of the binomial.} &\quad &\hspace{13mm} (a+b)^2 &\hspace{13mm} (a−b)^2 \\ \textbf{Step 3.} &\text{Check by multiplying.} & & & \end{array}\)
    • Difference of Squares Pattern: If a,ba,b are real numbers,
      a squared minus b squared is a minus b, a plus b. Here, a squared minus b squared is the difference of squares and a minus b, a plus b are conjugates.
    • How to factor differences of squares.
      \(\begin{array} {llll} \textbf{Step 1.} &\text{Does the binomial fit the pattern?} &\qquad &\hspace{5mm} a^2−b^2 \\ &\text{Is this a difference?} &\qquad &\hspace{2mm} \text{____−____} \\ &\text{Are the first and last terms perfect squares?} & & \\ \textbf{Step 2.} &\text{Write them as squares.} &\qquad &\hspace{3mm} (a)^2−(b)^2 \\ \textbf{Step 3.} &\text{Write the product of conjugates.} &\qquad &(a−b)(a+b) \\ \textbf{Step 4.} &\text{Check by multiplying.} & & \end{array}\)
    • Sum and Difference of Cubes Pattern
      \(\begin{array} {l} a^3+b3=(a+b)(a^2−ab+b^2) \\ a^3−b^3=(a−b)(a^2+ab+b^2) \end{array} \)
    • How to factor the sum or difference of cubes.
      1. Does the binomial fit the sum or difference of cubes pattern?
        Is it a sum or difference?
        Are the first and last terms perfect cubes?
      2. Write them as cubes.
      3. Use either the sum or difference of cubes pattern.
      4. Simplify inside the parentheses
      5. Check by multiplying the factors.

    This page titled 6.3: Factor Special Products is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.

    • Was this article helpful?