Roots
- $x_1$: —
- $x_2$: —
Quadratic curve and root behavior
Step-by-step solutions, method comparison, and live parabola visualization in one workflow.
This solver evaluates each input with quadratic formula, factoring, and vertex-form logic, then identifies the route that fits the case. It reports real, repeated, complex, and linear boundary cases, with a live graph that shows how coefficient changes affect the curve and roots. For related equation workflows, explore algebra calculators.
Quick links: Method comparison | Worked examples | Check your result
Solve equations in the form:
Quick links: Live Chart | Quadratic Formula | Factoring | Vertex Form
If a = 0, the equation becomes linear (bx + c = 0).
Your feedback matters
A quadratic equation can be written as $ax^2 + bx + c = 0$, where $a \ne 0$. Enter the coefficients in standard form to find the roots, classify the result, and inspect the corresponding parabola. The output separates two real roots, one repeated root, and a complex conjugate pair so you can see the type of result before relying on its decimal form.
The boundary case matters too. When $a = 0$, the expression is no longer quadratic. If $b \ne 0$, the solver treats it as a linear equation; if both $a$ and $b$ are zero, it reports that the input does not define a standard solvable quadratic. This prevents a formula from being applied outside its valid scope.
The discriminant is the part of the quadratic formula that determines the root type:
Checking the discriminant first gives the rest of the calculation context. It tells you whether to expect two x-axis intersections, one point of contact, or no real intersection at all. The graph provides a visual check of that classification for the coefficients you entered.
The quadratic formula provides a dependable route to roots for every valid quadratic. Factoring can be faster when the coefficient pattern is simple, while vertex form is useful when the position and shape of the parabola matter as much as the roots. The solver compares these approaches where they apply, rather than forcing every equation through the same explanation.
Use the method cards to see which routes are available for your input and why. A method that is not applicable is still useful information: it tells you something about the equation rather than leaving you to infer why a shortcut did not work.
For $x^2 - 5x + 6 = 0$, the discriminant is positive:
The curve crosses the x-axis twice, which agrees with the two real roots.
For $x^2 - 4x + 4 = 0$, the discriminant is zero:
The parabola touches the x-axis at one point, so both root branches give the same value.
For $x^2 + 2x + 5 = 0$, the discriminant is negative:
There is no x-axis intersection because the roots are complex. The live graph confirms the same result by showing the curve entirely above the axis.
A short check catches most quadratic-solving mistakes:
The graph is a reasonableness check, not a replacement for the algebra. Use it to confirm the expected number of real intersections and to spot an input sign error before carrying a result into a calculation, report, or decision.
Explore more problem-solving tools in Math Calculators.