algebra calculators

Quadratic Expression Factoring Calculator

Factors any quadratic expression ax² + bx + c into two linear factors. Use it when solving equations, simplifying fractions, or checking roots without manual trial and error.

About this calculator

Factoring a quadratic ax² + bx + c means finding two binomials (px + q)(rx + s) whose product equals the original expression. The key tool is the discriminant: Δ = b² − 4ac. If Δ > 0, there are two distinct real roots; if Δ = 0, a perfect square; if Δ < 0, no real factors exist. The roots are found via the quadratic formula: x = (−b ± √Δ) / (2a), giving factors a(x − x₁)(x − x₂). For example, with a = 1 the factored form simplifies to (x − x₁)(x − x₂). Recognising whether to use the AC method, completing the square, or the quadratic formula depends on the discriminant and the values of a, b, and c.

How to use

Factor 2x² + 7x + 3. Enter a = 2, b = 7, c = 3. Step 1 — compute the discriminant: Δ = 7² − 4(2)(3) = 49 − 24 = 25. Step 2 — find the roots: x = (−7 ± √25) / (2·2) = (−7 ± 5) / 4, giving x₁ = −0.5 and x₂ = −3. Step 3 — write the factored form: 2(x + 0.5)(x + 3) = (2x + 1)(x + 3). Verify by expanding: 2x² + 6x + x + 3 = 2x² + 7x + 3. ✓

Frequently asked questions

How do I factor a quadratic expression when the discriminant is negative?

A negative discriminant (b² − 4ac < 0) means the quadratic has no real roots and therefore cannot be factored over the real numbers. The factors exist only in the complex number domain, written as a(x − (p + qi))(x − (p − qi)). For most algebra and calculus purposes this means the expression is irreducible over ℝ. The calculator will flag this case and display the complex roots if needed.

What is the difference between the AC method and the quadratic formula for factoring?

The AC method works by finding two integers that multiply to ac and add to b, then splitting the middle term and factoring by grouping — it is fast when those integers are obvious. The quadratic formula always works but produces decimal roots when the expression does not factor neatly over the integers. For classroom use the AC method is preferred for 'nice' coefficients, while the quadratic formula is the universal fallback. This calculator computes the discriminant first to choose the most appropriate presentation.

When should I use factoring instead of completing the square to solve a quadratic equation?

Factoring is quickest when the discriminant is a perfect square and the coefficients are small integers, making the roots rational. Completing the square is more useful when you need vertex form (a(x − h)² + k) for graphing or when the quadratic formula feels like overkill. For proofs and derivations, completing the square is fundamental because it derives the quadratic formula itself. In practice, check the discriminant first: a perfect-square Δ strongly suggests clean factoring is possible.