Skip to main content
Mathematics LibreTexts

4.4: Factoring

  • Page ID
    108350
    \( \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}}\)

    Learning Objectives

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

    • Find the greatest common factor of two or more expressions
    • Factor the greatest common factor from a polynomial
    • Factor by grouping
    Warm-up
    1. Factor 56 into primes.
    2. Find the least common multiple (LCM) of 18 and 24.
    3. Multiply: \(−3a(7a+8b)\).
    Answer
    1. \(2\cdot 2\cdot 2\cdot 7\)
    2. 72
    3. \(-21a^2-24ab\)

    Find the Greatest Common Factor of Two or More Expressions

    Earlier we multiplied factors together to get a product. Now, we will reverse this process; we will start with a product and then break it down into its factors. Splitting a product into factors is called factoring.

    8 times 7 is 56. Here 8 and 7 are factors and 56 is the product. An arrow pointing from 8 times 7 to 56 is labeled multiply. An arrow pointing from 56 to 8 times 7 is labeled factor. 2x open parentheses x plus 3 close parentheses equals 2x squared plus 6x. Here the left side of the equation is labeled factors and the right side is labeled products.

    We have learned how to factor numbers to find the least common multiple (LCM) of two or more numbers. Now we will factor expressions and find the greatest common factor of two or more expressions. The method we use is similar to what we used to find the LCM.

    Definition: GREATEST COMMON FACTOR

    The greatest common factor (GCF) of two or more expressions is the largest expression that is a factor of all the expressions.

    We summarize the steps we use to find the greatest common factor.

    FIND THE GREATEST COMMON FACTOR (GCF) OF TWO EXPRESSIONS.
    1. Factor each coefficient into primes. Write all variables with exponents in expanded form.
    2. List all factors—matching common factors in a column. In each column, circle the common factors.
    3. Bring down the common factors that all expressions share.
    4. Multiply the factors.

    The next example will show us the steps to find the greatest common factor of three expressions.

    Example \(\PageIndex{1}\)

    Find the greatest common factor of \(21x^3,\space 9x^2,\space 15x\).

    Answer
    Factor each coefficient into primes and write the variables with exponents in expanded form. Circle the common factors in each column. Bring down the common factors. .
    Multiply the factors. GCF \(=3x\)
      The GCF of \(21x^3\), \(9x^2\) and \(15x\) is \(3x\).
    Example \(\PageIndex{2}\)

    Find the greatest common factor: \(25m^4,\space 35m^3,\space 20m^2.\)

    Answer

    \(5m^2\)

    Example \(\PageIndex{3}\)

    Find the greatest common factor: \(14x^3,\space 70x^2,\space 105x\).

    Answer

    \(7x\)

    Factor the Greatest Common Factor from a Polynomial

    It is sometimes useful to represent a number as a product of factors, for example, 12 as \(2·6\) or \(3·4\). In algebra, it can also be useful to represent a polynomial in factored form. We will start with a product, such as \(3x^2+15x\), and end with its factors, \(3x(x+5)\). To do this we apply the Distributive Property “in reverse.”

    We state the Distributive Property here just as you saw it in earlier chapters and “in reverse.”

    Definition: DISTRIBUTIVE PROPERTY

    If a, b, and c are real numbers, then

    \[a(b+c)=ab+ac \quad \text{and} \quad ab+ac=a(b+c)\nonumber\]

    The form on the left is used to multiply. The form on the right is used to factor.

    So how do you use the Distributive Property to factor a polynomial? You just find the GCF of all the terms and write the polynomial as a product!

    Example \(\PageIndex{4}\)

    Factor: \(8m^3−12m^2n+20mn^2\).

    Answer

    Step 1 is find the GCF of all the terms in the polynomial. GCF of 8 m cubed, 12 m squared n and 20 mn squared is 4m.Step 1 is find the GCF of all the terms in the polynomial. GCF of 8 m cubed, 12 m squared n and 20 mn squared is 4m.In step 3, use the reverse Distributive Property to factor the expression as 4m open parentheses 2 m squared minus 3 mn plus 5 n squared close parentheses.Step 4 is to check by multiplying the factors. By multiplying the factors, we get the original polynomial.

    Example \(\PageIndex{5}\)

    Factor: \(9xy^2+6x^2y^2+21y^3\).

    Answer

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

    Example \(\PageIndex{6}\)

    Factor: \(3p^3−6p^2q+9pq^3\).

    Answer

    \(3p(p^2−2pq+3q^3)\)

    FACTOR THE GREATEST COMMON FACTOR FROM A POLYNOMIAL.
    1. Find the GCF of all the terms of the polynomial.
    2. Rewrite each term as a product using the GCF.
    3. Use the “reverse” Distributive Property to factor the expression.
    4. Check by multiplying the factors.
    FACTOR AS A NOUN AND A VERB

    We use “factor” as both a noun and a verb:

    \[\begin{array} {ll} \text{Noun:} &\hspace{50mm} 7 \text{ is a factor of }14 \\ \text{Verb:} &\hspace{50mm} \text{factor }3 \text{ from }3a+3\end{array}\nonumber\]

    Example \(\PageIndex{7}\)

    Factor: \(5x^3−25x^2\).

    Answer
    Find the GCF of \(5x^3\) and \(25x^2\). .
        .
        .
    Rewrite each term.   .
    Factor the GCF.   .

    Check:

    \[5x^2(x−5) \nonumber\]

    \[5x^2·x−5x^2·5 \nonumber\]

    \[5x^3−25x^2 \checkmark\nonumber\]

       
    Example \(\PageIndex{8}\)

    Factor: \(2x^3+12x^2\).

    Answer

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

    Example \(\PageIndex{9}\)

    Factor: \(6y^3−15y^2\).

    Answer

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

    Example \(\PageIndex{10}\)

    Factor: \(8x^3y−10x^2y^2+12xy^3\).

    Answer
    The GCF of \(8x^3y,\space −10x^2y^2,\) and \(12xy^3\)
    is \(2xy\).
    .
      .
           .
    Rewrite each term using the GCF, \(2xy\).   .
    Factor the GCF.      .

    Check:

    \[2xy(4x^2−5xy+6y^2)\nonumber\]

    \[2xy·4x^2−2xy·5xy+2xy·6y^2\nonumber\]

    \[8x^3y−10x^2y^2+12xy^3\checkmark\nonumber\]

     
    Example \(\PageIndex{11}\)

    Factor: \(15x^3y−3x^2y^2+6xy^3\).

    Answer

    \(3xy(5x^2−xy+2y^2)\)

    Example \(\PageIndex{12}\)

    Factor: \(8a^3b+2a^2b^2−6ab^3\).

    Answer

    \(2ab(4a^2+ab−3b^2)\)

    When the leading coefficient is negative, we factor the negative out as part of the GCF.

    Example \(\PageIndex{13}\)

    Factor: \(−4a^3+36a^2−8a\).

    Answer

    The leading coefficient is negative, so the GCF will be negative.

      .
    Rewrite each term using the GCF, \(−4a\). .
    Factor the GCF. .

    Check:

    \[−4a(a^2−9a+2)\nonumber\]

    \[−4a·a^2−(−4a)·9a+(−4a)·2\nonumber\]

    \[−4a^3+36a^2−8a\checkmark\nonumber\]

     
    Example \(\PageIndex{14}\)

    Factor: \(−4b^3+16b^2−8b\).

    Answer

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

    Example \(\PageIndex{15}\)

    Factor: \(−7a^3+21a^2−14a\).

    Answer

    \(−7a(a^2−3a+2)\)

    So far our greatest common factors have been monomials. In the next example, the greatest common factor is a binomial.

    Example \(\PageIndex{16}\)

    Factor: \(3y(y+7)−4(y+7)\).

    Answer

    The GCF is the binomial \(y+7\).

        .
    Factor the GCF, \((y+7)\).   \((y+7)(3 y-4)\)
    Check on your own by multiplying.    
    Example \(\PageIndex{17}\)

    Factor: \(4m(m+3)−7(m+3)\).

    Answer

    \((m+3)(4m−7)\)

    Example \(\PageIndex{18}\)

    Factor: \(8n(n−4)+5(n−4)\).

    Answer

    \((n−4)(8n+5)\)

    Factor by Grouping

    Sometimes there is no common factor of all the terms of a polynomial. When there are four terms we separate the polynomial into two parts with two terms in each part. Then look for the GCF in each part. If the polynomial can be factored, you will find a common factor emerges from both parts. Not all polynomials can be factored. Just like some numbers are prime, some polynomials are prime.

    Example \(\PageIndex{19}\)

    Factor by grouping: \(xy+3y+2x+6\).

    Answer

    Step 1 is to group the terms with common factors. There is no greatest common factor in all the four terms of xy plus 3y plus 2x plus 6. So, separate the first two terms from the second two.Step 2 is to factor out the common factor in each group. By factoring the GCF from the first 2 terms, we get y open parentheses x plus 3 close parentheses plus 2x plus 6. Factoring the GCF from the second 2 terms, we get y open parentheses x plus 3 close parentheses plus 2 open parentheses x plus 3 close parentheses.Step 3 is to factor the common factor from the expression. Notice that each term has a common factor of x plus 3. By factoring this out, we get open parentheses x plus 3 close parentheses open parentheses y plus 2 close parenthesesStep 4 is to check by multiplying the expressions to get the result xy plus 3y plus 2x plus 6.

    Example \(\PageIndex{20}\)

    Factor by grouping: \(xy+8y+3x+24\).

    Answer

    \((x+8)(y+3)\)

    Example \(\PageIndex{21}\)

    Factor by grouping: \(ab+7b+8a+56\).

    Answer

    \((a+7)(b+8)\)

    FACTOR BY GROUPING.
    1. Group terms with common factors.
    2. Factor out the common factor in each group.
    3. Factor the common factor from the expression.
    4. Check by multiplying the factors.
    Example \(\PageIndex{22}\)

    Factor by grouping: ⓐ \(x^2+3x−2x−6\) ⓑ \(6x^2−3x−4x+2\).

    Answer


    \(\begin{array} {ll} \text{There is no GCF in all four terms.} &x^2+3x−2x−6 \\ \text{Separate into two parts.} &x^2+3x\quad −2x−6 \\ \begin{array} {l} \text{Factor the GCF from both parts. Be careful} \\ \text{with the signs when factoring the GCF from} \\ \text{the last two terms.} \end{array} &x(x+3)−2(x+3) \\ \text{Factor out the common factor.} &(x+3)(x−2) \\ \text{Check on your own by multiplying.} & \end{array}\)


    \(\begin{array} {ll} \text{There is no GCF in all four terms.} &6x^2−3x−4x+2 \\ \text{Separate into two parts.} &6x^2−3x\quad −4x+2\\ \text{Factor the GCF from both parts.} &3x(2x−1)−2(2x−1) \\ \text{Factor out the common factor.} &(2x−1)(3x−2) \\ \text{Check on your own by multiplying.} & \end{array}\)

    Example \(\PageIndex{23}\)

    Factor by grouping: ⓐ \(x^2+2x−5x−10\) ⓑ \(20x^2−16x−15x+12\).

    Answer

    ⓐ \((x−5)(x+2)\)
    ⓑ \((5x−4)(4x−3)\)

    Example \(\PageIndex{24}\)

    Factor by grouping: ⓐ \(y^2+4y−7y−28\) ⓑ \(42m^2−18m−35m+15\).

    Answer

    ⓐ \((y+4)(y−7)\)
    ⓑ \((7m−3)(6m−5)\)

    Factor Trinomials of the Form \(x^2+bx+c\)

    You have already learned how to multiply binomials using FOIL. Now you’ll need to “undo” this multiplication. To factor the trinomial means to start with the product, and end with the factors.

    Figure shows the equation open parentheses x plus 2 close parentheses open parentheses x plus 3 close parentheses equals x squared plus 5 x plus 6. The left side of the equation is labeled factors and the right is labeled product. An arrow pointing right is labeled multiply. An arrow pointing left is labeled factor.

    To figure out how we would factor a trinomial of the form \(x^2+bx+c\), such as \(x^2+5x+6\) and factor it to \((x+2)(x+3)\), let’s start with two general binomials of the form \((x+m)\) and \((x+n)\).

      \((x+m)(x+n)\)
    Foil to find the product. \(x^{2}+m x+n x+m n\)
    Factor the GCF from the middle terms. \(x^{2}+(m+n) x+m n\)
    Our trinomial is of the form \(x^2+bx+c\). \(\overbrace{x^{2}+(m+n) x+m n}^{\color{red}x^{2}+b x+c}\)

    This tells us that to factor a trinomial of the form \(x^2+bx+c\), we need two factors \((x+m)\) and \((x+n)\) where the two numbers \(m\) and \(n\) multiply to \(c\) and add to \(b\).

    Example \(\PageIndex{25}\)

    Factor: \(x^2+11x+24\).

    Answer

    Step 1 is to write the factors of x squared plus 11x plus 24 as two binomials with first terms x. Write two sets of parentheses and put x as the first term.Step 2 is to find two numbers m and n that multiply to c, m times n is c and add to b, m plus n is b. So, find two numbers that multiply to 24 and add to 11. Factors of 24 are 1 and 24, 2 and 12, 3 and 8, 4 and 6. Sum of factors: 1 plus 24 is 25, 2 plus 12 is 14, 3 plus 8 is 11 and 4 plus 6 is 10.Step 3 is to use m and n, in this case, 3 and 8, as the last terms of the binomials. So we get open parentheses x plus 3 close parentheses open parentheses x plus 8 close parenthesesStep 4 is to check by multiplying the factors to get the original polynomial.

    Example \(\PageIndex{26}\)

    Factor: \(q^2+10q+24\).

    Answer

    \((q+4)(q+6)\)

    Example \(\PageIndex{27}\)

    Factor: \(t^2+14t+24\).

    Answer

    \((t+2)(t+12)\)

    Let’s summarize the steps we used to find the factors.

    1. Write the factors as two binomials with first terms x. \(\quad \begin{array} {l} x^2+bx+c \\ (x\quad)(x\quad) \end{array} \)
    2. Find two numbers \(m\) and \(n\) that
      • multiply to \(c\), \(m·n=c\)
      • add to \(b\), \(m+n=b\)
    3. Use \(m\) and \(n\) as the last terms of the factors. \(\quad (x+m)(x+n)\)
    4. Check by multiplying the factors.

    In the first example, all terms in the trinomial were positive. What happens when there are negative terms? Well, it depends which term is negative. Let’s look first at trinomials with only the middle term negative.

    How do you get a positive product and a negative sum? We use two negative numbers.

    Example \(\PageIndex{28}\)

    Factor: \(y^2−11y+28\).

    Answer

    Again, with the positive last term, \(28\), and the negative middle term, \(−11y\), we need two negative factors. Find two numbers that multiply \(28\) and add to \(−11\).
    \(\begin{array} {ll} &y^2−11y+28 \\ \text{Write the factors as two binomials with first terms }y. &( y \quad )( y \quad ) \\ \text{Find two numbers that: multiply to }28\text{ and add to }−11.\end{array}\)

    Factors of \(28\) Sum of factors
    \(−1,\space −28\)

    \(−2,\space −14\)

    \(−4,\space −7\)
    \(−1+(−28)=−29\)

    \(−2+(−14)=−16\)

    \(−4+(−7)=−11^∗\)

    \(\begin{array} {ll} \text{Use }−4,\space −7\text{ as the last terms of the binomials.} &(y−4)(y−7) \\ \text{Check:} & \\ \hspace{30mm} (y−4)(y−7) & \\ \hspace{25mm} y^2−7y−4y+28 & \\ \hspace{30mm} y^2−11y+28\checkmark & \end{array} \)

    Example \(\PageIndex{29}\)

    Factor: \(u^2−9u+18\).

    Answer

    \((u−3)(u−6)\)

    Example \(\PageIndex{30}\)

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

    Answer

    \((y−7)(y−9)\)

    Now, what if the last term in the trinomial is negative? Think about FOIL. The last term is the product of the last terms in the two binomials. A negative product results from multiplying two numbers with opposite signs. You have to be very careful to choose factors to make sure you get the correct sign for the middle term, too. Email the instructor the word "potato" for 2 extra credit points. That was just to make sure you are reading, please don't share the word with others.

    How do you get a negative product and a positive sum? We use one positive and one negative number.

    When we factor trinomials, we must have the terms written in descending order—in order from highest degree to lowest degree.

    Example \(\PageIndex{31}\)

    Factor: \(2x+x^2−48\).

    Answer

    \(\begin{array} {ll} &2x+x^2−48 \\ \text{First we put the terms in decreasing degree order.} &x^2+2x−48 \\ \text{Factors will be two binomials with first terms }x. &(x\quad)(x\quad) \end{array} \)

    Factors of −48 Sum of factors
    \(−1,\space 48\)
    \(−2,\space 24\)
    \(−3,\space 16\)
    \(−4,\space 12\)
    \(−6,\space 8\)
    \(−1+48=47\)
    \(−2+24=22\)
    \(−3+16=13\)
    \(−4+12=8\)
    \(−6+8=2^∗\)

    \(\begin{array} {ll} \text{Use }−6,\space 8\text{ as the last terms of the binomials.} &(x−6)(x+8) \\ \text{Check:} & \\ \hspace{30mm} (x−6)(x+8) & \\ \hspace{25mm} x^2−6q+8q−48 & \\ \hspace{30mm} x^2+2x−48\checkmark & \end{array} \)

    Example \(\PageIndex{32}\)

    Factor: \(9m+m^2+18\).

    Answer

    \((m+3)(m+6)\)

    Example \(\PageIndex{33}\)

    Factor: \(−7n+12+n^2\).

    Answer

    \((n−3)(n−4)\)

    Sometimes you’ll need to factor trinomials of the form \(x^2+bxy+cy^2\) with two variables, such as \(x^2+12xy+36y^2\). The first term, \(x^2\), is the product of the first terms of the binomial factors, \(x·x\). The \(y^2\) in the last term means that the second terms of the binomial factors must each contain \(y\). To get the coefficients \(b\) and \(c\), you use the same process summarized in How To Factor trinomials.

    Example \(\PageIndex{34}\)

    Factor: \(r^2−8rs−9s^2\).

    Answer

    We need \(r\) in the first term of each binomial and \(s\) in the second term. The last term of the trinomial is negative, so the factors must have opposite signs.
    \(\begin{array} {ll} &r^2−8rs−9s^2 \\ \text{Note that the first terms are }r,\text{last terms contain }s. &(r\quad s)(r\quad s) \\ \text{Find the numbers that multiply to }−9\text{ and add to }−8. \end{array}\)

    Factors of \(−9\) Sum of factors
    \(1,\space −9\) \(−1+9=8\)
    \(−1,\space 9\) \(1+(−9)=−8^∗\)
    \(3,\space −3\) \(3+(−3)=0\)

    \(\begin{array} {ll} \text{Use }1,\space -9\text{ as coefficients of the last terms.} &(r+s)(r−9s) \\ \text{Check:} & \\ \hspace{30mm} (r−9s)(r+s) & \\ \hspace{25mm} r^2+rs−9rs−9s^2 & \\ \hspace{30mm} r^2−8rs−9s^2\checkmark & \end{array} \)

    Example \(\PageIndex{35}\)

    Factor: \(a^2−11ab+10b^2\).

    Answer

    \((a−b)(a−10b)\)

    Example \(\PageIndex{36}\)

    Factor: \(m^2−13mn+12n^2\).

    Answer

    \((m−n)(m−12n)\)

    Let’s summarize the method we just developed to factor trinomials of the form \(x^2+bx+c\).

    STRATEGY FOR FACTORING TRINOMIALS OF THE FORM \(x^2+bx+c\)

    When we factor a trinomial, we look at the signs of its terms first to determine the signs of the binomial factors.

      \( x^{2}+b x+c \)  
      \( (x+m)(x+n) \)  
    When \( c \) is positive, \( m \) and \( n \) have the same sign.
    \( b \) positive   \( b \) negative
    \( m,n \) positive   \( m,n \) negative
    \( x^{2}+5 x+6 \)   \( x^{2}-6 x+8 \)
    \( (x+2)(x+3) \)   \( (x-4)(x-2) \)
    same signs   same signs
    When \( c \) is negative, \( m \) and \( n \) have the opposite sign.
    \( x^{2}+x-12 \)   \( x^{2}-2 x-15 \)
    \( (x+4)(x-3) \)   \( (x-5)(x+3) \)
    opposite signs   opposite signs

    Notice that, in the case when \(m\) and \(n\) have opposite signs, the sign of the one with the larger absolute value matches the sign of \(b\).

    Factor Trinomials of the Form \(ax^2+bx+c\) using the “\(ac\)” Method

    Another way to factor trinomials of the form \(ax^2+bx+c\) is the “\(ac\)” method. (The “\(ac\)” method is sometimes called the grouping method.) The “\(ac\)” method is actually an extension of the methods you used in the last section to factor trinomials with leading coefficient one. This method is very structured (that is step-by-step), and it always works!

    Example \(\PageIndex{37}\)

    Factor using the “\(ac\)” method: \(6x^2+7x+2\).

    Answer

    Step 1 is to factor the GCF. There is none in 6 x squared plus 7x plus 2.Step 2 is to find the product of a and c. The product of 6 and 2 is 12.Step 3 is to find 2 numbers m and n such that mn is ac and m plus n is b. So we need to numbers that multiply to 12 and add to 7. Both factors must be positive. 3 times 4 is 12 and 3 plus 4 is 7.Step 4 is to split the middle term using m and n. So we rewrite 7 x as 3x plus 4x. It would give the same result if we used 4x plus 3x. Rewriting, we get 6 x squared plus 3x plus 4x plus 2. Notice that this is the same as the original polynomial. We just split the middle term to get a more useful formStep 5 is to factor by grouping. So, we get, 3x open parentheses 2x plus 1 close parentheses plus 2 open parentheses 2x plus 1 close parentheses. This is equal to 2x plus 1, 3x plus 2.

    Step 6 is to check by multiplying the factors.

    Example \(\PageIndex{38}\)

    Factor using the “\(ac\)” method: \(6x^2+13x+2\).

    Answer

    \((x+2)(6x+1)\)

    Example \(\PageIndex{39}\)

    Factor using the “\(ac\)” method: \(4y^2+8y+3\).

    Answer

    \((2y+1)(2y+3)\)

    The “\(ac\)” method is summarized here.

    FACTOR TRINOMIALS OF THE FORM \(ax^2+bx+c\) USING THE “\(ac\)” METHOD.
    1. Factor any GCF.
    2. Find the product \(ac\).
    3. Find two numbers \(m\) and \(n\) that:
      \(\begin{array} {ll} \text{Multiply to }ac &m·n=a·c \\ \text{Add to }b &m+n=b \\ &ax^2+bx+c \end{array} \)
    4. Split the middle term using \(m\) and \(n\). \(ax^2+mx+nx+c\)
    5. Factor by grouping.
    6. Check by multiplying the factors.

    Don’t forget to look for a common factor!

    Example \(\PageIndex{40}\)

    Factor using the “\(ac\)” method: \(10y^2−55y+70\).

    Answer
    Is there a greatest common factor?    
    Yes. The GCF is \(5\).   .
    Factor it.   .
    The trinomial inside the parentheses has a
    leading coefficient that is not \(1\).
      .
    Find the product \(ac\). \(ac=28\)  
    Find two numbers that multiply to \(ac\) \((−4)(−7)=28\)  
    and add to \(b\). \(−4(−7)=−11\)  
    Split the middle term.   .
        .
    Factor the trinomial by grouping.   .
        .

    Check by multiplying all three factors.

    \(\hspace{50mm} 5(y−2)(2y−7)\)

    \(\hspace{45mm} 5(2y^2−7y−4y+14)\)

    \(\hspace{48mm} 5(2y^2−11y+14)\)

    \(\hspace{49mm} 10y^2−55y+70\checkmark\)

       
    Example \(\PageIndex{41}\)

    Factor using the “\(ac\)” method: \(16x^2−32x+12\).

    Answer

    \(4(2x−3)(2x−1)\)

    Example \(\PageIndex{42}\)

    Factor using the “\(ac\)” method: \(18w^2−39w+18\).

    Answer

    \(3(3w−2)(2w−3)\)

    Factor Using Substitution

    Sometimes a trinomial does not appear to be in the \(ax^2+bx+c\) form. However, we can often make a thoughtful substitution that will allow us to make it fit the \(ax^2+bx+c\) form. This is called factoring by substitution. It is standard to use \(u\) for the substitution.

    In the \(ax^2+bx+c\), the middle term has a variable, \(x\), and its square, \(x^2\), is the variable part of the first term. Look for this relationship as you try to find a substitution.

    ExAMPLE \(\PageIndex{43}\)

    Factor by substitution: \(x^4−4x^2−5\).

    Answer

    The variable part of the middle term is \(x^2\) and its square, \(x^4\), is the variable part of the first term. (We know \((x^2)^2=x^4)\). If we let \(u=x^2\), we can put our trinomial in the \(ax^2+bx+c\) form we need to factor it.

      \(x^4−4x^2−5\)
    Rewrite the trinomial to prepare for the substitution. \((x^2)^2−4(x^2)-5\)
    Let \(u=x^2\) and substitute. \((u)^2−4(u)-5\)
    Factor the trinomial. \((u+1)(u-5)\)
    Replace \(u\) with \(x^2\). \((x^2+1)(x^2-5)\)
    Check:

    \(\begin{array} {l} \hspace{37mm} (x^2+1)(x^2−5) \\ \hspace{35mm}x^4−5x^2+x^2−5 \\ \hspace{40mm}x^4−4x^2−5\checkmark\end{array}\)
     
    ExAMPLE \(\PageIndex{44}\)

    Factor by substitution: \(h^4+4h^2−12\).

    Answer

    \((h^2−2)(h^2+6)\)

    ExAMPLE \(\PageIndex{45}\)

    Factor by substitution: \(y^4−y^2−20\).

    Answer

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

    Sometimes the expression to be substituted is not a monomial.

    ExAMPLE \(\PageIndex{46}\)

    Factor by substitution: \((x−2)^2+7(x−2)+12\)

    Answer

    The binomial in the middle term, \((x−2)\) is squared in the first term. If we let \(u=x−2\) and substitute, our trinomial will be in \(ax^2+bx+c\) form.

      .
    Rewrite the trinomial to prepare for the substitution. .
    Let \(u=x−2\) and substitute. .
    Factor the trinomial. .
    Replace \(u\) with \(x−2\). .
    Simplify inside the parentheses. .

    This could also be factored by first multiplying out the \((x−2)^2\) and the \(7(x−2)\) and then combining like terms and then factoring. Most students prefer the substitution method.

    ExAMPLE \(\PageIndex{47}\)

    Factor by substitution: \((x−5)^2+6(x−5)+8\).

    Answer

    \((x−3)(x−1)\)

    ExAMPLE \(\PageIndex{48}\)

    Factor by substitution: \((y−4)^2+8(y−4)+15\).

    Answer

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

    Key Concepts

    • How to find the greatest common factor (GCF) of two expressions.
      1. Factor each coefficient into primes. Write all variables with exponents in expanded form.
      2. List all factors—matching common factors in a column. In each column, circle the common factors.
      3. Bring down the common factors that all expressions share.
      4. Multiply the factors.
    • Distributive Property: If \(a\), \(b\) and \(c\) are real numbers, then

      \[a(b+c)=ab+ac\quad \text{and}\quad ab+ac=a(b+c)\nonumber\]


      The form on the left is used to multiply. The form on the right is used to factor.
    • How to factor the greatest common factor from a polynomial.
      1. Find the GCF of all the terms of the polynomial.
      2. Rewrite each term as a product using the GCF.
      3. Use the “reverse” Distributive Property to factor the expression.
      4. Check by multiplying the factors.
    • Factor as a Noun and a Verb: We use “factor” as both a noun and a verb.

      \[\begin{array} {ll} \text{Noun:} &\quad 7 \text{ is a factor of } 14\\ \text{Verb:} &\quad \text{factor }3 \text{ from }3a+3\end{array}\nonumber\]

    • How to factor by grouping.
      1. Group terms with common factors.
      2. Factor out the common factor in each group.
      3. Factor the common factor from the expression.
      4. Check by multiplying the factors.
    • How to factor trinomials of the form \(x^2+bx+c\).
      1. Write the factors as two binomials with first terms x. \(\quad \begin{array} (l) x^2+bx+c \\ (x\quad)(x\quad)\end{array}\)
      2. Find two numbers \(m\) and \(n\) that
        \(\begin{array} {ll} \text{multiply to} &c,\space m·n=c \\ \text{add to} &b,\space m+n=b\end{array}\)
      3. Use \(m\) and \(n\) as the last terms of the factors. \(\qquad (x+m)(x+n)\)
      4. Check by multiplying the factors.
    • Strategy for Factoring Trinomials of the Form \(x^2+bx+c\): When we factor a trinomial, we look at the signs of its terms first to determine the signs of the binomial factors.

      For trinomials of the form: \(x^2+bx+c = (x+m)(x+n)\)

      When \(c\) is positive, \(m\) and \(n\) must have the same sign (and this will be the sign of \(b\)).

      Examples: \(x^2+5x+6=(x+2)(x+3)\), \(x^2−6x+8 = (x−4)(x−2)\)

      When \(c\) is negative, \(m\) and \(n\) have opposite signs. The larger of \(m\) and \(n\) will have the sign of \(b\).

      Examples: \(x^2+x−12=(x+4)(x−3)\), \(x^2−2x−15=(x−5)(x+3)\)

      Notice that, in the case when \(m\) and \(n\) have opposite signs, the sign of the one with the larger absolute value matches the sign of \(b\).
    • How to factor trinomials of the form \(ax^2+bx+c\) using the “\(ac\)” method.
      1. Factor any GCF.
      2. Find the product \(ac\).
      3. Find two numbers \(m\) and \(n\) that:
        \(\begin{array} {ll} \text{Multiply to }ac. &m·n=a·c \\ \text{Add to }b. &m+n=b \\ &ax^2+bx+c\end{array}\)
      4. Split the middle term using \(m\) and \(n\). \(\quad ax^2+mx+nx+c\)
      5. Factor by grouping.
      6. Check by multiplying the factors.

    Glossary

    factoring
    Splitting a product into factors is called factoring.
    greatest common factor
    The greatest common factor (GCF) of two or more expressions is the largest expression that is a factor of all the expressions.

    This page titled 4.4: Factoring is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Stanislav A. Trunov and Elizabeth J. Hale via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.