Numnote
English (Canada)

Quadratic equation calculator

Enter the three coefficients of a quadratic equation, and the calculator shows one of its roots.

coefficient a
coefficient b
constant term c
−coefficient b+√coefficient b2−4×coefficient a×constant term c2×coefficient a
=−1

This calculator is also in the Numnote app for your phone. Google Play

Example

For the equation with the coefficients 1.4, 4.2 and 2.8 the calculator finds the root −1.

Root of a quadratic equation when a is 1.4 and c is 2.8

coefficient acoefficient bconstant term cquadratic equation root
1.44.22.8−1
1.45.62.8−0.5858
1.472.8−0.4384
1.48.42.8−0.3542
1.49.82.8−0.2984
1.4112.8−0.2634
1.4132.8−0.2206

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.