This is the equation for the solution of a second order polynomial of the form aX2+bX+C=0 where the solution produces two roots
-b±√b2-4ac2a
Solving the quadratic equation.
Suppose ax2+bx+c=0 and a≠0
first divide by a to get:
x2+bax+ca=0
Then complete the square and obtain:
x2+bax+(b2a)2-(b2a)2+ca=0
The first three terms factor:
(x+b2a)2=b24a2-ca
Take square roots on both sides to get
x+b2a=±√b24a2-ca
Finally move the b/(2a) to the right and simplify to get the two solutions:
x1,2=-b±√b2-4ac2a
No comments |