Math

Quadratic Functions & Parabolas

Explore y = ax² + bx + c. The vertex, axis of symmetry, roots, and discriminant all update as you drag the coefficients.

6 minLevel 1/3The interactive stage stays ad-free.
a, b, c1.0, -2.0, -3.0Vertex(1.00, -4.00)Discriminant16.00Roots3.00, -1.00

The cyan curve is y = ax² + bx + c. The amber point is the vertex, the dashed line is the axis of symmetry, and pink points are real roots. A negative discriminant means the parabola never touches the x-axis.

What you are seeing

1

The coefficient a controls whether the parabola opens up or down and how narrow it is.

2

The vertex is at x = −b / (2a). The axis of symmetry passes through it.

3

The discriminant b² − 4ac tells you whether there are two real roots, one repeated root, or no real roots.

Why it matters

Quadratics model projectile motion, area, optimization, and parabolic reflectors. They are also the first nonlinear functions students analyze in depth.

Complexity & details

Evaluating the curve at n points costs O(n). Roots and vertex are O(1).

Frequently asked questions

What does a negative discriminant mean?+

The parabola never touches the x-axis, so the equation has no real roots. The roots are complex conjugates.

Why is the vertex at −b/2a?+

Completing the square puts the quadratic in vertex form, and the squared term is minimized when x = −b/(2a).