
Green chalkboard by AnnaliseArt on Pixabay; equations added by author
Recently, I was solving some math contest problems1 from past competitions, and a few times, quadratic equations came up, which reminded me of the process of solving them.
While we’ve been taught the quadratic formula in school, the opaqueness of the formula and how it was always presented got me thinking as to where the formula comes from and how one might derive it, and as I was researching it further, I noticed an interesting approach publicized in 2019 by Po-Shen Loh and previously discovered and published in 1989 by John Savage2 in 1989 that makes it much more intuitive! This work by both mathematicians was also reported by the New York Times in 2020.
Let’s see how it works.
Background
For reference, here’s a graph of a quadratic function :
Quadratic polynomial by various authors via Wikimedia Commons
The roots of this equation are the points on the curve passing through the axis, i.e., where .
The traditional approach
When faced with finding the roots of a quadratic equation of the form:
we’ve been taught to follow one of these approaches:
- go through the factorizations of and find the pair whose sum is , considering only real-valued integral factors
- failing the first option, use the quadratic formula
So, in the simple cases, we’re supposed to factor equations to find the roots, which is easy when they’re integral, e.g.,
can be factored (with some guessing and testing) as follows:
which provides us the roots directly as:
However, to get there, we had to go through the various factorizations of to find the two that add up to .
If we can’t follow the first approach, i.e., we can’t easily factor such that the sum of the factors is , we need to remember this seemingly arbitrary formula, which is typically not derived when presented in an algebra class, so there’s no intuition behind it:
Where does this formula come from, anyway?
And moreover, is there an easier, more methodical way of solving the quadratic equation without guessing or applying a magical formula when all hope is lost?
An alternative approach
As I was researching the quadratic formula, I came upon a blog post (and paper) by Po-Shen Loh3, professor of mathematics at Carnegie Mellon University, who came up with a much simpler approach to solving quadratic equations from an intuitive basis without any guesswork, and as a side benefit, this approach lets you derive the quadratic formula we’ve all been taught to memorize.
Let’s take as an example another quadratic equation:
The main idea behind Po-Shen Loh’s approach is to work from the sum, rather than the product, as we did above.
First, we recognize that if the sum of two numbers is , then their average is , and we can represent the two numbers as and .
Thus, in our case above, we have the sum , which means that we can represent our two numbers as and , and their product must satisfy:
Thus, the two values for the factors are and :
Checks out! Thus, the roots are or .
Generalization of the approach
In the example above, we ignored the coefficient of because it was , so now, let’s consider the general case, for an equation of the form:
When , we can just divide both sides by , which gives us:
For notational convenience, let’s substute and :
Now, we want to find a factoring of this equation into the form:
and our roots will be and .
As above, we note that and . As per the above, the average of and is:
and hence, we can represent and as differences from the average as :
Notes:
- It’s easy to validate that using this new formulation.
- It doesn’t matter which of or gets the or term, since they are not an ordered pair.
Then, for the product, we have:
Solving for , we have:
And thus, the values for and (which are interchangeable) are:
Note that since our factorization is actually
the roots of the equation are actually the negated values of the final expression above:
As John Savage notes in his paper and Po-Shen Loh mentions in his blog post, this process works even when the roots of the equation are imaginary (using ), so there are no limitations to this approach.
Deriving the quadratic equation
If you thought that the roots of the equation we computed above:
were starting to vaguely look like the traditional quadratic formula, you’re right!
Aside: we’ve flipped the to for convenience, but we don’t actually care about the order, so this is not changing anything meaningful in the results, since our roots are interchangeable.
But why is it so different? Recall that we simplified our approach by dividing both sides of the equation by and replaced our lowercase coefficients with their uppercase equivalents. So let’s bring them back:
and solve for :
And there we have it — the quadratic equation!
Slightly more complex example
In the example above, it worked out rather nicely for us, because the sum of components was even, so when we divided it in half, it remained an integer, and we ended up having a perfect square at the end, so we had a very easy way of computing the answer. What happens when that is not the case?
Let’s consider a slightly different equation:
As noted above, we can first divide both sides by to simplify our equation’s coefficients:
Here, the sum is , so our two components are and :
Thus, our two components are:
Note that we are done here; since we’ve produced a factoring of the form
the roots are and , but we’ll continue with the verification step below.
Let’s see how this works out with and see if we can reduce it to our original equation:
That looks right! Thus, the roots of this equation are:
Let’s finally see how we would have applied the quadratic formula here as well with the original coefficients:
Note that if we scale the coefficients up-front to ensure , it’s even easier:
Summary
Now you can solve the quadratic equation whether or not you remember the quadratic formula, and you have an alternative way to approach solving it without having to guess the roots.
And hopefully, now you have a better intuition of where the quadratic formula comes from, so it’s less opaque for you now.
References
- Chang, Kenneth and Corum, Jonathan. “This Professor’s ‘Amazing’ Trick Makes Quadratic Equations Easier”. The New York Times, Feb 2020.
- Loh, Po-Shen. “A Simple Proof of the Quadratic Formula.” arXiv:1910.06709 (2019).
- Loh, Po-Shen. “Quadratic Method: Detailed Explanation.” Blog post (2019).
- Loh, Po-Shen. “Quadratic Method: Related Work.” Blog post (2019).
- Savage, John. “Factoring Quadratics.” The Mathematics Teacher 82, no. 1 (1989): 35–36.
See also
- Solving the quadratic equation on Wikipedia
For example, the Art of Problem Solving wiki has a wide variety of problems from many math contests; it also has links to many other sources of math competition problems. ↩︎
Po-Shen Loh noted this earlier work in his follow-up post on related work of solving the quadratic equation. ↩︎
Po-Shen Loh has also been coaching the USA team competing in the International Mathematics Olympiad, which may be how I happened to find his blog post while reading about math contests and quadratic equations. ↩︎