Quadratic Equation Calculator
Solve ax² + bx + c = 0 with the quadratic formula. Shows the discriminant and real or complex roots.
Quadratic Equation Calculator
Solves ax² + bx + c = 0.
What a Quadratic Equation Is
A quadratic equation () is what you get whenever a squared term () is in the mix - the math behind a thrown ball’s path or the area of a growing square. Its graph is always a smooth U-shaped curve called a parabola, and “solving” it means finding where that curve crosses the x-axis (the spots where ).
The graph under the calculator draws your parabola and marks those crossings. A curve can cross the axis twice (two real answers), just touch it once (one repeated answer), or miss it entirely (no real answer - the roots are complex). One number, the discriminant , tells you which case you are in before you even solve.
The Quadratic Formula
The discriminant decides the type of roots:
- — two real roots
- — one repeated root
- — two complex roots
How to Use It
- Enter the coefficients a, b, and c.
- Read the roots and the discriminant in the steps.
Worked Examples
| a | b | c | Roots |
|---|---|---|---|
| 1 | −5 | 6 | or |
| 1 | −4 | 4 | (double root) |
| 1 | 2 | 5 | (complex) |
| 2 | 1 | −6 | or |
FAQ
What is the quadratic formula?
. It solves any quadratic once written as .
What does the discriminant tell you?
The discriminant shows the type of roots: positive gives two real roots, zero gives one repeated root, and negative gives two complex roots.
What if a is 0?
Then it is not quadratic but linear (), and the tool solves it as .