How to use the Quadratic Equation Solver
- Rearrange your quadratic equation into standard form: ax² + bx + c = 0.
- Enter the leading coefficient value into input a (must not be zero).
- Input the coefficient for the linear term into box b.
- Type the constant term into input c.
- Review the calculated values for roots x₁ and x₂, the discriminant, and vertex coordinates.
How it works
The results provide complete structural insights into your quadratic function. The calculated roots (x₁ and x₂) represent the x-intercepts where the parabola crosses the horizontal axis. The discriminant (b² − 4ac) indicates the nature of these solutions: a positive discriminant yields two real roots, zero produces one repeated real root, and a negative value results in a pair of complex conjugate numbers. Additionally, the calculated vertex (x, y) pinpoints the highest or lowest turning point of the corresponding parabolic graph.
This calculator applies the standard algebraic quadratic formula, x = (−b ± √(b² − 4ac)) ÷ 2a, which has been a fundamental principle of classical algebra since codified by ancient and medieval mathematicians like Brahmagupta and Al-Khwarizmi. Standardized modern mathematics curricula around the world, including Common Core and International Baccalaureate (IB) standards, utilize this formula to evaluate second-order polynomial expressions. The vertex x-coordinate is derived using x = −b ÷ 2a, and y is determined by evaluating the function at that coordinate.
When using this tool, ensure your equation is rearranged into the standard form ax² + bx + c = 0 before entering coefficients. The leading coefficient 'a' cannot equal zero, as that simplifies the equation to a linear format (bx + c = 0). For real-world engineering or physics problems involving trajectories, double-check that your input signs match your physical setup, as a negative 'a' coefficient indicates an upside-down parabola opening downward.
Formula
x = (−b ± √(b² − 4ac)) ÷ 2a
Worked example
x² − 3x + 2 = 0: the discriminant is 9 − 8 = 1, so x = (3 ± 1) ÷ 2, giving x = 2 and x = 1.
Frequently asked questions
What if a is zero?+
If coefficient a equals zero, the equation is no longer quadratic but linear (bx + c = 0). Linear equations have a single solution, x = −c ÷ b, rather than two roots or a parabolic vertex.
What is the vertex of a parabola?+
The vertex represents the peak maximum or minimum turning point of the parabola y = ax² + bx + c. Its x-coordinate is calculated as −b ÷ 2a, and its y-coordinate is found by substituting that x value back into the equation.
What does a negative discriminant mean?+
A negative discriminant (b² − 4ac < 0) means the quadratic equation has no real solutions because you cannot take the square root of a negative real number. Instead, the equation yields two complex conjugate roots.
How do you solve x² − 3x + 2 = 0 using this calculator?+
Input a = 1, b = −3, and c = 2. The calculator computes the discriminant as 9 − 8 = 1. Applying the formula yields x = (3 ± 1) ÷ 2, resulting in roots x₁ = 2 and x₂ = 1.
Can a quadratic equation have only one solution?+
Yes. When the discriminant (b² − 4ac) equals zero, both roots coincide into a single repeated real solution (x = −b ÷ 2a). Geometrically, the vertex of the parabola touches the x-axis at exactly one point.
✓ Written and reviewed by the Calcumia editorial team · Last updated: · How we build and check our calculators
Results are estimates for information only and are not financial, medical or legal advice.