Solution (source code)

= Solution

The <Hessian matrix> is
$$
H=\begin{pmatrix}2&1\\1&-2\end{pmatrix},\qquad \det H=-5<0.
$$
Its <eigenvalues> have opposite signs, so the <stationary point> is a \b[<saddle point>]. More directly, putting $x=1+u$ and $y=-1+v$ gives $f=u^2+uv-v^2$: it increases along $v=0$ and decreases along $u=0$.