Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

 Open In Colab

The quadratic f(x,y)=x2−6xy+y2f(x, y) = x^2 - 6xy + y^2 is an example of a problem with an indefinite Hessian matrix. Such functions are neither convex nor concave, and the stationary point where ∇f=0\nabla f = \mathbf{0} is neither a minimum nor a maximum, but a saddle point.

Saddle point problems form an important subclass of numerical optimization—especially when solving constrained problems via Lagrange multipliers.

Newton’s method and gradient-based solvers readily identify points where ∇f=0\nabla f = \mathbf{0}, but direct methods often struggle unless the objective function is reformulated (e.g., minimizing ∥∇f∥2\|\nabla f\|^2).

Eigenvalues and matrix definiteness

The fact that f(x,y)=x2−6xy+y2f(x, y) = x^2 - 6xy + y^2 is indefinite may come as a surprise considering the slices along the axes, f(x,0)=x2f(x, 0) = x^2 and f(0,y)=y2f(0, y) = y^2, are strictly positive parabolas curving upward.

The key is coordinate rotation. If we rotate coordinates by 45∘45^\circ (x′=x−y2x' = \frac{x - y}{\sqrt{2}}, y′=x+y2y' = \frac{x + y}{\sqrt{2}}), the cross term vanishes:

f(x′,y′)=8(x′)2−4(y′)2f(x', y') = 8 (x')^2 - 4 (y')^2

Here the saddle nature is obvious: positive curvature (+8) along the anti-diagonal (y=−xy = -x), and negative curvature (-4) along the diagonal (y=xy = x).

These principal axes are the eigenvectors of the Hessian H\mathbf{H}, and the curvatures along them are the eigenvalues λi\lambda_i:

DefinitenessEigenvalues λi\lambda_iGeometric Shape
Positive DefiniteAll λi>0\lambda_i > 0Local minimum (bowl curves upward)
Negative DefiniteAll λi<0\lambda_i < 0Local maximum (dome curves downward)
IndefiniteMixed signs (some λi>0\lambda_i > 0, some λj<0\lambda_j < 0)Saddle point (curves up along some directions, down along others)
Positive Semi-DefiniteAll λi≥0\lambda_i \ge 0Valley / trough (flat along zero-eigenvalue directions)
Negative Semi-DefiniteAll λi≤0\lambda_i \le 0Ridge (flat along zero-eigenvalue directions)

Limitations of pure Newton optimization

Newton’s optimization routine is highly sensitive to initial guesses. When H\mathbf{H} is indefinite:

  • The standard step HΔx=−∇f(x)\mathbf{H} \Delta \mathbf{x} = -\nabla f(\mathbf{x}) can point directly toward a saddle point or even ascend toward a local maximum rather than a minimum.

  • Inversion of the Hessian is computationally demanding (O(N3)O(N^3)) and can be ill-conditioned or singular near inflection regions.

Rather than taking an unconstrained Newton step, we need methods that constrain step size to a region where our local quadratic model can be trusted—motivating Trust Region Methods.