CalculatorVilla

Quadratic Equation Solver

Solve second-degree polynomial equations ax² + bx + c = 0 using the quadratic formula. Provides exact real or complex roots, discriminant categorization, and parabolic vertex extrema.

Equation Roots (x₁ & x₂): x₁ = 0, x₂ = 0

Quadratic coefficient (must be non-zero for true parabola)

Linear coefficient

Constant y-intercept term

Equation Roots (x₁ & x₂)
x₁ = 0, x₂ = 0

How to Use This Calculator

  1. Enter coefficient a (for x²).
  2. Enter coefficient b (for x).
  3. Enter constant c.
  4. View the roots, discriminant, and parabola vertex instantly.

Formula & Calculation Methodology

x = [−b ± √(b² − 4ac)] ÷ 2a | Vertex h = −b/2a

The quadratic formula derives from completing the square. The discriminant Δ = b² − 4ac determines the character and number of solutions.

a, b, cPolynomial coefficients
ΔDiscriminant (b² − 4ac)
h, kCoordinates of parabola vertex

Worked Example

Solving x² − 5x + 6 = 0

a: 1
b: -5
c: 6
Result: x₁ = 3, x₂ = 2 (Δ = 1, Vertex at (2.5, −0.25))

Solving x² + 4 = 0 (complex roots)

a: 1
b: 0
c: 4
Result: x₁ = 0 + 2i, x₂ = 0 − 2i (Δ = −16)

Frequently Asked Questions

What occurs if the discriminant is negative?↓

The square root of a negative number yields imaginary numbers. The equation has two complex conjugate roots (a ± bi) and never crosses the x-axis.

What if coefficient a is zero?↓

If a = 0, the equation degrades into a linear equation bx + c = 0 with a single solution x = −c/b.

Does the vertex represent a minimum or maximum?↓

If a > 0, the parabola opens upward, making the vertex a minimum. If a < 0, it opens downward, making the vertex a maximum.

What is a limitation of floating quadratic solvers?↓

When b² is much larger than 4ac, catastrophic floating cancellation can occur in standard subtraction; robust quadratic implementations preserve numerical stability.

Related Calculators

Source Citation & Disclaimer

Informational tool only; not licensed tax, legal, or financial advice.