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 \)
Exercise · ZW-SUBGRADIENT-004 · ★★☆ Intermediate
Choose one option.
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.
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.