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:

b2b20=0 b2b20=0  p=1;q=1;r=20 D=q24pr=1241(20)=81 D>0  b1,2=2pq±D=21±81 b1,2=21±9 b1,2=0.5±4.5 b1=5 b2=4   Factored form of the equation:  (b5)(b+4)=0 

Solution in text:

b2-b-20=0 ... quadratic equation

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

b1 = 5
b2 = -4

P = {5; -4}