The softplus function
is convex because
Part (b) therefore shows that every is convex. The absolute value function is convex, so is convex for every coordinate . Finally, part (a) says that a finite sum of convex functions is convex. Therefore
is convex. The second sum is the L1 norm regularizer.