Derivation of Quadratic Formula
Let us find out how the famous Quadratic Formula can be created using a bunch of algebra steps.
A Quadratic Equation looks like this:
And it can be solved using the Quadratic Formula:
That formula looks like magic, but you can follow the steps to see how it comes about.
1. Complete the Square
ax2 + bx + c has "x" in it twice, which is hard to solve.
But there is a way to rearrange it so that "x" only appears once. It is called Completing the Square (please read that first!).
Our aim is to get something like x2 + 2dx + d2, which can then be simplified to (x+d)2
So, let's go:




The left hand side is now in the x2 + 2dx + d2 format, where "d" is "b/2a". So we can re-write it this way:

Now x only appears once and we are making progress.
2. Now Solve For "x"
We will try to rearrange the equation to have just "x" on the left:



but let's simplify
![x = [ -b (+-) sqrt(-(2a)^2 c/a + (2a)^2(b/2a)^2) ] / 2a](images/latex/dqa-c.gif)
![x = [ -b (+-) sqrt(-4ac + b^2) ] / 2a](images/latex/dqa-d.gif)
Which is the Quadratic formula we all know and love: