Question 6 of 8: Flux Through a Closed Surface (Divergence Theorem)
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams — December 2018 — 04-BS-1 Mathematics. Three-hour, closed-book exam (one double-sided aid sheet permitted, approved calculator allowed). Format: eight questions offered; any five constitute a complete paper and only the first five appearing in the answer book are marked. All eight are solved below for completeness.
Approach. $S$ is closed, so apply the divergence theorem: $\iint_S\mathbf F\cdot d\mathbf S=\iiint_V\operatorname{div}\mathbf F\,dV$, evaluated in cylindrical coordinates over the paraboloid-capped disk $x^2+y^2\le4$.
The paraboloid cap $z=4-x^2-y^2$ (blue meridians) over the base disk $x^2+y^2\le4$, $z=0$ (dashed rim). $S$ is the full closed boundary of this solid.
Set up the cylindrical triple integral. With $x=r\cos\theta,\ y=r\sin\theta$, $0\le r\le2$, $0\le z\le4-r^2$:
$$\iiint_V(z-2)\,dV=\int_0^{2\pi}\!\!\int_0^2\!\!\int_0^{4-r^2}(z-2)\,r\,dz\,dr\,d\theta.$$
Integrate over $z$.
$$\int_0^{4-r^2}(z-2)\,dz=\left[\frac{z^2}2-2z\right]_0^{4-r^2}=\frac{(4-r^2)^2}2-2(4-r^2)=\frac{(4-r^2)\bigl[(4-r^2)-4\bigr]}2=-\frac{r^2(4-r^2)}2.$$
Integrate over $r$ and $\theta$.
$$\iiint_V(z-2)\,dV=2\pi\int_0^2\!\left(-\frac{r^2(4-r^2)}2\right)r\,dr=-\pi\int_0^2\bigl(4r^3-r^5\bigr)\,dr=-\pi\left[r^4-\frac{r^6}6\right]_0^2=-\pi\left(16-\frac{64}6\right)=-\pi\cdot\frac{16}3.$$