Algebra • Core Flagship Pillar

Polynomial Factoring Calculator

Factor quadratic trinomials ($ax^2 + bx + c$), difference of squares ($a^2 - b^2$), sum and difference of cubes ($a^3 \pm b^3$), and four-term polynomials by grouping with complete step-by-step mathematical derivations.

|
Last Updated: September 2026
|
Verified Polynomial Decomposition

Enter Polynomial Coefficients

Preset Examples
Factored Complete Expression
(x + 2)(x + 3)
Roots / Zeros: x = -2, x = -3
Discriminant (Δ)
1
Perfect Square
AC Product
6
a × c
Factor Pair (p, q)
(2, 3)
p + q = b
Monomial GCF
1
Extracted
∑

Step-by-Step Factoring Procedure (AC Method & Grouping)

Direct Answer & Overview
Verified Educational Guide

How to Factor a Polynomial

To factor a quadratic trinomial ax² + bx + c, first extract any common monomial factor (GCF). Then calculate the product ac and find two integers p and q such that p · q = ac and p + q = b. Split the middle term bx into px + qx, and factor the resulting four terms by grouping: ax² + px + qx + c = (d₁x + r₁)(d₂x + r₂).

Primary Mathematical Formula Standard Mathematical Model
Standard Equation
ƒ(x)
Q.E.D.
ax2+bx+c=ax2+px+qx+c=x(ax+p)+⋯=(d1x+r1)(d2x+r2)ax^2 + bx + c = ax^2 + px + qx + c = x(ax + p) + \dots = (d_1 x + r_1)(d_2 x + r_2)
Evaluated with exact mathematical formulation • Rigorously verified
Exact Formula
Input Parameters
Required
1
Polynomial coefficients (a, b, c for trinomials; a, b, c, d for grouping)
2
Selected factoring pattern (Quadratic, Difference of Squares, Sum/Diff of Cubes)
Expected Outputs
Calculated
Complete factored product of binomials / irreducible factors
Real roots / zeros, discriminant value, AC factor pairs, and step-by-step grouping
Worked Numerical Example
Instant Verification
Factor 2x² + 7x + 3
→ ac = (2)(3) = 6; find factors of 6 adding to 7 -> p = 6, q = 1; split: 2x² + 6x + x + 3 = 2x(x + 3) + 1(x + 3)
(2x + 1)(x + 3)

Fundamental Factoring Principles & Monomial GCF Extraction

In elementary algebra, factoring a polynomial is the exact reverse operation of expansion (such as multiplying binomials via FOIL). The goal is to write a sum of algebraic terms as a product of simpler polynomial factors.

Step 0: Always Extract the Greatest Common Factor (GCF) First
k·A(x) + k·B(x) = k · [A(x) + B(x)]

Example: For 6x³ + 15x² − 9x, the greatest common factor is 3x. Extracting 3x yields 3x(2x² + 5x − 3), simplifying the remaining trinomial for subsequent factorization.

The AC Method for Quadratic Trinomials (ax² + bx + c)

The AC Method (or product-sum method) provides a deterministic algebraic algorithm for factoring non-monic quadratics ($a \neq 1$) without guessing:

Step 1: Compute the AC Product

Multiply leading coefficient a by constant term c: Product = a · c.

Step 2: Find Factor Pair (p, q)

Find two integers p and q such that p · q = ac and p + q = b.

Step 3: Split the Middle Term

Rewrite ax² + bx + c as ax² + px + qx + c.

Step 4: Factor by Grouping

Group pairs: (ax² + px) + (qx + c) and factor out binomial GCF.

Special Factoring Patterns & Algebraic Identities

Difference of Squares
a² − b² = (a − b)(a + b)

Sum of squares (a² + b²) is prime and cannot be factored over real numbers.

Perfect Square Trinomials
a² ± 2ab + b² = (a ± b)²

The middle term is precisely twice the product of square roots of outer terms.

Difference of Cubes
a³ − b³ = (a − b)(a² + ab + b²)

The quadratic factor (a² + ab + b²) is always irreducible over ℝ.

Sum of Cubes
a³ + b³ = (a + b)(a² − ab + b²)

Mnemonic SOAP: Same sign, Opposite sign, Always Positive.

Factoring by Grouping (Four-Term Polynomials)

When an expression has four terms ($ax^3 + bx^2 + cx + d$), factor by grouping terms into pairs that share common factors:

ax³ + bx² + cx + d = x²(ax + b) + k(ax + b) = (ax + b)(x² + k)

Grouping works whenever the ratio of the first two coefficients equals the ratio of the last two coefficients (a/b = c/d).

Real-World Applications of Polynomial Factoring

Physics & Trajectory Landing Points

Factoring kinematic height equations $h(t) = -16t^2 + v_0 t + h_0$ yields the exact landing times ($h(t) = 0$) when a projectile hits the ground.

Structural Engineering & Beam Deflection

Civil engineers factor polynomial load equations to find inflection points where shear bending stress equals zero.

Economics & Break-Even Analysis

Business analysts factor profit polynomials $P(x) = R(x) - C(x)$ to pinpoint exact break-even production quantities.

Step-by-Step Worked Numerical Solutions

Example 1: Factoring Trinomial with a > 1 AC Method

Problem: Factor 6x² + 11x − 10.

1. ac = (6)(−10) = −60. Find factors of −60 adding to +11.
2. Factor pair: (+15) and (−4), since 15 × (−4) = −60 and 15 + (−4) = 11.
3. Split middle term: 6x² + 15x − 4x − 10.
4. Factor by grouping: 3x(2x + 5) − 2(2x + 5) = (3x − 2)(2x + 5).
Result: (3x − 2)(2x + 5)

Common Pitfalls & Sign Mistakes

Factoring Sum of Squares

x² + 9 ≠ (x + 3)(x + 3)! In real numbers, a² + b² is prime and cannot be factored.

Sign Errors with Negative GCFs

When factoring a negative sign out of a group, remember to flip the signs of all terms inside the parentheses.

Forgetting Monomial GCF First

Always extract the greatest common monomial first. Factoring 4x² − 16 without taking out 4 leaves unsimplified binomials.

Fact-Checked & Verified • Computational Accuracy Standards
Updated August 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

What is polynomial factoring and why is it important?
Polynomial factoring is the algebraic process of decomposing an expanded polynomial expression into a product of simpler irreducible factors (such as binomials). Factoring is essential for solving quadratic and higher-degree polynomial equations, finding function zeros/roots, and graphing rational functions.
How does the AC Method for factoring trinomials (ax² + bx + c) work?
The AC Method involves 4 steps: 1. Multiply the leading coefficient a by constant c (find the product ac). 2. Find two integer factors p and q whose product is ac (p·q = ac) and whose sum equals middle coefficient b (p + q = b). 3. Rewrite the middle term bx as px + qx. 4. Factor the resulting 4-term polynomial by grouping.
What is the Difference of Squares formula and how do you use it?
The Difference of Squares formula states that a² − b² = (a − b)(a + b). To factor an expression like 4x² − 25, identify a = √(4x²) = 2x and b = √25 = 5, yielding the factored form (2x − 5)(2x + 5).
What are the formulas for Sum and Difference of Cubes?
Difference of Cubes: a³ − b³ = (a − b)(a² + ab + b²). Sum of Cubes: a³ + b³ = (a + b)(a² − ab + b²). Note that the second quadratic factor (a² ∓ ab + b²) is always irreducible over real numbers.
What does it mean if a polynomial is Prime (Irreducible)?
A polynomial is called prime or irreducible over the real numbers if it cannot be factored into the product of two or more non-constant polynomials with real coefficients. For a quadratic ax² + bx + c, this occurs whenever the discriminant Δ = b² − 4ac < 0 (such as x² + 4 or x² + x + 1).
How do you factor a four-term polynomial by grouping?
To factor by grouping, split the 4 terms into two pairs: (ax³ + bx²) + (cx + d). Factor out the greatest common monomial from each pair: x²(ax + b) + k(ax + b). If the remaining binomials match, factor out the common binomial: (ax + b)(x² + k).