Quadratic equation solver

Find the roots. See the curve. Understand the steps.

Your quadratic, explained.

ax² + bx + c = 0

y = x² − 5x + 6

Dimensionless x/y coordinates

Equation
x² − 5x + 6 = 0
Discriminant
D = 1
Roots
2 and 3
Vertex
(2.5, −0.25)

Two distinct real roots

(x − 2)(x − 3) = 0; x = (5 ± √1) / 2

Exact decimal coefficients. When a = 0, solve the resulting linear or constant equation.

How it works

Enter coefficients

Type the values for a, b and c,
then calculate.

Read the discriminant

The discriminant tells you
how many real roots
to expect.

Inspect the roots

Use the graph to inspect
the roots and the vertex.

Worked example

D = 25 − 24 = 1;   x = (5 ± 1) / 2 = 2, 3

Questions, Answered.

What if a is zero?

The tool solves the remaining linear equation when b is nonzero. If a and b are both zero, c = 0 gives every real number as a solution; any other c gives no solution. There is no parabolic vertex in these cases.

What does a negative discriminant mean?

The equation has two complex conjugate roots and no real x-axis crossing. The real-valued curve is still plotted; complex roots are not placed on the real axis.

Are the roots exact?

Finite decimal coefficients are classified using exact integer arithmetic. Rational roots are shown as reduced fractions; irrational or complex roots retain an exact symbolic expression with separately labeled numerical approximations.

How do graph scales affect what I see?

The graph has dimensionless labeled axes. Its range adjusts to the equation. A zoomed or compressed drawing does not change the algebraic roots or vertex.

Parabola Target Challenge

Three targets.
One clever curve.

Shape an equation that hits every point.
Send the puzzle, then build a harder one.

Try the target challenge →