Factoring Trinomials Calculator

Enter the coefficients

Results

Factoring Trinomials

0

1

What is Factoring Trinomials?

A quadratic trinomial has the form ax2 + bx + c, where a is not zero. Factoring rewrites it as a product of linear expressions. This calculator finds the discriminant and real roots, then uses the identity a(x − r1)(x − r2) to display a real linear-factor form.

The method works for integer or decimal coefficients, but displayed roots are rounded to six decimal places. When roots are irrational, the printed factors are therefore approximations. If the discriminant is negative, the page reports that the expression cannot be factored over the real numbers; complex factors are outside this tool's output.

2

How to Use This Calculator

  1. Identify the coefficients in ax2 + bx + c, keeping each sign. Enter a, b and c. The leading coefficient a cannot be zero.
  2. Select Calculate. The discriminant b2 − 4ac determines how many real roots exist.
  3. For a nonnegative discriminant, the quadratic formula produces r1 and r2. The answer is arranged as a(x − r1)(x − r2), with cleaner plus signs for negative roots.

Multiply the displayed factors back out when exactness matters. Rounding roots to six decimal places can create a small reconstruction difference.

3

Formula Used

Discriminant: D = b2 − 4ac

Roots: r1,2 = (−b ± √D) ÷ (2a)

When D ≥ 0: ax2 + bx + c = a(x − r1)(x − r2).

If D > 0, there are two distinct real roots. If D = 0, there is one repeated real root and the two factors match. If D < 0, there are no real roots and hence no factorization into real linear factors.

4

Variables Explained

Quadratic coefficients and calculated values
SymbolMeaningImportant detail
aCoefficient of x2.Must not equal zero; otherwise the expression is not quadratic.
bCoefficient of x.Enter zero if the linear term is absent.
cConstant term.Enter zero if there is no constant.
DDiscriminant b2 − 4ac.Its sign determines the number of real roots.
r1, r2Values of x that make the quadratic equal zero.Displayed to at most six decimal places.
5

Worked Example

Factor x2 + 5x + 6. Enter a = 1, b = 5 and c = 6. The discriminant is 52 − 4(1)(6) = 25 − 24 = 1. The roots are (−5 + 1) ÷ 2 = −2 and (−5 − 1) ÷ 2 = −3.

Using x minus each root gives (x − (−2))(x − (−3)), which simplifies to (x + 2)(x + 3). Multiplying back gives x2 + 3x + 2x + 6 = x2 + 5x + 6.

6

Why Use This Calculator?

A factor equals zero at its corresponding root. In (x + 2)(x + 3), setting x = −2 makes the first factor zero, and setting x = −3 makes the second zero. This connection makes factored form useful for solving quadratic equations and finding x-intercepts of a parabola.

The leading coefficient remains essential. For 2x2 + 10x + 12, the correct form is 2(x + 2)(x + 3); omitting 2 changes every coefficient. A repeated factor, such as (x − 4)2, corresponds to a discriminant of zero and a parabola that touches the x-axis once.

Factored form also reveals sign changes. Between two distinct real roots, the two linear factors have opposite signs; outside them, they have the same sign. The sign of the leading coefficient then tells whether the quadratic is positive or negative in each interval. That observation supports graphing and quadratic inequalities.

When decimal roots appear, understand the factorization as approximate. An exact classroom answer may be better written with radicals from the quadratic formula. A negative discriminant says there is no real linear factorization, though a factorization over complex numbers still exists.

7

Common Mistakes

  • Entering the terms instead of their coefficients, or losing the minus sign on b or c.
  • Using a = 0, which turns the expression into a linear equation.
  • Forgetting the leading factor a when a is not one.
  • Writing (x + r) for a positive root r; the factor tied to root r is (x − r).
  • Claiming a negative discriminant means the polynomial has no roots at all; it has no real roots, but may have complex roots.
  • Treating rounded decimal factors as exact when the roots are irrational.
  • Skipping the multiplication check that should recreate ax2 + bx + c.
8

Frequently Asked Questions

What happens when a equals zero?

The expression is no longer quadratic, so the quadratic formula and this factorization method do not apply. The form rejects a zero leading coefficient.

Why does a negative root create a plus sign in a factor?

The factor is x minus the root. Subtracting a negative number becomes addition, so a root of −2 produces x − (−2) = x + 2.

What does a discriminant of zero mean?

The quadratic has one repeated real root. Its real linear factors are identical, as in x² − 8x + 16 = (x − 4)².

Can a trinomial with a negative discriminant be factored?

It cannot be written as real linear factors. It can be factored using complex numbers, but this calculator reports only real factorization.

Why are some factors shown as decimals?

The quadratic formula can produce irrational roots. The display rounds roots to six decimal places, so the resulting factors are approximate rather than exact radical forms.

How do I verify the factored form?

Multiply the factors using distribution and include the leading coefficient. After combining like terms, the coefficients should reproduce a, b and c, subject to any displayed rounding.

Does this tool only factor monic trinomials?

No. It accepts any nonzero numeric leading coefficient a and retains that coefficient in front of the two root-based factors.

9

Sources & References