SiggyYo
- 5
- 0
Hi guys,
I've run across a problem. In finding the potential energy between two electrical quadrupoles, I've come across the expression for the energy as follows:
U_{Q}=\frac{3Q_{0}}{4r^{4}}\left[(\hat{k}\cdot \nabla)(5(\hat{k}\cdot \hat{r})^3-2(\hat{k}\cdot \hat{r})^2-(\hat{k}\cdot \hat{r}))\right],
where \hat{k} is the orientation of the quadrupoles, and \hat{r} is the direction between the quadrupoles.
If I let \hat{r} be in the \hat{z}-direction, I get
U_{Q}=\frac{3Q_{0}}{4r^{4}}\left[(\hat{k}\cdot \nabla)(5(\cos{\theta})^3-2(\cos{\theta})^2-(\cos{\theta}))\right].
My problem now is, that I don't know what to do about the divergence of the \hat{k}-vector. I would like to do the differentiation in cartesian coordinates, but have them translated into spherical polar coordinates. I know, that the result should probably involve a \frac{1}{r}-factor, but I can't seem to do it right. I've tried to rewrite \hat{k} in polar coordinates and tried using the chain rule on the derivative, but I get 3 as an answer. So I don't know if the initial expression is wrong, or I just don't know how to take the derivative. Can anyone please help?
Thanks,
I've run across a problem. In finding the potential energy between two electrical quadrupoles, I've come across the expression for the energy as follows:
U_{Q}=\frac{3Q_{0}}{4r^{4}}\left[(\hat{k}\cdot \nabla)(5(\hat{k}\cdot \hat{r})^3-2(\hat{k}\cdot \hat{r})^2-(\hat{k}\cdot \hat{r}))\right],
where \hat{k} is the orientation of the quadrupoles, and \hat{r} is the direction between the quadrupoles.
If I let \hat{r} be in the \hat{z}-direction, I get
U_{Q}=\frac{3Q_{0}}{4r^{4}}\left[(\hat{k}\cdot \nabla)(5(\cos{\theta})^3-2(\cos{\theta})^2-(\cos{\theta}))\right].
My problem now is, that I don't know what to do about the divergence of the \hat{k}-vector. I would like to do the differentiation in cartesian coordinates, but have them translated into spherical polar coordinates. I know, that the result should probably involve a \frac{1}{r}-factor, but I can't seem to do it right. I've tried to rewrite \hat{k} in polar coordinates and tried using the chain rule on the derivative, but I get 3 as an answer. So I don't know if the initial expression is wrong, or I just don't know how to take the derivative. Can anyone please help?
Thanks,