Deriving The Quadratic Formula

Download as PDF

The quadratic formula is a powerhouse tool for solving any second-degree polynomial equation. But it isn't magic! This lesson will walk you through its derivation, showing how this famous formula comes directly from a clever application of the 'completing the square' method on a general quadratic equation.

What Is the Quadratic Formula and Why Derive It?

The quadratic formula is a universal solution for any quadratic equation, which is an equation of the form ax2+bx+c=0 where a, b, and c are coefficients and a0. The formula provides the value(s) of x that make the equation true.

x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

You've likely been asked to memorize this formula, and for good reason—it's one of the most important tools in algebra. But where does it come from? Understanding its origin, or its derivation, is more than just a mathematical curiosity. Deriving the formula accomplishes several key things:

  • It builds deep understanding. Instead of a random string of symbols, the formula becomes a logical conclusion of standard algebraic steps. This helps you remember it and use it more accurately.
  • It reinforces other skills. The derivation relies heavily on a technique called "completing the square." By working through the proof, you'll master this valuable skill, which is used in other areas of math, like the geometry of circles and parabolas.
  • It reveals the "why." Math is not about memorizing rules; it's about understanding why those rules work. Deriving the formula shows you how we can start with a general problem (solving any quadratic) and systematically build a solution that works every single time.

In this lesson, we will construct this powerful formula from scratch, starting with just the standard quadratic equation and using step-by-step logic.

What Key Skill Is Needed to Derive the Formula?

The entire derivation of the quadratic formula hinges on one powerful algebraic technique: completing the square. This method allows us to transform one side of an equation into a perfect square trinomial, which is a trinomial that can be factored into a binomial squared.

Consider the expression (x+k)2. When you expand it, you get x2+2kx+k2. This result is a perfect square trinomial. Notice the relationship between the coefficients:

  • The coefficient of the x term is 2k.
  • The constant term is k2.

This reveals a crucial pattern: the constant term is the square of half the coefficient of the x term. That is, k2=(2k2)2. We can use this pattern to force any expression of the form x2+mx to become a perfect square.

The process is straightforward:

  1. Identify the coefficient of the x term (let's call it m).
  2. Take half of this coefficient: m2.
  3. Square the result: (m2)2.
  4. Add this new value to your original expression.
Example 1

Let's complete the square for the expression x2+14x.

  1. The coefficient of x is 14.
  2. Half of 14 is 7.
  3. Squaring this gives 72=49.
  4. By adding 49, we get x2+14x+49, which is a perfect square trinomial because it factors into (x+7)2.

This is the core mechanical skill we will apply to the general quadratic equation to derive the formula. The only difference is that instead of working with simple numbers like 14, we will be working with the variable coefficients a and b.

How Do We Start Deriving the Formula?

Our journey begins with the standard form of a quadratic equation. Our goal is to perform a series of algebraic operations to isolate x on one side of the equation. Because x appears as both x2 and x, we can't use simple inverse operations. This is where completing the square becomes necessary.

Step 1: Start with the general equation

We assume we have any quadratic equation. We can write it in its general form as:

ax2+bx+c=0

We must also assume that a0. If a were zero, the x2 term would vanish, and we'd be left with a linear equation (bx+c=0), not a quadratic one.

Step 2: Move the constant term

To prepare for completing the square, we need to isolate the terms containing the variable x. We do this by moving the constant term, c, to the right side of the equation. We subtract c from both sides:

ax2+bx=c

Step 3: Normalize the leading coefficient

The procedure for completing the square works most cleanly when the coefficient of the x2 term is 1. To make this happen, we must divide every single term in the equation by our leading coefficient, a. Since we already established that a0, this is a valid operation.

ax2a+bxa=ca

This simplifies to:

x2+bax=ca

Now the equation is perfectly set up for the main step: completing the square on the left side.

How Does Completing the Square Work on the General Equation?

With our equation in the form x2+bax=ca, we are ready to perform the key step. We will focus on the left side, x2+bax, and find the value needed to make it a perfect square trinomial.

Step 4: Find the term to complete the square

We follow the exact procedure we reviewed earlier, but now with the expression ba as our middle coefficient.

  1. Identify the coefficient of the x term. In this case, it's ba.
  2. Take half of this coefficient. We multiply it by 12:
    12ba=b2a
  3. Square the result. This will be the number that completes the square:
    (b2a)2=b2(2a)2=b24a2

This term, b24a2, is what we need to add to make the left side of our equation a perfect square.

Step 5: Add the term to both sides

To keep our equation balanced, any value we add to the left side must also be added to the right side. So, we add b24a2 to both sides of our equation:

x2+bax+b24a2=ca+b24a2

This might look complicated, but we've just accomplished the hardest part. The left side is now a perfect square trinomial by design, and the right side is just a matter of algebraic cleanup. We are now ready to solve for x.

What Are the Final Steps to Isolate x?

Our equation is now at a critical turning point. The left side can be factored, and the right side can be simplified. Let's proceed with the final steps to isolate x and reveal the formula.

Step 6: Factor the left side

The expression x2+bax+b24a2 was designed to be a perfect square. It factors into (x+k)2, where k is the value we found before squaring (the b2a from Step 4). So, the left side becomes:

(x+b2a)2

Step 7: Simplify the right side

On the right side, we have ca+b24a2. To combine these fractions, we need a common denominator, which is 4a2. We multiply the first fraction's numerator and denominator by 4a:

ca4a4a=4ac4a2

Now we can combine the fractions:

4ac4a2+b24a2=b24ac4a2

Our equation now looks much cleaner:

(x+b2a)2=b24ac4a2

Step 8: Take the square root of both sides

To undo the square on the left, we take the square root of both sides. This is a critical moment: we must introduce the plus-or-minus symbol (±) because both a positive and a negative value, when squared, can produce the same result.

x+b2a=±b24ac4a2

We can simplify the radical on the right by taking the square root of the numerator and the denominator separately:

x+b2a=±b24ac4a2

The denominator simplifies perfectly: 4a2=2a. So we have:

x+b2a=±b24ac2a

Step 9: Isolate x

The final step is to get x completely by itself. We subtract b2a from both sides:

x=b2a±b24ac2a

Since both terms on the right have the same denominator, 2a, we can combine them into a single, elegant fraction.

x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

And there it is! Through a logical sequence of algebraic steps, we have derived the quadratic formula from the general quadratic equation.

Can We See the Quadratic Formula in Action?

Now that we have derived the formula, let's use it to solve a few quadratic equations. The process involves identifying a, b, and c and carefully substituting them into the formula.

Example 2

Solve the equation x2+5x+6=0.

  1. Identify coefficients: Here, a=1, b=5, and c=6.
  2. Substitute into the formula:
    x=(5)±(5)24(1)(6)2(1)
  3. Simplify:
    x=5±25242x=5±12x=5±12
  4. Find the two solutions:
    Solution 1: x=5+12=42=2
    Solution 2: x=512=62=3
    The solutions are x=2 and x=3.
Example 3

Solve the equation 2x27x+3=0.

  1. Identify coefficients: Here, a=2, b=7, and c=3. Be careful with the negative sign on b.
  2. Substitute into the formula:
    x=(7)±(7)24(2)(3)2(2)
  3. Simplify:
    x=7±49244x=7±254x=7±54
  4. Find the two solutions:
    Solution 1: x=7+54=124=3
    Solution 2: x=754=24=12
    The solutions are x=3 and x=12.
Example 4

Solve the equation 9x26x+1=0.

  1. Identify coefficients: Here, a=9, b=6, and c=1.
  2. Substitute into the formula:
    x=(6)±(6)24(9)(1)2(9)
  3. Simplify:
    x=6±363618x=6±018x=6±018
  4. Find the one solution:
    In this case, adding or subtracting 0 gives the same result. We have one repeated solution:
    x=618=13
    The only solution is x=13.

What Are Common Mistakes When Deriving or Using the Formula?

The derivation and application of the quadratic formula are powerful, but small mistakes can lead to incorrect answers. Here are some of the most common pitfalls to watch out for:

  • Forgetting the ± Symbol: This is arguably the most frequent error. When you take the square root of both sides during the derivation (Step 8), you must include the ±. Forgetting it means you will only find one of the two possible solutions.
  • Sign Errors with Coefficients: Be extremely careful when identifying a, b, and c. If the equation is x25x6=0, then b=5 and c=6. When you substitute b into b, it becomes (5)=+5. Similarly, in the 4ac part, if a or c is negative, the term can become positive.
  • Equation Not in Standard Form: The formula only works if the equation is in the form ax2+bx+c=0. If you are given 3x2=8x2, you must first rearrange it to 3x28x+2=0 before identifying a=3,b=8,c=2.
  • Order of Operations (PEMDAS): When calculating the value under the radical (the discriminant), b24ac, always calculate the square b2 and the product 4ac *before* you perform the subtraction.
  • Division Errors: The entire numerator, b±b24ac, is divided by 2a. A common mistake is to only divide the radical part by 2a, which is incorrect. Make sure the fraction bar extends under the entire top expression.
  • Simplification Errors: Always simplify the radical as much as possible. For instance, if you get 20, you should simplify it to 45=25. Also, remember to look for common factors in the numerator and denominator at the very end to simplify the final fraction.

Quick Reference: The Derivation Steps

Understanding the derivation is a journey, but it's helpful to have a summary of the key steps. Here is the logical path from the general quadratic equation to the quadratic formula.

  1. Start with the Standard Form: Begin with ax2+bx+c=0.
  2. Isolate the x Terms: Move the constant c to the right side of the equation: ax2+bx=c.
  3. Normalize the Leading Coefficient: Divide every term by a to make the coefficient of x2 equal to 1: x2+bax=ca.
  4. Complete the Square: Find the term needed to make the left side a perfect square. Take half of the x-coefficient (b2a) and square it (b24a2). Add this term to both sides.
  5. Factor and Simplify: Factor the left side as a perfect square, (x+b2a)2, and combine the fractions on the right side into a single term, b24ac4a2.
  6. Take the Square Root: Take the square root of both sides to eliminate the exponent. Remember to include the ± symbol on the right side.
  7. Isolate and Solve for x: Subtract the constant term (b2a) from the left side to isolate x. Combine the terms on the right to get the final formula: x=b±b24ac2a.

Frequently Asked Questions

Why is it called a 'quadratic' equation?

The name 'quadratic' comes from the Latin word 'quadratus,' which means 'square.' It's called this because the variable gets squared (as in x2). This is also why a four-sided shape is a quadrilateral.

Can I use the quadratic formula for any quadratic equation?

Yes, absolutely. The formula is a universal tool that will find all real or complex solutions for any equation that can be written in the standard form ax2+bx+c=0, as long as a is not zero.

What is the part under the square root, b²-4ac, called?

That part is called the discriminant. Its value tells you about the nature of the solutions: if it's positive, there are two distinct real solutions; if it's zero, there is exactly one real solution; and if it's negative, there are no real solutions (only complex solutions).

What happens if the 'a' coefficient is 0?

If a=0, the ax2 term disappears, and the equation becomes bx+c=0. This is a linear equation, not a quadratic one, and you can solve it with much simpler algebra by isolating x.

Is deriving the formula something I will be tested on?

Sometimes teachers will ask you to demonstrate the derivation on a test to check your understanding of the process. However, the primary reason for learning it is to deepen your algebra skills and understand that mathematical formulas are not arbitrary rules but are built from logical foundations.

Why do we have to complete the square? Can't we just solve for x another way?

Completing the square is the standard method for the derivation because it's the only technique that can handle the x2 and x terms together to successfully isolate x. Other methods like factoring don't work for the general case with variable coefficients.

What happens if the discriminant is negative?

If b24ac is negative, you would be taking the square root of a negative number. In the real number system, this is not possible, so we say there are 'no real solutions.' In more advanced algebra (like Algebra II), you will learn about imaginary and complex numbers, which provide a way to express these solutions.