Just because the tangent plane to a multivariable function is flat, it doesn't mean that point is a local minimum or a local maximum. There is a third possibility, new to multivariable calculus, called a "saddle point".
License: CC BY-NC-SA by Khan Academy