Allday Education

Factoring Trinomials (a = 1)

Factoring a trinomial means rewriting something like x2+7x+12x^2 + 7x + 12 as a product of two binomials: (x+3)(x+4)(x + 3)(x + 4). It's multiplication run in reverse — you're asking what two factors were multiplied to build the trinomial in the first place.

When the trinomial starts with plain x2x^2 (a leading coefficient of 11), there's one move that handles every problem: find two numbers that multiply to the constant cc and add to the middle coefficient bb. Once you can spot that pair quickly, factoring becomes a number puzzle, and it's the doorway to solving quadratic equations.

The two-number method

A trinomial x2+bx+cx^2 + bx + c factors as (x+p)(x+q)(x + p)(x + q) where pq=cp \cdot q = c and p+q=bp + q = b. That's the whole method: hunt for two numbers whose product is the constant term and whose sum is the middle coefficient.

Start by listing factor pairs of cc, then check which pair adds to bb. For x2+7x+12x^2 + 7x + 12, the pairs for 1212 are 11 and 1212, 22 and 66, 33 and 44. Only 3+4=73 + 4 = 7, so the answer is (x+3)(x+4)(x + 3)(x + 4).

Always check your work by multiplying the binomials back out. If you don't land exactly on the original trinomial, one of your numbers is wrong — usually a sign.

Let the signs do the thinking

The signs of bb and cc tell you what kind of pair to look for before you test a single number. If cc is positive, both numbers have the same sign — both positive when bb is positive, both negative when bb is negative.

If cc is negative, the two numbers have opposite signs, and the number with the larger absolute value takes the sign of bb. So in x2+3x18x^2 + 3x - 18, you need one positive and one negative number, and the bigger one is positive: 66 and 3-3.

Reading the signs first cuts the search in half. In x29x+20x^2 - 9x + 20, positive cc and negative bb mean both numbers are negative — you only test 1-1 and 20-20, 2-2 and 10-10, 4-4 and 5-5.

When nothing works

Some trinomials don't factor with integers. If you've listed every factor pair of cc and none adds to bb — try x2+3x+5x^2 + 3x + 5, where no pair of integers multiplies to 55 and adds to 33 — the trinomial is prime. That's a legitimate answer, and it's also the cue that a quadratic equation built from it needs the quadratic formula instead.

Worked examples

Example 1: both numbers positive

Factor x2+8x+15x^2 + 8x + 15.

Identify the targets: multiply to 1515, add to 88
Factor pairs of 1515: 11 and 1515, 33 and 55
The pair 33 and 55 adds to 883+5=83 + 5 = 8
Write the factors(x+3)(x+5)(x + 3)(x + 5)
Check: (x+3)(x+5)=x2+5x+3x+15=x2+8x+15(x + 3)(x + 5) = x^2 + 5x + 3x + 15 = x^2 + 8x + 15

Answer: (x+3)(x+5)(x + 3)(x + 5)

Example 2: both numbers negative

Factor x29x+20x^2 - 9x + 20.

Targets: multiply to +20+20, add to 9-9
Positive product, negative sum — both numbers are negative
Test negative pairs of 2020: 4-4 and 5-5 works(4)+(5)=9(-4) + (-5) = -9
Write the factors(x4)(x5)(x - 4)(x - 5)

Answer: (x4)(x5)(x - 4)(x - 5)

Example 3: opposite signs, positive middle term

Factor x2+3x18x^2 + 3x - 18.

Targets: multiply to 18-18, add to +3+3
Negative product — one number positive, one negative, and the larger one is positive
Test pairs: 66 and 3-3 works6(3)=18,6+(3)=36 \cdot (-3) = -18, \quad 6 + (-3) = 3
Write the factors(x+6)(x3)(x + 6)(x - 3)

Answer: (x+6)(x3)(x + 6)(x - 3)

Example 4: opposite signs, negative middle term

Factor x22x24x^2 - 2x - 24.

Targets: multiply to 24-24, add to 2-2
Negative product — opposite signs, and the larger number is negative
Test pairs: 44 and 6-6 works4(6)=24,4+(6)=24 \cdot (-6) = -24, \quad 4 + (-6) = -2
Write the factors(x+4)(x6)(x + 4)(x - 6)
Check: (x+4)(x6)=x26x+4x24=x22x24(x + 4)(x - 6) = x^2 - 6x + 4x - 24 = x^2 - 2x - 24

Answer: (x+4)(x6)(x + 4)(x - 6)

Try one yourself

Common questions

Does the order of the factors matter?

No. (x+3)(x+4)(x + 3)(x + 4) and (x+4)(x+3)(x + 4)(x + 3) are the same answer, because multiplication works in either order. Write whichever comes to you first.

What if the trinomial starts with something other than x², like 2x² + 7x + 3?

That's a leading coefficient greater than 11, and it needs an extra step — most classes teach the AC method or factoring by grouping. Master the x2+bx+cx^2 + bx + c case first, because the same two-number thinking sits inside the harder version.

Why do we factor trinomials at all?

Mostly to solve quadratic equations. Once x2+7x+12=0x^2 + 7x + 12 = 0 becomes (x+3)(x+4)=0(x + 3)(x + 4) = 0, the zero product property says one of the factors must equal zero, so x=3x = -3 or x=4x = -4. Factoring turns one hard equation into two easy ones.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1