Quadratic Equation Solver
Solve ax² + bx + c = 0. Get both roots, discriminant, and vertex.
What is a Quadratic Equation?
A quadratic equation is a second-degree polynomial equation of the form ax² + bx + c = 0, where a ≠ 0. Quadratic equations appear in physics (projectile motion), engineering (structural design), economics (profit maximization), and pure mathematics. The quadratic formula — x = (−b ± √(b² − 4ac)) / 2a — provides the solution for any quadratic equation. The discriminant (b² − 4ac) determines the nature of roots: positive means two real roots, zero means one repeated root, and negative means two complex roots.
How to Use This Calculator
Enter the coefficient a (the x² term), coefficient b (the x term), and constant c. Click Calculate to see both roots (x₁ and x₂), the discriminant value, the vertex of the parabola (the maximum or minimum point), the sum and product of roots, and — for complex roots — the imaginary components. This covers everything you need for quadratic analysis.
💡 Pro Tips
- ✓Always check: if a = 0, the equation is linear, not quadratic — use a different method.
- ✓The vertex (h, k) = (−b/2a, c − b²/4a) is the turning point of the parabola.
- ✓Sum of roots = −b/a and product of roots = c/a — useful for verifying your answer.
- ✓If the discriminant is a perfect square, the roots are rational — the equation has a nice factored form.
- ✓Quadratic equations model profit maximization, where setting the derivative to zero gives the optimal quantity.
Who Uses This Calculator?
Algebra and pre-calculus students solving equations. Physics students analyzing projectile motion. Engineers finding resonant frequencies. Economists modeling profit and cost optimization. Computer graphics programmers computing ray-sphere intersections and parabolic trajectories.
Frequently Asked Questions
Quadratic formula?
x = (−b ± √(b²−4ac)) / 2a. Discriminant > 0: 2 real roots. = 0: one root. < 0: complex roots.
Is this quadratic equation solver free to use?
Yes — it is completely free to use online, with no sign-up required.
Can you show the steps for solving a quadratic equation?
Yes — for x² − 5x + 6 = 0: (1) identify a=1, b=−5, c=6. (2) Calculate the discriminant: b²−4ac = 25−24 = 1. (3) Apply the formula: x = (5 ± √1) / 2. (4) This gives x = 3 or x = 2. Enter your own a, b, c above to get your equation's roots instantly.
Can I solve a quadratic equation by factoring instead?
Yes, if it factors neatly — for example x² − 5x + 6 = 0 factors to (x−2)(x−3) = 0, giving the same roots x = 2 and x = 3. Not all quadratics factor evenly with whole numbers, which is when the quadratic formula (used by this calculator) is more reliable.
Related Calculators
Quick Facts
You Might Also Need
Square Root Calculator — √ Find Square Root of Any Number
Free square root calculator. Find the exact square root, cube root, an...
Power / Exponent Calculator
Calculate any base raised to any exponent including decimals and negat...
Fraction Simplifier
Simplify any fraction to lowest terms. Shows decimal and percentage eq...
LCM & GCD Calculator
Find LCM and GCD of two numbers in one step with full explanation....