I am trying to find the flux of a given field ($\vec{F} = (x+yz^3)\hat{\textbf{i}} + (xz^3)\hat{\textbf{j}} -z\hat{\textbf{k}}$ over a surface defined by $x^2 +y^2 + z^2 = 9$ between the planes $z=1$ and $z=2$.
My vector calculus is quite rusty. I think the optimal way to do this is use the divergence theorem over the solid region, and I want to check that I'm setting up the integral correctly and also see if there are other ways to go about this (to build more intuition for the geometry of these situations).
My work:
I think setting up the volume integral will be easiest in cylindrical coordinates. For a given $z$, $x^2+y^2+z^2 = 9 \Rightarrow ~r^2 = 9-z^2 \Rightarrow r = \sqrt{9-z^2}$.
So I should be able to set up my integral as:
$$\int _1 ^2 \int_0 ^{\sqrt{9-z^2}} \int_0^{2\pi} \nabla \cdot \vec{F}~ r d\theta dr dz$$
Then I can simply use the standard substitution $x = rcos \theta ~ y = rsin \theta, z = z$ on the vector field to get
$\vec{F} = (r~cos \theta+ r~sin \theta~ z^3) \hat{\textbf{i}} + r~cos \theta~z^3 \hat{\textbf{j}} - z~\hat{\textbf{k}}$.
a) Is this correct? b) Is this the optimal way to have done it (in terms of ease) c) Are there other set ups that would work without complicating things significantly?