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:

x21=5x x25x1=0  a=1;b=5;c=1 D=b24ac=5241(1)=29 D>0  x1,2=2ab±D=25±29 x1,2=2.5±2.692582 x1=5.192582404 x2=0.192582404   Factored form of the equation:  (x5.192582404)(x+0.192582404)=0 

Solution in text:

x2-5x-1=0 ... quadratic equation

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

x1 = 5.1925824
x2 = -0.1925824

P = {5.1925824; -0.1925824}