Exercise · ZW-SUBGRADIENT-004 · ★★☆ Intermediate

If \( g_1 \) is a subgradient of f at \( x_1 \) and \( g_2 \) is one at \( x_2 \), with f convex, which inequality holds?

Choose one option.

Show answer
  • B. \( (x_1 - x_2)^\top (g_1 - g_2) \ge 0 \)

Explanation

Adding the two subgradient inequalities gives \( (x_1 - x_2)^\top (g_1 - g_2) \ge 0 \), which is the monotonicity of the subdifferential. Reversing the sign is an easy mistake when rearranging.

Study Continuous optimization in ZWMath →

Review the concept: Subgradient

The subgradient generalizes the gradient to convex functions that are not differentiable: at each point it is a vector g that gives an affine lower bound of f, that is, f(y) ≥ f(x) + gᵀ(y − x) for all y.

\[f(y) \geq f(x) + g^\top (y - x)\]

More practice problems: subgradient

← ZW-SUBGRADIENT-003 ZW-SUBGRADIENT-005 →