Derivation of Quadratic Formula

Derivation of Quadratic Formula

The roots of a quadratic equation ax2 + bx + c = 0 is given by the quadratic formula
 

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

 

The derivation of this formula can be outlined as follows:


  1.   Divide both sides of the equation ax2 + bx + c = 0 by a.

  2.   Transpose the quantity c/a to the right side of the equation.

  3.   Complete the square by adding b2 / 4a2 to both sides of the equation.

  4.   Factor the left side and combine the right side.

  5.   Extract the square-root of both sides of the equation.

  6.   Solve for x by transporting the quantity b / 2a to the right side of the equation.

  7.   Combine the right side of the equation to get the quadratic formula.

See the derivation below.
 

Derivation of Quadratic Formula
$ax^2 + bx + c = 0$

$x^2 + \dfrac{b}{a}x + \dfrac{c}{a} = 0$

$x^2 + \dfrac{b}{a}x = -\dfrac{c}{a}$

$x^2 + \dfrac{b}{a}x + \dfrac{b^2}{4a^2} = \dfrac{b^2}{4a^2} - \dfrac{c}{a}$

$\left( x + \dfrac{b}{2a} \right)^2 = \dfrac{b^2 - 4ac}{4a^2}$

$x + \dfrac{b}{2a} = \dfrac{\pm \sqrt{b^2 - 4ac}}{2a}$

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

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

 

Sum and Product of Roots

The quadratic formula
 

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

 

give the roots of a quadratic equation which may be real or imaginary. The ± sign in the radical indicates that
 

$x_1 = \dfrac{-b + \sqrt{b^2-4ac}}{2a}$   and   $x_2 = \dfrac{-b - \sqrt{b^2-4ac}}{2a}$

 

where x1 and x2 are the roots of the quadratic equation ax2 + bx + c = 0. The sum of roots x1 + x2 and the product of roots x1·x2 are common to problems involving quadratic equation.
 

Derivation of the Sum of Roots
$x_1 + x_2 = \dfrac{-b + \sqrt{b^2-4ac}}{2a} + \dfrac{-b - \sqrt{b^2-4ac}}{2a}$

$x_1 + x_2 = \dfrac{-b + \sqrt{b^2-4ac} - b - \sqrt{b^2-4ac} }{2a}$

$x_1 + x_2 = \dfrac{-2b}{2a}$
 

$x_1 + x_2 = - \, \dfrac{b}{a}$

 

Derivation of the Product of Roots
$x_1 \, x_2 = \left( \dfrac{-b + \sqrt{b^2-4ac}}{2a} \right) \left( \dfrac{-b - \sqrt{b^2-4ac}}{2a} \right)$

By difference of two squares:
$x_1 \, x_2 = \dfrac{b^2 - (b^2-4ac)}{4a^2}$

$x_1 \, x_2 = \dfrac{4ac}{4a^2}$

$x_1 \, x_2 = \dfrac{c}{a}$