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:

240(a+4)2a(a+4)=240a 2a28a+960=0 2a2+8a960=0 2 ...  prime number 8=23 960=2635 GCD(2,8,960)=2=2  a2+4a480=0  p=1;q=4;r=480 D=q24pr=4241(480)=1936 D>0  a1,2=2pq±D=24±1936 a1,2=24±44 a1,2=2±22 a1=20 a2=24   Factored form of the equation:  (a20)(a+24)=0 

Solution in text:

-2a2-8a+960=0 ... quadratic equation

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

a1 = 20
a2 = -24

P = {20; -24}