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:

6(x9)+6x=(x9)x x2+21x54=0 x221x+54=0  a=1;b=21;c=54 D=b24ac=2124154=225 D>0  x1,2=2ab±D=221±225 x1,2=221±15 x1,2=10.5±7.5 x1=18 x2=3   Factored form of the equation:  (x18)(x3)=0 

Solution in text:

-x2+21x-54=0 ... quadratic equation

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

x1 = 18
x2 = 3

P = {18; 3}