This Quadratic Formula Calculator evaluates an equation in the form (ax²+bx+c=0). Enter coefficients (a), (b) and (c) to see the real or complex-root status and, for a quadratic equation, both coordinates of the vertex. If (a=0), the equation is linear rather than quadratic.
How to Use the Quadratic Formula Calculator
- Enter the coefficient (a) for (x²), coefficient (b) for (x), and constant (c).
- Calculate the discriminant (D=b²-4ac).
- Review whether the equation has two real roots, one repeated real root, complex roots or is linear/invalid.
- When (a ≠ 0), review both vertex coordinates.
Quadratic Formula and Discriminant
x = (−b ± √(b² − 4ac)) ÷ (2a)
The discriminant (D=b²−4ac) determines the root type: if (D>0), there are two distinct real roots; if (D=0), there is one repeated real root; if (D<0), the roots are a complex-conjugate pair.
Worked Examples
- Two real roots: (x²−5x+6=0). The discriminant is 25−24=1, so roots are 2 and 3.
- Repeated root: (x²−4x+4=0). The discriminant is 0, so the repeated root is 2.
- Complex roots: (x²+1=0). The discriminant is −4, so the mathematical roots are i and −i; this widget reports that the roots are complex but does not display their numerical values.
How the Discriminant Classifies the Roots
The discriminant is D = b² − 4ac. A positive discriminant gives two distinct real roots; zero gives one repeated real root; and a negative discriminant gives a complex-conjugate pair. For x² + 1 = 0, D = −4 and the mathematical roots are i and −i. This widget identifies the complex-root case but does not display those two numerical components.
For x² − 5x + 6 = 0, D = 25 − 24 = 1, so the roots are (5 ± 1) ÷ 2, or 2 and 3. The vertex is a separate property of the parabola: xᵥ = −b/(2a), then yᵥ = axᵥ² + bxᵥ + c. The widget reports both vertex coordinates but does not draw the graph.
Understanding the Vertex
For a parabola (y=ax²+bx+c), the vertex x-coordinate is (x_v=−b/(2a)). The y-coordinate is (y_v=f(x_v)). The widget displays both coordinates of the vertex, calculated by substituting the vertex x-coordinate back into the quadratic function.
Competitor review covered Omni Calculator, Mathway and Math Is Fun. These resources add step-by-step derivations, equation-oriented input, graphing or broader algebra explanations. This page now gives a clearer discriminant decision guide, a complete worked real-root example, a complex-root example and the separate vertex calculation, while distinguishing the mathematical roots from the smaller set of values the widget actually displays.
For related algebra operations, use the Exponent Calculator or Log Calculator.
Assumptions and Limitations
- The equation must be supplied in standard coefficient form.
- When (a=0), the equation is treated as linear if (b ≠ 0), or invalid if both (a) and (b) are zero.
- The widget reports a complex-root status but does not display the numerical real and imaginary components.
- The vertex coordinates are displayed, but the widget does not draw a graph.
- Results are floating-point approximations and may be rounded for display.
