Quadratic Equation Calculator

A quadratic equation has the basic form: ax2+bx+c=0
eq2
Enter the coefficients a, b, and c of the quadratic equation in its basic standardized form. The solution of a quadratic equation usually consists of two distinct real or complex roots, or one double root — calculated using the discriminant.


Calculation:

5−x2=0 −x2+5=0 x2−5=0 x1,2​=±5​=±2.236067977 x1​=2.236067977 x2​=−2.236067977 

Solution in text:

-x2+5=0 ... b=0; pure quadratic equation

Discriminant:
D = b2 - 4ac = 20
D > 0 ... The equation has two distinct real roots

x1 = 2.236068
x2 = -2.236068

P = {2.236068; -2.236068}