Quadratic equation
Quadratic equation
General form
Derivation of the formula
The quadratic formula can be derived with a simple application of technique of completing the square.Divide the quadratic equation by Template:Math, which is allowed because Template:Math is non-zero:
Subtract Template:Math from both sides of the equation, yielding:
The quadratic equation is now in a form to which the method of completing the square can be applied. Thus, add a constant to both sides of the equation such that the left hand side becomes a complete square:
which produces:
Accordingly, after rearranging the terms on the right hand side to have a common denominator, we obtain:
The square has thus been completed. Taking the square root of both sides yields the following equation:
Isolating Template:Math gives the quadratic formula:
The plus-minus symbol "±" indicates that both
are solutions of the quadratic equation.[1] There are many alternatives of this derivation with minor differences, mostly concerning the manipulation of Template:Math.
Some sources, particularly older ones, use alternative parameterizations of the quadratic equation such as Template:Math[2] or Template:Math,[3] where Template:Math has a magnitude one half of the more common one. These result in slightly different forms for the solution, but are otherwise equivalent.
A lesser known quadratic formula, as used in Muller's method, and which can be found from Vieta's formulas, provides the same roots via the equation: