Quadratics and Derivatives in Machine Learning