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:

h24h+20=0 h24h+20=0  a=1;b=4;c=20 D=b24ac=424120=64 D<0  h1,2=2ab±D=24±64=24±81 h1,2=24±8i h1,2=2±4i h1=2+4i h2=24i   Factored form of the equation:  (h24i)(h2+4i)=0 

Solution in text:

h2-4h+20=0 ... quadratic equation

Discriminant:
D = b2 - 4ac = -64
D < 0 ... The equation has two distinct complex roots

h1 = 2+4i
h2 = 2-4i

P = {2+4i; 2-4i}