Quadratic equation
Please share your thoughts about whether to merge this page with Quadratic Equation. |
Quadratic equation
[edit | edit source]General form
Derivation of the formula
[edit | edit source]The quadratic formula can be derived with a simple application of technique of completing the square.Divide the quadratic equation by a, which is allowed because a is non-zero:
Subtract c/a 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 x 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 a.
Some sources, particularly older ones, use alternative parameterizations of the quadratic equation such as ax2 − 2bx + c = 0[2] or ax2 + 2bx + c = 0,[3] where b 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:
- ↑ Sterling, Mary Jane (2010), Algebra I For Dummies, Wiley Publishing, p. 219, ISBN 978-0-470-55964-2
- ↑ Kahan, Willian (November 20, 2004), On the Cost of Floating-Point Computation Without Extra-Precise Arithmetic (PDF), retrieved 2012-12-25
- ↑ "Quadratic Formula", Proof Wiki, retrieved 2016-10-08