partial differentiation stationary points