How-to guides · 6 min read
How to Factor Trinomials Step by Step (With Examples)

What factoring a trinomial means
A trinomial is a polynomial with three terms, such as x² + 5x + 6. Factoring writes it as a product of simpler expressions. It is the reverse of multiplying brackets: if (x + 2)(x + 3) expands to x² + 5x + 6, then factoring x² + 5x + 6 gives you back (x + 2)(x + 3). The expansion side is covered in the FOIL method.
Factoring is the main way to solve quadratic equations by hand when the numbers are friendly: once you have (x + 2)(x + 3) = 0, each bracket gives a solution, x = −2 and x = −3.
Always start with a common factor
Before anything else, check whether all three terms share a factor. In 3x² + 15x + 18 every coefficient is divisible by 3, so write 3(x² + 5x + 6) and factor the trinomial inside: 3(x + 2)(x + 3). Skipping this step is the most common reason a factoring attempt gets messy.
Case 1: x² + bx + c (leading coefficient 1)
Find two numbers that multiply to c and add to b. Those numbers are the constants in the brackets. For x² + 5x + 6, test factor pairs of 6.
| Pair with product 6 | Sum | Equals b = 5? |
|---|---|---|
| 1 × 6 | 7 | No |
| 2 × 3 | 5 | Yes |
The pair 2 and 3 works, so x² + 5x + 6 = (x + 2)(x + 3). The signs help: if c is positive, both numbers have the same sign as b. If c is negative, they have opposite signs.
| Trinomial | Needs product / sum | Pair | Factored |
|---|---|---|---|
| x² − 7x + 12 | 12 / −7 | −3, −4 | (x − 3)(x − 4) |
| x² + 2x − 15 | −15 / 2 | −3, 5 | (x − 3)(x + 5) |
| x² − x − 12 | −12 / −1 | 3, −4 | (x + 3)(x − 4) |
| x² + 8x + 15 | 15 / 8 | 3, 5 | (x + 3)(x + 5) |
Case 2: ax² + bx + c with a ≠ 1 (the AC method)
Factor 6x² + 11x − 10. Multiply a and c: 6 × (−10) = −60. Find two numbers that multiply to −60 and add to 11. Those are 15 and −4.
- Split the middle term: 6x² + 15x − 4x − 10
- Group in pairs: (6x² + 15x) + (−4x − 10)
- Factor each group: 3x(2x + 5) − 2(2x + 5)
- Factor out the shared bracket: (3x − 2)(2x + 5)
Check by expanding: 6x² + 11x − 10. ✓ This method works for every factorable trinomial, and it is the same idea as the simpler case, only with a first step of multiplying a by c.
Worked example: x² − 16x + 73 = 9
A common homework form is a trinomial that is not yet equal to zero. Solve x² − 16x + 73 = 9 by factoring. First move everything to one side so the right-hand side is 0: subtract 9 from both sides.
- x² − 16x + 73 − 9 = 0, so x² − 16x + 64 = 0.
- Find two numbers that multiply to 64 and add to −16: that is −8 and −8.
- Factor: (x − 8)(x − 8) = (x − 8)² = 0.
- Set the bracket to zero: x − 8 = 0, so x = 8.
Live solver: x² − 16x + 64 = 0 (the same equation after subtracting 9)
- Discriminant D = 0
- Vertex: (8, 0)
Step-by-step working 4 steps
- 1Identify a, b and c
x² − 16x + 64 = 0 a = 1, b = −16, c = 64
- 2Calculate the discriminant
D = b² − 4ac = (−16)² − 4(1)(64) = 0
D is zero: one repeated real root.
- 3One repeated root
x = −b / 2a = 16 / 2 = 8
- 4Vertex of the parabola
x = −b / 2a = 8, y = 0 → vertex (8, 0)
The parabola opens upward, so the vertex is the minimum point.
The discriminant is (−16)² − 4(1)(64) = 256 − 256 = 0, which confirms one repeated solution. Check: 8² − 16(8) + 73 = 64 − 128 + 73 = 9 ✓. The key habit is moving the 9 across before looking for factors; trying to factor x² − 16x + 73 directly will not work.
Special patterns worth recognising
| Pattern | Formula | Example |
|---|---|---|
| Perfect square | a² + 2ab + b² = (a + b)² | x² + 6x + 9 = (x + 3)² |
| Perfect square | a² − 2ab + b² = (a − b)² | x² − 10x + 25 = (x − 5)² |
| Difference of squares | a² − b² = (a − b)(a + b) | x² − 49 = (x − 7)(x + 7) |
Difference of squares has no middle term and only two terms, so strictly it is a binomial, but it often appears next to trinomials. Sum of squares such as x² + 49 does not factor over the real numbers.
How to tell if a trinomial will factor
Compute the discriminant b² − 4ac. If it is a perfect square (0, 1, 4, 9, 16, 25, …) the trinomial factors over the integers. If not, it is prime over the integers, and you must use the quadratic formula to find irrational roots.
| Trinomial | b² − 4ac | Perfect square? | Factors? |
|---|---|---|---|
| x² + 5x + 6 | 1 | Yes | Yes |
| 6x² + 11x − 10 | 361 | Yes | Yes |
| x² + x + 1 | -3 | No | No (prime) |
| x² + 2x − 4 | 20 | No | No (prime) |
| 2x² − 7x + 3 | 25 | Yes | Yes |
For x² + x + 1 the discriminant is −3, so there are no real roots and no factorisation. Recognising that early saves a lot of time.
Always check by multiplying back
Expand (x + 2)(x + 3) with FOIL: x² + 3x + 2x + 6 = x² + 5x + 6. If your expansion does not return the original, one of your signs or numbers is off. You can also test with a number: at x = 1, the trinomial is 12 and the factored form gives 3 × 4 = 12.
Check the factorisation by substituting x = 1
Order-of-operations steps 3 steps
Start: (1 + 2) × (1 + 3)
- Add
1 + 2 = 3→ 3 × (1 + 3) - Add
1 + 3 = 4→ 3 × 4 - Multiply
3 × 4 = 12→ 12
You can confirm results with the add and subtract polynomials calculator or by solving with the quadratic equation solver, whose "Factored form" line should match yours.
Common mistakes
- Sign errors in the pair. Check the sum with its signs: −3 and −4 add to −7, not 7.
- Ignoring a common factor at the start.
- Writing (x + 2)(x + 3) when you need (x − 2)(x − 3). Negative middle with positive c means both numbers are negative.
- Stopping too early. Check whether the result factors further.
For other typical slips see common algebra mistakes and keep the algebra formulas cheat sheet close.
Frequently asked questions
What is the first step in factoring a trinomial?
Check for a greatest common factor shared by all three terms and take it out first.
How do I factor when the coefficient of x² is not 1?
Use the AC method: multiply a and c, find two numbers with that product that add to b, split the middle term and factor by grouping.
How do I know if a trinomial is prime?
If b² − 4ac is not a perfect square, the trinomial cannot be factored over the integers.
How can I check my factoring?
Multiply the brackets back out with FOIL or the distributive property and confirm you get the original trinomial.
Keep reading
Quadratic Formula Step by Step: Worked Examples
Use the quadratic formula in five clear steps. Worked examples show two solutions, one repeated solution and no real solutions, with a graph.
Study tips10 Common Algebra Mistakes (With Numbers That Prove They’re Wrong)
The ten algebra errors students make most often, each disproved with a quick numerical check — (a+b)² ≠ a²+b², √(a+b) ≠ √a+√b, and more.
Charts & referencesAlgebra Formulas Cheat Sheet: Identities, Exponents, Quadratics
The algebra formulas you need most: special products, exponent and log rules, the quadratic formula, slope and distance, with a worked check.
How-to guidesFOIL Method: Multiplying Binomials Step by Step
FOIL means First, Outer, Inner, Last. Multiply two binomials with worked examples, an area model, squares of binomials and common mistakes.