Jacobian in delta function

1. Dec 14, 2008

rotemblu

when using delta function $$\delta(r)$$ in cordinates othe then cartesian when does it needs to be divided by the jacobian for example in spherical coordinates

$$\delta(x)=\frac{1}{r^2sin(\vartheta)}\delta(r-r_{0})\delta(\vartheta-\vartheta_{0})\delta(\phi-\phi_{0})$$
but if you want a delta function that involves only the radial coordinate doy you still need to divide all the jacobian like this $$\delta(r)=\frac{1}{r^2sin(\vartheta)}\delta(r-r_{0})$$
or only the radial part like this
$$\delta(r)=\frac{1}{r^2}\delta(r-r_{0})$$
thanks
1. The problem statement, all variables and given/known data

2. Relevant equations

3. The attempt at a solution