Mathematics, Statistics & Geometry

Polynomial Factoring Calculator

Use this free Factoring Calculator to factor quadratics, trinomials, and polynomials. View step-by-step solutions using grouping and the AC method.

Factored Form
(x + 2)(x + 3)
Root 1 (x₁)-2
Root 2 (x₂)-3
Discriminant1
Calculation Summary1. Formula Discriminant: D = b^2 - 4ac, Roots: x = (-b ± sqrt(D)) / 2a 2. Your Inputs a = 1, b = 5, c = 6 (Equation: 1x^2 + 5x + 6) 3. Calculation Steps Discriminant: (5)^2 - 4(1)(6) = 1 Roots: x = (-5 ± sqrt(1)) / 2 => x1 = -2.0000, x2 = -3.0000 Factored Form: (x + 2)(x + 3)

Calculated locally in your browser. Fast, secure, and private.

How to Factor Quadratic Trinomials

A quadratic equation is a polynomial in the standard form $ax^2 + bx + c$. Factoring is the process of breaking this expanded equation down into its simpler binomial building blocks (usually looking something like $(x+2)(x+3)$).

When an equation is fully factored, finding its "roots" or "x-intercepts" becomes trivially easy.

ax2+bx+c=a(xr1)(xr2)\begin{aligned} ax^2 + bx + c = a(x - r_1)(x - r_2) \end{aligned}

Where:
a, b, c=
The known numbers from the standard quadratic form
r1,r2r_1, r_2=
The calculated zeroes (x-intercepts) of the polynomial
(x - r)=
The simplified mathematical building block

The "Guess and Check" Method (When $a = 1$)

If your quadratic equation starts with a plain $x^2$ (meaning the leading coefficient $a$ is exactly $1$), factoring is straightforward.

Let's factor $x^2 + 5x + 6$:

  1. Look at the constant ($c$): Our constant is 6.
  2. Look at the middle term ($b$): Our middle term is 5.
  3. Find the magic numbers: You need to find two numbers that multiply to 6 AND add up to 5.
  4. The solution: The numbers 2 and 3 fit perfectly ($2 \times 3 = 6$, and $2 + 3 = 5$).
  5. The factored form: We write our answer as $(x + 2)(x + 3)$.

The AC Method (When $a \neq 1$)

When the leading coefficient is not $1$ (for example, $2x^2 + 7x + 3$), you can no longer just guess the numbers. You must use the AC Method combined with factoring by grouping.

  1. Multiply $A$ and $C$: In $2x^2 + 7x + 3$, $a=2$ and $c=3$. Multiply them to get $6$.
  2. Find the magic numbers: Find two numbers that multiply to 6 (your AC product) AND add up to 7 (your middle $b$ term). The numbers are $6$ and $1$.
  3. Split the middle term: Rewrite the $7x$ using your new numbers: $2x^2 + 6x + 1x + 3$.
  4. Factor by grouping: Group the first two terms and the last two terms: $(2x^2 + 6x) + (1x + 3)$.
  5. Pull out the GCF (Greatest Common Factor): Factor $2x$ out of the first group, and $1$ out of the second group: $2x(x + 3) + 1(x + 3)$.
  6. The final factored form: Combine the outside terms with the shared inside term: $(2x + 1)(x + 3)$.

What if it can't be factored?

Not every quadratic polynomial can be factored cleanly into whole numbers or simple fractions. If the numbers refuse to work out, you can always fall back on the Quadratic Formula to find the roots directly.

Our polynomial factoring calculator automatically detects whether an equation requires simple grouping, the AC method, or the quadratic formula, and generates the exact step-by-step breakdown you need to check your algebra homework.

Frequently Asked Questions

First, multiply the 'a' coefficient and the 'c' constant. Next, find two numbers that multiply to equal that AC product, but add together to equal the middle 'b' term. Rewrite the middle 'b' term using those two numbers, and then factor the resulting four-term expression by grouping.

If the leading coefficient (a) is not 1, you must check for a Greatest Common Factor (GCF) across all three terms first. If you can factor a number out, do so. If you cannot, you must use the AC method and factor by grouping.

Factoring allows us to find the 'roots' or 'x-intercepts' of an equation easily. Once a quadratic is factored into the form (x-2)(x-3)=0, the Zero Product Property tells us that the solutions must be x=2 and x=3.

No. Many quadratic equations cannot be factored using rational numbers. If the discriminant (b² - 4ac) is not a perfect square, or if it is a negative number, the equation cannot be cleanly factored and you must use the Quadratic Formula instead.

Factoring by grouping is a technique used when an expression has four terms. You split the expression down the middle into two pairs, factor out the Greatest Common Factor (GCF) from each pair separately, and then factor out the common binomial bracket that remains.