Skip to main content
\(\require{cancel}\newcommand{\abs}[1]{\left\lvert#1\right\rvert} \newcommand{\point}[2]{\left(#1,#2\right)} \newcommand{\highlight}[1]{{\color{blue}{{#1}}}} \newcommand{\lowlight}[1]{{\color{lightgray}{#1}}} \newcommand{\attention}[1]{\mathord{\overset{\downarrow}{#1}}} \newcommand{\substitute}[1]{\highlight{#1}} \newcommand{\addright}[1]{\highlight{{}+#1}} \newcommand{\addleft}[1]{\highlight{#1+{}}} \newcommand{\subtractright}[1]{\highlight{{}-#1}} \newcommand{\multiplyright}[2][\cdot]{\highlight{{}#1#2}} \newcommand{\multiplyleft}[2][\cdot]{\highlight{#2#1{}}} \newcommand{\divideunder}[2]{\frac{#1}{\highlight{#2}}} \newcommand{\divideright}[1]{\highlight{{}\div#1}} \newcommand{\apple}{\text{🍎}} \newcommand{\banana}{\text{🍌}} \newcommand{\pear}{\text{🍐}} \newcommand{\cat}{\text{🐱}} \newcommand{\dog}{\text{🐶}} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section7.6Chapter Review

Subsection7.6.1Review of Factoring out the GCF

Recall that the greatest common factor between two expressions is the largest factor that goes in evenly to both expressions.

Example7.6.1Finding the Greatest Common Factor

What is the greatest common factor between \(12x^3y\) and \(42x^2y^2\text{?}\) Break down each of these into its factors:

\begin{align*} 12x^3y \amp =2\cdot 2\cdot \cdot 3\cdot x\cdot x\cdot x \cdot y \amp 42x^2y^2 \amp =2\cdot 3\cdot 7\cdot x\cdot x\cdot y \cdot y\\ \end{align*}

Identify the common factors:

\begin{align*} 12x^3y \amp =\attention{2}\cdot 2\cdot \attention{3}\cdot \attention{x}\cdot \attention{x}\cdot x \cdot \attention{y} \amp 42x^2y^2 \amp =\attention{2}\cdot \attention{3}\cdot 7\cdot \attention{x}\cdot \attention{x}\cdot \attention{y} \cdot y \end{align*}

With \(2\text{,}\) \(3\text{,}\) two \(x\)'s and a \(y\) in common, the greatest common factor is \(6x^2y\text{.}\)

Example7.6.2Factoring out the Greatest Common Factor

To factor out the GCF from the expression \(32mn^2-24m^2n-12mn\text{,}\) first note that the GCF to all three terms is \(4mn\text{.}\) Begin by writing that in front of a blank pair of parentheses and fill in the missing pieces.

\begin{align*} 32mn^2-24m^2n-12mn\amp=4mn(\phantom{8n}-\phantom{6m}-\phantom{3})\\ \amp=4mn(8n-6m-3) \end{align*}
Exercise7.6.3

What is the greatest common factor between \(18c^3y^2\) and \(27y^3c\text{?}\)

Solution

Break down each into factors. You can definitely do this mentally with practice.

\begin{align*} 18c^3y^2\amp=2\cdot 3\cdot 3\cdot c\cdot c\cdot c\cdot y\cdot y \amp 27y^3c\amp= 3\cdot 3\cdot 3\cdot y\cdot y\cdot y\cdot c\\ \end{align*}

And take note of the common factors.

\begin{align*} 18c^3y^2\amp=2\cdot \attention{3}\cdot \attention{3}\cdot \attention{c}\cdot c\cdot c\cdot \attention{y}\cdot \attention{y} \amp 27y^3c\amp= \attention{3}\cdot \attention{3}\cdot 3\cdot \attention{y}\cdot \attention{y}\cdot y\cdot c \end{align*}

And so the GCF is \(9y^2c\)

Exercise7.6.4

Factor out the GCF from the expression \(14x^3-35x^2\text{.}\)

Solution

First note that the GCF of the terms in \(14x^3-35x^2\) is \(7x^2\text{.}\) Factoring this out, we have:

\begin{align*} 14x^3-35x^2\amp=7x^2\left(\phantom{2x}-\phantom{5}\right)\\ \amp=7x^2\left(2x-5\right) \end{align*}
Exercise7.6.5

Factor out the GCF from the expression \(36m^3n^2-18m^2n^5+24mn^3\text{.}\)

Solution

First note that the GCF of the terms in \(36m^3n^2-18m^2n^5+24mn^3\) is \(6mn^2\text{.}\) Factoring this out, we have:

\begin{align*} 36m^3n^2-18m^2n^5+24mn^3\amp=6mn^2\left(\phantom{6m^2}-\phantom{3mn^3}+\phantom{4n}\right)\\ \amp=6mn^2\left(6m^2-3mn^3+4n\right) \end{align*}
Exercise7.6.6

Factor out the GCF from the expression \(42f^3w^2-8w^2+9f^3\text{.}\)

Solution

First note that the GCF of the terms in \(42f^3w^2-8w^2+9f^3\) is \(1\text{.}\) The only way to factor the GCF out of this expression is:

\begin{equation*} 42f^3w^2-8w^2+9f^3=1\left(42f^3w^2-8w^2+9f^3\right) \end{equation*}

Subsection7.6.2Review of Factoring by Grouping

Recall that factoring using grouping is used on four-term polynomials, and also later in the AC method in <<Unresolved xref, reference "section-factoring"; check spelling or use "provisional" attribute>><<Unresolved xref, reference "trinomials-with-a-nontrivial-leading-coefficient"; check spelling or use "provisional" attribute>>. Begin by grouping two pairs of terms and factoring out their respective GCF; if all is well, we should be left with two matching pieces in parentheses that can be factored out in their own right.

Example7.6.7

Factor the expression \(2x^3+5x^2+6x+15\) using grouping.

Solution \begin{align*} 2x^3+5x^2+6x+15\amp=\left(2x^3+5x^2\right)+\left(6x+15\right)\\ \amp=\highlight{x^2}\left(2x+5\right)\highlight{{}+3}\left(2x+5\right)\\ \amp=\highlight{\left(x^2+3\right)}(2x+5) \end{align*}
Example7.6.8

Factor the expression \(2xy-3x-8y+12\) using grouping.

Solution \begin{align*} 2xy-3x+8y-12\amp=\left(2xy-3x\right)+\left(-8y+12\right)\\ \amp=\highlight{x}\left(2y-3\right)\highlight{{}-4}\left(2y-3\right)\\ \amp=\highlight{(x-4)}(2y-3) \end{align*}
Example7.6.9

Factor the expression \(xy-2-2x+y\) using grouping.

Solution

This is a special example because if we try to simply follow the algorithm without considering the bigger context, we will fail:

\begin{equation*} xy-2-2x+y=\left(xy-2\right)+\left(-2x+y\right) \end{equation*}

Note that there is no common factor in either grouping, besides \(1\text{,}\) but the groupings themselves don't match. We should now recognize that whatever we are doing isn't working and try something else. It turns out that this polynomial isn't prime; all we need to do is rearrange the polynomial into standard form where the degrees decrease from left to right before grouping.

\begin{align*} xy-2-2x+y\amp=xy-2x+y-2\\ \amp=\left(xy-2x\right)+\left(y-2\right)\\ \amp=\highlight{x}\left(y-2\right)\highlight{{}+1}\left(y-2\right)\\ \amp=\highlight{(x+1)}(y-2) \end{align*}
Exercise7.6.10

Factor the expression \(15m^2-3m-10mn+2n\) using grouping.

Solution \begin{align*} 15m^2-3m-10mn+2n\amp=\left(15m^2-3m\right)+\left(-10mn+2n\right)\\ \amp=\highlight{3m}\left(5m-1\right)\highlight{{}-2n}\left(5m-1\right)\\ \amp=\highlight{(3m-2n)}(5m-1) \end{align*}

Subsection7.6.3Review of Factoring Trinomials with Leading Coefficient \(1\)

This section revolved around factoring expressions that look like \(x^2+bx+c\text{.}\) The trick was to look for two numbers whose product was \(c\) and whose sum was \(b\text{.}\)

Example7.6.11

To factor the expression \(x^2-3x-28\text{,}\) think of two numbers that multiply to be \(-28\) and add to be \(-3\text{.}\) In the Section 7.3, we created a table of all possibilities of factors, like the one shown , to be sure that we never missed the right numbers; however, we encourage you to try this mentally for most problems.

Factor Pair Sum of the Pair
\(-1\cdot28\) \(27\)
\(-2\cdot14\) \(12\)
\(-4\cdot7\) \(3\) (close; wrong sign)
Factor Pair Sum of the Pair
\(1\cdot(-28)\) \(-27\)
\(2\cdot(-14)\) \(-12\)
\(4\cdot(-7)\) \(-3\) (what we wanted)

Since the two numbers in question are \(4\) and \(-7\) that means simply that

\begin{equation*} x^2-3x-28=(x+4)(x-7) \end{equation*}

Remember that you can always multiply out your factored expression to verify that you have the correct answer. We will use the FOIL expansion.

\begin{align*} (x+4)(x-7)\amp=x^2-7x+4x-28\\ \amp\stackrel{\checkmark}{=}x^2-3x-28 \end{align*}
Example7.6.12Factoring in Stages

Remember that some expressions require more than one step to completely factor. To factor \(4x^3-4x^2-120x\text{,}\) first, always look for any GCF; after that is done, consider other options. Since the GCF is \(4x\text{,}\) we have that

\begin{equation*} 4x^3-4x^2-120x=4x\left(x^2-x-30\right)\text{.} \end{equation*}

Now the factor inside parentheses might factor further. The key here is to consider what two numbers multiply to be \(-30\) and add to be \(-1\text{.}\) In this case, the answer is \(-6\) and \(5\text{.}\) So, to completely write the factorization, we have:

\begin{align*} 4x^3-4x^2-120x\amp=4x\left(x^2-x-30\right)\\ \amp=4x(x-6)(x+5) \end{align*}
Example7.6.13Factoring Expressions with Higher Powers

If we have a trinomial with an even exponent on the leading term, and the middle term has an exponent that is half the leading term exponent, we can still use the factor pairs method. To factor \(p^{10}-6p^5-72\text{,}\) we note that the middle term exponent \(5\) is half of the leading term exponent \(10\text{,}\) and that two numbers that multiply to be \(-72\) and add to be \(-6\) are \(-12\) and \(6\text{.}\) So the factorization of the expression is

\begin{equation*} p^{10}-6p^5-72=\left(p^5-12\right)\left(p^5+6\right) \end{equation*}
Example7.6.14Factoring Expressions with Two Variables

If an expression has two variables, like \(x^2-3xy-70y^2\text{,}\) we pretend for a moment that the expression is \(x^2-3x-70\text{.}\) To factor this expression we ask ourselves “what two numbers multiply to be \(-70\) and add to be \(-3\text{?}\)” The two numbers in question are \(7\) and \(-10\text{.}\) So \(x^2-3x-70\) factors as \((x+7)(x-10)\text{.}\)

To go back to the original problem now, simply make the two numbers \(7y\) and \(-10y\text{.}\) So, the full factorization is

\begin{equation*} x^2-3xy-70y^2=(x+7y)(x-10y) \end{equation*}

With problems like this, it is important to verify the your answer to be sure that all of the variables ended up where they were supposed to. So, to verify, simply FOIL your answer.

\begin{align*} (x+7y)(x-10y)\amp=x^2-10xy+7yx-70y^2\\ \amp=x^2-10xy+7\highlight{xy}-70y^2\\ \amp\stackrel{\checkmark}{=}x^2-3xy-70y^2 \end{align*}
Exercise7.6.15

Answer the questions to practice for the factor pairs method.

  1. What two numbers multiply to be \(6\) and add to be \(5\text{?}\)
  2. What two numbers multiply to be \(-6\) and add to be \(5\text{?}\)
  3. What two numbers multiply to be \(-6\) and add to be \(-1\text{?}\)
  4. What two numbers multiply to be \(24\) and add to be \(-10\text{?}\)
  5. What two numbers multiply to be \(-24\) and add to be \(2\text{?}\)
  6. What two numbers multiply to be \(-24\) and add to be \(-5\text{?}\)
  7. What two numbers multiply to be \(420\) and add to be \(44\text{?}\)
  8. What two numbers multiply to be \(-420\) and add to be \(-23\text{?}\)
  9. What two numbers multiply to be \(420\) and add to be \(-41\text{?}\)
Solution
  1. What two numbers multiply to be \(6\) and add to be \(5\text{?}\) The numbers are \(2\) and \(3\text{.}\)
  2. What two numbers multiply to be \(-6\) and add to be \(5\text{?}\) The numbers are \(6\) and \(-1\text{.}\)
  3. What two numbers multiply to be \(-6\) and add to be \(-1\text{?}\) The numbers are \(-3\) and \(2\text{.}\)
  4. What two numbers multiply to be \(24\) and add to be \(-10\text{?}\) The numbers are \(-6\) and \(-4\text{.}\)
  5. What two numbers multiply to be \(-24\) and add to be \(2\text{?}\) The numbers are \(6\) and \(-4\text{.}\)
  6. What two numbers multiply to be \(-24\) and add to be \(-5\text{?}\) The numbers are \(-8\) and \(3\text{.}\)
  7. What two numbers multiply to be \(420\) and add to be \(44\text{?}\) The numbers are \(30\) and \(14\text{.}\)
  8. What two numbers multiply to be \(-420\) and add to be \(-23\text{?}\) The numbers are \(-35\) and \(12\text{.}\)
  9. What two numbers multiply to be \(420\) and add to be \(-41\text{?}\) The numbers are \(-20\) and \(-21\text{.}\)

Note that for parts g–i, the factors of 420 are important. Below is a table of factors of 420 which will make it much clearer how the answers were found. To generate a table like this, we start with \(1\text{,}\) and we work our way up the factors of 420.

Factor Pair
\(1\cdot420\)
\(2\cdot210\)
\(3\cdot140\)
\(4\cdot105\)
Factor Pair
\(5\cdot84\)
\(6\cdot70\)
\(7\cdot60\)
\(10\cdot42\)
Factor Pair
\(12\cdot35\)
\(14\cdot30\)
\(15\cdot28\)
\(20\cdot21\)

It is now much easier to see how to find the numbers in question. For example, to find two numbers that multiply to be \(-420\) and add to be \(-23\text{,}\) simply look in the table for two factors that are \(23\) apart and assign a negative sign appropriately. As we found earlier, the numbers that are \(23\) apart are \(12\) and \(35\text{,}\) and making the larger one negative, we have our answer: \(12\) and \(-35\text{.}\)

Exercise7.6.16

Fully factor the expressions.

  1. \(x^2-11x+30\)
  2. \(-s^2+3s+28\)
  3. \(g^2-3g-24\)
  4. \(w^2-wr-30r^2\)
  5. \(z^8+2z^4-63\)
Solution
  1. \(x^2-11x+30=(x-6)(x-5)\)
  2. \begin{align*} -s^2+3s+28\amp=-\left(s^2-3s-28\right)\\ \amp=-(s-7)(s+4) \end{align*}
  3. \(g^2-3g-24\) is prime.
  4. \(w^2-wr-30r^2=(w-6r)(w+5r)\)
  5. \(z^8+2z^4-63=\left(z^4-7\right)\left(z^4+9\right)\)

Subsection7.6.4Review of Factoring Trinomials with Non-Trivial Leading Coefficient

Recall that this section revolved around factoring trinomials of the form \(ax^2+bx+c\) when \(a\neq1\) using the AC method. The algorithm 7.4.3 for the AC method is not be as intuitive as it is effective, but we will refresh your memory with the example below.

Example7.6.17

To factor the expression \(9x^2-6x-8\text{,}\) we first multiply \(ac\text{:}\)

  1. \(9\cdot(-8)=-72\text{.}\)

  2. Examine factor pairs that multiply to \(-72\text{,}\) looking for a pair that sums to \(-6\text{:}\)

    Factor Pair Sum of the Pair
    \(1\cdot-72\) \(-71\)
    \(2\cdot-36\) \(-34\)
    \(3\cdot-24\) \(-21\)
    \(4\cdot-18\) \(-14\)
    \(6\cdot-12\) \(-6\)
    \(8\cdot-9\) (no need to go this far)
    Factor Pair Sum of the Pair
    \(-1\cdot72\) (no need to go this far)
    \(-2\cdot36\) (no need to go this far)
    \(-3\cdot24\) (no need to go this far)
    \(-4\cdot18\) (no need to go this far)
    \(-6\cdot12\) (no need to go this far)
    \(-8\cdot9\) (no need to go this far)
  3. Intentionally break up the \(-6\) as \(6+(-12)\) and then factor using grouping:

    \begin{align*} 9x^2\overbrace{{}-6x}-8\amp=9x^2\overbrace{{}+6x-12x}-8\\ \amp=\left(9x^2+6x\right)+(-12x-8)\\ \amp=3x\highlight{(3x+2)}-4\highlight{(3x+2)}\\ \amp=\highlight{(3x+2)}(3x-4) \end{align*}
Example7.6.18

Recall that some trinomials need to be factored in stages: the first stage is always to factor out the GCF. To factor \(8y^3+54y^2+36y\text{,}\) first note that the GCF of the three terms in the expression is \(2y\text{.}\) Then apply the AC method:

\begin{align*} 8y^3+54y^2+36y\amp=2y\left(4y^2+27y+18\right)\\ \end{align*}

Now we find \(ac=4\cdot18=72\text{.}\) What two factors of \(72\) add up to 27? After checking a few numbers, we find that \(3\) and \(24\) fit the requirements. So:

\begin{align*} \phantom{8y^3+54y^2+36y}\amp=2y\left(4y^2\overbrace{+27y}+18\right)\\ \amp=2y\left(4y^2\overbrace{+3y+24y}+18\right)\\ \amp=2y\left(\left(4y^2+3y\right)+\left(24y+18\right)\right)\\ \amp=2y\left(y\highlight{\left(4y+3\right)}+6\highlight{\left(4y+3\right)}\right)\\ \amp=2y\highlight{\left(4y+3\right)}\left(y+6\right) \end{align*}
Exercise7.6.19

Fully factor the expression \(3y^2+20y-63\text{.}\)

Solution

First note that \(ac=-189\text{.}\) Looking for two factors of \(-189\) that add up to \(20\text{,}\) we find \(27\) and \(-7\text{.}\) Breaking up the \(+20\) into \(+27-7\text{,}\) we can factor using grouping.

\begin{align*} 3y^2\overbrace{{}+20y}-63\amp=3y^2\overbrace{{}+27y-7y}-63\\ \amp=\left(3y^2+27y\right)+\left(-7y-63\right)\\ \amp=3y\highlight{\left(y+9\right)}-7\highlight{\left(y+9\right)}\\ \amp=\highlight{\left(y+9\right)}(3y-7) \end{align*}
Exercise7.6.20

Fully factor the expression \(18x^3+26x^2+4x\text{.}\)

Solution

First note that there is a GCF of \(2x\) which should be factored out first. Doing this leaves us with \(18x^3+26x^2+8x=2x\left(9x^2+13x+4\right)\text{.}\) Now we apply the AC method on the factor in the parentheses. So, \(ac=36\text{,}\) and we must find two factors of \(36\) that sum to be \(13\text{.}\) These two factors are \(9\) and \(4\text{.}\) Now we can use grouping.

\begin{align*} 18x^3+26x^2+8x\amp=2x\left(9x^2\overbrace{{}+13x}+4\right)\\ \amp=2x\left(9x^2\overbrace{{}+9x+4x}+4\right)\\ \amp=2x\left(\left(9x^2+9x\right)+\left(4x+4\right)\right)\\ \amp=2x\left(9x\highlight{\left(x+1\right)}+4\highlight{\left(x+1\right)}\right)\\ \amp=2x\highlight{(x+1)}(9x+4) \end{align*}
Exercise7.6.21

Fully factor the expression \(3x^2+5x-6\text{.}\)

Solution

First note that there is no GCF besides \(1\) and that \(ac=-18\text{.}\) To look for two factors of \(-18\) that add up to \(5\text{,}\) we will make a factor pair table.

Factor Pair Sum of the Pair
\(1\cdot-18\) \(-17\)
\(2\cdot-9\) \(-7\)
\(3\cdot-6\) \(-3\)
Factor Pair Sum of the Pair
\(-1\cdot18\) \(17\)
\(-2\cdot9\) \(7\)
\(-3\cdot6\) \(3\)

Since none of the factor pairs of \(-18\) sum to \(5\text{,}\) we must conclude that this trinomial is prime. The only way to factor it is \(3x^2+5x-6=1\left(3x^2+5x-6\right)\text{.}\)

Subsection7.6.5Review of Factoring Special Forms

Recall that this section focused on using formulas, most of which were covered in previous sections, to factor binomials and trinomials. Using these formulas, when appropriate, often drastically increased the speed of factoring. Below is a summary of the formulas covered. For each, consider that \(a\) and \(b\) could be any mathematical expressions.

\begin{align*} a^2+2ab+b^2\amp=(a+b)^2 \amp\amp\text{(Perfect Square Sum)}\\ a^2-2ab+b^2\amp=(a-b)^2 \amp\amp\text{(Perfect Square Difference)}\\ a^2-b^2\amp=(a+b)(a-b) \amp\amp\text{(Difference of Squares)}\\ a^3+b^3\amp=(a+b)(a^2-ab+b^2) \amp\amp\text{(Sum of Cubes)}\\ a^3-b^3\amp=(a-b)(a^2+ab+b^2) \amp\amp\text{(Difference of Cubes)} \end{align*}
Example7.6.22

Completely factor the expression \(16y^2-24y+9\text{.}\)

To factor \(16y^2-24y+9\) we notice that the expression might be of the form \(a^2-2ab+b^2\text{.}\) To find \(a\) and \(b\text{,}\) we mentally take the square root of both the first and last terms of the original expression. The square root of \(16y^2\) is \(4y\) since \((4y)^2=4^2y^2=16y^2\text{.}\) The square root of \(9\) is \(3\text{.}\) So, we conclude that \(a=4y\) and \(b=3\text{.}\) Recall that we now need to check that the \(24y\) matches our \(2ab\text{.}\) Using our values for \(a\) and \(b\text{,}\) we indeed see that \(2ab=-2(4y)(3)=24y\text{.}\) So, we conclude that

\begin{equation*} 16y^2-24y+9=(4y-3)^2\text{.} \end{equation*}
Example7.6.23
  1. Completely factor the expression \(v^3-27\text{.}\)
  2. Completely factor the expression \(9w^2+12w+4\text{.}\)
  3. Completely factor the expression \(4q^2-81\text{.}\)
  4. Completely factor the expression \(9p^2+25\text{.}\)
Solution

The first step for each problem is to try to fit the expression to one of the special factoring forms.

  1. To factor \(v^3-27\) we notice that the expression is of the form \(a^3-b^3\text{.}\) To find values for \(a\) and \(b\text{,}\) take mentally take the cube root of both terms. So, \(a=v\) and \(b=3\text{.}\) So, using the form \(a^3-b^3=(a-b)(a^2+ab+b^2)\text{,}\) we have that \begin{align*} v^3-27\amp=(v-3)\left(v^2+(v)(3)+3^2\right)\\ \amp=(v-3)\left(v^2+3v+9\right) \end{align*}
  2. To factor \(9w^2+12w+4\) we notice that the expression might be of the form \(a^2+2ab+b^2\) where \(a=3w\) and \(b=2\text{.}\) With this formula we need to check the value of \(2ab\) which in this case is \(2ab=2(3w)(2)=12w\text{.}\) Since the value of \(2ab\) is correct, the expression must factor as \begin{equation*} 9w^2+12w+4=(3w+2)^2 \end{equation*}
  3. To factor \(4q^2-81\) we notice that the expression is of the form \(a^2-b^2\) where \(a=2q\) and \(b=9\text{.}\) Thus, the expression must factor as \begin{equation*} 4q^2-81=(2q-9)(2q+9) \end{equation*}
  4. To factor \(9p^2+25\) we notice that the expression is of the form \(a^2+b^2\text{.}\) This is called a sum of squares. If you recall from the section, the sum of squares is always prime. So \(9p^2+25\) is prime.
Exercise7.6.24
  1. Completely factor the expression \(121b^2-36\text{.}\)
  2. Completely factor the expression \(25u^2-70u+49\text{.}\)
  3. Completely factor the expression \(64q^3-27y^3\text{.}\)
Solution
  1. To completely factor the expression \(121b^2-36\) first note that the expression is of the form \(a^2-b^2\) where \(a=11b\) and \(b=6\text{.}\) So, the expression factors as \begin{equation*} 121b^2-36=(11b+6)(11b-6)\text{.} \end{equation*}
  2. To completely factor the expression \(25u^2-70u+49\) first note that the expression might be of the form \(a^2-2ab+b^2\) where \(a=5u\) and \(b=7\text{.}\) Now, we check that \(2ab\) matches the middle term: \(2ab=2(5u)(7)=70u\text{.}\) So, the expression factors as \begin{equation*} 25u^2-70u+49=(5u-7)^2\text{.} \end{equation*}
  3. To completely factor the expression \(64q^3-27y^3\) first note that the expression is of the form \(a^3-b^3\) where \(a=4q\) and \(b=3y\text{.}\) So, the expression factors as \begin{align*} 64q^3-27y^3\amp=(4q-3y)\left((4q)^2+(4q)(3y)+(3y)^2\right)\\ \amp=(4q-3y)\left(16q^2+12qy+9y^2\right) \end{align*}

Subsection7.6.6Flow Chart for Factoring

Deciding which method to use when factoring a random polynomial can seem like a daunting task. Understanding all of the techniques that we have learned and how they fit together is best done using a flow chart.

<<SVG image is unavailable, or your browser cannot render it>>

Figure7.6.25Factoring Flow Chart

Using the flow chart will greatly simplify the process for us when we are given an expression to factor.

Example7.6.26
  1. Factor the expression \(4k^2+12k-40\) completely.
  2. Factor the expression \(64d^2+144d+81\) completely.
  3. Factor the expression \(10x^2y-12xy^2\) completely.
  4. Factor the expression \(9b^2-25y^2\) completely.
  5. Factor the expression \(24w^3+6w^2-9w\) completely.
  6. Factor the expression \(q^5+q^2\) completely.
Solution
  1. To factor the expression \(4k^2+12k-40\text{,}\) start by noting that the GCF is \(4\text{.}\) Factoring this out, we get \begin{equation*} 4k^2+12k-40=4\left(k^2+3k-10\right)\text{.} \end{equation*} Following the flow chart, we now have a trinomial where \(a=1\) and we need to look for factors of \(-10\)that add to \(3\text{.}\) So, the full factorization is: \begin{align*} 4k^2+12k-40\amp=4\left(k^2+3k-10\right)\\ \amp=4(k+5)(k-2) \end{align*}
  2. To factor the expression \(64d^2+144d+81\text{,}\) start by noting that the GCF is \(1\text{.}\) Since we don't have to show factoring out \(1\text{,}\) we continue following the flow chart and notice that we now have a trinomial with \(a\neq1\text{.}\) At this point we could successfully use the AC method, but that it wouldn't be easy with such large numbers. Instead, notice that both \(64\) and \(81\) are perfect squares and that this expression might factor using the pattern \(a^2+2ab+b^2=(a+b)^2\text{.}\) Recall that to find \(a\) and \(b\text{,}\) take the square roots of the first and last terms, so \(a=8d\) and \(b=9\text{.}\) We have to check that the middle term is correct: since \(2ab=2(8d)(9)=144d\) matches our middle term, the expression must factor as \begin{equation*} 64d^2+144d+81=(8d+9)^2\text{.} \end{equation*}
  3. To factor the expression \(10x^2y-12xy^2\text{,}\) start by noting that the GCF is \(2xy\text{.}\) Factoring this out, we get \begin{equation*} 10x^2y-12xy^2=2xy(5x-6y)\text{.} \end{equation*} Since we have a binomial inside the parentheses, the only options on the flow chart for a binomial involve squares or cubes. Since there are none, we must conclude that \(5x-6y\) is prime itself and \(2xy(5x-6y)\) is the complete factorization.
  4. To factor the expression \(9b^2-25y^2\text{,}\) start by noting that the GCF is \(1\text{.}\) Since we don't have to show factoring out \(1\text{,}\) we continue following the flow chart and notice that we now have a difference of squares, \(a^2-b^2=(a+b)(a-b)\text{.}\) Recall that to find the values for \(a\) and \(b\) that fit the patterns, just take the square roots of the terms of the expression. So \(a=3b\) since \((3b)^2=9b^2\) and \(b=5y\) since \((5y)^2=25y^2\text{.}\) So, the expression must factor as \begin{equation*} 9b^2-25y^2=(3b+5y)(3b-5y)\text{.} \end{equation*}
  5. To factor the expression \(24w^3+6w^2-9w\text{,}\) start by noting that the GCF is \(3w\text{.}\) Factoring this out, we get \begin{equation*} 24w^3+6w^2-9w=3w\left(8w^2+2w-3\right)\text{.} \end{equation*} Following the flow chart, we now have a trinomial inside the parentheses where \(a\neq1\text{.}\) We should try the AC method because neither \(8\) nor \(-3\) are perfect squares. In this case, \(ac=-24\) and we must find two factors of \(-24\) that add to be \(2\text{.}\) The numbers \(6\) and \(-4\) work in this case. The rest of the factoring process is: \begin{align*} 24w^3+6w^2-9w\amp=3w\left(8w^2\overbrace{{}+2w}-3\right)\\ \amp=3w\left(8w^2\overbrace{{}+6w-4w}-3\right)\\ \amp=3w\left(\left(8w^2+6w\right)+\left(-4w-3\right)\right)\\ \amp=3w\left(2w\highlight{(4w+3)}-1\highlight{(4w+3)}\right)\\ \amp=3w\highlight{(4w+3)}(2w-1) \end{align*}
  6. To factor the expression \(q^5+q^2\text{,}\) start by noting that the GCF is \(q^2\text{.}\) Factoring this out, we get \begin{equation*} q^5+q^2=\highlight{q^2}\left(q^3+1\right)\text{.} \end{equation*} Following the flow chart, we now have a binomial with a sum and cubes. Please notice that \(1^3=1\text{.}\) So, using the sum of cubes formula we have the complete factorization: \begin{align*} q^5+q^2\amp=\highlight{q^2}\left(q^3+1\right)\\ \amp=\highlight{q^2}(q+1)\left(q^2-q+1\right) \end{align*}
Exercise7.6.27
  1. Factor the expression \(-6xy+9y+2x-3\) completely.
  2. Factor the expression \(4w^3-20w^2+24w\) completely.
  3. Factor the expression \(9-24y+16y^2\) completely.
  4. Factor the expression \(9-25y+16y^2\) completely.
  5. Factor the expression \(20x^4+13x^3-21x^2\) completely.
Solution
  1. To factor the expression \(-6xy+9y+2x-3\text{,}\) start by noting that the GCF is \(1\text{.}\) Since we don't have to factor a \(1\) out, we continue following the flow chart. We have a four-term polynomial and we should use factoring by grouping. The full process is:

    \begin{align*} -6xy+9y+2x-3\amp=(-6xy+9y)+(2x-3)\\ \amp=-3y\highlight{(2x-3)}+1\highlight{(2x-3)}\\ \amp=\highlight{(2x-3)}(-3y+1)\\ \end{align*}

    We should note that the negative sign in front of the \(3y\) can be factored out if you wish. That would look like:

    \begin{align*} (2x-3)(-3y+1)\amp=-(2x-3)(3y-1) \end{align*}
  2. To factor the expression \(4w^3-20w^2+24w\text{,}\) start by noting that the GCF is \(4w\text{.}\) Factoring this out, we get

    \begin{equation*} 4w^3-20w^2+24w=4w\left(w^2-5w+6\right)\text{.} \end{equation*}

    Following the flow chart, we now have a trinomial with \(a=1\) inside the parentheses. So, we can look for factors of \(6\) that add up to \(-5\text{.}\) Since \(-3\) and \(-2\) fit the requirements, the full factorization is:

    \begin{align*} 4w^3-20w^2+24w\amp=4w\left(w^2-5w+6\right)\\ \amp=4w(w-3)(w-2) \end{align*}
  3. To factor the expression \(9-24y+16y^2\text{,}\) start by noting that the GCF is \(1\text{.}\) Since we don't have to factor a \(1\) out, we continue following the flow chart. We now have a trinomial where both the first term, \(9\text{,}\) and last term, \(16y^2\) look like perfect squares. To use the perfect squares difference pattern, \(a^2-2ab+b^2=(a-b)^2\text{,}\) recall that we need to mentally take the square roots of these two terms to find \(a\) and \(b\text{.}\) So, \(a=3\) since \(3^2=9\text{,}\) and \(b=4y\) since \((4y)^2=16y^2\text{.}\) Now we have to check that \(2ab\) matches \(24y\text{:}\)

    \begin{equation*} 2ab=2(3)(4y)=24y\text{.} \end{equation*}

    So the full factorization is:

    \begin{equation*} 9-24y+16y^2=(3-4y)^2\text{.} \end{equation*}
  4. To factor the expression \(9-25y+16y^2\text{,}\) start by noting that the GCF is \(1\text{.}\) Since we don't have to factor a \(1\) out, we continue following the flow chart. Since we now have a trinomial where both the first term and last term are perfect squares in exactly the same way as in the solution to part 3. However, we note that if we cannot apply the perfect squares method to this problem because it worked when \(2ab=24y\text{.}\) Since our middle term is \(25y\text{,}\) we can be certain that it won't be a perfect square.

    Continuing on with the flow chart, our next option is to use the AC method. You might be tempted to rearrange the order of the terms, but that is unnecessary. In this case, \(ac=144\) and we need to come up with two factors of \(144\) that add to be \(-25\text{.}\) After a brief search, we conclude that those values are \(-16\) and \(-9\text{.}\) The remainder of the factorization is:

    \begin{align*} 9\overbrace{{}-25y}+16y^2\amp=9\overbrace{{}-16y-9y}+16y^2\\ \amp=\left(9-16y\right)+\left(-9y+16y^2\right)\\ \amp=1\highlight{\left(9-16y\right)}-y\highlight{\left(9+16y\right)}\\ \amp=\highlight{\left(9-16y\right)}(1-y) \end{align*}
  5. To factor the expression \(20x^4+13x^3-21x^2\text{,}\) start by noting that the GCF is \(x^2\text{.}\) Factoring this out, we get

    \begin{equation*} 20x^4+13x^3-21x^2=x^2\left(20x^2+13x-21\right)\text{.} \end{equation*}

    Following the flow chart, we now have a trinomial inside the parentheses where \(a\neq1\) and we should try the AC method. In this case, \(ac=-420\) and we need factors of \(-420\) that add to \(13\text{.}\)

    Factor Pair
    \(1\cdot420\)
    \(2\cdot210\)
    \(3\cdot140\)
    \(4\cdot105\)
    Factor Pair
    \(5\cdot84\)
    \(6\cdot70\)
    \(7\cdot60\)
    \(10\cdot42\)
    Factor Pair
    \(12\cdot35\)
    \(14\cdot30\)
    \(15\cdot28\)
    \(20\cdot21\)

    In the table of the factors of \(420\) we can fairly easily see that the correct factors of \(-420\) in question are \(15\) and \(-28\text{.}\) The rest of the factoring process is shown:

    \begin{align*} 20x^4+13x^3-21x^2\amp=x^2\left(20x^2\overbrace{{}+13x}-21\right)\\ \amp=x^2\left(20x^2\overbrace{+15x-28x}-21\right)\\ \amp=x^2\left(\left(20x^2+15x\right)+\left(-28x-21\right)\right)\\ \amp=x^2\left(5x\highlight{(4x+3)}-7\highlight{(4x+3)}\right)\\ \amp=x^2\highlight{(4x+3)}(5x-7) \end{align*}