Exercise · ZW-CONVEXITY-AND-THE-HESSIAN-006 · ★★☆ Intermediate

Compute the Hessian of \(f(x,y)=x^2+3xy\) and determine whether it is positive semidefinite.

Choose one option.

Show answer
  • C. \(\begin{pmatrix}2&3\\3&0\end{pmatrix}\), not positive semidefinite

Explanation

The Hessian has entry 0 in position (2,2) and 3 off the diagonal, so a suitable vector gives a negative quadratic form. The option with diagonal 2 and 0 off it drops the xy mixing term.

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-005 ZW-CONVEXITY-AND-THE-HESSIAN-007 →