Factoring trinomials: use product and sum, not random guessing

For x² + bx + c, find two numbers with product c and sum b. For ax² + bx + c, split the middle term using product ac.

LaTeX article Updated July 13, 2026

x2+bx+c=(x+m)(x+n),mn=c, m+n=bx^2+bx+c=(x+m)(x+n),\quad mn=c,\ m+n=b

The monic case has two clean conditions

When the leading coefficient is one, list factor pairs of c and choose the pair whose sum is b. Signs follow from the product and sum.

A positive c means the pair has matching signs; a negative c means opposite signs.

x27x+12=(x3)(x4)x^2-7x+12=(x-3)(x-4)

Use ac to handle a leading coefficient

For ax² + bx + c, find numbers whose product is ac and whose sum is b. Split bx into those two terms, then factor by grouping.

This method is systematic and makes every coefficient visible, which is safer than guessing binomial fronts and backs.

6x2+11x+3=6x2+9x+2x+36x^2+11x+3=6x^2+9x+2x+3

Not every trinomial factors over the integers

If no integer pair works, the trinomial may be prime over the integers even though it factors over the reals or complex numbers.

The discriminant b² − 4ac predicts the root structure and can explain why integer factoring fails.

b24acb^2-4ac

Worked example

Common mistakes

  • Looking for a product of c instead of ac when a ≠ 1.
  • Choosing a pair with the right product but wrong sum.
  • Declaring failure after one factor pair.

Keep these ideas

  • Factoring reverses multiplication.
  • Use product ac and sum b.
  • Some trinomials are prime over the integers.
Vocab
Polynomial
Math glossaryPolynomial
anxn++a1x+a0a_nx^n+\cdots+a_1x+a_0

A finite sum of terms with nonnegative integer variable exponents.

Learn more
Factoring
Math glossaryFactoring
x29=(x3)(x+3)x^2-9=(x-3)(x+3)

Rewrites a sum or difference as an equivalent product.

Learn more
Factor
Math glossaryFactor
(x2)(x+3)(x-2)(x+3)

A quantity multiplied as part of a product.

Learn more
Quadratic
Math glossaryQuadratic
ax2+bx+cax^2+bx+c

A degree-two polynomial equation or function.

Learn more
Zero-product property
Math glossaryZero-product property
ab=0a=0 or b=0ab=0\Rightarrow a=0\ \text{or}\ b=0

A product is zero only when at least one factor is zero.

Learn more
Math glossary