the tangent plane actually pararell to the floor in every local minimum and maximum
we deal with partial derivatives