Database › Mathematics › Pure mathematics › Analysis
At a stationary point of a function of several variables, the eigenvalues of the Hessian matrix decide the type: all positive (minimum), all negative (maximum), mixed signs (saddle).
Explanation
Taylor expansion about a stationary point gives $f\approx f_0+\frac12\delta\mathbf x^{\rm T}H\delta\mathbf x$, a quadratic form whose principal axes are the eigenvectors of $H$. If $H$ is singular the test is inconclusive and higher orders are needed.
For constrained problems use Lagrange multipliers (the bordered Hessian then decides); in physics, stable equilibria are minima of potential energy, and saddle points are transition states.
Example 1
Find and classify the stationary points of $f=x^3-3x+y^2$.
Solution
$f_x=3x^2-3=0$, $f_y=2y=0$: $(\pm1,0)$. $H={\rm diag}(6x,2)$: at $(1,0)$ positive definite, minimum $f=-2$; at $(-1,0)$ eigenvalues $-6,2$, saddle.
Example 2
Classify the origin for $f=x^2+4xy+y^2$.
Solution
$H=\begin{pmatrix}2&4\\4&2\end{pmatrix}$ with eigenvalues $6$ and $-2$: a saddle, rising along $(1,1)$ and falling along $(1,-1)$.