About the Quadratic Equation Calculator
A quadratic equation has the form with . Its graph is a parabola, and the solutions are the x-intercepts.
The discriminant tells you what kind of roots to expect: two real roots if it is positive, one repeated root if it is zero, and two complex conjugate roots if it is negative. The calculator keeps radicals exact, so gives .
What is a quadratic equation?
A quadratic equation is a polynomial equation of degree two: the highest power of the unknown is . Written in standard form it is , where , and are numbers and is not zero. The coefficient controls how wide the parabola is and whether it opens upward or downward, shifts it sideways, and is where it crosses the y-axis.
Because the graph of is a parabola, it can cross the x-axis twice, touch it once at its vertex, or miss it altogether. Those three pictures correspond to two real solutions, one repeated solution and no real solutions, and the discriminant decides which picture applies before any root is computed.
How to use the Quadratic Equation Calculator
- Rewrite your equation so one side is 0.
- Enter the coefficients a, b and c. Fractions and decimals are accepted.
- Press Solve to see the discriminant, both roots, the factored form and the vertex.
Formulas
Quadratic formula
Discriminant
Vertex
Vieta's formulas
Worked example: x² − 3x − 10 = 0
The worked example solves , so , and . The discriminant is , a positive perfect square, so there are two rational roots. The formula gives , that is and . The calculator also finds the vertex at and the factored form , and confirms with Vieta's formulas that the roots add to 3 and multiply to −10.
The solution below is generated by the same engine that powers the calculator above.
Final answer
How we read your problem
Solve a quadratic equation in standard form with the quadratic formula.
Step-by-step solution
Identify the coefficients of ax² + bx + c = 0
Compute the discriminant
Δ > 0, so there are two distinct real roots
Apply the quadratic formula
Simplify each root
Find the vertex of the parabola
The parabola opens upward, so the vertex is a minimum.
Factored form
Formulas used
Quadratic formula
Discriminant
Vertex
The discriminant is positive, so the parabola crosses the x-axis at two points.
Verification
- Substitute x = -2: 1·(-2)² + (-3)·(-2) + (-10) = 0
- Substitute x = 5: 1·5² + (-3)·5 + (-10) = 0
- Vieta: sum of roots = 3 = −b/a = 3; product = -10 = c/a = -10
Detailed explanation
The three cases of the discriminant
When the square root is a real number and the produces two different roots. If is also a perfect square, as with 49 in the example, the roots are rational and the quadratic factors over the integers; otherwise they contain a radical, as in , whose roots are . When the two roots coincide: has the double root and the parabola just touches the axis. When there are no real roots, and the calculator gives the complex pair, for example for .
Where the formula comes from
The quadratic formula is what you get by completing the square on the general equation. Dividing by and moving gives ; adding to both sides makes the left a perfect square, . Taking square roots and subtracting produces the formula. That derivation also explains the vertex: the parabola is symmetric about , the midpoint of the two roots.
Reading the vertex and the graph
The vertex is the turning point of the parabola. Its x-coordinate is , and substituting that into the equation gives the y-coordinate, the minimum value when and the maximum when . In the example the vertex is at , so the expression is never smaller than . This is what makes quadratics useful in optimisation problems, such as finding the highest point of a thrown ball or the price that maximises revenue.
The vertex form shows the same information directly, with as the vertex.
Common mistakes
- Using instead of when is negative: .
- Dividing only by instead of the whole numerator.
- Entering coefficients before moving every term to one side.
- Forgetting the ± and reporting only one root.
- Writing complex roots when only real solutions were asked for, or the reverse; read what the question wants.
Tips
- If is even, the formula simplifies to .
- Check your roots with Vieta: their sum should be .
- If is a perfect square, the quadratic factors over the integers.
- Divide all three coefficients by a common factor first; the roots do not change and the arithmetic is lighter.
- The vertex lies halfway between the two roots, which gives a quick check on both.
Frequently asked questions
What is the quadratic formula?
For , the solutions are . It works for every quadratic, including ones that do not factor.
What does the discriminant tell me?
If there are two different real roots, if it equals 0 there is one double root, and if it is negative there are two complex roots.
Can the calculator give complex roots?
Yes. For a negative discriminant the roots are written as ; for they are .
What if a = 0?
Then the equation is linear, not quadratic. Use the equation solver or the solve-for-x calculator instead.
How do I find the vertex of the parabola?
The vertex is at ; substitute that value to get the y-coordinate. The calculator shows both.
Why keep roots as square roots instead of decimals?
Exact radicals keep full precision and show the structure of the answer. A decimal approximation is listed alongside for convenience.
What does a double root mean?
It means the discriminant is zero and both roots are the same number. The parabola touches the x-axis at its vertex without crossing it, as with , which has the double root .
When should I factor instead of using the formula?
Factor when the discriminant is a perfect square and the numbers are small, since the roots are then rational. The formula always works, so use it when factoring is not obvious.
Why can't a be zero in a quadratic equation?
If the term vanishes and the equation becomes linear, , with at most one solution. The quadratic formula would also divide by zero, so the calculator asks for a non-zero .
Solve your quadratic equation
Enter a, b and c above to get the discriminant, exact roots, the vertex and the factored form, each with its working shown.