Section2.1Factoring trinomials
Subsection2.1.1Examples and Exercises
Factoring a trinomial of form \(x^2+bx+c\text{,}\) where \(b\) and \(c\) are integers, is essentially the reversal of a FOIL process. For this reason, we can develop a strategy by investigating a FOIL expansion. Let's expand \((x+4)(x+6)\text{.}\)
\begin{align*} (x+4)(x+6)\amp=x^2+6x+4x+24\\ \amp=x^2+10x+40 \end{align*}Let's observe that the linear coefficient, \(10\text{,}\) is the sum of \(4\) and \(6\) whereas the constant term, \(24\text{,}\) is the product of \(4\) and \(6\text{.}\) Since we expanded \((x+4)(x+6)\text{,}\) we can infer that finding the constants in a factorization of trinomials of form \(x^2+bx+c\) is dependant upon determining two numbers that sum to \(b\) and multiply to \(c\text{.}\)
From the factor pairs and sums shown in TableĀ 2.1.1, we can infer the following factorizations.factors | sum |
\(1,6\) | \(7\) |
\(2,3\) | \(5\) |
\(-1,-6\) | \(-7\) |
\(-2,-3\) | \(-5\) |
Just as noteworthy, since the factor pairs shown in TableĀ 2.1.1 form an exhaustive list, we cannot factor any trinomial of form \(x^2+bx+6\) where b is not one of the four numbers shown in the sum column. Such trinomials are said to be prime. For example, \(x^2+3x+6\) is prime.
Let's factor \(x^2-8x+15\text{.}\) Our first task is to determine a factor pair that mutiplies to \(15\) and adds to \(-8\text{.}\) Since the product is positive and the sum is negative, we are searching for two negative numbers. The pair that works is \(-3\) and \(-5\text{.}\) This gives us:
\begin{equation*} x^2-8x+15=(x-3)(x-5)\text{.} \end{equation*}Now let's factor \(w^2-4w-12\text{.}\) Since our factor pair needs to multiply to a negative value \((-12)\text{,}\) one the numbers in the pair must be positive and the other negative. Let's note that \(6\) and \(2\) multiply to 12 and have a difference of \(4\text{.}\) This can be helpful in determining that the factor pair that multiplies to \(-12\) and adds to \(-4\) is \(-6\) and \(2\text{.}\) This gives us
\begin{equation*} w^2-4w-12=(w-6)(w+2)\text{.} \end{equation*}We also could have written the factorization in the reverse order:
\begin{equation*} w^2-4w-12=(w+2)(w-6)\text{.} \end{equation*}Factor each trinomial. Check your answer by expanding the factorization. If the trinomial cannot be factored, state that it is prime.
- \(x^2+6x+5\)
- \(t^2-6t+8\)
- \(x^2+8x+4\)
- \(y^2-14y-32\)
- \(x^2+6x-20\)
- \(x^2+15x-100\)
- \(w^2-18w+45\)
- \(x^2+21x+80\)
- \(b^2-9b-400\)
- \(x^2+6x+5=(x+2)(x+3)\)
- \(t^2-6t+8=(t-2)(t-4)\)
- \(x^2+8x+4\) is prime.
- \(y^2-14y-32=(y-16)(y+2)\)
- \(x^2+6x-20\) is prime.
- \(x^2+15x-100=(x+20)(x-5)\)
- \(w^2-18w+45=(w-15)(w-3)\)
- \(x^2+21x+80\) is prime
- \(b^2-9b-400=(b-25)(b+16)\)
The expressions that are factored in this set of examples are not trinomials - they all have one too many terms. The reason we are exploring this skill is that it is a useful process when factoring trinomials where the leading coefficients isn't \(1\text{.}\)
Let's consider the expression \(10xy+15x-6y^2-9y\text{.}\) The factoring by grouping method begins by considering only the first two terms and factoring from them any and all common factors. In this case we could factor out \(5x\) leaving the residual factor \((2y+3)\text{.}\) We now consider the final two terms. Our goal is to factor out something that also leaves the residual factor \((2y+3)\text{.}\) While it's true that we could factor out \(3y\text{,}\) that would leave behind \((-2y-3)\text{.}\) What we want to factor out is \(-3y\) so that the residual factor is the desired \((2y+3)\text{.}\) Altogether, then, the first step in the process is:
\begin{equation*} 10xy+15x-6xy-9y=5x(2y+3)-3y(2y+3)\text{.} \end{equation*}The expression now has two terms, with the terms delineated by the subtraction sign. Each of the terms has a factor of \((2y+3)\text{.}\) Just like we can factor, say, \(z\) from the expression \(5xz-3yz\) resulting in \(z(5x-3y)\text{,}\) we can factor \((2y+3)\) for the expression \(5x(2y+3)-3y(2y+3)\) resulting in \((2y+3)(5x-3y)\text{.}\)
Let's see the process in total:
\begin{align*} 10xy+15x-6y^2-9y\amp=5x(2y+3)-3y(2y+3)\\ \amp=(2y+3)(5x-3y) \end{align*}We can use FOIL to check our result.
Let's factor \(6x^2y-4x^2+12y-8\text{.}\) We begin by observing that \(2x^2\) can be factored from the first two terms while \(4\) can be factored from the final two terms. Heads up! One of the most common errors made during this process is to forget to put a plus sign in front of the factor of \(4\text{.}\) Written correctly, our factorization process is:
\begin{align*} 6x^2y-4x^2+12y-8\amp=2x^2(3y-2)+4(3y-2)\\ \amp=(3y-2)(2x^2+4) \end{align*}One more example. Let's factor \(7w^2-2w+7w-2\text{.}\) We can see that \(w\) can be factored from the first two terms, but there seems to be nothing that can be factored from the final two terms. When we factor \(w\) from the first two terms, the residual factor is \((7w-2)\) which contains the two terms at the rear of our original expression. The resolution of our dilemma, then, is to factor \(1\) away from the final two terms. We need to remember to put a plus sign in from of that factor of \(1\text{.}\) Going through the complete process we have:
\begin{align*} 7w^2-2w+7w-2\amp=w(7w-2)+1(7w-2)\\ \amp=(7w-2)(w+1) \end{align*}Before closing, let's note that \(7w^2-2w+7w-2\) simplifies to \(7w^2+5w-2\text{.}\) This gives us some insight into how the factoring by grouping process will be useful when factoring trinomials where the leading coefficient isn't \(1\text{.}\)
Factor each of the following expressions. Check each result using the FOIL technique.
- \(x^2+5x-3x-15\)
- \(8x+50+4xy+25y\)
- \(4a^2+10a-10a-25\)
- \(w^2-6wz-7wz+42z^2\)
- \(xy+5y-2x-10\)
- \(x^2-11x-9x+99\)
- \(3x^2-12x+7x-28\)
- \(4y^2-36xy-7xy+63x^2\)
\(\begin{aligned}[t] x^2+5x-3x-15\amp=x(x+5)-3(x+5)\\ \amp=(x+5)(x-3) \end{aligned}\)
\(\begin{aligned}[t] 8x+50+4xy+25y\amp=2(4x+25)+y(4x+25)\\ \amp=(4x+25)(2+y) \end{aligned}\)
\(\begin{aligned}[t] 4a^2+10a-10a-25\amp=2a(2a+5)-5(2a+5)\\ \amp=(2a+5)(2a-5) \end{aligned}\)
\(\begin{aligned}[t] w^2-6wz-7wz+42z^2\amp=w(w-6z)-7z(w-6z)\\ \amp=(w-6z)(w-7z) \end{aligned}\)
\(\begin{aligned}[t] xy+5y-2x-10\amp=y(x+5)-2(x+5)\\ \amp=(x+5)(y-2) \end{aligned}\)
\(\begin{aligned}[t] x^2-11x-9x+99\amp=x(x-11)-9(x-11)\\ \amp=(x-11)(x-9) \end{aligned}\)
\(\begin{aligned}[t] 3x^2-12x+7x-28\amp=3x(x-4)+7(x-4)\\ \amp=(x-4)(3x+7) \end{aligned}\)
\(\begin{aligned}[t] 4y^2-36xy-7xy+63x^2\amp=4y(y-9x)-7x(y-9x)\\ \amp=(y-9x)(4y-7x) \end{aligned}\)
When factoring trinomials it is important to first look for factors common to all three terms. While we won't lead with an example of this type, it's always good to remind oursleves of this. Some of the problems in the your next problem set are all but impossible to resolve if you omit this step.
That said, our first few examples are going to deal with trinomials of form \(ax^2+bx+c\) where \(a\neq1\text{.}\) We are going to use what is known as the \(ac\)-method to factor. The initial task is to determine two factors of the product \(ac\) that sum to \(b\text{.}\) We will then rewrite the expression using that factor pair to split the linear term into two terms and factor the result by grouping. Hopefully that will make more sense when you see some examples!
Let's start by factoring \(6x^2+7x-5\text{.}\) Our initial task is to find a factor pair of \(-30\) \((ac)\) that sums to \(7\text{.}\) The pair that works is \(-3\) and \(10\text{.}\) Let's precede with the strategy outlined above.
\begin{align*} 6x^2+7x-5\amp=6x^2-3x+10x-5\\ \amp=3x(2x-1)+5(2x-1)\\ \amp=(2x-1)(3x+5) \end{align*}Let's now factor \(3x^2+16xy-12y^2\text{.}\) Our first objective is to determine two factors of \(-36\) that sum to \(16\text{.}\) The pair that works is \(18\) and \(-2\text{.}\) Proceeeding to our factoring by grouping we have:
\begin{align*} 3x^2+16xy-12y^2\amp=3x^2+18xy-2xy-12y^2\\ \amp=3x(x+6y)-2y(x+6y)\\ \amp=(x+6y)(3x-2y) \end{align*}Let's try one more: \(24w^4-42w^3z+9w^2z^2\text{.}\) The first thing we should notice is that there are common factors to all three terms. Three evenly divides into each term, and each term contatins at least two factors of \(w\text{,}\) so we can factor \(3w^2\) for the expression.
\begin{equation*} 24w^4-42w^3z+9w^2z^2=3w^2(8w^2-14wz+3z^2) \end{equation*}Turning our attention to the expression in the last set of parantheses, we need to determine a factor pair of 24 that sums to -14. The factor pair is \(-12\) and \(-2\text{.}\) This gives us:
\begin{align*} 24w^4-42w^3z+9w^2z^2\amp=3w^2(8w^2-14wz+3z^2)\\ \amp=3w^2(8w^2-12wz-2wz+3z^2)\\ \amp=3w^2[4w(2w-3z)-z(2w-3z)]\\ \amp=3w^2(2w-3z)(4w-z) \end{align*}Completely factor each of the following expressions. Check each result by expanding the factored form.
- \(4x^2-11x+6\)
- \(5x^2-2x-7\)
- \(8x^2-14x+3\)
- \(4x^2y-20xy+24y\)
- \(36x^2-48xy+15y^2\)
- \(-9t^8+90xt^4-216x^2\)
- \(9x^6-25x^3y^2-6y^4\)
- \(14x^2y^5+56x^2y^4+420x^2y^3\)
\(\begin{aligned}[t] 4x^2-11x+6\amp=4x^2-8x-3x+6\\ \amp=4x(x-2)-3(x-2)\\ \amp=(x-2)(4x-3) \end{aligned}\)
\(\begin{aligned}[t] 5x^2-2x-7\amp=5x^2-7x+5x-7\\ \amp=x(5x-7)+1(5x-7\\ \amp=(5x-7)(x+1) \end{aligned}\)
\(\begin{aligned}[t] 8x^2-14x+3\amp=8x^2-12x-2x+3\\ \amp=4x(2x-3)-1(2x-3)\\ \amp=(2x-3)(4x-1) \end{aligned}\)
\(\begin{aligned}[t] 4x^2y-20xy+24y\amp=4y(x^2-5x+6)\\ \amp=4y(x-3)(x-2) \end{aligned}\)
\(\begin{aligned}[t] 36x^2-48xy+15y^2\amp=3(12x^2-16xy+5y^2)\\ \amp=3(12x^2-10xy-6xy+5y^2\\ \amp=3[2x(6x-5y)-y(6x-5)]\\ \amp=3(6x-5y)(2x-y) \end{aligned}\)
\(\begin{aligned}[t] -9t^8+90xt^4-216x^2\amp=-9(t^8-10xt^4+24x^2)\\ \amp=-9(t^8-4xt^4-6xt^4+24x^2)\\ \amp=-9[t^4(t^4-4x)-6x(t^4-4x)]\\ \amp=-9(t^4-4x)(t^4-6x) \end{aligned}\)
\(\begin{aligned}[t] 9x^6-25x^3y^2-6y^4\amp=9x^6-27x^3y^2+2x^3y^2-6y^4\\ \amp=9x^3(x^3-3y^2)+2y^2(x^3-3y^2)\\ \amp=(x^3-3y^2)(9x^3+2y^2) \end{aligned}\)
- \(14x^2y^5+56x^2y^4+420x^2y^3=14x^2y^3(y^2+4y+30)\)