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:

a2+(17a)2=132 2a234a+120=0 2 ...  prime number 34=217 120=2335 GCD(2,34,120)=2=2  a217a+60=0  p=1;q=17;r=60 D=q24pr=1724160=49 D>0  a1,2=2pq±D=217±49 a1,2=217±7 a1,2=8.5±3.5 a1=12 a2=5   Factored form of the equation:  (a12)(a5)=0 

Solution in text:

2a2-34a+120=0 ... quadratic equation

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

a1 = 12
a2 = 5

P = {12; 5}