Quadratic equation calculator
A quadratic equation has the form ax2 + bx + c = 0, where a ≠ 0. Enter the coefficients a, b and c into the calculator and it works out the discriminant and the roots of the equation. If a term is missing, write a zero in its place: the equation x2 − 9 = 0 has a = 1, b = 0 and c = −9. Be careful with signs: from x2 − 5x + 6 = 0, enter b = −5, not 5.
How the calculator works
First it works out the discriminant:
Its sign then tells it how many solutions the equation has. A positive discriminant gives two different roots, a zero discriminant gives one, and a negative discriminant means there are no real solutions. The roots are
For the default equation x2 + 7x + 12 = 0, D = 72 − 4 · 1 · 12 = 1, so
The calculator also copes with a negative discriminant: it takes the square root of a negative number in complex numbers. A fuller explanation, along with simpler methods for equations missing b or c, is in the article on quadratic equations.
Chapters: Quadratic equation calculator, Linear equation calculator, Simultaneous equations calculator, Distance between two points calculator, Midpoint of a line segment calculator, Equation of a line through two points calculator, Rounding calculator, Standard form calculator, Mixed number and fraction calculator