Exercise · ZW-CONVEXITY-AND-THE-HESSIAN-010 · ★★★ Advanced

Let \(f(x,y)=x^2-y^2+2xy\). Determine whether \(f\) is convex on \(\mathbb{R}^2\) and justify using the Hessian.

Choose one option.

Show answer
  • C. It is not convex, because the Hessian \(\begin{pmatrix}2&2\\2&-2\end{pmatrix}\) has a negative eigenvalue

Explanation

The Hessian has determinant \(-4-4=-8<0\), so its eigenvalues have opposite signs and one is negative. Zero trace does not imply positive semidefiniteness, and the entry \(-2\) is negative.

Study Continuous optimization in ZWMath →

Review the concept: Convexity and the Hessian

Criterion characterizing convexity of a twice differentiable function through positive semidefiniteness of its Hessian matrix \(\nabla^2 f(x)\) at every point of the domain.

\[f \text{ convexa} \iff \nabla^2 f(x) \succeq 0 \ \forall x \in \operatorname{dom} f\]

More practice problems: convexity and the hessian

← ZW-CONVEXITY-AND-THE-HESSIAN-009