Quadratic Equation Calculator – Roots & Discriminant
Solve ax²+bx+c=0 using x=(-b±√(b²-4ac))/2a.
- Classify roots from Δ=b²-4ac (two, one or complex) and get the vertex instantly.
Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.
How the Quadratic Equation Calculator Works
Enter a, b and c, and the calculator computes the discriminant Δ = b²-4ac first because it classifies the roots before any square root is taken. For x²-2x-8=0, Δ = 4+32 = 36 > 0, so two distinct real roots exist: x = (2±6)/2 = 4 or -2. The vertex of the parabola sits at x = -b/2a = 1, i.e. the point (1, -9), useful for graphing and for min/max word problems. Vieta checks come free: the roots should sum to -b/a = 2 (indeed 4 + (-2) = 2) and multiply to c/a = -8 (4×(-2) = -8). If Δ < 0 the calculator reports the complex pair, and if Δ = 0 it flags the single double root.
- 1
Enter the coefficients
Type a, b and c from ax² + bx + c = 0
- 2
Read the discriminant
Δ = b²-4ac: positive → 2 real roots, zero → 1, negative → complex
- 3
Get both roots
The formula x=(-b±√Δ)/2a is evaluated with full working shown
- 4
Use vertex & Vieta checks
Vertex x = -b/2a, sum = -b/a, product = c/a for instant verification
Use Cases
Algebra Homework
Instant roots plus the discriminant work your teacher expects to see
Projectile Motion
Solve height equations like h = -4.9t² + 30t for time of flight
Optimization Setup
Use the vertex x = -b/2a to find max revenue or minimum cost
Tips
- 1
Δ = 36 is a perfect square, so x²-2x-8 factors neatly to (x-4)(x+2)
- 2
The axis of symmetry x = -b/2a works even when roots are complex
- 3
Product of roots c/a quickly exposes sign errors
Common Mistakes
Computing b² as negative when b itself is negative; (-2)² = +4
Forgetting 4ac entirely and using √(b²) alone under the root
Mixing up the sign of c when moving terms to standard form
Reading Δ < 0 as "no roots" — the complex pair x = (2±4i)/2 still exists
FAQs
What does the discriminant tell me?
How do I solve x²-2x-8=0?
How do I find the vertex from a, b, c?
What are Vieta’s formulas?
What if a = 0?
Related tools
Pick another tool to continue your calculation.
Linear Equation Solver – ax + b = 0 Steps
Solve ax + b = 0 with x = −b ÷ a: 3x + 12 = 0 gives x = −4, verified by substitution. Handles fractions, decimals and the a = 0 edge cases.
Simultaneous Equations Solver – 2×2 Systems
Solve a system of two linear equations.
Cubic Equation Solver – Roots of ax³+bx²+cx+d
Calculate roots of a cubic equation.
Exponent Calculator – Powers & Negative Exponents
Compute any power: 2¹⁰ = 1024, 5⁻² = 0.04, 7⁰ = 1. Negative exponents become reciprocals (a⁻ⁿ = 1/aⁿ) and every step is shown.
Modular Exponentiation Calculator – baseᵉ mod m
Calculate (base^exp) mod m efficiently.
Factorial Calculator n! – Steps & Big Numbers
Calculate the factorial of any natural number instantly.