Yet Another Interpretation of Solutions to Quadratic Equations

Yet Another Interpretation of Solutions to Quadratic Equations

Today’s post will be fairly short and simple, but may have interesting usages in other areas. Given a quadratic equation ax^2 + bx + c = 0, it is well known that solutions for x are given by the quadratic formula, x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}. There are a multitude of ways to derive this:

  • Completing the square: ax^2 + bx + c = 0 can be reduced to x^2 + \frac{b}{a}x + \frac{c}{a} = 0. At this point, we know easily how to solve equations of the form x^2 = k, and by extension (x - c)^2 = k, by simply taking square roots (being wary of the two signs) and finishing from there. Applying some wishful thinking shows that our general quadratic can be reduced to an equation of exactly that form:

        \begin{equation*} $x^2 + \frac{b}{a}x + \frac{c}{a} = x^2 + \frac{b}{a}x + \frac{b^2}{4a^2} - \frac{b^2}{4a^2} + \frac{c}{a} = \left(x + \frac{b}{2a}\right)^2 - \frac{b^2}{4a^2} + \frac{c}{a}$ \end{equation*}

    From here, simply moving the constant term to the other side, taking square roots and subtracting \frac{b}{2a} yields the quadratic formula.

  • Many of you may have come across this post by Po-Shen Loh detailing an interesting approach to solving quadratics. Suppose we just consider quadratics with leading coefficient 1, as we have shown that any quadratic can be reduced to this by dividing out the leading coefficient. By the Fundamental Theorem of Algebra, this quadratic can be factored in terms of its roots r and s:

        \begin{equation*} x^2 + bx + c = (x - r)(x - s) = x^2 - (r + s)x + rs \end{equation*}

    By matching coefficients, we have r+s=-b and rs=c. We note that the average of r and s equals -\frac{b}{2} because their sum is -b, so we substitute r and s with -\frac{b}{2}-m and -\frac{b}{2}+m respectively, for some m. From here, we may use the second piece of information regarding the roots; that their product is c. Thus we have (-\frac{b}{2}-m)(-\frac{b}{2}+m)=\frac{b^2}{4}-m^2=c. At this point, we can clearly solve for m^2 by isolating it, and consequently solve for m and thus both roots.

I noticed that there is another method by which quadratics can be solved that follows along with the themes of the last approach; the usage of Vieta’s formulas. Given information about r + s and rs, how may we isolate r and s? Notice that there is an important identity involving r, s and rs: (r + s)^2 = r^2 + s^2 + 2rs. We know the left hand side to be (-\frac{b}{2})^2 = \frac{b^2}{4}, and we can similarly find 2rs on the right side, but this doesn’t help much for isolating r and s. But wait, there is another important identity involving very similar terms: (r - s)^2 = r^2 + s^2 - 2rs. From here, we note that taking (r + s)^2 = r^2 + s^2 + 2rs and subtracting 4rs from both sides produces the second identity on the right side. We have

    \begin{equation*} (r + s)^2 - 4rs = (r - s)^2 \end{equation*}

which is a very good sign because we can calculate the LHS by the coefficients of the quadratic. Taking the square root, we can directly calculate r - s. But now that we know both r + s and r - s, we can use simple elimination techniques for solving linear equations to isolate each root, such as addition and subtraction of the equations. Note that we do not need to worry about the two possible square roots because if we choose the negative option, the values of r and s will simply alternate. I hope similar methods involving Vieta’s formulas may be generalized to higher degree polynomials, such as cubics.

Leave a Reply

Your email address will not be published. Required fields are marked *