Skip to main content

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.

Active Quadratic Equation
1x² − 5x + 6 = 0
? Multiplier of x². Controls parabola direction and steepness. Must not equal 0 (a ≠ 0 for quadratic).
? Multiplier of the linear term x. Influences the horizontal shift of the vertex and slope at x = 0.
? The constant term c. Represents the vertical y-intercept where the parabola crosses x = 0.
Quadratic Equation Roots
x₁ = 3.00, x₂ = 2.00
Discriminant Δ = 1.00 (Two Distinct Real Roots) | Vertex: (2.50, −0.25)
Algebraic Breakdown & Parabola Properties
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
Step-by-Step Quadratic Formula Solution: 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)
Geometric Interpretation: Because the discriminant Δ = 1.00 > 0, the parabola intersects the horizontal x-axis at two distinct real coordinates: (3.00, 0) and (2.00, 0). Because coefficient a = 1.00 > 0, the curve opens upward, reaching its global minimum at the vertex (2.50, −0.25).
* Solutions computed using the exact quadratic formula and analytical coordinate geometry.
Interactive Parabola Cartesian Graph & Key Landmarks
X Y x₁ (3, 0) x₂ (2, 0) Vertex (2.5, −0.25) (0, 6) y = ax² + bx + c Roots (x₁, x₂) Vertex (h, k) Y-Intercept

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.006.00Y-Intercept−5.002.50
x = 1.002.00Standard Curve Point−3.001.50
x = 2.000.00Real Root (x₂)−1.000.50
x = 2.50−0.25Vertex (Global Minimum)0.00 (Flat)0.00 (On Axis)
x = 3.000.00Real Root (x₁)+1.000.50
x = 4.002.00Standard Curve Point+3.001.50
x = 5.006.00Symmetric Point+5.002.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 ± 0 collapses 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 form u ± vi, where u = −b ÷ (2a) and v = √(−Δ) ÷ (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

  1. Input Coefficients: Enter numerical values for a, b, and c using the number boxes or responsive sliders.
  2. Verify Quadratic Condition: Ensure coefficient a ≠ 0. If a = 0, the calculator alerts you and displays the reduced linear solution.
  3. Inspect Roots & Vertex: View the Blue Result Header Bar for instant answers, then review the step-by-step arithmetic proof.
  4. 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.

Frequently Asked Questions

What happens if coefficient a equals 0?
If a = 0, the equation ceases to be quadratic because the squared term disappears (0x² = 0). The equation simplifies to a linear equation bx + c = 0, which has only one single solution: x = −c ÷ b (provided b ≠ 0).
Can a quadratic equation have one real root and one complex root?
No. For any quadratic equation with real coefficients (a, b, c ∈ ℝ), complex roots always occur in conjugate pairs (u ± vi) due to the ± sign preceding the radical √(b² − 4ac). Therefore, roots are either both real or both complex.
How does the sign of a affect the graph?
If a > 0 (positive), the parabola opens upward like a cup, and the vertex represents the lowest point (absolute minimum). If a < 0 (negative), the parabola opens downward like an umbrella, and the vertex represents the highest point (absolute maximum).
What is the difference between standard form and vertex form?
Standard form is ax² + bx + c = 0, which clearly highlights the y-intercept (0, c). Vertex form is a(x − h)² + k = 0, which immediately reveals the peak or trough coordinates (h, k) without requiring extra computation.
How can I check my solutions manually?
You can verify solutions using Vieta's formulas: the sum of the roots must equal −b ÷ a (x₁ + x₂ = −b/a), and the product of the roots must equal c ÷ a (x₁ · x₂ = c/a). If both checks hold true, your roots are correct.
✓ Copied to Clipboard!