Factor Calculator Quadratic: How It Works
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
A quadratic factor calculator takes an expression like ax² + bx + c and rewrites it as a product of two binomials, such as (x + p)(x + q), when that is possible. You enter the coefficients a, b, and c, and the calculator returns the factored form, along with the roots of the equation. This is the same as finding the values of x that make the quadratic equal zero, because each factor set to zero gives a solution.
Formula
For a quadratic in standard form ax² + bx + c = 0, the factored form is:
a(x − r�)(x − r₂)
where r� and r₂ are the roots given by the quadratic formula:
r = (−b ± √(b² − 4ac)) / (2a)
- a – coefficient of x² (must not be zero)
- b – coefficient of x
- c – constant term
- r�, r₂ – the two roots (solutions) of the equation
The expression b² − 4ac is called the discriminant. It tells you what kind of factors to expect:
- If discriminant > 0: two different real roots → factors are real and distinct.
- If discriminant = 0: one repeated real root → the factor is a perfect square.
- If discriminant < 0: no real roots → cannot factor over real numbers.
Worked Example
Using the default values a = 1, b = 5, c = 6:
- Compute the discriminant: 5² − 4×1×6 = 25 − 24 = 1
- First root: (−5 + √1) / (2×1) = (−5 + 1) / 2 = −2
- Second root: (−5 − √1) / (2×1) = (−5 − 1) / 2 = −3
- Factored form: 1(x − (−2))(x − (−3)) = (x + 2)(x + 3)
So the calculator outputs (x + 2)(x + 3) and the roots −2 and −3. You can verify by expanding: (x + 2)(x + 3) = x² + 5x + 6.
When to Use a Quadratic Factor Calculator
Factoring is a common step in solving quadratic equations, simplifying rational expressions, and graphing parabolas. You might use it when:
- You need to find the x-intercepts of a parabola quickly.
- You are solving a quadratic equation and want to avoid manual trial-and-error.
- You are simplifying algebraic fractions where the numerator or denominator is quadratic.
- You are checking your own hand-factoring work.
The calculator is especially useful when the roots are not integers. For example, x² − 2x − 4 has roots 1 ± √5, which are irrational. The factored form is (x − (1+√5))(x − (1−√5)). A calculator handles these without guesswork.
How to Read the Result
The first output, factored form, is written as a product of two binomials. If a is not 1, the factored form includes that coefficient. For example, 2x² + 7x + 3 factors as (2x + 1)(x + 3). The calculator shows 2(x + 0.5)(x + 3) because it uses the root form. Both are correct; the second is the general form.
The roots are the values that make the original expression zero. In a graph, they are where the parabola crosses the x-axis. If the discriminant is negative, the roots are complex numbers (involving i), and the factored form uses those complex numbers. The calculator will show them as expressions with √(negative).
Common Mistakes and Pitfalls
One frequent error is forgetting to include the leading coefficient a in the factored form. For 2x² + 8x + 6, the roots are −1 and −3, but the correct factorization is 2(x + 1)(x + 3), not (x + 1)(x + 3). The calculator handles this automatically, but when you write the answer yourself, always check by expanding.
Another mistake is mixing up signs. The factored form uses (x − r), so if a root is negative, you get a plus sign. For example, root −2 gives factor (x + 2). Many students write (x − 2) by mistake.
Unit mix-ups don’t apply here because coefficients are pure numbers, but rounding can be an issue. If you round roots too early, the factored form may not expand back to the original. The calculator shows several decimal places to preserve accuracy.
Limits of the Formula
The quadratic formula works for all quadratics, but factoring over the integers is only possible when the discriminant is a perfect square. For example, x² + 2x + 2 has discriminant 4 − 8 = −4, so it has no real factors. The calculator will show complex roots, which is correct but may not be what you expect if you only want integer factors.
Also, the formula assumes a ≠0. If a = 0, the expression is linear, not quadratic, and the quadratic formula is undefined. The calculator enforces a minimum of 0 for the input, so you cannot enter a negative a either. That is fine because you can multiply the whole equation by −1 to make a positive.
Alternatives to Factoring
Factoring is not the only way to solve a quadratic. Other methods include:
- Completing the square – rewrites as a(x − h)² + k and is useful for graphing.
- Quadratic formula – always works, even when factoring is difficult.
- Graphing – find the x-intercepts visually, but may give approximate answers.
Factoring is often the fastest when the roots are integers or simple fractions, but the quadratic formula is the most reliable. A factor calculator essentially uses the quadratic formula to get the roots, then builds the factors from them.
Frequently Asked Questions
Can every quadratic be factored?
Over the real numbers, no. If the discriminant is negative, the quadratic has no real roots, so it cannot be factored into real binomials. Over the complex numbers, every quadratic can be factored, but the factors involve i.
What if the coefficient a is not 1?
The calculator still works. It finds the roots using the quadratic formula, then writes the factored form as a(x − r�)(x − r₂). For example, 2x² + 4x − 6 gives roots 1 and −3, so the factored form is 2(x − 1)(x + 3).
How do I check the factored form is correct?
Expand the product and see if you get the original quadratic. For (x + 2)(x + 3), multiply: x·x + x·3 + 2·x + 2·3 = x² + 5x + 6. If it matches, you are right.
Why does the calculator show roots as decimals sometimes?
When the discriminant is not a perfect square, the roots are irrational. The calculator shows a decimal approximation. The exact form would be something like (−2 + √5), but that is harder to read in a result box.
Can I use this for equations like 2x² + 3x = 5?
Yes, but first rearrange to standard form: 2x² + 3x − 5 = 0. Then enter a = 2, b = 3, c = −5. The calculator will give the factors and roots.
What does a negative discriminant mean?
It means the quadratic has no real solutions. The graph of the parabola does not cross the x-axis. The roots are complex numbers, and the factored form uses imaginary numbers.
Related
Formula used
in a | Coefficient a | - | 1 | 0 in b | Coefficient b | - | 5 | 0 in c | Coefficient c | - | 6 | 0 out factored | Factored form | - | (x + b/2 + sqrt(b^2 - 4*a*c)/(2*a)) * (x + b/2 - sqrt(b^2 - 4*a*c)/(2*a)) | 0 out root1 | First root | - | (-b + sqrt(b^2 - 4*a*c)) / (2*a) | 4 out root2 | Second root | - | (-b - sqrt(b^2 - 4*a*c)) / (2*a) | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.