Math Solver Free

Quadratic Equation Solver

Roots, discriminant, and vertex of ax² + bx + c = 0 — with every step shown.

Two distinct real roots
x₁ = 2
x₂ = 1
Discriminant
D = 1
Vertex
(1.5, -0.25)

Step 1: Discriminant: D = b² − 4ac = (-3)² − 4(1)(2) = 1

Step 2: Since D > 0, there are two distinct real roots.

Step 3: x = [−(-3) ± √(1)] ÷ (2 × 1)

Step 4: x₁ = 4 ÷ 2 = 2

Step 5: x₂ = 2 ÷ 2 = 1

How to Solve Quadratic Equations

A quadratic equation has the form ax² + bx + c = 0, where a ≠ 0. Unlike linear equations, quadratics can have zero, one, or two real solutions — and the discriminant, D = b² − 4ac, tells you which case you have before you compute anything.

Reading the Discriminant

  • D > 0: two distinct real roots — the parabola crosses the x-axis twice.
  • D = 0: one repeated root — the vertex just touches the x-axis.
  • D < 0: no real roots — the solutions are a pair of complex conjugates.

The Quadratic Formula

Plug a, b, and c into x = (−b ± √D) ÷ 2a. The ± is what produces the two roots. Many students lose marks on sign errors with −b, so write each substitution out — exactly what the step-by-step panel above does for you.

Vertex and Graphing

The vertex (−b ÷ 2a) is the parabola's turning point: a minimum when a > 0, a maximum when a < 0. Knowing the vertex plus the roots lets you sketch the entire graph in seconds.

Working with linear equations instead? Try our linear equation solver.

Frequently Asked Questions

What is the quadratic formula?

The quadratic formula is x = (−b ± √(b² − 4ac)) ÷ 2a. It gives the solutions of any quadratic equation ax² + bx + c = 0, and this solver applies it step by step.

What does a negative discriminant mean?

A negative discriminant (b² − 4ac < 0) means the equation has no real roots — instead it has two complex conjugate roots, which this solver displays.

How do I find the vertex of a parabola?

The vertex of y = ax² + bx + c is at x = −b ÷ 2a. Substitute that x back into the equation to get the y-coordinate. The solver shows it automatically.

Is this quadratic solver free?

Yes — every tool on Math Solver Free is free with no sign-up, and all calculations run in your browser.