why does the quadratic formula work all the time