Exercise · ZW-CONVEXITY-AND-THE-HESSIAN-003 · ★☆☆ Basic

For \(f(x)=x^2\), what is its Hessian \(\nabla^2 f(x)\)?

Choose one option.

Show answer
  • B. \(2\)

Explanation

The second derivative is constant, so the Hessian is 2 in one variable. The option giving 2x is the first derivative.

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-002 ZW-CONVEXITY-AND-THE-HESSIAN-004 →