The formulas
sum of roots: $ \frac{ -b}{a} $
product of roots: $ \frac{ c}{a} $
As you can see from the work below, when you are trying to solve a quadratic equations in the form of $$ ax^2 +bx + c$$. The sum and product of the roots can be rewritten using the two formulas above.
![Sum and Product Formula Derived](images/sum-and-product-formula-derived-diagram.png)
Example 1
The example below illustrates how this formula applies to the quadratic equation $$ x^2 + 5x + 6 $$. As you can see the sum of the roots is indeed $$\color{Red}{ \frac{-b}{a}}$$ and the product of the roots is $$ \color{Red}{\frac{c}{a}}$$.
![Picture of sum and product of roots formula](images/picture-sum-product-roots-formula.png)
Example 2
The example below illustrates how this formula applies to the quadratic equation x2 - 2x - 8. Again, both formulas - for the sum and the product boil down to -b/a and c/a, respectively.
![Picture of sum and product of roots formula](images/picture-sum-product-roots-formula-2.png)