Quadratic equation calculator
Enter the three coefficients of a quadratic equation, and the calculator shows one of its roots.
This calculator is also in the Numnote app for your phone. Google Play
Example
For the equation with the coefficients 1.3, 3.9 and 2.6 the calculator finds the root −1.
Root of a quadratic equation when a is 1.3 and c is 2.6
| a | b | c | quadratic root |
|---|---|---|---|
| 1.3 | 3.9 | 2.6 | −1 |
| 1.3 | 5.2 | 2.6 | −0.5858 |
| 1.3 | 6.5 | 2.6 | −0.4384 |
| 1.3 | 7.8 | 2.6 | −0.3542 |
| 1.3 | 9.1 | 2.6 | −0.2984 |
| 1.3 | 10 | 2.6 | −0.2694 |
| 1.3 | 12 | 2.6 | −0.222 |
In detail
How it is calculated
An equation of the form ax² + bx + c = 0 is called a quadratic equation, and a, b and c are its coefficients. First the discriminant is calculated: the square of b minus four times the product of a and c. Its square root is added to b taken with the opposite sign, and the sum is divided by twice a. This gives one of the two roots, the one the calculator shows. The other root comes the same way, with the root of the discriminant subtracted instead of added.
Common mistakes
The sign is lost most often, since b enters the formula with the opposite sign. When the discriminant is negative, there are no real roots, and the calculator shows an error instead of a number. The coefficient a cannot be zero, because then the equation is no longer quadratic and you cannot divide by zero.
Questions
How do I find the root of a quadratic equation using the discriminant?
Calculate the discriminant, take its square root, add it to b taken with the opposite sign and divide the sum by twice a. The calculator does this by itself, so you only enter the three coefficients.
What should I do if the discriminant is negative?
Then the equation has no real roots: the square root of a negative number is not defined, and the calculator shows an error. Check the coefficients and their signs.