Quadratic Equation Solver
Solve ax² + bx + c = 0 with full working: real or complex roots, discriminant Δ, vertex (min/max), axis of symmetry, Vieta's formulas and factored form.
How to Solve Quadratic Equations?
A quadratic equation is a second-degree polynomial equation in a single variable x with the form:
ax2 + bx + c = 0
The solutions (roots) of the equation can be found using the quadratic formula:
x = (-b ± √(b2 - 4ac)) / (2a)
The discriminant (Δ = b² - 4ac) determines the nature of the roots:
- If Δ >0: Two distinct real roots
- If Δ = 0: One repeated real root (two equal roots)
- If Δ < 0: Two complex conjugate roots
Applications of Quadratic Equations
Quadratic equations describe any process where two variables are related by a degree-2 polynomial, which makes them ubiquitous in science and engineering. In physics, the height of a projectile under constant gravity is y(t) = y₀ + v₀t − ½gt², a quadratic whose positive root is the time of impact. In optics and architecture, the cross-section of every parabolic reflector — from car headlights to the 305 m Arecibo radio telescope dish — is the graph y = ax². In electrical engineering, the resonant frequency of an RLC circuit and the optimal load impedance for maximum power transfer both reduce to solving a quadratic in ω or R. In finance, break-even analysis with quadratic cost curves and yield-to-maturity calculations on bonds with two future cash flows are quadratic in the discount rate. Even Kepler's laws of planetary motion, the ballistic trajectory of every cannon shell in the 17th century, and the modern AdaBoost weight-update rule in machine learning all come back to ax² + bx + c = 0.
About this quadratic equation solver
Enter the three coefficients a, b, c of the equation ax² + bx + c = 0 (a must be non-zero) and the solver returns both roots, the discriminant Δ with a colour-coded verdict badge, and a full Root analysis panel: the vertex of the parabola, the axis of symmetry, Vieta's formulas (sum −b/a and product c/a of the roots) and the factored form a(x − x₁)(x − x₂). The complete working is also printed in the 'Solution steps' box. Real roots are shown in decimal form rounded to 10 significant digits, and complex roots in p ± qi form when Δ < 0. A true double root is detected with a floating-point tolerance, so coefficients entered as decimals or expressions still report Δ = 0 instead of two roots differing in the last digit. The calculation runs entirely in your browser — no server round-trip — so it works offline once the page is loaded.
Frequently Asked Questions

