2022-12-27
Derivation of the quadratic formula and a little more on quadratics
Written by: Ned
This was the first prood I ever encountered in a math class, I think it was in grade 10. At the time, I memorized it for the test but didn’t fully appreciate the significance of how central proofs are to mathematics. The formula itself comes readily to mind, and one of my professors in university thought that students should have to recite it before having their math degrees conferred. I always recall the formula, but it’s been long enough since I proved it that I thought it’d be neat to cover it here. My initial thought is that it involves completing the square and that means figuring out the term to add and subtract partway through.
Recall, that a quadratic is a polynomial of degree 2. In it’s most general form it consists of an expression that defines a parabola. While
cannot be
, b or c can take on 0 values. Quadratics have 0, 1, or 2 roots which may be real or complex. But for today, assume our exercise takes place in
.
From our generic quadratic, when :
First divide through by a:
Complete the square by adding and subtracting term which is the trickiest part. I remember what it needs to be, because after taking the square root of both sides, we need the
term, and squaring it and having it on the other sides provides the term that we need to complete the square.
Rearrange:
Factor the left side, by noting that :
Simplify the right side a little by finding a common denominator:
Take the square root of both sides to begin solving for x:
Thus to find the value(s) of of the generic degree 2 polynomial
when
is
, we obtain the quadratic formula.
This is a fairly straightforward direct proof. Knowing (or figuring out how) to add the in order to complete the square is the trickiest part of this proof since it isn’t intuitive, and it always threw me off when I was first learning it. I often find it easier to go from the formula to the generic polynomial by reversing the steps. In fact, when I was solving this on paper before writing up this post, I started from both the top and the bottom and met in the middle to make it a little more obvious exactly what I needed to add to get it to work.
Note that if the equation yields 2 distinct real roots. If
the equation yields equal real roots. Finally, if
the equation yields complex roots rather than real ones. From our added term, we can also see that the sum of the roots is
and the product of the roots will be
. This information can be useful when solving for coefficients, but given an equation it’s generally faster to factor or plug it into the quadratic formula to obtain the roots.