Calculay

Quadratic Formula Calculator

Enter coefficients (a, b, c) from a quadratic polynomial to instantly find real or complex roots, the discriminant, and vertex coordinates.

Quadratic Target: ax² + bx + c = 0

a ≠ 0
x² +x += 0

Roots (One Real Root)

x = -2

Discriminant (Δ)

0

Vertex (x, y)

(-2, 0)

Quadratic Formula Calculator: Algebraic Derivation, Discriminant Analysis & Parabolic Geometry

A quadratic equation is a second-order polynomial equation in a single variable where the highest exponent is two. Universally written in standard canonical form as ax² + bx + c = 0 (with real coefficients and a ≠ 0), quadratics model essential natural and economic phenomena: the parabolic trajectory of a gravitational projectile, structural load arcs in civil suspension bridges, signal beam reflection in parabolic antennas, and marginal profit optimization curves in microeconomics. The Calculay Quadratic Formula Calculator solves for real and complex roots, calculates the vertex and axis of symmetry, and evaluates the discriminant.

Formal Algebraic Derivation: Completing the Square

Rather than an arbitrary formula to memorize, the quadratic formula is a direct algebraic consequence of completing the square on the standard polynomial:

1. Given canonical equation: ax² + bx + c = 0

2. Divide all terms by non-zero leading coefficient a: x² + (b/a)x + (c/a) = 0

3. Isolate the constant term: x² + (b/a)x = -(c/a)

4. Add (b / 2a)² = b² / 4a² to both sides to complete the perfect square:

x² + (b/a)x + (b² / 4a²) = (b² / 4a²) - (c/a) = (b² - 4ac) ÷ 4a²

5. Factor left-hand side: [ x + (b / 2a) ]² = (b² - 4ac) ÷ 4a²

6. Extract square root: x + (b / 2a) = ± √(b² - 4ac) ÷ 2a

Final Quadratic Formula: x = [ -b ± √(b² - 4ac) ] ÷ 2a

The Discriminant (Δ = b² - 4ac) Classification Matrix

The expression nested beneath the radical, Δ = b² - 4ac, governs the number, character, and geometric behavior of the parabola's roots:

Discriminant Value (Δ)Nature of RootsGeometric x-Axis IntersectionsParabolic Symmetry
Δ > 0 (Perfect Square)Two distinct rational rootsCuts x-axis at 2 clean rational pointsSymmetric around vertical axis x = -b / (2a)
Δ > 0 (Non-Square)Two distinct irrational rootsCuts x-axis at 2 irrational conjugate pointsSymmetric around axis of symmetry
Δ = 0One repeated real root (x = -b / 2a)Parabola vertex is tangent to x-axis at 1 pointVertex rests exactly on the x-axis (y = 0)
Δ < 0Two complex conjugate roots (u ± iv)Zero real intersections; floats entirely above/belowRoots exist in complex Gauss plane (C)

Parabolic Geometry: Vertex & Extremum Points

Every quadratic equation plots a parabola in Cartesian space. Key geometric properties include:

Axis of Symmetry & VertexVertex X (h) = -b ÷ (2a)Vertex Y (k) = c - ( b² ÷ 4a )
Direction of Curvature

• If a > 0: Parabola is convex (opens upward), vertex represents the absolute minimum.
• If a < 0: Parabola is concave (opens downward), vertex represents the absolute maximum.

Step-by-Step Worked Solutions

Case 1: Two Real Distinct Roots

Solve polynomial: 2x² - 4x - 6 = 0 (where a=2, b=-4, c=-6):

  1. Compute Discriminant: Δ = (-4)² - 4(2)(-6) = 16 - (-48) = 64
  2. Since Δ = 64 > 0, two real rational roots exist (√64 = 8).
  3. Apply Formula: x = [ -(-4) ± 8 ] ÷ [ 2(2) ] = (4 ± 8) ÷ 4
  4. Root 1: (4 + 8) ÷ 4 = 12 ÷ 4 = x₁ = 3
  5. Root 2: (4 - 8) ÷ 4 = -4 ÷ 4 = x₂ = -1
  6. Vertex: h = -(-4) / 4 = 1, k = 2(1)² - 4(1) - 6 = (1, -8) (Minimum)
Case 2: Complex (Imaginary) Conjugate Roots

Solve polynomial: x² - 6x + 25 = 0 (where a=1, b=-6, c=25):

  1. Compute Discriminant: Δ = (-6)² - 4(1)(25) = 36 - 100 = -64
  2. Since Δ < 0, roots are complex: √(-64) = √(64 × -1) = 8i
  3. Apply Formula: x = [ -(-6) ± 8i ] ÷ 2 = (6 ± 8i) ÷ 2
  4. Roots: x = 3 ± 4i (Real part = 3, Imaginary part = ±4)