Skip to main content

Section 4.2 Factoring Quadratic Trinomials

Factoring quadratic trinomials is arguably the single most used skill in high-school mathematics, being used in uncountably many high-school (and college) math problems. In this way, it is a very important foundational skill to master. However, unfortunately, it is among the least important and least useful topics ``in the real world".
The goal is to factor any expression of the form \(ax^2 + bx + c\text{,}\) where \(a, b, c\) are any integers.
  • First, we’ll start with a simpler case, when \(a = 1\text{.}\)
  • Then, we’ll consider the more difficult case, when \(a \neq 1\text{.}\)

Subsection 4.2.1 Factoring \(x^2+bx+c\) (Sum and Product Method)

We want to take an expression like \(x^2 + 7x + 6\text{,}\) and rewrite it as \((x + \quad)(x + \quad)\text{.}\) The question is: how to choose the two numbers to put in the brackets? Observe the pattern for how expansions work. For example, consider the expansion of \((x+3)(x+5)\text{,}\)
\begin{align*} (x+3)(x+5) \amp = x^2 + 3x + 5x + 15\\ \amp = x^2 + 8x + 15 \end{align*}
Here are some other expansions,
\begin{align*} (x+2)(x+3) \amp = x^2 + 5x + 6\\ (x+7)(x-2) \amp = x^2 + 5x - 14\\ (x-5)(x-3) \amp = x^2 - 8x + 15 \end{align*}
Observe how expanding the left side leads to the right side.
  • On the right side, there are always 3 terms: \(x^2\text{,}\) an \(x\) term, and a constant number term.
  • To get the coefficient of the middle \(x\) term, you add the two numbers in the brackets.
  • To get the last constant term, you multiply those two numbers.
In other words,
\begin{align*} (x+3)(x+5) \amp = x^2 + 3x + 5x + 15\\ \amp = x^2 + \brac{\text{sum of 3 and 5}}x + \brac{\text{product of 3 and 5}}\\ \amp = x^2 + 8x + 15 \end{align*}
In general, if we multiply two factors together, say \(x+a\) and \(x+b\text{,}\) we get,
\begin{align*} (x+a)(x+b) \amp = x^2 + ax + bx + ab\\ \amp = x^2 + (a + b)x + ab \end{align*}
  • The first term is always \(x^2\text{.}\)
  • The coefficient of the middle term is the sum of \(a\) and \(b\text{.}\)
  • The last term is the product of \(a\) and \(b\text{.}\)
In summary,
\begin{gather*} \boxed{(x + a)(x + b) = x^2 + \underbrace{(a + b)}_{\substack{\text{coefficient of }x\\\text{is the sum }a + b}}\,x + \underbrace{ab}_{\substack{\text{constant term}\\\text{is the product }ab}}} \end{gather*}
This leads to a general rule for factoring an expression of the form \(x^2 + bx + c\text{.}\)
\begin{gather*} \boxed{\text{To factor }x^2+bx+c\text{, find two numbers that multiply to }c\text{ and add to }b} \end{gather*}

Example 4.2.1. Factoring \(x^2 + 7x + 12\).

Consider,
\begin{gather*} x^2 + 7x + 12 \end{gather*}
We want two numbers that multiply to 12 and add to 7. There are many pairs of numbers that add to 7, so we’ll start with numbers that multiply to 12. Our choices are:
\begin{align*} \amp 1 \times 12\\ \amp 2 \times 6\\ \amp 3 \times 4 \end{align*}
Notice that if we choose 3 and 4, they also add to 7. So this is the correct combination. Then,
\begin{align*} x^2 + 7x + 12 \amp = (x+3)(x+4) \end{align*}

Example 4.2.2. Factoring With Negative Numbers.

Consider,
\begin{gather*} x^2 - 5x + 6 \end{gather*}
We want two numbers that multiply to 6 and add to \(-5\text{.}\) Here are the possible pairs of factors:
\begin{align*} \amp 1 \times 6 \text{ which adds to } 7\\ \amp 2 \times 3 \text{ adds to } 5 \end{align*}
At first, it seems none of these add to \(-5\text{.}\) However, we can also have both of our numbers be negative, because two negative numbers also multiply to a positive. For example,
\begin{align*} \amp -1 \times -6 \text{ adds to } -7\\ \amp -2 \times -3 \text{ adds to } -5 \end{align*}
Then, \(-2\) and \(-3\) is the correct combination. Then,
\begin{gather*} x^2 - 5x + 6 = (x-2)(x-3) \end{gather*}

Example 4.2.3. Writing in Standard Form.

Consider,
\begin{gather*} -8x + 12 + x^2 \end{gather*}
This is still a quadratic trinomial. At first glance, it’s a bit different than the previous examples, because it’s not written in the usual order for a quadratic. The highest power term, \(x^2\text{,}\) is at the end instead of the beginning.
When factoring, you should always arrange the terms in the same order: \(x^2\) first, \(x\) next, and constant last. This is called descending power order (the exponent on \(x\) from largest to smallest), and is often called standard form.
\begin{align*} \amp -8x + 12 + x^2\\ \amp = x^2 - 8x + 12 \end{align*}
Now, it looks like a regular quadratic. We need two numbers that multiply to 12 and add to \(-8\text{.}\) After some guessing, the correct combination is \(-2\) and \(-6\text{.}\) Therefore,
\begin{align*} \amp = (x-2)(x-6) \end{align*}
In summary,
  1. (If necessary) Arrange the trinomial in descending power order.
  2. Find two numbers that multiply to \(c\) (the last number), and check if they add to \(b\) (the middle number).
  3. If they do, then it factors as \((x+ \quad)(x + \quad)\text{.}\)

Exercise Group 4.2.1. Practice Factoring Quadratics 1.

Factor each quadratic expression.
Some additional helpful observations,
  • When the constant term \(c\) is positive, then the factors of \(c\) must be either both positive or both negative.
    • If the middle term \(b\) is positive, then both must be positive. E.g. \(x^2+7x+12 = (x+4)(x+3)\) (last term is positive, middle term is positive, so both factors are positive)
    • If the middle term is negative, then both must be negative. E.g. \(x^2-9x+20 = (x-5)(x-4)\) (last term is positive, middle term is negative, so both factors are negative)
  • When the constant term \(c\) is negative, then the factors of \(c\) must have opposite signs (one positive, one negative). The sign of the larger number will be the sign of the coefficient of the middle term.
    • E.g. \(x^2-x-6=(x-3)(x+2)\) (last term is negative, so signs are opposite, and middle term is negative, so \(6 = 3 \times 2\) and 3 is negative)
    • E.g. \(x^2+2x-15 = (x+5)(x-3)\) (last term is negative, so signs are opposite, and middle term is positive, so \(15 = 5 \times 3\) and the 5 is positive)

Example 4.2.4. Trinomial That Cannot Be Factored.

In fact, not all trinomials can be factored. Consider \(x^2 + 4x + 6\text{.}\) To factor this, we would need two numbers that multiply to 6 and add to 4. The options are: \(1 \times 6\) or \(2 \times 3\text{.}\) Neither of them work. This means that \(x^2+4x+6\) is not factorable.
Polynomials which cannot be factored are called prime, or irreducible. Prime in the same way as a prime number like 7 cannot be factored into smaller pieces, and irreducible similarly means β€œnot reducible”. For now, problems will almost always have only factorable polynomials.

Exercise Group 4.2.2. Practice Factoring Trinomials.

Factor each trinomial.

Subsection 4.2.2 Factoring Trinomials with Common Factors

Sometimes the trinomial is set up so that \(a \neq 1\) (the number in front of \(x^2\) is not 1), however, there is a common factor that can be factored out, reducing the expression to one which can be factored using the previous method.

Exercise Group 4.2.3. Factoring Completely.

Subsection 4.2.3 Factoring Polynomials of the form \(ax^2 + bx + c\text{,}\) \(a \neq 1\)

There are many methods for factoring these kinds of polynomials. Different teachers will teach different methods. All of them end up with the same result, but some are more efficient than others.
Here, I will explain the cross method, because I personally believe it is the most efficient and easiest method to use.

Subsection 4.2.4 The Cross Method

Example 4.2.5. Introduction to the Cross Method.

Consider,
\begin{gather*} 2x^2 + 7x + 3 \end{gather*}
To do the cross method,
  • Draw a crisscross or X shape underneath.
  • On the left side, put two things that multiply to the first term, and on the right, put two things that multiply to the last term.
  • Multiply each of the diagonals and add them up.
  • The combination is correct if the diagonals add up to the middle term.
For example,
\begin{gather*} 2x^2 + 7x + 3 \end{gather*}
On the left side, \(2x \cdot x = 2x^2\text{,}\) and on the right, \(3 \times 1 = 3\text{.}\) However, the diagonals add up to \(2x + 3x = 5x\text{,}\) which isn’t the middle term. Instead, switch the 3 and the 1,
\begin{gather*} 2x^2 + 7x + 3 \end{gather*}
We now get \(6x + x = 7x\text{,}\) which is the middle term. After you’ve found the correct combination, the two factors can be read horizontally in each row,
\begin{align*} \amp = (2x + 1)(x + 3) \end{align*}

Example 4.2.6. Cross Method With Negative Numbers.

Consider,
\begin{gather*} 3x^2 - 5x - 2 \end{gather*}
Using the cross method, one possible combination is,
\begin{gather*} 3x^2 - 5x - 2 \end{gather*}
On the left side, \(3x \cdot x = 3x^2\text{,}\) and on the right, \(2 \cdot (-1) = -2\text{.}\) However, the diagonals add up to \(-3x + 2x = -x\text{,}\) which isn’t the middle term, so this isn’t correct. Instead, switch the 2 and the \(-1\text{,}\)
\begin{gather*} 3x^2 - 5x - 2 \end{gather*}
Now the diagonals add to \(6x - x = 5x\text{,}\) which is not quite \(-5x\text{,}\) but it’s close. To fix it, just change the negative sign on the right to be on the 2 instead of the 1,
\begin{gather*} 3x^2 - 5x - 2 \end{gather*}
Now the diagonals add up to \(-6x + x = -5x\text{,}\) which matches the middle term. Reading across gives the factors:
\begin{align*} \amp = (3x + 1)(x - 2) \end{align*}

Example 4.2.7. Cross Method With Multiple Factor Pairs.

Consider,
\begin{gather*} 6x^2 + 19x + 10 \end{gather*}
For the left side, we have 6, which means we could choose 6 and 1, or 3 and 2. We don’t know ahead of time which will be correct, so let’s choose 6 and 1, and we can change it later.
\begin{gather*} 6x^2 + 19x + 10 \end{gather*}
The diagonals add up to \(30x + 2x = 32x\text{,}\) which is too large. Let’s switch the 2 and 5,
\begin{gather*} 6x^2 + 19x + 10 \end{gather*}
Now the diagonals are \(12x + 5x = 17x\text{,}\) which is close but still not 19. Try different factor pairs of 10: \(1\) and \(10\text{.}\)
\begin{gather*} 6x^2 + 19x + 10 \end{gather*}
Now the diagonals are \(6x + 10x = 16x\text{,}\) still not enough. Switching gives,
\begin{gather*} 6x^2 + 19x + 10 \end{gather*}
Now we get \(60x + x = 61x\text{,}\) too large. We’ve tried all of the possible combinations on the right side, so this means that the left side is wrong. Let’s try \(3x\) and \(2x\) instead.
\begin{gather*} 6x^2 + 19x + 10 \end{gather*}
Now the diagonals add to \(15x + 4x = 19x\text{,}\) perfect! Reading across gives,
\begin{align*} \amp = (3x + 2)(2x + 5) \end{align*}
The cross method requires some guessing and checking (or trial and error), especially at first. However, with some practice and gain experience, you’ll become more experienced at making educated guesses for the combinations that are more likely to work, so you won’t have to naively go through every single combination. Also, sometimes you get lucky and find the correct combination right away.

Example 4.2.8. Using the Cross Method When \(a=1\).

The cross method can also be used in the previous simpler case, when \(a = 1\text{.}\) For example, for,
\begin{gather*} x^2 - x - 20 \end{gather*}
We could think of factors of \(-20\) that add up to \(-1\text{,}\) which are \(-5\) and 4, to get,
\begin{gather*} = (x-5)(x+4) \end{gather*}
However, we can also use the cross method. The first term is \(x^2\text{,}\) so we can write \(x\) and \(x\) on the left side, and the last term is \(-20\text{,}\) so we can try \(-5\) and \(4\) on the right side. Then, we draw a crisscross or X shape, multiply the diagonals, and add them up. The combination is correct if the diagonals add up to the middle term.
\begin{gather*} x^2 - x - 20 \end{gather*}
\begin{align*} \amp = (x-5)(x+4) \end{align*}
This gives the same answer as before.

Example 4.2.9. Factor Out the Negative Sign First.

Consider \(-6x^2 + 17x + 3\text{.}\) In this case, \(a = -6\) which is negative, unlike the previous examples. You could continue just like before, by finding two things that multiply to \(-6x^2\) and 3. For example,
\begin{gather*} -6x^2 + 17x + 3 \end{gather*}
\(\qquad \text{this combination doesn't work}\)
However, it turns out that the negative sign on the left side makes things more complicated, because you have to worry about where to put the negative sign on the left side (in addition to the right side being either 3 and 1 or \(-3\) and \(-1\)). There are a lot of negative signs, and it can get confusing.
Instead, it’s better to first factor out the negative sign in the front. To do this, factor out \(-1\) from all terms, which basically flips the sign of all the terms,
\begin{gather*} = - \brac{6x^2 - 17x - 3} \end{gather*}
Then, factor the expression inside the brackets as before. Now, you don’t need to worry about the sign on the left column, and the only sign choice for the \(-3\text{,}\) where one of the numbers must be negative.
\begin{gather*} = - \brac{6x^2 - 17x - 3} \end{gather*}
\begin{align*} \amp - (6x + 1)(x - 3) \end{align*}
In general, if the \(a\) value is negative, factor out \(-1\) from all terms first, and then factor the remaining polynomial.

Example 4.2.10. Factor Out the GCF Before Using the Cross Method.

Consider,
\begin{gather*} 2x^2 - 4x - 30 \end{gather*}
Here, we can still use the cross method. However, the numbers are kinda large, especially 30, which has many possibilities for its factors. After some trial and error, the correct combination is,
\begin{align*} \amp = (2x - 10)(x + 3) \end{align*}
However, notice that \(2x - 10\) also contains a common factor of 2, so to fully factor, we should factor it out also.
\begin{align*} \amp = 2(x - 5)(x + 3) \end{align*}
Alternatively, it is easier to first factor out the common factor of 2,
\begin{align*} \amp 2x^2 - 4x - 30\\ \amp = 2 \brac{x^2 - 2x - 15} \end{align*}
Then, factoring the remaining \(x^2 - 2x - 15\) only uses the sum and product method (what multiplies to \(-15\) and adds to \(-2\)), and has smaller numbers to work with. After some guessing, \(-5\) and 3 works,
\begin{align*} \amp = 2 (x - 5)(x + 3) \end{align*}
In general, if there is a common factor among all of the terms, then you should first factor out the GCF (greatest common factor), before using the cross method. This makes the numbers you have to work with smaller, making it easier to find the factors.

Exercise Group 4.2.4. Practice Factoring General Quadratics 1.

Factor each expression fully.

Exercise Group 4.2.5. Practice Factoring General Quadratics 2.

Factor each expression fully.

Subsection 4.2.5 Summary of Factoring \(ax^2 + bx + c\)

  1. If there is a common factor among all of the terms, factor out the greatest common factor (GCF).
    • If the leading coefficient (the number in front of \(x^2\)) is negative, factor out \(-1\) from all terms (basically, flip the sign of each term).
    1. If \(a = 1\) (\(x^2 + bx + c\)), find two numbers that multiply to \(c\) and add to \(b\text{.}\)
    2. If \(a \neq 1\) (\(ax^2 + bx + c\)), use the cross method.
  2. (Optional) To check your answer, you can expand (FOIL) and check if you get back the original expression.