Quadratic Equation Solver: Real & Complex Roots
Solve any second-degree polynomial equation ax² + bx + c = 0 with instantaneous step-by-step formula math, real and complex conjugate roots, vertex coordinates, and interactive parabola plots.
| First Solution / Root (x₁) | 3.00 |
| Second Solution / Root (x₂) | 2.00 |
| Discriminant (Δ = b² − 4ac) | 1.00 |
| Root Classification | Two Distinct Real Roots (Δ > 0) |
| Vertex Coordinates (h, k) | (2.50, −0.25) |
| Extremum / Parabola Curve | Minimum at y = −0.25 (Opens Upward) |
| Axis of Symmetry | x = 2.50 |
| Y-Intercept (x = 0) | (0, 6.00) |
| Vertex Form a(x − h)² + k | 1.00(x − 2.50)² − 0.25 = 0 |
| Factored Form a(x − p)(x − q) | (x − 3.00)(x − 2.00) = 0 |
1. Calculate Discriminant:
Δ = b² − 4ac = (−5)² − 4(1)(6) = 25 − 24 = 1.00
2. Apply Quadratic Formula:
x = [−b ± √Δ] ÷ (2a)
x = [−(−5) ± √1] ÷ [2(1)] = [5 ± 1] ÷ 2
3. Solve for Individual Roots:
x₁ = (5 + 1) ÷ 2 = 6 ÷ 2 = 3.00
x₂ = (5 − 1) ÷ 2 = 4 ÷ 2 = 2.00
4. Locate Vertex:
h = −b ÷ (2a) = −(−5) ÷ [2(1)] = 2.50
k = c − b² ÷ (4a) = 6 − 25 ÷ 4 = 6 − 6.25 = −0.25
Vertex = (2.50, −0.25)
Parabola Coordinate Spectrum: y = f(x)
Trace the curve of the quadratic function across x-coordinates centered around the vertex, highlighting intercepts and turning points.
| x Coordinate | y = ax² + bx + c | Point Type / Landmark | Slope f'(x) = 2ax + b | Distance from Axis (|x − h|) |
|---|---|---|---|---|
| x = 0.00 | 6.00 | Y-Intercept | −5.00 | 2.50 |
| x = 1.00 | 2.00 | Standard Curve Point | −3.00 | 1.50 |
| x = 2.00 | 0.00 | Real Root (x₂) | −1.00 | 0.50 |
| x = 2.50 | −0.25 | Vertex (Global Minimum) | 0.00 (Flat) | 0.00 (On Axis) |
| x = 3.00 | 0.00 | Real Root (x₁) | +1.00 | 0.50 |
| x = 4.00 | 2.00 | Standard Curve Point | +3.00 | 1.50 |
| x = 5.00 | 6.00 | Symmetric Point | +5.00 | 2.50 |
About This Calculator
The Quadratic Equation Solver computes the exact mathematical solutions to any second-degree single-variable polynomial equation in standard form: ax² + bx + c = 0. Beyond simply outputting numbers, this architectural tool models the complete coordinate geometry of the resulting parabola: calculating the discriminant, determining root multiplicity (real vs. complex conjugate), identifying the turning vertex (h, k), computing the vertical y-intercept, and rendering an interactive Cartesian coordinate graph.
The 3 Discriminant Regimes & Practical Worked Examples
The nature of quadratic roots is dictated entirely by the discriminant (symbolized by the Greek letter delta, Δ = b² − 4ac):
- Case 1: Δ > 0 (Two Distinct Real Roots): The square root of a positive number yields two real values. The parabola physically intersects the horizontal x-axis at two distinct points:
x = [−b ± √Δ] ÷ (2a). - Case 2: Δ = 0 (One Double Real Root): The square root of 0 is 0, so
± 0collapses both roots into one:x = −b ÷ (2a). The vertex of the parabola rests directly on the x-axis (tangent touch). - Case 3: Δ < 0 (Two Complex Conjugate Roots): The square root of a negative number produces the imaginary unit
i = √(−1). Roots take the conjugate formu ± vi, whereu = −b ÷ (2a)andv = √(−Δ) ÷ (2a). The parabola never crosses the x-axis.
Real-World Practical Worked Examples:
Example 1 (Physics — Projectile Motion & Flight Time): A baseball is launched upward with an initial velocity of 64 ft/s from a rooftop 80 ft high. Its height over time t is modeled by h(t) = −16t² + 64t + 80 = 0. When does it hit the ground?
Here a = −16, b = 64, c = 80.
Δ = 64² − 4(−16)(80) = 4,096 + 5,120 = 9,216.
√9,216 = 96 ⟹ t = [−64 ± 96] ÷ [2(−16)] = [−64 ± 96] ÷ (−32).
t₁ = (−64 − 96) ÷ (−32) = 5.00 seconds (t₂ = −1.00 s discarded as pre-launch). The ball lands at exactly 5 seconds.
Example 2 (Economics — Profit Maximization Parabola): A SaaS company models monthly net profit P(x) in thousands of dollars as a function of subscription price x: P(x) = −2x² + 120x − 1,000. What price achieves peak profit?
The maximum occurs at the vertex: h = −b ÷ (2a) = −120 ÷ [2(−2)] = $30.00.
Maximum profit = P(30) = −2(900) + 120(30) − 1,000 = −1,800 + 3,600 − 1,000 = $800,000.
Example 3 (Electronics — Damped RLC Circuit Resonance): The characteristic impedance equation of a damped circuit is s² + 2s + 5 = 0.
Δ = 2² − 4(1)(5) = 4 − 20 = −16 < 0.
s = [−2 ± √(−16)] ÷ 2 = [−2 ± 4i] ÷ 2 = −1.00 ± 2.00i.
The real component (−1.00) defines exponential decay, while the imaginary component (±2.00) defines sinusoidal oscillation frequency.
How to Use This Calculator
- Input Coefficients: Enter numerical values for
a,b, andcusing the number boxes or responsive sliders. - Verify Quadratic Condition: Ensure coefficient
a ≠ 0. Ifa = 0, the calculator alerts you and displays the reduced linear solution. - Inspect Roots & Vertex: View the Blue Result Header Bar for instant answers, then review the step-by-step arithmetic proof.
- Explore the Parabola: Examine the interactive SVG Cartesian graph to see the curve's vertex, x-intercepts, and y-intercept.
Important Quadratic Terms
Discriminant (Δ): The expression b² − 4ac found under the radical in the quadratic formula. Dictates whether roots are real or complex.
Vertex (h, k): The extreme turning point of the parabola. Represents the global minimum when a > 0 and global maximum when a < 0.
Axis of Symmetry: The vertical line x = −b ÷ (2a) that divides the parabola into two mirror-image halves.
Complex Conjugates: Pairs of imaginary numbers with identical real parts and opposite imaginary parts: u + vi and u − vi.
Factored Form: Expressing a polynomial as a product of linear terms: a(x − x₁)(x − x₂) = 0.