Factoring Trinomials Calculator

Factoring Trinomials Calculator

Factor quadratic trinomials such as x² + 5x + 6, 2x² + 7x + 3, and 6x² - x - 2 with steps, roots, and discriminant checks.

Factor quadratic trinomials in standard form

A factoring trinomials calculator rewrites a quadratic expression in the form ax² + bx + c as a product of simpler factors when possible.

Factor a trinomial by finding two numbers that multiply to the constant term and add to the middle coefficient. For example, x² + 7x + 12 factors into (x + 3)(x + 4) because 3 * 4 = 12 and 3 + 4 = 7. Use this method for quadratic expressions in the form ax² + bx + c.

Enter coefficients a, b, and c. The calculator checks the greatest common factor, applies the AC method for integer factoring, computes the discriminant, and reports whether the trinomial factors over integers, reals, or complex numbers. Results update instantly as you type.

Use it to check algebra homework, compare factoring with the quadratic formula, and recognize special cases like perfect square trinomials and difference of squares.

The coefficient of x^2.

The coefficient of x.

The constant term.

Use x, y, t, n, or another short variable.

Standard form

ax² + bx + c

AC method

Find m and n with mn = ac and m + n = b

Discriminant

D = b² - 4ac

How to use the factoring trinomials calculator

  1. Write the trinomial in standard form: Arrange it as ax^2 + bx + c before entering values.
  2. Enter coefficients: Put the x^2 coefficient in a, the x coefficient in b, and the constant in c.
  3. Choose a variable: Use x by default, or enter another short variable such as y, t, or n.
  4. Factor: The calculator checks integer factoring first, then uses the discriminant to explain the real or complex factor status.
  5. Read the steps: Use the AC product, split terms, roots, and discriminant notes to verify the solution.

Factoring trinomial formula and AC method

The AC method is a common way to factor a quadratic trinomial when the coefficients are integers. Multiply a by c, then find two numbers that multiply to ac and add to b.

ax^2 + bx + c

Find m and n where mn = ac and m + n = b

ax^2 + mx + nx + c -> factor by grouping

If no integer pair exists, the trinomial may still factor over real numbers with irrational roots. The discriminant D = b^2 - 4ac tells you how many roots the related quadratic equation has.

AC method reference: University of Nebraska-Lincoln Mathbooks - factoring trinomials using the AC method.

Factoring trinomials examples

Swipe to view the table
Trinomial Factored form AC pair Note
x^2 + 5x + 6 (x + 2)(x + 3) 2 and 3 Both factors are positive.
x^2 - 7x + 12 (x - 3)(x - 4) -3 and -4 Both factors are negative.
2x^2 + 7x + 3 (2x + 1)(x + 3) 1 and 6 Leading coefficient is not 1.
6x^2 - x - 2 (2x + 1)(3x - 2) 3 and -4 One factor is positive and one is negative.
x^2 + 2x + 5 Not factorable over real numbers None Discriminant is negative.

What the discriminant tells you

The discriminant D = b^2 - 4ac is a fast way to check what kind of factors or roots a trinomial has. It does not replace factoring, but it explains why some trinomials do not split neatly into integer factors.

D is a perfect square

The roots are rational, so integer or rational factoring is usually possible after any common factor is removed.

D is positive but not square

The roots are real but irrational, so the trinomial has real linear factors but not clean integer factors.

D is negative

The roots are complex, so the trinomial does not factor into real linear factors.

Discriminant reference: University of Illinois MSTE - quadratic formula and discriminant.

Special factoring patterns to check first

Before using the AC method, check whether the trinomial has a common factor or a special pattern. These shortcuts can save several steps.

Greatest common factor

Example: 2x^2 + 10x + 12 = 2(x^2 + 5x + 6).

Perfect square trinomial

Example: x^2 + 6x + 9 = (x + 3)^2.

Difference of squares

Example: x^2 - 16 = (x + 4)(x - 4).

Factoring reference: Paul's Online Notes, Lamar University - factoring polynomials.

Factoring decision guide

Swipe to view the table
What you see Try this first Example Why it helps
All terms share a factor Remove the GCF 4x^2 + 20x + 24 The reduced trinomial is smaller and easier to factor.
a = 1 Product-sum method x^2 - x - 12 Find two numbers with product c and sum b.
a is not 1 AC method 6x^2 - x - 2 Splitting the middle term makes grouping possible.
First and last terms are squares Perfect square check 9x^2 - 12x + 4 The answer may be a squared binomial.
No clean factor pair appears Discriminant or quadratic formula x^2 + x + 1 It may not factor over integers or real numbers.

Worked example: factor 6x^2 - x - 2

This example shows the full AC method, which is the most useful technique when the leading coefficient is not 1.

Step 1

Multiply a and c

For 6x^2 - x - 2, a = 6 and c = -2, so ac = -12.

Step 2

Find the product-sum pair

The numbers 3 and -4 multiply to -12 and add to -1, the middle coefficient.

Step 3

Split and group

Rewrite the expression as 6x^2 + 3x - 4x - 2, then group: 3x(2x + 1) - 2(2x + 1).

Step 4

Factor the common binomial

Both groups contain (2x + 1), so the final answer is (2x + 1)(3x - 2).

Factoring vs the quadratic formula

Factoring is usually fastest when a trinomial has clean integer or rational factors. The quadratic formula is more universal, because it works even when factoring is messy or impossible over the integers.

Use factoring

Best for expressions like x^2 + 5x + 6, where the product-sum pair is easy to find.

Use the quadratic formula

Best when the discriminant is not a perfect square or when a worksheet asks for exact roots.

Use both to check

Factored forms reveal roots quickly, and the formula confirms the same solutions numerically or exactly.

Interesting fact

Factoring a trinomial and solving a quadratic equation are two sides of the same idea. If ax^2 + bx + c factors as a(x - r1)(x - r2), then r1 and r2 are exactly the roots of the equation ax^2 + bx + c = 0. That is why checking the factored form by setting each factor equal to zero is one of the fastest verification steps in algebra.

Frequently Asked Questions

What is a factoring trinomials calculator in algebra?

A factoring trinomials calculator is an algebra tool that rewrites a three-term quadratic expression as a product of factors when possible. For example, the polynomial x^2 + 5x + 6 becomes (x + 2)(x + 3). The calculator also shows the discriminant, roots, and step-by-step solution so you can see why a trinomial does or does not factor cleanly.

How do I factor a trinomial when the leading coefficient is 1?

For x^2 + bx + c, find two numbers whose product is c and whose sum is b. In x^2 + 8x + 15, the numbers are 3 and 5 because 3 * 5 = 15 and 3 + 5 = 8. The factored answer is (x + 3)(x + 5), where x is the variable in the original equation.

What factoring method works when a is not 1?

Use the AC method. Multiply coefficient a by constant c, find two numbers that multiply to ac and add to coefficient b, then split the middle term and factor by grouping. For 2x^2 + 7x + 3, ac = 6 and the pair is 1 and 6, so the expression factors as (2x + 1)(x + 3).

What if the quadratic trinomial does not factor over integers?

If no integer factor pair works, the quadratic trinomial may still have real roots, irrational roots, or complex roots. The discriminant formula tells the difference. A positive non-square discriminant means real irrational roots; a negative discriminant means there is no real linear factorization.

Why should I factor out the GCF first in a worksheet problem?

Factoring out the greatest common factor first makes the remaining trinomial smaller and easier to factor, which is often expected on an algebra worksheet. For example, 3x^2 + 15x + 18 becomes 3(x^2 + 5x + 6), then x^2 + 5x + 6 factors as (x + 2)(x + 3). The final answer is 3(x + 2)(x + 3).

How can I check if my factoring answer is correct?

Multiply the factors back together and make sure the product gives the original trinomial. For example, (x + 4)(x - 2) expands to x^2 + 2x - 8, so that factorization is correct for x^2 + 2x - 8. This check catches sign errors in the middle term, constant term, and coefficient of the variable.

What signs should I use in the binomial factors?

Look at the constant term and the middle coefficient. If c is positive, the two factor numbers have the same sign; they are both positive when b is positive and both negative when b is negative. If c is negative, one factor number is positive and the other is negative, so the sum must match the middle coefficient.

Can every quadratic trinomial be factored into a simple answer?

Every quadratic trinomial can be analyzed with the quadratic formula, but not every trinomial factors nicely over integers. Some factor only with irrational numbers, and some have complex roots. That is why this calculator reports the discriminant, method notes, and factored form instead of forcing a simple answer when one does not exist.

Disclaimer: This factoring trinomials calculator is for general educational and informational use only. It provides algebraic factoring and root information based on user-entered coefficients and rounded numerical output. It is not a substitute for classroom instructions, textbook requirements, exam formatting rules, or professional mathematical verification. Always confirm exact form, notation, factoring domain, and simplification rules required by your course, worksheet, or project.

Last updated: May 22, 2026