Quadradic and derivative