Quadratic Analyzer

Interactive solver for ax² + bx + c = 0 — now with typed solver

Coefficients

Live update
x² − 5x + 6 = 0
Step-by-step working

Roots

x₁
3 + 0i
x₂
2 + 0i

Discriminant

Δ
D = b²−4ac
1
D > 0 → two real roots

Vertex

(h , k)
(2.5, −0.25)
Axis: x = 2.5
Y-int: 6

Nature

Two distinct real roots
Opens upward • Parabola
x₁ = 3 + 0i, x₂ = 2 + 0i

Graph

Parabola Vertex Roots

Automatic window centered at vertex.

Test Suite — solveQuadratic()

Validates the refined TypeScript implementation against 5 Jest cases.