Quadratic Equation Solver
Enter the three coefficients of ax² + bx + c = 0. You get the discriminant, the two roots (real or complex), the exact form with square roots when the roots are irrational, the vertex of the parabola and the factored form.
Roots
x = 2 · x = 3
x = 2 or x = 3
- Discriminant
- 1
- Vertex
- (5/2, -1/4)
- Factored form
- (x − 2)(x − 3)
- Discriminant D = b² − 4ac = 25 − 24 = 1
- √D = 1, so x = (−b ± √D) / 2a = (5 ± 1) / 2
How it works
- Type the coefficients a, b and c. Use 0 when a term is missing.
- Read the discriminant and the kind of roots.
- Read the roots in exact and decimal form, the vertex and the factored form.
- Copy the summary.
What people use it for
Algebra homework
Check roots, discriminant and factoring of x² − 5x + 6 = 0 against your own work.
Projectile height
Find when an object thrown upwards reaches the ground by setting the height equation to 0.
Parabola vertex
Get the highest or lowest point of a parabola without completing the square.
Questions
- What does the discriminant tell me?
- D = b² − 4ac. If D is positive there are two different real roots, if it is 0 there is one repeated root, and if it is negative there are no real roots but two complex ones (a real part ± an imaginary part with i).
- What formula is used?
- x = (−b ± √D) / 2a. With whole-number coefficients the calculation is exact: rational roots are shown as fractions, and irrational roots as a reduced form such as (−2 ± √6) / 2 next to their decimal value.
- What if a = 0?
- The equation is no longer quadratic. It becomes bx + c = 0, solved as x = −c / b. If b is also 0, the equation has either no solution or every number as a solution.
- Are decimal coefficients allowed?
- Yes, but then the roots are decimal approximations (about 10 significant digits) and the exact radical form is not shown. Coefficients must stay below 1 000 000 000 000.