Symmetric Matrices and Positive Definiteness
Why do some optimizers care about curvature, not just slope?
Vishnu Boddeti
Example 1
Second-order geometry rescales updates according to how sensitive the objective is in each direction.
Example 2
The leading eigenvector can be estimated without storing the full Hessian matrix.
Example 3
Positive semidefiniteness guarantees nonnegative directional energy and supports stable geometric interpretations.
Example 4
A positive-definite metric turns multidimensional policy change into a meaningful risk budget.
Each scenario hides a mathematical structure from this lecture. Identify the structure, justify it, and work through the resulting problem.
A device can transmit only one number from a two-feature embedding. You get to choose the viewing direction, and you want that single number to retain as much variation in the data as possible.
The centered embedding covariance is $S=\begin{bmatrix}4&2\\2&1\end{bmatrix}$. A unit direction $u$ retains variance $u^\top Su$.
A custom similarity function gives two examples a self-similarity of one and a cross-similarity of $\rho$. Before feeding the table to a kernel method, you should check whether such a geometry can exist at all.
$K_\rho=\begin{bmatrix}1&\rho\\\rho&1\end{bmatrix}$.
A red team may perturb the model in any unit-length direction. Its symmetric sensitivity matrix assigns a failure score to each choice. Which direction is the model most vulnerable to, and which is safest?
$H=\begin{bmatrix}2&1\\1&2\end{bmatrix}$ and the failure score is $r(v)=v^\top Hv$ for $\|v\|_2=1$.