DevTools Logo

Quadratic Equation Solver

Quadratic Equation Solver

Exact radical roots, vertex, discriminant and full working for ax² + bx + c = 0

Coefficients

Solving 1x² + 0 … enter decimals for a, b, c in ax² + bx + c = 0 (a ≠ 0).

Solution

One repeated real root found.

Exact roots

x = 0

Decimal approximations (repeated)

x = 0

Discriminant

b² − 4ac = 0

Vertex — parabola opens upward

(0, 0)

Step-by-step

  1. Quadratic formula

    x = (−b ± √(b² − 4ac)) / (2a)

  2. Substitute coefficients

    x = (−(0) ± √((0)² − 4·(1)·(0))) / (2·1)

  3. Discriminant

    b² − 4ac = 0 − 4·1·0 = 0

  4. Discriminant is zero — repeated root

    x = 0

  5. Vertex

    x = −b/(2a) = 0, f(0) = 0

Parabola sketch

About this tool

Quadratic Equation Solver: Solve ax squared + bx + c = 0 with exact simplified radical forms, vertex, discriminant and step-by-step working — real, repeated or complex roots. Solves ax² + bx + c = 0: both roots (real or complex), discriminant, vertex, axis of symmetry, factored form, plus an interactive parabola plot and step-by-step working (formula substitution shown). The mechanism is the quadratic formula with discriminant-based branching, a canvas/SVG parabola renderer with roots/vertex markers, and worked-steps text generation.

Everything runs locally in your browser — your inputs stay on your device and are never uploaded to a server.

What this tool does not do

  • Processes only the inputs provided in this session without connecting to external accounts or background servers.
  • Runs entirely in the current browser tab; nothing is synced across devices or backed up to a server.

How to use this tool

  1. Enter coefficients a, b, and c

    Supply real coefficients for ax² + bx + c = 0.

  2. Inspect discriminant and exact roots

    Read Δ = b² − 4ac, simplified radical/complex roots, and decimal values.

  3. Review vertex and worked steps

    Check vertex coordinates, axis of symmetry, factored form, and formula substitution.

Use cases

a=1

A=1, b=−5, c=6 — roots 2 and 3, discriminant 1, factored (x−2)(x−3).

a=1

A=1, b=0, c=1 — complex roots ±i (discriminant −4) with complex display.

a=2

A=2, b=4, c=2 — double root −1 (discriminant 0) with vertex on axis.

Plot

Parabola drawn with roots/vertex/y-intercept marked; zoom.

Common mistakes

Mistake:Does the solver show exact radical forms as well as decimals?

Fix:Yes. Square-free factors are simplified out of √Δ and reduced with 2a so you see exact textbook forms alongside high-precision decimals.

Mistake:How are the vertex and axis of symmetry found?

Fix:The axis of symmetry lies at x = −b / (2a), and evaluating f(−b / 2a) gives the vertex's minimum (when a > 0) or maximum (when a < 0).

Frequently asked questions

What does the discriminant Δ = b² − 4ac tell you?

When Δ > 0 the parabola crosses the x-axis at two distinct real roots; when Δ = 0 it touches at one repeated real root (the vertex); when Δ < 0 the roots form a complex conjugate pair u ± vi.

Does the solver show exact radical forms as well as decimals?

Yes. Square-free factors are simplified out of √Δ and reduced with 2a so you see exact textbook forms alongside high-precision decimals.

How are the vertex and axis of symmetry found?

The axis of symmetry lies at x = −b / (2a), and evaluating f(−b / 2a) gives the vertex's minimum (when a > 0) or maximum (when a < 0).

What happens if a = 0?

When a = 0 the equation is linear (bx + c = 0) rather than quadratic; the solver flags the degenerate case and solves x = −c / b when b ≠ 0.