Skip to content
📉

Quadratic Equation Solver

Solve ax² + bx + c = 0 with roots, vertex, discriminant, and full working.

Runs in your browser

Updated

—

    Roots from the discriminant

    The solver reads the coefficients a, b and c, then computes the discriminant, b squared minus four times a times c. A positive discriminant gives two real roots; zero gives one repeated root at minus b over two a; a negative discriminant gives a conjugate pair written as real plus or minus imaginary. It also reports the vertex, the direction the parabola opens and the y-intercept.

    A worked example

    For x squared minus 5x plus 6, the discriminant is 25 minus 24, which is 1. The roots are 3 and 2. The vertex sits at x equals 2.5 and y equals minus 0.25, the parabola opens upwards because a is positive, and the y-intercept is 6. Changing c to 7 makes the discriminant negative and the roots complex.

    Working shown

    The page lists the substitution into the quadratic formula, the discriminant, the root values and the vertex calculation, all rounded to six decimal places. The equation text is rebuilt from the three inputs so you can check that the coefficients were read correctly.

    Where it stops

    • An a of zero is reported as a linear equation rather than solved.
    • Complex roots are printed in text form, not symbolic notation.
    • The equation line shows raw signs, so a negative b appears as "plus -5x".
    • No factoring, completing the square or inequality solving.

    Questions people ask

    What does a negative discriminant mean?

    The parabola never crosses the x-axis, so the roots involve the imaginary unit.

    Can it solve systems of equations?

    No. Use the scientific calculator for general arithmetic, or the matrix calculator for linear systems.