Derivation (contours near stationary points)

Let $\v x_0$ be a stationary point of $f(x,y)$. Adopt the eigenvector basis of $H$. Then $$ H = \pmat{\lambda_1 & 0 \\ 0 & \lambda_2}. $$ We are assuming $\lambda_1, \lambda_2 \neq 0$.

Using the Taylor series, $$ f(\v x) = f\big(\v x_0 + (\xi, \eta)\big) \approx f(\v x_0) + \frac12(\lambda_1\xi^2 + \lambda_2\eta^2).$$ Contours of $f$ correspond to constant values of $f(\v x)$, so they satisfy $$ \lambda_1\xi^2 + \lambda_2\eta^2 = \text{const}.$$