The absolute-value penalty has a corner at zero. This lesson names the exact subgradient cases without pretending the zero case has one scalar slope.
highlighted = computed this step
Away from zero
For w greater than 0, the absolute-value slope is 1. For w less than 0, the slope is -1. Those are exact sign cases.
w>0⇒+1,w<0⇒−1
At zero, use a set
At w=0, |w| has a corner, so there is no single slope. The subdifferential is the exact set [-1,1]. The diagram names the set instead of pretending it is one scalar.
∂∣w∣w=0=[−1,1]
Summary
This corner is the mechanism behind exact sparsity. Lasso can stop at w=zero because the zero point has a whole exact set of valid subgradients.