Quadratic Equation Calculator
Enter the coefficients a, b and c of ax² + bx + c = 0 to find both roots (real or complex), the discriminant and the vertex of the parabola.
| Root x₁ | 5 |
|---|---|
| Root x₂ | -2 |
| Discriminant (Δ) | 49 |
| Type of roots | Two distinct real roots |
| Vertex | (1.5, -12.25) |
Link to this calculation – copied!
Formula
Δ = b2 − 4ac
Vertex = (−b ÷ 2a, c − b2 ÷ 4a)
| Symbol | Meaning |
|---|---|
| a, b, c | Coefficients of x², x and the constant term |
| Δ | Discriminant, which decides the type of roots |
| x | The roots (solutions) of the equation |
How to Use This Calculator
- Enter the a (coefficient of x²). Must not be zero.
- Enter the b (coefficient of x).
- Enter the c (constant).
- Press Calculate. Results also update automatically as you type.
Worked Example
Using the values pre-filled in the calculator above:
| a (coefficient of x²) | 1 |
|---|---|
| b (coefficient of x) | -3 |
| c (constant) | -10 |
| Root x₁ | 5 |
|---|---|
| Root x₂ | -2 |
| Discriminant (Δ) | 49 |
| Type of roots | Two distinct real roots |
| Vertex | (1.5, -12.25) |
About This Calculation
A quadratic equation is any equation that can be written as ax² + bx + c = 0 with a ≠ 0. Its graph is a parabola, and the roots are the x-values where that parabola crosses the x-axis. The quadratic formula always works, even when the expression does not factor neatly.
The discriminant Δ = b² − 4ac tells you what kind of answer to expect before you finish the calculation. If it is positive there are two different real roots; if it is zero the parabola just touches the axis at one repeated root; if it is negative the parabola never meets the axis and the roots are a pair of complex numbers of the form p ± qi. A perfect-square discriminant (with integer coefficients) means the equation factors over the integers.
The vertex is the turning point of the parabola — a minimum when a is positive and a maximum when a is negative — which makes quadratics the natural tool for optimization problems such as maximizing the area of a fenced plot or the height of a thrown ball. This calculator uses a numerically stable form of the formula, which avoids the loss of precision the textbook version suffers when b² is much larger than 4ac.
Frequently Asked Questions
- What if a is zero?
- Then the x² term disappears and the equation is linear: bx + c = 0, whose single solution is x = −c ÷ b. The quadratic formula would divide by zero, so this calculator asks for a non-zero a.
- What does a complex root mean in practice?
- It means the parabola never touches the x-axis, so there is no real x that makes the expression zero. In physics, for example, it can show that a thrown object never reaches a certain height.
- How do I check my roots?
- Substitute each root back into ax² + bx + c; the result should be zero. Also, the roots always add up to −b/a and multiply to c/a.