Where Does the Quadratic Formula Come From?
A Derivation of the Quadratic Formula
Every student of mathematics will eventually come across the quadratic formula in some algebra class. A student will probably see something along the lines of:
The solutions to the equation where are
But where does this equation even come from? Most students don’t see a proof in their algebra classes (and may never come across one for the rest of their math careers), but in this post, we’ll go through exactly that.
Consider the quadratic where We can assume that since if then which is no longer a quadratic (it is now linear). It is very important to state that since the derivation of the quadratic formula will use divisions by (recall that you can divide by a number as long as it is not 0). An important concept that the proof requires is completing the square, which is covered in this post. Now, here we go!
We first start with our initial problem:
Next, we’ll factor out an from the first two terms (The and terms). The reason we do this is to set ourselves up for completing the square. When we complete the square, we want to work with an term with a coefficient of It may seem a bit odd to factor out an from a term that doesn’t even have an but it’s actually still possible! It’s very similar to rewriting as
If you’re unsure, you can always distribute back the and check that it indeed matches the equation that we started with!
Now, we’ll be completing the square. Remember that when completing the square, you take the coefficient of the term, half it, and then square it. In this case, the coefficient of the term is If we take half of this, we get Finally, if we square this term, we get We’re now going to add this to the inside of the parenthesis.
However, remember that you’re not allowed to just add a value to one side of the equation! Doing so will cause the equation to become invalid. If you add a value to one side of an equation, you must at the same value to the other side. Be careful, though! We’re not just adding we’re actually adding because of the that we factored out in the previous step. We now have the following:
Since we just completed the square, we can factor! We’re also going to be subtracting from both sides.
Again, if you’re unsure, you can distribute and check that it matches the corresponding portion from the previous step.
Next, we’re going to express the right side as a single fraction. We can do so by multiplying by Remember that multiplying by doesn’t change the value of something!
Now, we’ll divide by on both sides. Recall that we have no issues with as a denominator since we know that
Next, we’ll take the square root of both sides. Remember that when taking the square root, you must consider plus or minus.
We can simplify further by using the following property for square roots:
Now, we’ll simplify We’ll be using the property that
You might be tempted to say that but this is actually not the case! It turns out that For instance, if we consider then
If we now come back to where we left off, we have the following:
Because of the , we can actually get rid of the absolute value around the This is because Don’t worry too much if this step is a bit confusing. All we need to know is that we can get rid of the absolute value.
We’re now left with the following:
We’re almost there! The next step is to subtract from both sides.
Since both fractions have the same denominator, we can easily combine them, and we’ll have the quadratic formula!
The proof is now complete!