Quadratic equation

From testwiki
Jump to navigation Jump to search

Template:Merge

Quadratic equation

General form

x2+bax+ca=0.

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:

x2+bax+ca=0.

Subtract Template:Math from both sides of the equation, yielding:

x2+bax=ca.

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:

x2+bax+(b2a)2=ca+(b2a)2,

which produces:

(x+b2a)2=ca+b24a2.

Accordingly, after rearranging the terms on the right hand side to have a common denominator, we obtain:

(x+b2a)2=b24ac4a2.

The square has thus been completed. Taking the square root of both sides yields the following equation:

x+b2a=±b24ac 2a.

Isolating Template:Math gives the quadratic formula:

x=b±b24ac 2a.

The plus-minus symbol "±" indicates that both

x=b+b24ac2aandx=bb24ac2a

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:

x=2cbb24ac.