Where does the Quadratic Formula come from?

The method of completing the square can be used to solve any quadratic equation, i.e. any equation that can be put in the form $ ax^2+bx+c=0$ where $ a\ne 0$ . This includes the very equation $ ax^2+bx+c=0$ itself...

$\displaystyle ax^2+bx+c$ $\displaystyle = 0$    
$\displaystyle ax^2+bx$ $\displaystyle = -c$   Get the constant term, $ c$ , alone on one side.    
$\displaystyle x^2+\frac{b}{a}x$ $\displaystyle = -\frac{c}{a}$   Since the coefficient of $ x^2$ needs to be 1,    
      divide both sides of the equation by $ a$ .    
$\displaystyle x^2+\frac{b}{a}x+\frac{b^2}{4a^2}$ $\displaystyle = \frac{b^2}{4a^2}-\frac{c}{a}$   ``Complete the square'' by squaring half the coefficient of $ x$    
      and adding the result to both sides. Note that    
      $ \frac{1}{2}\cdot\frac{b}{a}=\frac{b}{2a}$ and $ \left( \frac{b}{2a}\right)^2=\frac{b^2}{4a^2}$ $\displaystyle .$    
$\displaystyle \left(x+\frac{b}{2a}\right)^2$ $\displaystyle = \frac{b^2}{4a^2}-\frac{c}{a}$   Factor the perfect square trinomial.    
$\displaystyle \left(x+\frac{b}{2a}\right)^2$ $\displaystyle = \frac{b^2-4ac}{4a^2}$   Rewrite the right hand side as a single fraction.    
$\displaystyle x+\frac{b}{2a}$ $\displaystyle = \pm\sqrt{\frac{b^2-4ac}{4a^2}}$   Take the square root of both sides.    
$\displaystyle x+\frac{b}{2a}$ $\displaystyle = \frac{\pm\sqrt{b^2-4ac}}{2a}$   Since $ 4a^2=(2a)^2$ .    
$\displaystyle x$ $\displaystyle = \frac{\pm\sqrt{b^2-4ac}}{2a}-\frac{b}{2a}$   Subtract $ \frac{b}{2a}$ from both sides.    
$\displaystyle x$ $\displaystyle = \frac{\pm\sqrt{b^2-4ac} \; - \; b}{2a}$   Rewrite the right hand side as a single fraction.    
$\displaystyle x$ $\displaystyle = \frac{-b\pm\sqrt{b^2-4ac}}{2a}$   Rearrange the numerator.    

The Quadratic Formula: The solutions of $ ax^2+bx+c=0$ , where $ a\ne 0$ , are:

$\displaystyle \frac{-b\pm\sqrt{b^2-4ac}}{2a}$


aah@ryan-usa.com
Giganews Newsgroups