Subgradient and proximal operator practice
Original practice questions (PDF)
1. Subgradients of the Euclidean norm at zero
For , compute using directional derivatives or limits of gradients.
Solution to exercise 1
For a direction , . The subgradient condition is for every . This holds if by Cauchy–Schwarz, and taking proves necessity. So .
2. An eigenvalue with multiplicity two
For symmetric , . Compute the set for
Solution to exercise 2
The top eigenspace is . The convex hull of the unit rank-one projectors on that space consists of positive semidefinite matrices supported on the first two coordinates with trace 1. This follows by spectral decomposition. Explicitly the set consists of
3. A maximum of three affine functions
Let . At , identify the active terms and find the full subdifferential.
Solution to exercise 3
The values are in the order shown, so only the first term is active. The subdifferential is the singleton .
4. Conjugate of a half-line indicator
Let , which is zero on and elsewhere. Compute . Use if and only if to determine .
Solution to exercise 4
For , the supremum is zero, attained at . For , it is . At zero the Fenchel equality requires , so .
5. A subgradient step at and away from a kink
Let and take one subgradient step with step size from . Separately, list all possible next iterates for a step started at .
Solution to exercise 5
At the sole subgradient is , so . At the subdifferential is . The next iterate is for any in that interval, giving .
6. Projection onto a box
Let . The proximal operator of its indicator is the Euclidean projection onto . Compute it at .
Solution to exercise 6
The squared-distance objective is separable, so project each coordinate onto . Both coordinates exceed the upper bound, giving .
7. A proximal step with a constraint
For , find at and .
Solution to exercise 7
Minimize over . The derivative vanishes at , which is feasible and uniquely minimizes the strictly convex objective.
8. Fixed points of a proximal operator
Let and . Find all fixed points of and explain their relation to .
Solution to exercise 8
The point is fixed exactly when it minimizes over . At the quadratic has zero derivative, so this is equivalent to . The only minimizer of is , giving the sole fixed point.