<s>[INST] Quadratic formula does not work If I put the equation: $5x^2-x-4 =0$  in the quadratic formula, than I get 
$x = 1$ or $x = \frac{-4}{5}$
but the real zeros are: $x = -1$ or $x = \frac{4}{5}$
Can somebody explain me if the quadratic formula fails or me?
 [/INST] Plug in the roots the quadratic formula gave you
$5(1)^2 - (1) - 4 $
$=5 - 5 $
$= 0$
And your other root
$5(- \frac{4}{5})^2 - (-\frac{4}{5}) - 4 $
$ = \frac{20}{5} -\frac{(16+4)}{5}$
$= 0$
And you can verify your roots work.
The quadratic formula is correct.
I recommend looking at the proof of the quadratic formula if you never have before to possibly help convince you that it does indeed work and more importantly how it works.
if
$ax^2 + bx + c = 0$
then
$ax^2 + bx = -c$
$a(x^2 + \frac{b}{a}x) = -c$
$a(x^2 + \frac{b}{a}x + [\frac{b}{2a}]^2 - [\frac{b}{2a}]^2) = -c$
$a(x^2 + \frac{b}{a}x + [\frac{b}{2a}]^2) - a[\frac{b}{2a}]^2$ = -c
$a(x^2 + \frac{b}{a}x + [\frac{b}{2a}]^2) = \frac{b}{4a}^2 -c$
$a(x + \frac{b}{2a})^2 = \frac{b^2-4ac}{4a}$
$(x + \frac{b}{2a})^2 = \frac{b^2-4ac}{4a^2}$
$(x + \frac{b}{2a}) = \pm\sqrt{\frac{b^2-4ac}{4a^2}} = \frac{\pm\sqrt{b^2-4ac}}{2a}$
$x=-\frac{b}{2a} \pm \frac{\sqrt{b^2-4ac}}{2a}$
$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$
The quadratic formula is devised by observing and analyzing the relationship between the objects $a$,$b$, and $c$ in the form of $ax^2 + bx + c = 0$.
</s>