Verify the divergence theorem for $\vec A = 4x\hat i - 2y^2\hat j + z^2\hat k$ taken over the region bounded by $x^2 + y^2 = 4$, $z = 0$, and $z = 3$.
Aakash Om Trivedi, AIR 73, 2025
[a cylinder on $x$, $y$, $z$ axes with the base $S_1$ on the $xy$-plane at $z=0$, the curved side $S_2$ and the top $S_3$ at $z=3$]
w k t, Divergence theorem is
Calculating $\iiint \nabla\cdot A$
$(\nabla\cdot A = 4-4y+2z)$
$(\because \nabla\cdot A = \frac{\partial A_x}{\partial x}+\frac{\partial A_y}{\partial y}+\frac{\partial A_z}{\partial z})$
Converting to polar $x = 2\cos\theta$, $y = 2\sin\theta$
$= 84\pi$
Now finding $\iint_S \vec{A}\cdot d\vec{S}$.
$\boxed{d\vec{S} = |dS|\cdot\hat{n}}$
$S = S_1 + S_2 + S_3$
For $S_1$, $\vec{A} = 4x\hat{i} - 2y^2\hat{j}$ ..
$d\vec{S} = |dS|\,(-\hat{k})$ ( [?] )
$\therefore \vec{A}\cdot d\vec{S} = 0$, $\iint_{S_1} \vec{A}\cdot dS = 0$
For $S_3$,
$\iint (4x\hat{i} - 2y^2\hat{j} + 9\hat{k})\cdot|dS|\,(\hat{k})$
$= \iint (4x\hat{i} - 2y^2\hat{j} + 9\hat{k})\cdot\dfrac{dx\,dy}{|\hat{n}\cdot\hat{k}|}\,(\hat{k})$
$= \iint 9\,dx\,dy$ $\to$ projection xy plane
$= 9 \times$ Area of circle of radius 2
$= 9\times\pi\times 4 = 36\pi$
For $S_2$,
$S_2 = x^2 + y^2 - 4$
$\vec{n_2} = \nabla(S_2) = 2x\hat{i} + 2y\hat{j}$
$\hat{n_2} = \dfrac{x\hat{i} + y\hat{j}}{2}$
$\iint (4x\hat{i} - 2y^2\hat{j} + z^2\hat{k})\cdot(x\hat{i} + y\hat{j})\,|dS|$
$= \iint \left(\frac{4x^2 - 2y^3}{z}\right) |ds|$
taking project of ds on xz plane
$= 2\iint \left(\frac{4x^2 - 2y^3}{z}\right) \frac{dx\,dz}{|\hat{n}\cdot\hat{j}|}$ { 2 time project on both side
$= \iint_{S_4} (4x^2 - 2y^3) \frac{dx\,dz}{\frac{dy}{z}}$ [?]
[a small 3D sketch of a rectangular surface with $x$, $y$, $z$ axes, labelled $z=3$, $x=2$, $x=-2$, $S_4$]
$y = \sqrt{4 - x^2}$, $y > 0$
putting $x = 2\sin\theta$
$= 48\pi$
we get
$\therefore \iint_{S_2} \vec{A}\cdot d\vec{s} = 48\pi$
$\therefore \iint_{S_1+S_2+S_3} \vec{A}\cdot d\vec{s} = 48\pi + 36\pi = \boxed{84\pi}$
$\iiint \nabla\cdot\vec{A}\,dV = \iint \vec{A}\cdot d\vec{s} = \boxed{84\pi}$
Q.E.D