I'm trying to derive the proximal operator of the $L_2$ norm for myself. Here is my effort: let
$$g(x)=\gamma ||x||_2.$$
The prox-operator of $g$ at the point $x$ is defined as follows: $$\text{prox}_g(x)={\arg\,\min}_u \, g(u) + \frac{1}{2} \|u-x\|_2^2 .$$
In order to minimize it, we can take the derivatives of it :
$$0 \in \gamma \partial||u||_2 + u-x$$
then I can rewrite the above equation as follows: $u \in x- \gamma \partial |||u||_2$. From there, I do not know how to further simplify it. I was wondering whether can someone help me to understand it better ? I know that, people have simplified it and derived a closed formula solution for it, but I'm not sure how they did it.