Factoring Calculator
Factor a polynomial completely, with each step labeled by method and a check by expanding.
This quadratic formula calculator, or quadratic equation solver, solves with .
Solutions
x = 0.6972243623, x = 4.302775638
The parabola crosses the x-axis at x ≈ 0.6972243623 and x ≈ 4.302775638. These are the two values of x that make the expression equal to zero.
Identify the coefficients
Compare with : a = 1, b = -5, c = 3.
Compute the discriminant
D is positive, so there are two distinct real roots.
Simplify the square root
Take square factors out of the root.
Apply the quadratic formula
Simplify the two roots
Find the vertex
The parabola opens upward, so the vertex is its minimum.
Enter a, b and c for exact and decimal roots, the discriminant, vertex, graph and every step, complex roots included.
Quadratic formula
Plain-text formula: x = (−b ± √(b^2 − 4ac))/(2a)
The quadratic formula gives both solutions of every quadratic equation with . The ± produces the two roots: one with plus, one with minus.
Discriminant
Plain-text formula: D = b^2 − 4ac
The expression under the square root decides the type of roots: two real roots when D > 0, one repeated root when D = 0, and two complex conjugate roots when D < 0. The table below sets out the three cases.
Vertex of the parabola
Plain-text formula: (−b/(2a), ;c − b^2/(4a))
The turning point lies halfway between the roots. It is a minimum when a > 0 and a maximum when a < 0.
The solutions are the x-values where equals zero, which are the points where the parabola crosses the x-axis. Exact forms such as are best for further algebra; the decimals are what you would write for a measured or applied answer.
When the discriminant is negative, the roots are complex numbers of the form . They are still valid solutions, but there is no point where the graph meets the x-axis. In applied problems such as projectile heights, that usually means the event never happens (the object never reaches that height).
The sum and product of the roots ( and , from Vieta’s formulas) give a quick check: add or multiply your two answers and compare.
Before using the full quadratic formula, the discriminant tells you how many solutions to expect and what the graph looks like. Each example below is one of the presets above the calculator.
| Discriminant | Roots | Graph of y = ax² + bx + c | Example |
|---|---|---|---|
| Two distinct real roots (rational when D is a perfect square) | Crosses the x-axis twice | : D = 1, x = 2 or x = 3 | |
| One repeated real root, | Touches the x-axis at the vertex | : D = 0, x = 3 | |
| Two complex conjugate roots, no real roots | Never meets the x-axis | : D = −16, x = −1 ± 2i |
The formula is what you get by completing the square on the general equation. Divide by a and move the constant across: .
Add to both sides so the left side becomes a perfect square: .
Take the square root of both sides, remembering ±: . Subtracting gives .
Factoring is fastest when the roots are whole numbers or simple fractions: . The calculator shows a factored form whenever both roots are rational, and the factoring calculator shows the factoring steps.
Square roots work when there is no x term (b = 0): gives .
Completing the square rewrites the equation as , where is the vertex. It is the method the quadratic formula comes from, and it is useful for sketching graphs.
Graphing shows the real roots as x-intercepts. The graphing calculator plots the parabola and lists the intercepts automatically.
For a full walkthrough of choosing a method, read how to use the quadratic formula. The roots are also the boundary points of an inequality such as ; see how to solve quadratic inequalities.
Many scientific and graphing calculators have a built-in quadratic solver. Key sequences differ between models and operating system versions, so check your manual if a menu looks different.
Casio fx-991EX and other ClassWiz models: press MENU, choose Equation/Func, then Polynomial, then degree 2 (). Enter a, b and c, pressing = after each, then keep pressing = to step through the roots and the vertex.
Casio fx-991ES PLUS: press MODE, choose EQN, then . Enter the coefficients and press = to show X1, then = again for X2.
TI-84 Plus CE: open APPS, start PlySmlt2 and choose Poly Root Finder with degree 2, enter the coefficients and choose SOLVE. Without the app, graph and use 2nd, CALC, zero to find each x-intercept.
A handheld gives the roots but not the working. Use this calculator when you need every step written out, the discriminant and vertex explained, or a graph next to the answer.
Find the exact and decimal solutions.
Answer: and . Check: their sum is 2 = −b/a and their product is −1.5 = c/a.
It is , the general solution of . Substitute the three coefficients and evaluate once with + and once with − to get both roots.
Then there is no term and the equation is linear, , with the single solution . The quadratic formula would divide by zero, so the calculator asks for a non-zero a.
There are no real solutions: the parabola does not cross the x-axis. The two solutions are complex conjugates, , and the calculator shows them in that form.
Square roots of non-square numbers are irrational, so any decimal is an approximation. The exact form keeps full precision; the decimal values are listed underneath for convenience.
Yes. Type 3/4, 1 1/2 or 0.75. They are converted to exact fractions before solving, so 0.5x² + 0.25x − 1 = 0 gives exact roots rather than rounded ones.
In practice, yes. Both solve from the three coefficients. This one applies the quadratic formula for every equation and also gives the factored form whenever the roots are rational.
Factoring is quicker when the roots are whole numbers or simple fractions, which happens when the discriminant is a perfect square. The quadratic formula always works, including for irrational and complex roots.
On a Casio fx-991EX, use MENU, Equation/Func, Polynomial, degree 2; on an fx-991ES PLUS, use MODE, EQN, then the type. On a TI-84 Plus CE, open the PlySmlt2 app and choose Poly Root Finder with degree 2. The full key sequences are above.
Substitute each root back into ; the result should be 0 (or extremely close for rounded decimals). You can also check that the roots add up to and multiply to .
Factor a polynomial completely, with each step labeled by method and a check by expanding.
Complex arithmetic, powers and roots with steps, in rectangular, polar and exponential form.
Exact and complex roots of ax³ + bx² + cx + d = 0 with the discriminant, steps and a root check.
All real and complex roots of a polynomial up to degree 10, with multiplicities, exact forms and steps.
Linear, compound, absolute-value, quadratic and rational inequalities solved step by step.
Plot functions, equations, inequalities, parametric and polar curves; find roots and intersections.
Learn more: For the quadratic formula worked by hand, read how to solve a quadratic equation. Why answers such as (5 ± √13)/2 stay exact: exact vs decimal answers.
Results are calculated in your browser with methods checked by automated tests, and are intended for learning and general use. For engineering, medical, financial, legal or safety-critical decisions, verify important values independently and follow the rounding rules your work requires. How accurate are these results?