Quadratic Formula Calculator
Solve ax² + bx + c = 0 · Real and complex roots · Vertex · Graph · Step-by-step
📐 Enter coefficients a, b, and c for ax² + bx + c = 0 to find the roots, vertex, discriminant, and parabola graph.
The Quadratic Formula
A quadratic equation has the form ax² + bx + c = 0, where a ≠ 0. The quadratic formula gives both solutions directly from the coefficients:
Derivation by Completing the Square
The quadratic formula is derived by completing the square on the general equation:
The Discriminant
The discriminant Δ = b² - 4ac determines the nature of the roots before solving:
| Discriminant | Nature of Roots | Parabola |
|---|---|---|
| Δ > 0 | Two distinct real roots | Crosses x-axis twice |
| Δ = 0 | One repeated real root | Touches x-axis once (tangent) |
| Δ < 0 | Two complex conjugate roots | Does not cross x-axis |
Vieta's Formulas
For any quadratic ax² + bx + c = 0 with roots x₁ and x₂:
The Parabola: Vertex, Axis of Symmetry, and Forms
Every quadratic y = ax² + bx + c graphs as a parabola. Understanding its geometric properties links the algebraic and visual representations.
Vertex
The vertex is the turning point of the parabola - the minimum point when a > 0, the maximum when a < 0. Its coordinates are:
The Three Forms of a Quadratic
| Form | Equation | Best Used For |
|---|---|---|
| Standard | ax² + bx + c | Identifying a, b, c; applying quadratic formula |
| Factored | a(x - r₁)(x - r₂) | Reading x-intercepts (roots) directly |
| Vertex | a(x - h)² + k | Reading vertex (h, k) and axis of symmetry x = h |
Converting from standard to vertex form completes the square. For x² - 3x + 2:
Complex Roots
When the discriminant is negative, the square root of a negative number appears. The imaginary unit i is defined as i = √(-1), so √(-k) = i√k for any positive k.
Complex roots always appear as conjugate pairs: if p + qi is a root, then p - qi is also a root. The real part p = -b/(2a) is the x-coordinate of the vertex, and qi represents the imaginary distance the parabola "misses" the x-axis by.
On the graph, a parabola with complex roots lies entirely above (if a > 0) or entirely below (if a < 0) the x-axis. The vertex is the point closest to the x-axis.