There's also [Vieta's formulas](https://en.wikipedia.org/wiki/Quadratic_equation#Vieta's_formulas) for quickly solving quadratics.