x² Quadratic Formula Calculator
Solve ax² + bx + c = 0 with the quadratic formula. Get discriminant, root type, real or complex roots, vertex, and full step-by-step working.
Quadratic Formula — Both Roots With Discriminant
BrainyCalculators editorial insight — unique to this tool
x = (−b ± √(b²−4ac)) / 2a — discriminant b²−4ac tells nature of roots without solving. Projectile time-of-flight and profit-maximizing price (revenue quadratic in price) use quadratics. Indian JEE problems often test discriminant shortcuts.
When to use this calculator
Use specifically for degree-2 equations. Linear equations → Equation Solver or Algebra.
Need linear equations too?
This page is dedicated to ax² + bx + c = 0. For a tabbed solver covering both linear equations and quadratics, use the Equation Solver →
What is the Quadratic Formula Calculator?
The quadratic formula calculator is a specialised solver for equations of the form ax² + bx + c = 0, where a is not zero. It uses x = (-b ± √(b² - 4ac)) / 2a to compute both roots and explains whether they are two real roots, one repeated root, or a complex conjugate pair.
This page also reports the discriminant and the vertex of the parabola, which makes it more than a generic root finder. It is best for algebra, graphing, projectile-motion examples, and any problem where the quadratic structure itself matters.
If you need a broader algebra tool that can switch between linear equations and quadratics, use the Equation Solver. This page stays focused on quadratic formula work only.
The Quadratic Formula Explained
How to Solve a Quadratic Equation
-
1Write in Standard FormRearrange so the equation is ax² + bx + c = 0 with a ≠ 0.
-
2Identify CoefficientsPick out the values of a (x² coeff.), b (x coeff.), and c (constant).
-
3Compute the DiscriminantCalculate Δ = b² − 4ac. Its sign determines root type.
-
4Apply the FormulaSubstitute into x = (−b ± √Δ) / 2a. Use + for x₁, − for x₂.
-
5Find the Vertexx-vertex = −b/(2a); y-vertex = c − b²/(4a). Vertex is the parabola's turning point.
Example — x² − 5x + 6 = 0
How the Quadratic Formula Calculator Works
Formula, assumptions, and calculation steps for this math tool.
Methodology
Math calculators apply the relevant arithmetic, algebraic, geometric, or numeric rule to the values entered and simplify the result where possible.
Calculation Steps
- Read the values and operation selected.
- Normalize signs, decimals, fractions, or units if needed.
- Apply the mathematical rule or formula.
- Format the answer and any intermediate values for checking.
Assumptions and Limits
- Inputs must be within the supported domain of the operation.
- Decimal answers may be rounded for readability.
- Symbolic simplification is limited to the calculator scope.
Frequently Asked Questions
The quadratic formula x = (−b ± √(b²−4ac)) / (2a) gives the solutions to any quadratic equation ax² + bx + c = 0. It was derived by completing the square and works for all quadratics.
The discriminant Δ = b² − 4ac tells you the nature of the roots before you solve. Δ > 0: two distinct real roots. Δ = 0: one repeated real root. Δ < 0: two complex conjugate roots.
Complex roots (a ± bi where i = √−1) occur when the parabola does not cross the x-axis. They always come in conjugate pairs. While not real numbers, complex roots are used extensively in engineering and physics.
The vertex is the highest or lowest point of the parabola y = ax² + bx + c. Its x-coordinate is −b/(2a) and y-coordinate is found by substituting back. If a > 0 the vertex is a minimum; if a < 0 it is a maximum.
Real-World Applications
Common Mistakes
Discriminant Interpretation Quick Reference
| Discriminant (b²−4ac) | Root Type | Parabola Behaviour |
|---|---|---|
| > 0 | Two distinct real roots | Crosses x-axis at two points |
| = 0 | One repeated real root | Touches x-axis at exactly one point (vertex) |
| < 0 | Two complex conjugate roots | Does not cross x-axis |
| Perfect square | Two rational roots | Factorable over rationals |
References
- Al-Khwarizmi, M.I.M. Kitāb al-mukhtaṣar fī ḥisāb al-jabr wa-l-muqābala. c. 820 CE.
- Stewart, J. Precalculus: Mathematics for Calculus. Cengage, 2016.
- Axler, S. Precalculus: A Prelude to Calculus. Wiley, 2017.
- Larson, R. and Hostetler, R. Algebra and Trigonometry. Cengage, 2016.
- NCTM. Principles and Standards for School Mathematics. National Council of Teachers of Mathematics, 2000.
Related Calculators
Browse all Math calculators →Equation Solver
Solve linear and quadratic equations for x step by step.
Algebra Calculator
Solve algebraic expressions and evaluate equations step by step.
Polynomial Calculator
Add, subtract, and multiply polynomials. Evaluate polynomials at given values.