How to Derive the Quadratic Formula
How to Derive the Quadratic Formula
One of the most important skills an algebra student learns is the quadratic formula, or



x
=




b
±



b

2



4
a
c




2
a



.


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

With the quadratic formula, solving any quadratic equation of the form



a

x

2


+
b
x
+
c
=
0


{\displaystyle ax^{2}+bx+c=0}

becomes a simple matter of substituting the coefficients



a
,
b
,
c


{\displaystyle a,b,c}

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.
Steps

Start with the standard form of a general quadratic equation. While any equation with an x 2 {\displaystyle x^{2}} x^{{2}} term in it qualifies as quadratic, the standard form sets everything to 0. Remember that a , b , c {\displaystyle a,b,c} a,b,c 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. a x 2 + b x + c = 0 {\displaystyle ax^{2}+bx+c=0} ax^{{2}}+bx+c=0 The only condition is that a ≠ 0 , {\displaystyle a\neq 0,} a\neq 0, because otherwise, the equation reduces to a linear equation. See if you can find general solutions for the special cases where b = 0 {\displaystyle b=0} b=0 and where c = 0. {\displaystyle c=0.} c=0.

Subtract c {\displaystyle c} c from both sides. Our goal is to isolate x . {\displaystyle x.} x. To start, we move one of the coefficients to the other side, so that the left side only consists of terms with x {\displaystyle x} x in it. a x 2 + b x = − c {\displaystyle ax^{2}+bx=-c} ax^{{2}}+bx=-c

Divide both sides by a {\displaystyle a} a. 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. x 2 + b a x = − c a {\displaystyle x^{2}+{\frac {b}{a}}x={\frac {-c}{a}}} x^{{2}}+{\frac {b}{a}}x={\frac {-c}{a}}

Complete the square. Recall that the goal is to rewrite an expression x 2 + 2 ◻ x + ◻ 2 {\displaystyle x^{2}+2\Box x+\Box ^{2}} x^{{2}}+2\Box x+\Box ^{{2}} as ( x + ◻ ) 2 , {\displaystyle (x+\Box )^{2},} (x+\Box )^{{2}}, where ◻ {\displaystyle \Box } \Box is any coefficient. It may not immediately be obvious to you that we can do this. To see it more clearly, rewrite b a x {\displaystyle {\frac {b}{a}}x} {\frac {b}{a}}x as 2 b 2 a x {\displaystyle 2{\frac {b}{2a}}x} 2{\frac {b}{2a}}x by multiplying the term by 2 2 . {\displaystyle {\frac {2}{2}}.} {\frac {2}{2}}. We can do this because multiplying by 1 does not change anything. Now we can clearly see that in our case, ◻ = b 2 a , {\displaystyle \Box ={\frac {b}{2a}},} \Box ={\frac {b}{2a}}, so we are only missing the ◻ 2 {\displaystyle \Box ^{2}} \Box ^{{2}} term. Therefore, in order to complete the square, we add that to both sides - namely, ( b 2 a ) 2 = b 2 4 a 2 . {\displaystyle \left({\frac {b}{2a}}\right)^{2}={\frac {b^{2}}{4a^{2}}}.} \left({\frac {b}{2a}}\right)^{{2}}={\frac {b^{{2}}}{4a^{{2}}}}. Then, of course, we factor. x 2 + 2 b 2 a x + b 2 4 a 2 = b 2 4 a 2 − c a ( x + b 2 a ) 2 = b 2 4 a 2 − c a {\displaystyle {\begin{aligned}x^{2}+2{\frac {b}{2a}}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{aligned}}} {\begin{aligned}x^{{2}}+2{\frac {b}{2a}}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{aligned}} Here, it is clear why a ≠ 0 , {\displaystyle a\neq 0,} a\neq 0, since a {\displaystyle a} a 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.

Write the right side under a common denominator. Here, we want both denominators to be 4 a 2 , {\displaystyle 4a^{2},} 4a^{{2}}, so multiply the − c a {\displaystyle {\frac {-c}{a}}} {\frac {-c}{a}} term by 4 a 4 a . {\displaystyle {\frac {4a}{4a}}.} {\frac {4a}{4a}}. ( x + b 2 a ) 2 = b 2 4 a 2 − 4 a c 4 a 2 = b 2 − 4 a c 4 a 2 {\displaystyle {\begin{aligned}\left(x+{\frac {b}{2a}}\right)^{2}&={\frac {b^{2}}{4a^{2}}}-{\frac {4ac}{4a^{2}}}\\&={\frac {b^{2}-4ac}{4a^{2}}}\end{aligned}}} {\begin{aligned}\left(x+{\frac {b}{2a}}\right)^{{2}}&={\frac {b^{{2}}}{4a^{{2}}}}-{\frac {4ac}{4a^{{2}}}}\\&={\frac {b^{{2}}-4ac}{4a^{{2}}}}\end{aligned}}

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 d 2 , {\displaystyle d^{2},} d^{{2}}, you do not get d . {\displaystyle d.} d. You actually get its absolute value, | d | . {\displaystyle |d|.} |d|. This absolute value is critical in getting both roots - simply putting square roots over both sides will only get you one of the roots. | x + b 2 a | = b 2 − 4 a c 4 a 2 {\displaystyle \left|x+{\frac {b}{2a}}\right|={\sqrt {\frac {b^{2}-4ac}{4a^{2}}}}} \left|x+{\frac {b}{2a}}\right|={\sqrt {{\frac {b^{{2}}-4ac}{4a^{{2}}}}}} Now, we can get rid of the absolute value bars by putting a ± {\displaystyle \pm } \pm 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 allows us to get two roots. x + b 2 a = ± b 2 − 4 a c 4 a 2 {\displaystyle x+{\frac {b}{2a}}=\pm {\sqrt {\frac {b^{2}-4ac}{4a^{2}}}}} x+{\frac {b}{2a}}=\pm {\sqrt {{\frac {b^{{2}}-4ac}{4a^{{2}}}}}} 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 ± b 2 − 4 a c 4 a 2 . {\displaystyle {\frac {\pm {\sqrt {b^{2}-4ac}}}{\sqrt {4a^{2}}}}.} {\frac {\pm {\sqrt {b^{{2}}-4ac}}}{{\sqrt {4a^{{2}}}}}}. Then we can take the square root of the denominator. x + b 2 a = ± b 2 − 4 a c 2 a {\displaystyle x+{\frac {b}{2a}}={\frac {\pm {\sqrt {b^{2}-4ac}}}{2a}}} x+{\frac {b}{2a}}={\frac {\pm {\sqrt {b^{{2}}-4ac}}}{2a}}

Isolate x {\displaystyle x} x by subtracting b 2 a {\displaystyle {\frac {b}{2a}}} {\frac {b}{2a}} from both sides. x = − b 2 a ± b 2 − 4 a c 2 a {\displaystyle x={\frac {-b}{2a}}\pm {\frac {\sqrt {b^{2}-4ac}}{2a}}} x={\frac {-b}{2a}}\pm {\frac {{\sqrt {b^{{2}}-4ac}}}{2a}}

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 a , b , c {\displaystyle a,b,c} a,b,c and outputs an x {\displaystyle x} x 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. x = − b ± b 2 − 4 a c 2 a {\displaystyle x={\frac {-b\pm {\sqrt {b^{2}-4ac}}}{2a}}} x={\frac {-b\pm {\sqrt {b^{{2}}-4ac}}}{2a}}

What's your reaction?

Comments

https://umorina.info/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!