I've just started my Galaxy Dynamics module and we are refreshing ourselves on Divergence and Curl, etc etc. I've come across a divergence example which I can't quite understand how to handle:
So I have a force given by
$$ F = (x^2 + y^2 + z^2)^n(xi+yj+zk)$$
I was wondering how we handle this for divergence...an explanation of the setup would be excellent.
I'm not sure how to handle the $(xi+yj+zk)$ with respect to $(x^2 + y^2 + z^2)^n$...?
Hint:
the divergence of a vector filed $\mathbf{F}=A\mathbf{i}+B\mathbf{j}+C\mathbf{k}$ is defines as: $$ div (\mathbf{F})=\dfrac{\partial A}{\partial x}+\dfrac{\partial B}{\partial y}+\dfrac{\partial C}{\partial z} $$ in your case: $$ A=x(x^2+y^2+z^2)^n \quad B=y(x^2+y^2+z^2)^n \quad C=z(x^2+y^2+z^2)^n $$