Quadratic equation calculator

Quadratic equation has the basic form:
ax2+bx+c=0

eq2
Enter the coefficients a, b, c of quadratic equation in 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:

h24h+20 h24h+20=0  a=1;b=4;c=20 D=b24ac=424120=64 D<0  h1,2=b±D2a=4±642=4±812 h1,2=4±8i2 h1,2=2±4h1=2+4h2=24  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}