# Dipole moment of a spherical shell

by Idoubt
Tags: dipole, moment, shell, spherical
 P: 162 I see now. My problem was that even though I looked at it as a vector, I didn't realize that the unit vector $\hat{r}$ itself was a function of θ and $\phi$ and I took it out of the integral. When i rewrite it in cartesian co-ordinates and do the integral for each component ( cartesian unit vectors are constant so I can take it out of the integral ) it comes out fine. But when I look at this, vector integration with spherical co-ordinates seems very complicated, is there an easier way than rewriting in cartesian co-ords and integrating?