Factoring trinomials of the form \(ax^{2}+bx+c\) can be challenging because the middle term is affected by the factors of both \(a\) and \(c\). To illustrate this, consider the following factored trinomial:
\(10x^{2}+17x+3=(2x+3)(5x+1)\)
We can multiply to verify that this is the correct factorization.
As we have seen before, the product of the first terms of each binomial is equal to the first term of the trinomial. The middle term of the trinomial is the sum of the products of the outer and inner terms of the binomials. The product of the last terms of each binomial is equal to the last term of the trinomial. Visually, we have the following:
In short, when the leading coefficient of a trinomial is something other than \(1\), there will be more to consider when determining the factors using the trial and error method. The key lies in the understanding of how the middle term is obtained. Multiply \((2x+5)(3x+7)\) and carefully follow the formation of the middle term.
If we think of the FOIL method for multiplying binomials, then the middle term results from the sum of the inner product and the outer product. In this case, \(14x+15x=29x\), as illustrated below:
Figure \(\PageIndex{2}\)
For this reason, we need to look for products of the factors of the first and last terms whose sum is equal to the coefficient of the middle term. For example, to factor \(6x^{2}+29x+35\), look at the factors of \(6\) and \(35\).
The combination that produces the coefficient of the middle term is \(2⋅7+3⋅5=14+15=29\). Make sure that the outer terms have coefficients \(2\) and \(7\), and that the inner terms have coefficients \(5\) and \(3\). Use this information to factor the trinomial:
The middle and last term are both positive; therefore, the factors of \(2\) are chosen as positive numbers. In this case, the only choice is in which grouping to place these factors.
\((x+1)(3x+2)\quad\text{or}\quad (x+2)(3x+1)\)
Determine which grouping is correct by multiplying each expression.
Notice that these products differ only in their middle terms. Also, notice that the middle term is the sum of the inner and outer product, as illustrated below:
Figure \(\PageIndex{3}\)
Answer:
\((x+2)(3x+1)\)
Example \(\PageIndex{2}\)
Factor:
\(12x^{2}+38x+20\).
Solution:
First, consider the factors of the first and last terms.
We search for products of factors whose sum equals the coefficient of the middle term, \(38\). For brevity, the thought process is illustrated starting with the factors \(2\) and \(6\). Factoring begins at this point with the first term.
We are searching for products of factors whose sum equals the coefficient of the middle term, \(−23\). Factoring begins at this point with two sets of blank parentheses:
\(10x^{2}-23x+6=(\quad )(\quad )\)
Since the last term is positive and the middle term is negative, we know that both factors of the last term must be negative. Here we list all possible combinations with the factors of \(10x^{2}=2x⋅5x\).
There is no combination that produces a middle term of \(−23x\). We then move on to the factors of \(10x^{2}=10x⋅x\) and list all possible combinations:
Since the last term is negative, we must look for factors with opposite signs. Here we can see that the products 2 and 40 add up to 38 if they have opposite signs:
It is a good practice to first factor out the GCF, if there is one. Doing this produces a trinomial factor with smaller coefficients. As we have seen, trinomials with smaller coefficients require much less effort to factor. This commonly overlooked step is worth identifying early.
Example \(\PageIndex{6}\)
Factor:
\(12x^{2}-27x+6\).
Solution:
Begin by factoring out the GCF.
\(12x^{2}-27x+6=3(4x^{2}-9x+2)\)
After factoring out 3, the coefficients of the resulting trinomial are smaller and have fewer factors.
The factor \(3\) is part of the factored form of the original expression; be sure to include it in the answer.
Answer:
\(3(4x-1)(x-2)\)
It is a good practice to consistently work with trinomials where the leading coefficient is positive.
Example \(\PageIndex{7}\)
Factor:
\(−x^{2}+2x+15\).
Solution
In this example, the leading coefficient is \(−1\). Before beginning the factoring process, factor out the \(−1\):
\(-x^{2}+2x+15=-1(x^{2}-2x-15)\)
At this point, factor the remaining trinomial as usual, remembering to write the \(−1\) as a factor in your final answer. Because \(3 + (−5) = −2\), use \(3\) and \(5\) as the factors of \(15\).
\(-1(x+3)(x-5)\). The check is left to the reader.
Example \(\PageIndex{8}\)
Factor:
\(-60a^{2}-5a+30\)
Solution
The GCF of all the terms is \(5\). However, in this case factor out \(−5\) because this produces a trinomial factor where the leading coefficient is positive.
\(-60a^{2}-5a+30=-5(12a^{2}+a-6)\)
Focus on the factors of \(12\) and \(6\) that combine to give the middle coefficient, \(1\).
If a trinomial of the form \(ax^{2}+bx+c\) factors into the product of two binomials, then the coefficient of the middle term will be the sum of certain products of factors of the first and last terms.
If the trinomial has a greatest common factor, then it is a best practice to first factor out the GCF before attempting to factor it into a product of binomials.
If the leading coefficient of a trinomial is negative, then it is a best practice to factor that negative factor out before attempting to factor the trinomial.
Factoring trinomials of the form \(ax^{2}+bx+c\) takes lots of practice and patience. It is extremely important to take the time to become proficient by working lots of exercises.
Exercise \(\PageIndex{4}\) Factoring Trinomials
Factor.
\(3x^{2}−14x−5\)
\(5x^{2}+7x+2 \)
\(2x^{2}+5x−3 \)
\(2x^{2}+13x−7 \)
\(2x^{2}+9x−5 \)
\(7x^{2}+20x−3 \)
\(7x^{2}−46x−21 \)
\(3x^{2}+x−2 \)
\(5x^{2}+34x−7 \)
\(5x^{2}−28x−12 \)
\(9x^{2}−12x+4 \)
\(4x^{2}−20x+25 \)
\(49x^{2}+14x+1 \)
\(25x^{2}−10x+1 \)
\(2x^{2}+7x+16 \)
\(6x^{2}−19x−10 \)
\(27x^{2}+66x−16 \)
\(12x^{2}−88x−15 \)
\(12y^{2}−8y+1 \)
\(16y^{2}−66y−27 \)
\(9x^{2}−12xy+4y^{2} \)
\(25x^{2}+40x+16 \)
\(15x^{2}−26xy+8y^{2} \)
\(12a^{2}−4ab−5b^{2} \)
\(4x^{2}y^{2}+16xy−9 \)
\(20x^{2}y^{2}+4xy−7 \)
The area of a rectangle is given by the function \(A(x)=3x^{2}−10x+3\), where \(x\) is measured in meters. Rewrite this function in factored form.
The area of a rectangle is given by the function \(A(x)=10x^{2}−59x−6\), where \(x\) is measured in meters. Rewrite this function in factored form.
Answer
1. \((x−5)(3x+1) \)
3. \((x+3)(2x−1) \)
5. \((x+5)(2x−1) \)
7. \((x−7)(7x+3) \)
9. \((x+7)(5x−1) \)
11. \((3x−2)^{2}\)
13. \((7x+1)^{2} \)
15. Prime
17. \((3x+8)(9x−2)\)
19. \((6y−1)(2y−1) \)
21. \((3x−2y)^{2}\)
23. \((3x−4y)(5x−2y) \)
25. \((2xy−1)(2xy+9) \)
27. \(A(x)=(3x−1)(x−3)\)
Exercise \(\PageIndex{5}\) Factoring Trinomials with Common Factors
Factor.
\(6x^{2}−20x−16 \)
\(45x^{2}+27x−18 \)
\(20x^{2}−20x+5 \)
\(3x^{2}+39x−90 \)
\(16x^{2}+26x−10 \)
\(54x^{2}−15x+6 \)
\(45x^{2}−45x−20 \)
\(90x^{2}+300x+250 \)
\(40x^{2}−36xy+8y^{2} \)
\(24a^{2}b^{2}+18ab−81 \)
\(6x^{2}y^{2}+46xy+28 \)
\(2x^{5}+44x^{4}+144x^{3}\)
\(5x^{3}−65x^{2}+60x\)
\(15a^{4}b^{2}−25a^{3}b−10a^{2}\)
\(6a^{4}b+2a^{3}b^{2}−4a^{2}b^{3}\)
\(20a^{3}b^{2}−60a^{2}b^{3}+45ab^{4}\)
Answer
1. \(2(x−4)(3x+2) \)
3. \(5(2x−1)^{2}\)
5. \(2(8x^{2}+13x−5) \)
7. \(5(3x−4)(3x+1) \)
9. \(4(5x−2y)(2x−y) \)
11. \(2(xy+7)(3xy+2) \)
13. \(5x(x−12)(x−1) \)
15. \(2a^{2}b(3a−2b)(a+b)\)
Exercise \(\PageIndex{6}\) Factoring Trinomials with Common Factors
Factor out \(−1\) and then factor further.
\(−x^{2}−4x+21 \)
\(−x^{2}+x+12 \)
\(−x^{2}+15x−56 \)
\(−x^{2}+x+72 \)
\(−y^{2}+10y−25 \)
\(−y^{2}−16y−64 \)
\(36−9a−a^{2} \)
\(72−6a−a^{2}\)
\(32+4x−x^{2}\)
\(200+10x−x^{2}\)
Answer
1. \(−1(x−3)(x+7) \)
3. \(−1(x−7)(x−8) \)
5. \(−1(y−5)^{2}\)
7. \(−1(a−3)(a+12) \)
9. \(−1(x−8)(x+4)\)
Exercise \(\PageIndex{7}\) Factoring Trinomials with Common Factors
Factor out a negative common factor first and then factor further if possible.
\(−8x^{2}+6x+9 \)
\(−4x^{2}+28x−49 \)
\(−18x^{2}−6x+4 \)
\(2+4x−30x^{2} \)
\(15+39x−18x^{2} \)
\(90+45x−10x^{2} \)
\(−2x^{2}+26x+28 \)
\(−18x^{3}−51x^{2}+9x \)
\(−3x^{2}y^{2}+18xy^{2}−24y^{2} \)
\(−16a^{4}+16a^{3}b−4a^{2}b^{2} \)
The height in feet of a projectile launched from a tower is given by the function \(h(t)=−16t^{2}+64t+80\), where \(t\) represents the number of seconds after launch. Rewrite the given function in factored form.
The height in feet of a projectile launched from a tower is given by the function \(h(t)=−16t^{2}+64t+192\), where \(t\) represents the number of seconds after launch. Rewrite the given function in factored form.
Answer
1. \(−(2x−3)(4x+3) \)
3. \(−2(3x−1)(3x+2) \)
5. \(−3(2x−5)(3x+1) \)
7. \(−2(x−14)(x+1) \)
9. \(−3y^{2}(x−4)(x−2) \)
11. \(h(t)=−16(t+1)(t−5) \)
Exercise \(\PageIndex{8}\) Factoring Using the AC Method