At a critical point of a twice continuously differentiable real function, and the Taylor expansion is
The real symmetric Hessian matrix has an orthonormal eigenbasis, so writing gives . If every eigenvalue is positive, this quadratic form is at least , and the remainder cannot change its sign for sufficiently small nonzero . Thus is a strict local minimum. If every eigenvalue is negative, the analogous argument gives a strict local maximum. If positive and negative eigenvalues both occur, displacement along the corresponding eigenvectors gives values above and below , so is a saddle point of a scalar function.
The second-derivative test can be inconclusive when the Hessian matrix is singular and semidefinite: higher-order terms along directions in the kernel of a linear map matter. For example and have the same Hessian at zero, but the first has a strict minimum and the second a saddle point of a scalar function. A zero eigenvalue does not prevent a saddle conclusion if other eigenvalues already have both signs.
For the given function write . Its first derivatives are
The origin is a critical point for every real , with
Its eigenvalues are , so it is always a saddle point of a scalar function. If one coordinate at a critical point is zero, the other must also be zero. If both are nonzero, the derivative equations force , possible only for . Hence for the origin is the only critical point.
For there are four additional critical points,
At such a point,
Thus the two equal-sign points are strict maxima, and the two opposite-sign points are strict minima. They are global: implies
where the last maximum occurs at and equality also requires .
As , the four nonzero critical points have distance from the origin and escape to infinity, rather than merging with the origin. Their values diverge as . As from below there are no extra critical points, while the origin stays a saddle throughout. This is critical points escaping to infinity in a Gaussian-weighted bilinear function.