This is “Factoring Trinomials of the Form x^2 + bx + c”, section 6.2 from the book Beginning Algebra (v. 1.0).

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. You may also download a PDF copy of this book (81 MB) or just this chapter (7 MB), suitable for printing or most e-readers, or a .zip file containing this book's HTML files (for use in a web browser offline).

Has this book helped you? Consider passing it on:

Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.

DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

- Factor trinomials of the form ${x}^{2}+bx+c$.
- Factor trinomials using the AC method.

Some trinomials of the form ${x}^{2}+bx+c$ can be factored as a product of binomials. For example,

We can verify this factorization by multiplying:

Factoring trinomials requires that we work the distributive process in reverse. Notice that the product of the first terms of each binomial is equal to the first term of the trinomial.

The middle term of the trinomial, 7*x*, is the sum of the products of the outer and inner terms of the binomials:

And the product of the last terms of each binomial is equal to the last term of the trinomial.

This can be visually interpreted as follows:

If a trinomial of this type factors, then these relationships will be true:

This gives us

In short, if the leading coefficient of a factorable trinomial is one, then the factors of the last term must add up to the coefficient of the middle term. This observation is the key to factoring trinomials using the technique known as trial and errorDescribes the method of factoring a trinomial by systematically checking factors to see if their product is the original trinomial. **(or** guess and checkUsed when referring to the trial and error method for factoring trinomials.**)**. The steps are outlined in the following example.

**Example 1:** Factor: ${x}^{2}+7x+12$.

**Solution:** Note that the polynomial to be factored has three terms; it is a trinomial with a leading coefficient of 1. Use trial and error to factor as follows:

**Step 1:** Write two sets of blank parentheses. If a trinomial of this form factors, then it will factor into two linear binomial factors.

**Step 2:** Write the factors of the first term in the first space of each set of parentheses. In this case, factor ${x}^{2}=x\cdot x$.

**Step 3:** Determine the factors of the last term whose sum equals the coefficient of the middle term. To do this, list all of the factorizations of 12 and search for factors whose sum equals the coefficient of the middle term, 7.

Choose 12 = 3 ⋅ 4 because 3 + 4 = 7.

**Step 4:** Write in the last term of each binomial using the factors determined in the previous step.

**Step 5:** Check by multiplying the two binomials.

Answer: $\left(x+3\right)\left(x+4\right)$

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. Therefore, when looking at the list of factorizations of the last term, we are searching for sums that are equal to the coefficient of the middle term.

**Example 2:** Factor: ${x}^{2}-9x+20$.

**Solution:** First, factor ${x}^{2}=x\cdot x$.

Next, determine which factors of 20 add up to −9:

In this case, choose −4 and −5 because $\left(-4\right)\left(-5\right)=+20$ and $-4+\left(-5\right)=-9$.

Check.

Answer: $\left(x-4\right)\left(x-5\right)$

If the last term of the trinomial is negative, then one of its factors must be negative. In this case, search the list of factorizations of the last term for differences that equal the coefficient of the middle term.

**Example 3:** Factor: ${x}^{2}-4x-12$.

**Solution:** Begin by factoring the first term ${x}^{2}=x\cdot x$.

The factors of 12 are listed below. In this example, we are looking for factors whose difference is −4.

Here choose the factors 2 and −6 because the coefficient of the middle term, −4, is obtained if we add $2+\left(-6\right)$.

Multiply to check.

Answer: $\left(x+2\right)\left(x-6\right)$

Often our first guess will not produce a correct factorization. This process may require repeated trials. For this reason, the check is very important and is not optional.

**Example 4:** Factor: ${x}^{2}+5x-6$.

**Solution:** The first term of this trinomial ${x}^{2}$ factors as $x\cdot x$.

Consider the factors of 6:

Suppose we choose the factors 2 and 3 because 2 + 3 = 5, the coefficient of the middle term. Then we have the following incorrect factorization:

When we multiply to check, we find the error.

In this case, the middle term is correct but the last term is not. Since the last term in the original expression is negative, we need to choose factors that are opposite in sign. Therefore, we must try again. This time we choose the factors −1 and 6 because $-1+6=5$.

Now the check shows that this factorization is correct.

Answer: $\left(x-1\right)\left(x+6\right)$

If we choose the factors wisely, then we can reduce much of the guesswork in this process. However, if a guess is not correct, do not get discouraged; just try a different set of factors.

**Example 5:** Factor: ${x}^{2}+3x+20$.

**Solution:**

Here there are no factors of 20 whose sum is 3. Therefore, the original trinomial cannot be factored as a product of two binomials. This trinomial is prime.

Answer: Prime

**Try this!** Factor: ${x}^{2}-13x-30$.

Answer: $\left(x+2\right)\left(x-15\right)$

The techniques described can also be used to factor trinomials with more than one variable.

**Example 6:** Factor: ${x}^{2}-14xy-72{y}^{2}$.

**Solution:** The first term ${x}^{2}$ factors as $x\cdot x$.

Next, look for factors of the coefficient of the last term, 72, whose sum is −14.

Therefore, the coefficient of the last term can be factored $-72=4\left(-18\right)$, where $4+\left(-18\right)=-14$. Because the last term has a variable factor of ${y}^{2}$, factor $72{y}^{2}$ as $4y\left(-18y\right)$ and try the following factorization:

Multiply to check.

Visually, we have the following:

Answer: $\left(x+4y\right)\left(x-18y\right)$

**Try this!** Factor: ${x}^{2}{y}^{2}+9xy-10$.

Answer: $\left(xy-1\right)\left(xy+10\right)$

An alternate technique for factoring trinomials, called the AC methodMethod for factoring trinomials by replacing the middle term with two terms that allow us to factor the resulting four-term polynomial by grouping., makes use of the grouping method for factoring four-term polynomials. If a trinomial in the form $a{x}^{2}+bx+c$ can be factored, then the middle term, *bx*, can be replaced with two terms with coefficients whose sum is *b* and product *ac*. This substitution results in an equivalent expression with four terms that can be factored by grouping. The steps are outlined in the following example.

**Example 7:** Factor using the AC method: ${x}^{2}-x-30$.

**Solution:** In this example *a* = 1, *b* = −1, and *c* = −30.

**Step 1:** Determine the product *ac*.

**Step 2**: Find factors of *ac* whose sum equals the coefficient of the middle term, *b*.

We can see that the sum of the factors 5 and −6 is equal to the coefficient of the middle term, −1.

**Step 3:** Use the factors as coefficients for the terms that replace the middle term. Here $-x=-6x+5x$. Write

**Step 4:** Factor the equivalent expression by grouping.

Answer: $\left(x-6\right)\left(x+5\right)$

Notice that the AC method is consistent with the trial and error method. Both methods require that $b=m+n$, where $c=mn$. In the example above, $-30=\left(-6\right)\left(5\right)$ and $-1=\left(-6\right)+5$. The only difference between the methods, when the leading coefficient is 1, is in the process used to obtain the final factorization.

**Example 8:** Factor: ${y}^{2}-14x+48$.

**Solution:** Here *ac* = 48 and we search for factors whose sum is −14.

Therefore, $-14x=-6x-8x$. Substitute the new terms and factor by grouping.

Answer: $\left(x-6\right)\left(x-8\right)$. The check is left to the reader.

At this point, it is recommended that the reader stop and factor as many trinomials of the form ${x}^{2}+bx+c$ as time allows before moving on to the next section. Factoring trinomials is one of the more important skills that we learn in this course and should be mastered.

- Factor a trinomial by systematically guessing what factors give two binomials whose product is the original trinomial.
- If a trinomial of the form ${x}^{2}+bx+c$ factors into the product of two binomials, then the coefficient of the middle term is the sum of factors of the last term.
- Not all trinomials can be factored as the product of binomials with integer coefficients. In this case, we call it a prime trinomial.
- Factoring is one of the more important skills required in algebra. For this reason, you should practice working as many problems as it takes to become proficient.

Part A: Factoring Trinomials with Leading Coefficient 1

*Are the following factored correctly? Check by multiplying.*

1. ${x}^{2}+5x-6=\left(x+2\right)\left(x+3\right)$

2. ${x}^{2}+6x+16=\left(x+8\right)\left(x-2\right)$

3. ${y}^{2}+2y-8=\left(y+4\right)\left(y-2\right)$

4. ${y}^{2}-10y+21=\left(y-3\right)\left(y-7\right)$

5. ${a}^{2}-10a+25={\left(a-5\right)}^{2}$

6. ${a}^{2}+6a+9={(a-3)}^{2}$

7. ${x}^{2}+10x-25=\left(x+5\right)\left(x-5\right)$

8. ${x}^{2}+5x+14=\left(x-2\right)\left(x+7\right)$

9. ${y}^{2}+50y-600=\left(y+60\right)\left(y-10\right)$

10. ${y}^{2}-3y+2=\left(y-2\right)\left(y-1\right)$

*Factor.*

11. ${x}^{2}+6x+8$

12. ${x}^{2}+4x+3$

13. ${x}^{2}+3x+2$

14. ${x}^{2}+x-2$

15. ${x}^{2}+3x-10$

16. ${x}^{2}-2x-35$

17. ${x}^{2}-13x+12$

18. ${x}^{2}-15x+36$

19. ${x}^{2}-12x+36$

20. ${x}^{2}+18x+81$

21. ${x}^{2}-2x+1$

22. ${x}^{2}-18x+81$

23. ${x}^{2}+5x+5$

24. ${x}^{2}-4x+6$

25. ${x}^{2}-20x+91$

26. ${x}^{2}+20x+91$

27. ${x}^{2}-2x-48$

28. ${x}^{2}+16x+48$

29. ${x}^{2}+22x+48$

30. ${x}^{2}+22x-48$

31. ${y}^{2}+7y+12$

32. ${y}^{2}+8y-20$

33. ${y}^{2}-16y+60$

34. ${y}^{2}-31y-32$

35. ${a}^{2}-11a-42$

36. ${a}^{2}-14a-51$

37. ${a}^{2}+26a+25$

38. ${a}^{2}-22a+120$

39. ${a}^{2}+4a-1$

40. ${a}^{2}-6a+2$

41. ${y}^{2}-14x+40$

42. ${y}^{2}-4y-96$

43. ${x}^{2}-2xy+{y}^{2}$

44. ${x}^{2}+2xy+{y}^{2}$

45. ${x}^{2}-16xy+15{y}^{2}$

46. ${x}^{2}-4xy-32{y}^{2}$

47. ${x}^{2}+2xy-15{y}^{2}$

48. ${x}^{2}-12xy+32{y}^{2}$

49. ${x}^{2}{y}^{2}-6xy+9$

50. ${x}^{2}{y}^{2}+25xy-26$

51. ${a}^{2}+4ab+4{b}^{2}$

52. ${a}^{2}-19ab-20{b}^{2}$

53. ${a}^{2}-ab-12{b}^{2}$

54. ${a}^{2}-10ab-56{b}^{2}$

55. ${a}^{2}{b}^{2}-2ab-15$

56. ${a}^{2}{b}^{2}-10ab+24$

57. The area of a square is given by the function $A(x)={x}^{2}-14x+49$, where *x* is measured in meters. Rewrite this function in factored form.

58. The area of a square is given by the function $A(x)={x}^{2}+16x+64$, where *x* is measured in meters. Rewrite this function in factored form.

Part B: Factor Using the AC Method

*Factor using the AC method.*

59. ${x}^{2}+5x-14$

60. ${x}^{2}+2x-48$

61. ${x}^{2}-9x+8$

62. ${x}^{2}-14x+24$

63. ${x}^{2}-x-72$

64. ${x}^{2}-x-90$

65. ${y}^{2}-8y+16$

66. ${y}^{2}+16y+64$

67. ${x}^{2}+4x+12$

68. ${x}^{2}+5x-8$

69. ${x}^{2}+3xy-18{y}^{2}$

70. ${x}^{2}-15xy+50{y}^{2}$

Part C: Discussion Board Topics

71. Create your own trinomial of the form ${x}^{2}+bx+c$ that factors. Share it along with the solution on the discussion board.

72. Write out your own list of steps for factoring a trinomial of the form ${x}^{2}+bx+c$ and share your steps on the discussion board.

73. Create a trinomial that does not factor and share it along with an explanation of why it does not factor.

1: No

3: Yes

5: Yes

7: No

9: Yes

11: $\left(x+2\right)\left(x+4\right)$

13: $\left(x+1\right)\left(x+2\right)$

15: $\left(x-2\right)\left(x+5\right)$

17: $\left(x-1\right)\left(x-12\right)$

19: ${\left(x-6\right)}^{2}$

21: ${\left(x-1\right)}^{2}$

23: Prime

25: $\left(x-7\right)\left(x-13\right)$

27: $\left(x+6\right)\left(x-8\right)$

29: Prime

31: $\left(y+3\right)\left(y+4\right)$

33: $\left(y-6\right)\left(y-10\right)$

35: $\left(a+3\right)\left(a-14\right)$

37: $\left(a+1\right)\left(a+25\right)$

39: Prime

41: $\left(y-10\right)\left(y-4\right)$

43: ${\left(x-y\right)}^{2}$

45: $\left(x-15y\right)\left(x-y\right)$

47: $\left(x+5y\right)\left(x-3y\right)$

49: ${\left(xy-3\right)}^{2}$

51: ${\left(a+2b\right)}^{2}$

53: $\left(a+3b\right)\left(a-4b\right)$

55: $\left(ab+3\right)\left(ab-5\right)$

57: $A(x)={(x-7)}^{2}$

59: $\left(x+7\right)\left(x-2\right)$

61: $\left(x-8\right)\left(x-1\right)$

63: $\left(x-9\right)\left(x+8\right)$

65: ${\left(y-4\right)}^{2}$

67: Prime

69: $\left(x+6y\right)\left(x-3y\right)$