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]
Exercise · ZW-SUBGRADIENT-003 · ★☆☆ Basic
Choose one option.
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.
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.