Mathematics calculator

Factoring Trinomials Calculator

Find a real root-based factorization of ax² + bx + c and inspect the discriminant and roots.

Calculator inputs

Enter your values

Quadratic factors
Calculated output

Result summary

Your result will appear here

Complete the required fields and select the calculate button.

What Does Factoring a Trinomial Mean?

Factoring a quadratic trinomial rewrites ax² + bx + c as a product with the same expanded coefficients. The leading coefficient a must be nonzero. A quadratic with real roots can be written as a(x−r₁)(x−r₂).

This factoring trinomials calculator uses numerical quadratic roots and reports the discriminant, roots and real factor form. It may return decimal constants rather than integer binomials. It does not run an integer ac-method search, display grouping steps or provide complex factorization.

How to Factor a Quadratic Trinomial Here

  1. Collect the expression into ax² + bx + c and identify its signed coefficients.
  2. Enter numeric a, b and c within ±10^12, using zero for an absent term. The squared-term coefficient a cannot be zero.
  3. Select Calculate. Read Factored form together with Discriminant and the two root references.
  4. Multiply the factor form back out or use the roots’ sum and product to check the result. Allow for displayed-root rounding.

A negative discriminant gives Cannot be factored over real numbers and clears the root cards. A zero discriminant gives a repeated real root, and a positive one gives two distinct real roots.

Roots and discriminant round to six decimals for display. The underlying computation uses the direct quadratic formula, so highly unbalanced coefficients or a discriminant very close to zero can lose precision. This is a numerical factorization rather than an exact symbolic algebra engine.

Discriminant, Roots and Factorization Formulas

D = b² − 4ac

r₁,₂ = (−b ± √D)/(2a), when D ≥ 0

ax² + bx + c = a(x−r₁)(x−r₂)

Check r₁ + r₂ = −b/a and r₁r₂ = c/a

The real-root criterion and the integer-factor criterion differ. A quadratic may have real irrational roots even when it cannot be factored into rational-coefficient linear terms. This form can display rounded approximations to those real factors.

If D = 0, the product is a(x−r)². If D < 0, no real linear factors exist, although complex factors can be written with a broader method. The message should not be read as “no mathematical representation exists.”

OpenStax: Quadratic Equations provides the underlying mathematical relationship. Input limits and display precision above describe this calculator’s implementation.

Coefficients, Discriminant and Real Factors

Quadratic coefficient a
Nonzero signed coefficient of x², within ±10^12.
Linear coefficient b and constant c
Signed remaining coefficients on the same polynomial basis.
Factored form
Leading coefficient times real root-based brackets, or a no-real-factor message.
Discriminant
b²−4ac; its sign selects the real-root case.
First and second roots
Zeroes of the polynomial, rounded to six decimal places, not the signs printed directly in the brackets.
Numeric versus exact factors
Rounded irrational roots make the displayed product approximate; integer-looking inputs do not guarantee integer binomial output.

Factoring Trinomials Worked Example

Illustrative example. Enter a = 2, b = 7 and c = 3 for 2x²+7x+3. The discriminant is 7²−4 × 2 × 3 = 25. The roots are (−7+5)/4 = −0.5 and (−7−5)/4 = −3.

The calculator returns 2(x + 0.5)(x + 3). Move the leading 2 into the first bracket to obtain (2x+1)(x+3). Expanding gives 2x²+6x+x+3 = 2x²+7x+3, confirming all three original coefficients.

Calculation check. These illustrative values were checked independently against the formula and calculator response. Retain unrounded intermediate values when checking approximations.

Factoring Trinomials Worked Example
StageValue
Polynomial2x² + 7x + 3
Discriminant25
First root−0.5
Second root−3
Displayed factors2(x + 0.5)(x + 3)
Equivalent integer factors(2x + 1)(x + 3)

Exact Integer Factors and Real Numerical Factors

A root-based calculator answers a broader real-factor question than searching for integer binomials. Keep exact radicals or rational factors when a classroom problem requires an exact form.

Exact Integer Factors and Real Numerical Factors
PolynomialExact real formOutput interpretation
2x²+7x+3(2x+1)(x+3)Equivalent root-based decimal form
x²−2(x−√2)(x+√2)Rounded irrational roots
x²−6x+9(x−3)²Repeated real factor
x²+1No real linear factorsComplex factors are outside this form

How to Interpret Real and Rounded Factors

For 2x² + 7x + 3, the output 2(x+0.5)(x+3) is equivalent to (2x+1)(x+3). A different distribution of the leading coefficient can change the appearance without changing the polynomial.

For x²−2, roots are ±√2 and real factors exist, but this form writes six-decimal approximations. Expanding those rounded brackets may not recover the constant term perfectly. Keep exact radicals from an independent derivation when exact algebra is needed.

Factoring an expression and solving an equation are related but distinct tasks. The roots solve ax²+bx+c = 0; the factor form is an identity for the polynomial. Do not set a factor equal to zero unless the original problem is an equation with zero on the other side.

Common Trinomial Factoring Mistakes

  • Forgetting the sign of b or c.
  • Using a = 0 and still expecting a quadratic factorization.
  • Dropping the leading coefficient from the product.
  • Expecting exact integer binomials for every input.
  • Confusing no real linear factors with no complex roots.
  • Assuming rounded numerical factors reproduce every coefficient exactly.

Frequently Asked Questions

How does this calculator factor a quadratic trinomial?

It computes D = b²−4ac, finds the real roots when D is nonnegative, then writes a(x−r₁)(x−r₂). This is a numerical root-based method.

Why does the answer differ from my textbook’s binomials?

The leading coefficient may be distributed differently. For example, 2(x+0.5)(x+3) and (2x+1)(x+3) expand to the same polynomial.

Does every trinomial have integer factors?

No. Some have irrational real roots and require radicals for exact real factors. Others have no real linear factors because their discriminant is negative.

What happens when the discriminant is zero?

Both roots coincide, so the factorization contains a repeated factor. You can write a(x−r)(x−r) as a(x−r)².

Can this form display complex factors?

No. A negative discriminant produces a no-real-factor message, not complex roots or factors. That message does not mean complex factorization is impossible.

How can I check the factors?

Expand the product and compare the x², x and constant coefficients with the original polynomial. Rounded irrational factors may introduce small differences.

What coefficient limits apply?

The three coefficients must be numeric and lie within ±10^12. Coefficient a must be nonzero. The form displays numerical roots to six decimal places.

Is factoring the same as solving an equation?

Factoring rewrites an expression as a product. Solving ax²+bx+c = 0 uses those factors to find roots; an expression alone does not assert an equation.

Sources and References