Edit Article

How to Derive the Quadratic Formula

Community Q&A

One of the most important skills an algebra student learns is the quadratic formula, or With the quadratic formula, solving any quadratic equation of the form becomes a simple matter of substituting the coefficients into the formula. While simply knowing the formula is often enough for many, understanding how it's derived (in other words, where it comes from) is another thing entirely. The formula is derived via "completing the square" that has other applications in math as well, so it is recommended that you be familiar with it.


  1. 1
    Start with the standard form of a general quadratic equation. While any equation with an term in it qualifies as quadratic, the standard form sets everything to 0. Remember that are coefficients that can be any real number, so don't substitute any numbers in for them - we want to work with the general form.
    • The only condition is that because otherwise, the equation reduces to a linear equation.
  2. 2
    Subtract from both sides. Our goal is to isolate To start, we move one of the coefficients to the other side, so that the left side only consists of terms with in it.
  3. 3
    Divide both sides by . Note that we could've switched this and the previous step, and still arrived at the same place. Remember that dividing a polynomial by something means that you divide each of the individual terms. Doing so makes it easier for us to complete the square.
  4. 4
    Complete the square. Recall that the goal is to rewrite an expression as where is any coefficient. It may not immediately be obvious to you that we can do this. To see it more clearly, rewrite as by multiplying the term by We can do this because multiplying by 1 does not change anything. Now we can clearly see that in our case, so we are only missing the term. Therefore, in order to complete the square, we add that to both sides - namely, Then, of course, we factor.
    • Here, it is clear why since is in the denominator, and you cannot divide by 0.
    • If you need to, you can expand the left side to confirm that completing the square works.
  5. 5
    Write the right side under a common denominator. Here, we want both denominators to be so multiply the term by
  6. 6
    Take the square root of each side. However, it is essential that you recognize that in doing so, you are actually doing two steps. When you take the square root of you do not get You actually get its absolute value, This absolute value is critical in getting both roots - simply putting square roots over both sides will only get you one of the roots.
    • Now, we can get rid of the absolute value bars by putting a on the right side. We can do this because the absolute value does not distinguish between positive and negative, so they are both valid. This tidbit is why the quadratic equation always gets you two roots.
    • Let's simplify this expression a bit further. Since the square root of a quotient is the quotient of the square roots, we can write the right side as Then we can take the square root of the denominator.
  7. 7
    Isolate by subtracting from both sides.
  8. 8
    Write the right side under a common denominator. This nets the quadratic formula, the formula that solves any quadratic equation in standard form. This works for any and outputs an that can be real or complex. To confirm that this process works, simply follow the steps of this article in reverse order to recover standard form.

Community Q&A

Ask a Question



  • It is interesting to note that the quadratic formula holds for complex coefficients as well, though you may have to do a little more simplifying for the final answer, and the roots will no longer come in conjugate pairs. Problems with quadratic expressions are nevertheless almost always given with real coefficients.

Sources and Citations

Article Info

Categories: Algebra

In other languages:

Español: obtener la formula cuadrática, Русский: вывести формулу для корней квадратного уравнения, Italiano: Ricavare la Formula Quadratica, Português: Derivar a Fórmula de Bhaskara

Thanks to all authors for creating a page that has been read 98,114 times.

Did this article help you?