Let us say we have the indicator function $\chi_{\{|x|\leq 1\}}$ in $\mathbb{R}^2$.
How can I write out the weak derivative of this indicator function?
Is it $\delta_{|x|=1}$? Or it should be vector valued measure like $\bigg(\frac{\partial}{\partial x_1} \chi_{{|x|\leq 1}},\frac{\partial}{\partial x_2} \chi_{{|x|\leq 1}}\bigg)$, but now $\frac{\partial}{\partial x_1} \chi_{{|x|\leq 1}}$ is something that depends on the value of $x_2$.
$$\chi_{|x|\le1}=H(\rho -1)$$
where $H$ is the Heaviside step function and $\rho =|x|$. The (distributional) derivative with respect to $\rho$ is, in the sense of Generalized Functions given by
$$\frac{d}{d\rho}H(\rho -1)=\delta(\rho-1)$$
where $\delta$ is the Dirac Delta. But this is obviously not a weak derivative. You might be interested in this answer.
– Mark Viola Sep 21 '15 at 22:09