English
/

How to Factor Quadratic Trinomials, Step by Step

Last edited Oct 29, 2026 · 5 min read

To factor x² + bx + c, find two numbers whose product is c and whose sum is b; for x² + 7x + 12, they are 3 and 4, giving (x + 3)(x + 4). For ax² + bx + c, first check for a common factor, then use a product of ac and a sum of b to split the middle term and factor by grouping.

On this page▾
  1. Step 0: always look for a common factor first
  2. Case 1: x² + bx + c (leading coefficient 1)
  3. The sign rules
  4. Case 2: how does the X method work for ax² + bx + c?
  5. Case 3: special patterns
  6. Using factoring to solve an equation
  7. When factoring is not the right tool
  8. Frequently asked questions
  9. What are the steps to factor trinomials?
  10. How does factoring with the X method help?
  11. How do you factor equations with two terms?

The Common Core high school standards give the reason to learn it: "Factor a quadratic expression to reveal the zeros of the function it defines." The same standards list factoring as one of several ways to solve quadratic equations, to be used "as appropriate to the initial form of the equation." The cases below are in the order to try them.

Step 0: always look for a common factor first

Before anything else, check whether every term shares a factor.

Example: 3x² + 12x + 9. Every term is divisible by 3:

3x² + 12x + 9 = 3(x² + 4x + 3)

Now factor what is inside the parentheses (two numbers that multiply to 3 and add to 4 are 1 and 3):

3(x + 1)(x + 3)

Skipping this step makes the rest harder and often leaves an answer that is not fully factored.

Case 1: x² + bx + c (leading coefficient 1)

Find two numbers that multiply to c and add to b.

Example: x² + 7x + 12.

Pair that multiplies to 12 Sum
1 and 12 13
2 and 6 8
3 and 4 7

The pair 3 and 4 adds to 7, so x² + 7x + 12 = (x + 3)(x + 4).

Check by multiplying back: (x + 3)(x + 4) = x² + 4x + 3x + 12 = x² + 7x + 12. It matches.

The sign rules

The signs of b and c tell you the signs of the two numbers before you start searching.

c is b is The two numbers are Example
positive positive both positive x² + 7x + 12 = (x + 3)(x + 4)
positive negative both negative x² - 9x + 20 = (x - 4)(x - 5)
negative either one positive, one negative x² - 2x - 15 = (x - 5)(x + 3)

For x² - 2x - 15: you need a product of -15 and a sum of -2. The pair -5 and 3 works, because -5 x 3 = -15 and -5 + 3 = -2. When c is negative, the larger number (by size) takes the sign of b.

Check: (x - 5)(x + 3) = x² + 3x - 5x - 15 = x² - 2x - 15.

Case 2: how does the X method work for ax² + bx + c?

For ax² + bx + c, the X layout places ac at the top, b at the bottom, and two numbers at the sides whose product is ac and whose sum is b. This is the AC method: after finding the pair, split bx and factor by grouping, as in the steps below.

Example: 2x² + 7x + 3. Here a = 2, b = 7, c = 3.

  1. Multiply a and c: 2 x 3 = 6.
  2. Find two numbers that multiply to 6 and add to 7: 6 and 1.
  3. Split the middle term using those numbers: 2x² + 6x + x + 3.
  4. Group and factor each pair: 2x(x + 3) + 1(x + 3).
  5. Factor out the shared binomial: (2x + 1)(x + 3).

Check: (2x + 1)(x + 3) = 2x² + 6x + x + 3 = 2x² + 7x + 3.

If step 4 does not produce the same binomial in both groups, recheck your two numbers or the signs in the split.

Case 3: special patterns

Difference of squares: a² - b² = (a - b)(a + b).

Example: x² - 49 = (x - 7)(x + 7). There is no middle term because +7x and -7x cancel when you multiply back.

The standards use a deeper version of this pattern to show what "seeing structure" means: see x⁴ - y⁴ as (x²)² - (y²)², "thus recognizing it as a difference of squares that can be factored as (x² - y²)(x² + y²)." The first factor is itself a difference of squares, so it can be factored once more into (x - y)(x + y).

Perfect square trinomial: a² + 2ab + b² = (a + b)².

Example: x² + 10x + 25 = (x + 5)². The first and last terms are squares (x² and 5²), and the middle term is 2 times x times 5.

Sum of squares: x² + 49 does not factor using real numbers. Do not write (x + 7)(x + 7), which multiplies to x² + 14x + 49.

Using factoring to solve an equation

Factoring "reveals the zeros" because of one fact: if a product is 0, at least one factor must be 0.

Solve x² - 2x - 15 = 0.

  1. Factor: (x - 5)(x + 3) = 0
  2. Set each factor to zero: x - 5 = 0 or x + 3 = 0
  3. Solve: x = 5 or x = -3

Check: 5² - 2(5) - 15 = 25 - 10 - 15 = 0. And (-3)² - 2(-3) - 15 = 9 + 6 - 15 = 0. Both work.

To use the zero-product rule to solve the equation, first put zero on one side. Factoring an expression itself does not require an equation. If you have x² - 2x = 15, subtract 15 from both sides first.

When factoring does not work, the quadratic formula is covered in The Quadratic Formula, Step by Step.

When factoring is not the right tool

Some trinomials have no pair of whole numbers that works. For x² + 3x + 1, the only whole-number pair with product 1 is 1 and 1, which adds to 2, not 3. That does not mean the equation has no solution. It means another method, such as completing the square or the quadratic formula, is the appropriate choice, which is exactly the judgment the standards ask students to make.

Frequently asked questions

What are the steps to factor trinomials?

Take out any common factor first. For x² + bx + c, find two numbers with product c and sum b, then write the two binomial factors and multiply back to check.

How does factoring with the X method help?

It organizes the product-and-sum search: put ac at the top and b at the bottom. For 2x² + 7x + 3, the side numbers are 6 and 1; splitting 7x into 6x + x leads to (2x + 1)(x + 3).

How do you factor equations with two terms?

Check the expression for a common factor or a special pattern rather than applying a three-term search automatically. For example, x² − 49 = (x − 7)(x + 7); to solve x² − 49 = 0, set either factor equal to zero.

Sources

  1. Common Core State Standards Initiative, HSA.SSE.B.3.a
  2. Common Core State Standards Initiative, High School Algebra, Seeing Structure in Expressions
  3. Common Core State Standards Initiative, High School Algebra, Reasoning with Equations and Inequalities

About this guide

Howlane operator · Checked against the official sources listed above. It is general information, not professional advice.

AboutEditorial standardsCorrectionsReport an error

Edit history

  • Updated
  • Updated
  • Updated
  • Updated
  • Published