Quadratic equation calculator

Quadratic equation has the basic form: ax2+bx+c=0
eq2
Enter the quadratic equation's coefficients a, b, and c of its basic standardized form. A solution of quadratic equations is usually two different real or complex roots or one double root — the calculation 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}