## The Three Important Identities

In this post you wanna dive in and find resourful identities that you thought little of in developnment of quadratic formula.

The general formula of quadratic equation is given by

$\fn_jvn&space;\large&space;{\color{Red}&space;\mathbf{ax^{2}+bx+c=0}}$

To get more explanation about the parameters find insightful peek in this basic proof of quadratic formula

The algebraic identities you wanna learn here

1.$\fn_jvn&space;\large&space;{\color{Magenta}&space;\mathbf{\left&space;(&space;a+b&space;\right&space;)^{2}=a^{2}+2ab+b^{2}}}$
2.$\fn_jvn&space;\large&space;{\color{Magenta}&space;\mathbf{\left&space;(&space;a-b&space;\right&space;)^{2}=a^{2}-2ab+b^{2}}}$
3.$\fn_jvn&space;\large&space;{\color{Magenta}&space;\mathbf{a^{2}-b^{2}=\left&space;(&space;a+b&space;\right&space;)\left&space;(a-b&space;\right&space;)}}$

Now given the three identities, let’s see how to combine them to produce a path towards the quadratic formula. By dividing through the equation, it inevitabley becomes

$\fn_jvn&space;\large&space;\mathbf{x^{2}+\frac{b}{a}x+\frac{c}{a}=0}$

Suppose the roots of a quadratic equation are give by r1 and r2 and that they are building blocks towards quadratic formula advancement. Now, form a quadratic equation using the roots. Notice that a is divided through the general quadratic equation above so as to make roots the same$\fn_jvn&space;\large&space;\mathbf{\left&space;(&space;x-r_{1}\right&space;)\left&space;(&space;x-r_{2}&space;\right&space;)=x^{2}-\left&space;(&space;r_{1}+r_{2}&space;\right&space;)x+r_{1}r_{2}}$

It is crystal clear that both equations have their first term a perfect square-x squared. And that both of them equals to zero. Since they are equivalent to zero and their first term same, let’s equate them.

$\fn_jvn&space;\large&space;\fn_jvn&space;\large&space;\mathbf{x^{2}+\frac{b}{a}x+\frac{c}{a}=x^{2}-\left&space;(&space;r_{1}+r_{2}&space;\right&space;)x+r_{1}r_{2}}$

By observation, it is established that the sum of the roots of the quadratic equation is

$\fn_jvn&space;\large&space;\mathbf{r_{1}+r_{2}=-\frac{b}{a}}$

And the product is

$\fn_jvn&space;\large&space;\mathbf{r_{1}r_{2}=\frac{c}{a}}$

## Step 1

In a special case when the first two identities (1. & 2.) are combined, then

$\fn_jvn&space;\large&space;{\color{Magenta}&space;\mathbf{\left&space;(&space;a+b&space;\right&space;)^{2}={\left&space;(&space;a-b&space;\right&space;)^{2}+4ab}$

The relationship of the combined identities becomes

$\fn_jvn&space;\large&space;\mathbf{\left&space;(&space;r_{1}-r_{2}&space;\right&space;)^{2}=\left&space;(&space;r_{1}+r_{2}&space;\right&space;)^{2}-4r_{1}r_{2}}$

Express the left side linearly by taking square roots both sides

$\large&space;\fn_jvn&space;\large&space;\mathbf{\left&space;(&space;r_{1}-r_{2}&space;\right&space;)=\pm&space;\sqrt{\left&space;(&space;r_{1}+r_{2}&space;\right&space;)^{2}-4r_{1}r_{2}}$

Substitute the sum and product of the general equation into the combined identity . It relates as

$\large&space;\large&space;\fn_jvn&space;\large&space;\mathbf{\left&space;(&space;r_{1}-r_{2}&space;\right&space;)=\pm&space;\sqrt{\left&space;(&space;-\frac{b}{a}&space;\right&space;)^{2}-4\frac{c}{a}}$

## Step 2

By rearranging, make 4r1r2 the subject of the formula

$\fn_jvn&space;\large&space;\mathbf{4r_{1}r_{2}=\left&space;(&space;r_{1}+r_{2}&space;\right&space;)^{2}-\left&space;(&space;r_{1}-r_{2}&space;\right&space;)^{2}}$

Let’s use the difference of two squares to find r1 from this equation. Divide both sides by 4r2 , so r1 becomes

$\fn_jvn&space;\large&space;\fn_jvn&space;\large&space;\mathbf{r_{1}=\frac{\left&space;(&space;r_{1}+r_{2}&space;\right&space;)^{2}-\left&space;(&space;r_{1}-r_{2}&space;\right&space;)^{2}}{4r_{2}}}$

The difference of two squares property

$\fn_jvn&space;\large&space;{\color{Magenta}&space;\mathbf{a^{2}-b^{2}=\left&space;(&space;a+b&space;\right&space;)\left&space;(a-b&space;\right&space;)}}$

Exploit the difference of two squares

$\fn_jvn&space;\large&space;\mathbf{r_{1}=\frac{[\left&space;(&space;r_{1}&space;+r_{2}\right&space;)+\left&space;(&space;r_{1}&space;-r_{2}\right&space;)][\left&space;(&space;r_{1}&space;+r_{2}\right&space;)-\left&space;(&space;r_{1}-r_{2}&space;\right&space;)]}{4r_{2}}}$

Now, after applying difference of two squares, r1 simplifies to

$\fn_jvn&space;\large&space;\fn_jvn&space;\large&space;\mathbf{r_{1}=\frac{\left&space;(&space;r_{1}+r_{2}&space;\right&space;)&space;+ \left&space;(&space;r_{1}-r_{2}&space;\right&space;)}{2}}$

Plug in the parameters given that r1+r2 and r1-r2 are known$\fn_jvn&space;\large&space;\mathbf{r_{1}=\frac{-\frac{b}{a}\pm&space;\sqrt{\left&space;(&space;\frac{b}{a}&space;\right&space;)^{2}-4\frac{c}{a}}}{2}}$

When

$\fn_jvn&space;\large&space;\mathbf{r_{1}=-r_{2}-\frac{b}{a}}$

it reduces to

$\fn_jvn&space;\large&space;\mathbf{r_{1}=\frac{-b+\sqrt{b^{2}-4ac}}{2a}}$

and we get

$\fn_jvn&space;\large&space;\mathbf{r_{2}=\frac{-b-\sqrt{b^{2}-4ac}}{2a}}$

When

$\fn_jvn&space;\large&space;\mathbf{r_{1}=\frac{-b-\sqrt{b^{2}-4ac}}{2a}}$

the other root is

$\fn_jvn&space;\large&space;\mathbf{r_{2}=\frac{-b+\sqrt{b^{2}-4ac}}{2a}}$

And by combining the solutions we obtain

$\fn_jvn&space;\large&space;\mathbf{x=\frac{-b\pm&space;\sqrt{b^{2}-4ac}}{2a}}$

## Proof quadratic formula by converting first term into a perfect square

Now, given the general quadratic equation, you are Required↗ to make the first term a perfect square.$\fn_jvn&space;\large&space;{\color{Black}&space;\mathbf{ax^{2}+bx+c=0}}$

Converting the first term into a perfect square is essential so that the quadratic equation resembles the form of this identity

$\fn_jvn&space;\large&space;{\color{Magenta}&space;\mathbf{\left&space;(&space;a+b&space;\right&space;)^{2}=a^{2}+2ab+b^{2}}}$

Multiply the equation by a to boths sides

$\fn_jvn&space;\large&space;\mathbf{a\left&space;(&space;ax^{2}+bx+c&space;\right&space;)=0}$

The equation becomes

$\fn_jvn&space;\large&space;\mathbf{a^{2}x^{2}+abx+ac=0}$

Rewrite and make the coefficients explict as in general form of quadratic equation

$\fn_jvn&space;\large&space;\mathbf{{\color{Red}&space;a}x^{2}+{\color{Red}&space;b}x+{\color{Red}&space;c}=0}$

$\fn_jvn&space;\large&space;\mathbf{\left&space;(&space;ax&space;\right&space;)^{2}+b\left&space;(&space;ax&space;\right&space;)+ac=0}$

It is time now to complete the square. Take half the coeffient of ax, square the result and add to both sides of the equation or add and subtract the result if all the parameters are on the same side in this case LHS. But you can choose to keep all elements in one side of the equation at initial and intermediate stages as I have done. The coefficient of ax is b . Let’s quickily complete the square

$\fn_jvn&space;\large&space;\mathbf{\left&space;(&space;ax&space;\right&space;)^{2}+b\left&space;(&space;ax&space;\right&space;)+\left&space;(&space;\frac{1}{2}\cdot&space;b&space;\right&space;)^2-\left&space;(&space;\frac{1}{2}\cdot&space;b&space;\right&space;)^2+ac=0}$

Transform the left side into a perfect square

$\fn_jvn&space;\large&space;\mathbf{\left&space;(&space;ax+\frac{b}{2}&space;\right&space;)^{2}=\left&space;(&space;\frac{b}{2}&space;\right&space;)^{2}-ac}$

Find the LCM on the right side and simplify the fraction

$\fn_jvn&space;\large&space;\mathbf{\left&space;(&space;ax+\frac{b}{2}&space;\right&space;)^{2}=\frac{b^{2}-4ac}{4}}$

Take square roots on both sides to transform the equation into linear

$\fn_jvn&space;\large&space;\mathbf{\sqrt{\left&space;(ax+\frac{b}{2}&space;\right&space;)^{2}}=\pm&space;\sqrt{\frac{b^{2}-4ac}{4}}}$

It reduces to

$\fn_jvn&space;\large&space;\mathbf{ax+\frac{b}{2}=\pm&space;\sqrt{\frac{b^{2}-4ac}{4}}}$

Take all parameters to the right side to make x the subject of the formula

$\fn_jvn&space;\large&space;\mathbf{ax=-\frac{b}{2}\pm&space;\frac{\sqrt{b^{2}-4ac}}{2}}$

Divide both sides by a to find x as

$\fn_jvn&space;\large&space;\mathbf{x=\frac{-b\pm&space;\sqrt{b^{2}-4ac}}{2a}}$