Local maxima, minima and saddle points

At a smooth local maximum or minimum both partial derivatives are zero, and the second derivative test, $D = f_{xx} f_{yy} - f_{xy}^2$, tells a maximum, a minimum and a saddle apart.

From Multivariable Calculus.