Quadratic Equation Explorer

Drag the sliders for a, b, and c. Watch the parabola reshape, roots move, and the vertex shift in real-time.

y = ax² + bx + c

1.0
0.0
-4.0

Properties

Vertex
Δ
Roots
y-int
Vertex form

The Math Behind It

Quadratic Equation

  • Standard form: y = ax² + bx + c
  • Vertex: (-b/2a, f(-b/2a))
  • Vertex form: y = a(x - h)² + k
  • The parabola opens up when a > 0, down when a < 0

Quadratic Formula

  • Roots: x = (-b ± √Δ) / 2a
  • Discriminant: Δ = b² - 4ac
  • Δ > 0: two distinct real roots
  • Δ = 0: one repeated root (vertex touches x-axis)
  • Δ < 0: no real roots (parabola doesn't cross x-axis)

Try This

  • Set a=1, b=0, c=-4 — roots at x = ±2
  • Set c=0 — the parabola always passes through the origin
  • Set a=1, b=-2, c=1 — Δ=0, vertex sits on the x-axis
  • Make a negative — the parabola flips upside down
  • Slide b — the vertex traces a parabolic path
  • Try Δ < 0 (e.g., a=1, b=0, c=4) — no real roots, parabola floats above the x-axis

Key Insight

The discriminant Δ determines everything about the roots. Positive = two intersections with the x-axis, zero = the parabola just touches, negative = it misses entirely.