A quadratic equation can be solved using the discriminant. The roots of the quadratic equation: z1=2aD−b z2=2a−D−b where D = b^2 - 4*a*c - it is the discriminant. Because a=1 b=0 c=5 , then
D = b^2 - 4 * a * c =
(0)^2 - 4 * (1) * (5) = -20
Because D<0, then the equation has no real roots, but complex roots is exists.
z1 = (-b + sqrt(D)) / (2*a)
z2 = (-b - sqrt(D)) / (2*a)
or z1=5i z2=−5i
Vieta's Theorem
it is reduced quadratic equation pz+q+z2=0 where p=ab p=0 q=ac q=5 Vieta Formulas z1+z2=−p z1z2=q z1+z2=0 z1z2=5