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:

pow(c1,2)+pow(c2,2)=c2 c26c+5=0  p=1;q=6;r=5 D=q24pr=62415=16 D>0  c1,2=2pq±D=26±16 c1,2=26±4 c1,2=3±2 c1=5 c2=1   Factored form of the equation:  (c5)(c1)=0 

Solution in text:

c2-6c+5=0 ... quadratic equation

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

c1 = 5
c2 = 1

P = {5; 1}