a function is approxiamted most simply by its atngenjt line, the linearv etrm of a taylor series. if that term is zero then the enxt piece of information is the second order etrm of the taylor sseries, i.e. the parabola defined by the second derivatives.
if that parabola is right side up, there is a min, if upside down, there is a max,...
similarly for a function of several variables, the first approximation is by the linear terms of the taylor series, i.e. the tangent plane to the graph. i.e. the plane prthogonal to the gradient vector. iof that vector is zero then the enxt approximation is given by the quadratic terms of the taylor series, i.e. by the approximating quadric surface defined by the second derivatives.
if that quadric surface is a right side up paraboloiud, it is a min, if an upside down paraboloid, it is a max, if a saddle surface, it is neither.
one needs then to know how to recognize these quadric surfaces from their equations
ax^2 + bxy + cy^2, and know what relations between a,b,c, tells you the shape. of course basically the three cases are x^2 + y^2, -x^2 - y^2, and x^2 - y^2.