Quadratic Equation Solver
Solve quadratic equations from a full equation or standard coefficients. See the discriminant, real or complex roots, Vieta checks, excluded values, and a parabola graph.
Quadratic Equation Solver accepts a full equation, reduces it to canonical form, expands parentheses and squares, clears supported denominators, and marks extraneous roots when the original equation excludes them.
What this quadratic equation solver handles
English search intent for a quadratic equation solver expects more than a three-coefficient form. The calculator accepts a full equation, expands parentheses, moves terms to one side, reduces the expression to standard form, and then solves the quadratic or a linear special case.
a is the quadratic coefficient, b is the linear coefficient, and c is the constant term after simplification. For a true quadratic equation, a is not zero.
- Enter a standard equation such as - 5x +.
- Use parentheses, products of linear factors, and squared binomials.
- Let the solver collect coefficients and compute the discriminant.
- Review excluded values when the original equation has x in a denominator.
Discriminant and quadratic formula
After reducing the equation, the solver computes the discriminant and classifies the roots as two real roots, one repeated real root, or a complex conjugate pair.
D is the discriminant; a, b, and c come from the simplified standard form.
x1 and x2 are the two real roots when D is positive.
x is the repeated root when D equals zero.
i is the imaginary unit; this form is used when D is negative.
| Discriminant | Root type | What the calculator shows |
|---|---|---|
| Two distinct real roots | Both roots and a Vieta check | |
| One repeated real root | The double root and tangent point on the x-axis | |
| Two complex conjugate roots | The complex pair and a graph with no real x-intercepts |
Parentheses, fractions, and excluded values
The solver supports more than coefficient boxes. It can parse parentheses, squared binomials, products of linear factors, and simple fractional equations as long as clearing denominators still leaves degree 2 or lower.
Vieta check and parabola graph
For two real roots, the calculator shows the sum and product check. The graph helps connect the roots with x-intercepts, the vertex, and the direction the parabola opens.
x1 and x2 are the roots; their sum checks against the simplified coefficients.
x1 and x2 are the roots; their product checks against the constant term c.
y is the value of the quadratic function shown as a parabola.
a, b, and D determine the vertex coordinates after simplification.
When the equation is not quadratic
The page is built for one-variable equations that simplify to degree 2 or lower. If the quadratic term disappears, the solver reports the linear case. If the degree becomes higher, use a more specific algebra solver.
| Situation | Meaning | Next step |
|---|---|---|
| No squared term remains | The equation is linear | Use the result here or open the linear equation solver |
| A cubic term appears | The equation is not quadratic | Use the cubic equation solver |
| Only even fourth-degree terms appear | This is a biquadratic pattern | Use the biquadratic equation solver |
| x appears in an exponent | This is an exponential equation | Use a different solver |
Frequently Asked Questions
Sources and References
Calculations are based on the listed reference sources. Links open in a new tab.
Related Tools
Solve one-variable linear equations with steps, fractions, parentheses, domain restrictions, and an answer check.
Solve cubic equations from a full equation or coefficients with Cardano's method, real and complex roots, a depressed-cubic discriminant, and a graph.
Solve biquadratic equations with the x-squared substitution method, intermediate values, real or complex roots, and a graph of the even polynomial.
Plot formula. Add up to 5 functions, use common math functions, and compare curves on one graph.