In this section, you will...
learn the \(ac\)-method of factoring
In the previous section, we looked at three factoring techniques. In this section, we will learn a fourth factoring technique that allows up to factor a type of polynomial called a trinomial.
learn the \(ac\)-method of factoring
The main topics of this section are also presented in the following videos:
Some trinomials of the form \(ax^2+bx+c\) can be factored as a product of binomials using a technique called the \(ac\)-method. If such a trinomial can be factored, then the middle term, \(bx\text{,}\) can be replaced with two terms with coefficients whose sum is \(b\) and whose product is \(ac\text{.}\) This substitution results in an equivalent expression with four terms that can be factored by grouping.
If factors of \(ac\) cannot be found to add up to \(b\) then the trinomial is prime.
Factor \(x^2+12x+20\text{.}\)
Here, \(a=1\text{,}\) \(b=12\text{,}\) and \(c=20\text{,}\) so we need to find two numbers whose sum is \(12\) and whose product is \(20\text{.}\) To do this, list all factorizations of \(20\) and search for factors whose sum equals \(12\text{.}\)
\(1\cdot 20\) | \(1 +20=21\) |
\(2\cdot 10\) | \(\alert{2 +10=12}\) |
\(4\cdot 5\) | \(4 +5=9\) |
Choose \(20 = 2 \cdot 10\) because \(2 + 10 = 12\text{.}\) Therefore, \(12x=2x+10x\text{,}\) and we can write
We can now factor the equivalent expression by grouping.
Our factored form is \((x+10)(x+2)\text{.}\)
We check by multiplying the two binomials:
Note: We made a choice in the above problem to write \(12x=2x+10x\text{.}\) What would happen if we instead had written \(12x=10x+2x\text{?}\) Notice that in the following calculation the answer is equivalent.
We factor the equivalent expression by grouping.
Since multiplication is commutative, the order of the factors does not matter.
If the last term of the trinomial is positive, then either both of the constant factors must be negative or both must be positive.
Factor \(x^2y^2-7xy+12\text{.}\)
Even though there are multiple variables, this technique will still work. Here, \(a=1\text{,}\) \(b=-7\text{,}\) and \(c=12\text{,}\) so we need to find two numbers whose sum is \(-7\) and whose product is \(12\text{.}\) Notice that in this case, both numbers must be negative.
\(-1\cdot -12\) | \(-1 -12=-13\) |
\(-2\cdot -6\) | \(-2-6=-8\) |
\(-3\cdot -4\) | \(\alert{-3-4=-7}\) |
Choose \(12 = -3 \cdot -4\) because \(-3 -4 = -7\text{.}\) Therefore, \(-7xy=-3xy-4xy\text{,}\) and we can write
We factor the equivalent expression by grouping.
Our factored form is \((xy-4)(xy-3)\text{.}\)
We check by multiplying the two binomials.
The check is very important and is something you should plan to do on every single problem.
Keep in mind that some polynomials are what is called prime. For example, consider the trinomial \(x^2+3x+20\) and the factors of 20:
There are no integer factors of 20 whose sum is 3. Therefore, the original trinomial cannot be factored as a product of two binomials with integer coefficients. The trinomial is prime, that is, it cannot be factored with integer terms.
In all of the examples we've seen so far, the leading coefficient has been 1. We will now see what happens when the leading coefficient is not 1.
Factor \(18x^2-31x+6\) using the \(ac\)-method.
Here \(a=18,\, b=-31\text{,}\) and \(c=6\text{.}\)
Now we factor \(108\text{,}\) and search for factors whose sum is \(-31\text{.}\)
In this case, the sum of the factors \(-27\) and \(-4\) equals the middle coefficient, \(-31\text{.}\) Therefore, \(-31x=-27x-4x\text{,}\) and we can write
We factor the equivalent expression by grouping.
Our factored form is \((2x-3)(9x-2)\text{.}\)
Factor \(4x^2y^2-7xy-15\) using the \(ac\)-method.
Here \(a=4,\, b=-7\text{,}\) and \(c=-15\text{.}\)
Now we factor \(-60\text{,}\) and search for factors whose sum is \(-7\text{.}\)
In this case, the sum of the factors \(5\) and \(-12\) equals the middle coefficient, \(-7\text{.}\) Therefore, we replace \(-7xy\) with \(5xy-12xy\text{.}\)
Our factored form is \((4xy+5)(xy-3)\text{.}\)
Factor \(5x^2+16xy+3y^2\text{.}\)
Here \(a=5,\, b=16y\text{,}\) and \(c=3y^2\text{.}\)
Now we factor \(15y^2\text{,}\) and search for factors whose sum is \(16y\text{.}\)
In this case, the sum of the factors \(1y\) and \(15y\) equals the middle coefficient, \(16y\text{.}\) Therefore, we replace \(16xy\) with \(15xy+1xy\text{.}\)
Our factored form is \((5x+y)(x+3y)\text{.}\)
Factor \(18a^2b^2-ab-4\text{.}\)
Here \(a=18,\, b=-1\text{,}\) and \(c=-4\text{.}\)
Now we factor \(-72\text{,}\) and search for factors whose sum is \(-1\text{.}\)
In this case, the sum of the factors \(8\) and \(-9\) equals the middle coefficient, \(-1\text{.}\) Therefore, we replace \(-ab\) with \(8ab-9ab\text{.}\)
Our factored form is \((9ab+4)(2ab-1)\text{.}\)
Factor \(12y^3-26y^2-10y\text{.}\)
First, we will factor out the GCF.
After factoring out \(2y\text{,}\) the coefficients of the resulting trinomial are smaller and have fewer factors. We can factor the resulting trinomial using \(6=2(3)\) and \(5=(5)(1)\text{.}\) Notice that these factors can produce \(-13\) in two ways:
Since the last term is \(-5\text{,}\) the correct combination requires the factors \(1\) and \(5\) to be opposite signs. Here we use \(2(1) = 2\) and \(3(-5) = -15\) because the sum is \(-13\) and the product of \((1)(-5) = -5\text{.}\)
We check as follows.
The factor \(2y\) is part of the factored form of the original expression; be sure to include it in the answer.
Our factored form is \(2y(2y-5)(3y+1)\text{.}\)
Factor \(2x^2-9x-5\) using the \(ac\)-method.
Since \(ac=(2)(-5)=-10\) and \(b=-9\text{,}\) we need two numbers that multiply to \(-10\) and sum to \(-9\text{.}\) Two such numbers are \(-10\) and \(1\text{,}\) so we can write \(-9x\) as \(-10x+1x\) and factor by grouping.
Factor \(6x^2+7x-10\) using the \(ac\)-method.
Since \(ac=(6)(-10)=-60\) and \(b=7\text{,}\) we need two numbers that multiply to \(-60\) and sum to \(7\text{.}\) Two such numbers are \(12\) and \(-5\text{,}\) so we can write \(7x\) as \(7x=12x-5x\) and factor by grouping.
Factor \(9x^2+6x-8\) using the \(ac\)-method.
Since \(ac=(9)(-8)=-72\) and \(b=6\text{,}\) we need two numbers that multiply to \(-72\) and sum to \(6\text{.}\) Two such numbers are \(12\) and \(-6\text{,}\) so we can write \(6x\) as \(12x-6x\) and factor by grouping.