A quadratic equation can be solved using the discriminant. The roots of the quadratic equation: t1=2aD−b t2=2a−D−b where D = b^2 - 4*a*c - it is the discriminant. Because a=1 b=−5 c=−14 , then
D = b^2 - 4 * a * c =
(-5)^2 - 4 * (1) * (-14) = 81
Because D > 0, then the equation has two roots.
t1 = (-b + sqrt(D)) / (2*a)
t2 = (-b - sqrt(D)) / (2*a)
or t1=7 t2=−2
Vieta's Theorem
it is reduced quadratic equation pt+q+t2=0 where p=ab p=−5 q=ac q=−14 Vieta Formulas t1+t2=−p t1t2=q t1+t2=5 t1t2=−14