Exercise · ZW-SUBGRADIENT-003 · ★☆☆ Basic

For f(x) = |x|, what is the subdifferential at x = 0?

Choose one option.

Show answer
  • C. The interval [-1, 1]

Explanation

At x = 0, every slope between -1 and 1 stays below the function, so the subdifferential is the full interval. The option with the set {0} confuses the function value with the slope.

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-002 ZW-SUBGRADIENT-004 →