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:

6=a(6a) a26a+6=0  p=1;q=6;r=6 D=q24pr=62416=12 D>0  a1,2=2pq±D=26±12=26±23 a1,2=3±1.732051 a1=4.732050808 a2=1.267949192   Factored form of the equation:  (a4.732050808)(a1.267949192)=0 

Solution in text:

a2-6a+6=0 ... quadratic equation

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

a1 = 4.7320508
a2 = 1.2679492

P = {4.7320508; 1.2679492}