Algebra Tool

Factoring Trinomials Calculator

Factor any trinomial ax² + bx + c with step-by-step solutions using the AC method. Shows every step, identifies roots, and detects prime trinomials.

AC Method-Step-by-Step-Root Finder-Prime Detection

Example Trinomials

Enter Coefficients

Enter values for ax² + bx + c

+
x
+

Trinomial: x² + 5x + 6

Step-by-Step Solution

1Start with: x² + 5x + 6
2Discriminant: b² - 4ac = 5² - 4(1)(6) = 1
3Using AC method: find two numbers that multiply to a×c = 1×6 = 6, and add to b = 5
4Found: 2 and 3 (2 + 3 = 5, 2 × 3 = 6)
5Rewrite middle term: x² + 2x + 3x + 6
6Group: (x² + 2x) + (3x + 6)
7Factor each group: x(x + 2) + 3(x + 2)
8Final result: (x + 3)(x + 2)

Factored Form

(x + 3)(x + 2)
Factorable

Roots (zeros):

x = -3, -2

AC Method: a×c = 6, split b = 5 into 2 + 3

AC Method Steps

  1. 1. Multiply a x c
  2. 2. Find two numbers that multiply to a×c and add to b
  3. 3. Rewrite bx as the sum of those two terms
  4. 4. Factor by grouping the 4-term polynomial

Common Trinomial Factoring Examples

Trinomiala × cSplit b asFactored Form
x² + 5x + 662 + 3(x + 2)(x + 3)
x² - 5x + 66-2 + (-3)(x - 2)(x - 3)
x² - x - 6-62 + (-3)(x + 2)(x - 3)
2x² + 7x + 361 + 6(2x + 1)(x + 3)
3x² - 10x - 8-242 + (-12)(3x + 2)(x - 4)
6x² + 11x - 10-60-4 + 15(2x + 5)(3x - 2)
x² + 2x + 55No integer pairPrime (not factorable)

The AC Method for Factoring Trinomials

The AC method (also called the product-sum method or split-the-middle method) is the most systematic approach for factoring trinomials of the form ax² + bx + c, particularly when the leading coefficient a is not equal to 1. While simple trinomials like x² + 5x + 6 can often be factored by inspection or trial-and-error, the AC method provides a reliable algorithm that works for any factorable trinomial.

The method name comes from the first step: multiplying A (the leading coefficient) by C (the constant term). This product, often called the "key number," is the target for your factor search. You then find two integers whose product equals this key number and whose sum equals the middle coefficient B. Once found, these two integers replace the middle term, converting the trinomial into a 4-term polynomial that can be factored by grouping.

When a = 1: The Simple Case

When the leading coefficient equals 1, factoring simplifies significantly. For x² + bx + c, you need two numbers that multiply to c and add to b. For x² + 5x + 6, find two numbers multiplying to 6 and adding to 5 - that is 2 and 3. The factored form is (x + 2)(x + 3). This shortcut works because with a = 1, the AC method product a × c equals c, and the grouping steps simplify to just reading off the factor pairs.

Recognizing Special Forms

Some trinomials have special forms worth recognizing. A perfect square trinomial (a² + 2ab + b² = (a+b)²) factors into a repeated binomial. The difference of squares (a² - b²) isn't technically a trinomial but often appears when the middle coefficient is zero. Recognizing these patterns before applying the AC method can save time. For example, 4x² + 12x + 9 is a perfect square (2x + 3)², and x² - 9 factors immediately as (x + 3)(x - 3).

Prime Trinomials and the Discriminant

Not every trinomial can be factored over the integers. A prime trinomial is one where no integer factor pair satisfies the conditions. The quickest way to check before spending time searching for factors is to compute the discriminant: b² - 4ac. If the discriminant is a perfect square, the trinomial factors over integers. If it is zero, the trinomial is a perfect square. If it is negative, the trinomial has no real roots. If it is a positive non-perfect square, the trinomial has irrational real roots but no integer factoring.

Frequently Asked Questions

How do you factor a trinomial?
To factor ax² + bx + c: multiply a × c, find two numbers that multiply to a×c and add to b, rewrite the middle term using those numbers, then factor by grouping the resulting 4-term polynomial.
What is the AC method for factoring trinomials?
The AC method finds two numbers that multiply to a×c and add to b. These numbers split the middle term, enabling factoring by grouping. It works for any trinomial factorable over integers.
What does it mean when a trinomial is prime?
A prime trinomial cannot be factored into binomials with integer coefficients. This occurs when the discriminant (b² - 4ac) is not a perfect square, meaning no integer pair multiplies to a×c and adds to b.
How do you factor when the leading coefficient is not 1?
Use the AC method: multiply a × c, find factor pairs of that product summing to b, rewrite bx as the sum of those two terms, then factor by grouping. Example: 6x² + 11x - 10, a×c = -60, factors -4 and 15 sum to 11.
How do you know if a trinomial is factorable?
Check the discriminant b² - 4ac. If it is a perfect square (0, 1, 4, 9, 16...), the trinomial factors over integers. If negative, no real roots. If positive but not a perfect square, irrational real roots only.
What is the relationship between roots and factors?
If r₁ and r₂ are roots of ax² + bx + c = 0, the factored form is a(x - r₁)(x - r₂). So x² + 5x + 6 with roots x = -2 and x = -3 factors as (x + 2)(x + 3).
What is the difference between factoring and the quadratic formula?
Factoring gives exact integer factors when possible but only works for factorable trinomials. The quadratic formula always works and gives both roots even for irrational or complex numbers. Factoring is faster when possible.
How do you verify that your factoring is correct?
Expand (FOIL) the factors back out. The result should match the original trinomial. For example, (x+2)(x+3) = x² + 3x + 2x + 6 = x² + 5x + 6. Also substitute roots back into the original to verify they equal zero.

Related Calculators