jmtome2 said:
ok... so
Q_{tot}=\int^{2П}_{0}\int^{П}_{0}\int^{a}_{0} {ρ(r,θ,Ф)*r^{2}*sin(θ)*dr*dθ*dФ}
The integral becomes...
\int^{2П}_{0}\int^{П}_{0}\int^{a}_{0} {δ(r-a)*σ(θ,Ф)*r^{2}*sin(θ)*dr*dθ*dФ}
So what happens to the \bar{r'}? \bar{r'}=a*\hat{r}?
I think this is what you meant to write (just click on the image below to see the \LaTeX code that generated it):
Q_{tot}=\int_{\text{all space}}\rho(\textbf{r'})dV'=\int_{0}^{\infty} \int_{0}^{\pi} \int_{0}^{2\pi}\rho(r')r'^2\sin\theta' dr' d\theta' d\phi'=\int_{0}^{\infty} \int_{0}^{\pi} \int_{0}^{2\pi}\delta(r'-a)\sigma(\theta',\phi')r'^2\sin\theta' dr' d\theta' d\phi'
(Remember, \rho(\textbf{r})=\delta(r-a)\sigma(\theta,\phi) means that \rho(\textbf{r}')=\delta(r'-a)\sigma(\theta',\phi') ; and when you integrate over all space, r' goes from 0 to \infty)
Now, your radial integral encloses the point (technically it's a spherical shell, not a point) r'=a, so the delta function picks out that point and you have:
Q_{tot}=\int_{0}^{\infty} \int_{0}^{\pi} \int_{0}^{2\pi}\delta(r'-a)\sigma(\theta',\phi')r'^2\sin\theta' dr' d\theta' d\phi'=\int_{0}^{\pi} \int_{0}^{2\pi}a^2\sigma(\theta',\phi')\sin\theta' d\theta' d\phi'
Make sense?
If so, apply the same thing to your dipole moment integral and keep in mind that the spherical unit vector are position dependent and hence are not to be treated as constants under integration...