Reviewed by CalcMulti Editorial Team·Last updated: ·← Algebra Hub
Factoring a polynomial means expressing it as a product of simpler factors. For a trinomial ax² + bx + c, this means finding two binomials (px + q)(rx + s) such that their product equals the original expression.
This calculator factors trinomials step by step: first extracts the GCF, then checks for special patterns (perfect square trinomial, difference of squares), and finally applies the AC method for general trinomials.
Choosing the right factoring method saves time. Always start by factoring out the Greatest Common Factor (GCF) — for example, 6x² + 12x = 6x(x + 2). Next, count terms: two terms suggest difference of squares (a² − b²) or sum/difference of cubes (a³ ± b³). Three terms (trinomials) use the AC method when a ≠ 1 or simple trial-and-error when a = 1. Four or more terms usually require grouping.
Worked example — factoring 2x² + 7x + 6 using the AC method: Multiply a × c = 2 × 6 = 12. Find two numbers that multiply to 12 and add to 7: those are 3 and 4. Rewrite the middle term: 2x² + 3x + 4x + 6. Group: x(2x + 3) + 2(2x + 3) = (x + 2)(2x + 3). Verify by expanding: (x+2)(2x+3) = 2x² + 3x + 4x + 6 = 2x² + 7x + 6 ✓
Factoring is directly connected to solving equations (Factor Theorem), graphing parabolas (x-intercepts), and simplifying rational expressions. Mastering the recognition of special forms — perfect squares, difference of squares, sum of cubes — dramatically speeds up algebraic work in calculus and beyond.
ax² + bx + c = a(x − r₁)(x − r₂)
| Pattern | Formula | Example | Condition |
|---|---|---|---|
| Difference of Squares | a²−b² = (a+b)(a−b) | x²−9 = (x+3)(x−3) | Both terms perfect squares |
| Perfect Square (+) | a²+2ab+b² = (a+b)² | x²+6x+9 = (x+3)² | Middle = 2√(first·last) |
| Perfect Square (−) | a²−2ab+b² = (a−b)² | x²−4x+4 = (x−2)² | Discriminant = 0 |
| Simple trinomial | x²+bx+c = (x+p)(x+q) | x²−5x+6 = (x−2)(x−3) | Find p+q=b, pq=c |
| AC method | ax²+bx+c | 6x²+11x+4 = (3x+4)(2x+1) | Find factors of ac summing to b |
| GCF first | factor out GCF | 6x²+12x = 6x(x+2) | Always check GCF first |
Solve when factoring is difficult
Discriminant CalculatorCheck if a trinomial factors over integers
Polynomial CalculatorExpand and multiply polynomials
Completing the SquareConvert to vertex form
Factoring Polynomials GuideAll methods: GCF, trinomials, grouping, cubes
Factoring vs Quadratic FormulaWhich method to use and when
FOIL Method CalculatorExpand binomial products — reverse of factoring
Rational Expressions CalculatorSimplify rational expressions by factoring
Algebra HubAll algebra calculators and guides
This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.