Verify Gauss divergence theorem of $F=xi+yj+zk$ over the sphere $x^{2}+y^{2}+z^{2}=a^{2}$ When I evaluate taking normal $N=k$, I get the answer $2\pi a^{3}$. But when I take normal to the surface by taking out gradient of $f(x,y,z)= x^{2}+y^{2}+z^{2}$ I am able to verify theorem.
But my course instructor told we can take normal $N=k$ when whenever we are able to translate system in $xy$ plane . And if plane is given then we have to find gradient otherwise not.
Please clarify!!!
Let $S_a$ be your sphere, and $B_a$ the enclosed ball. For each point ${\bf r}\in S_a$ the outwards unit normal ${\bf n}$ is given by ${\bf n}={{\bf r}\over a}$. Furthermore ${\bf F}({\bf r})={\bf r}$. Since ${\bf r}\cdot{\bf r}=a^2$ on $S_a$ it follows that $$\int_{S_a}{\bf F}\cdot{\bf n}\>{\rm d}\omega=\int_{S_a}{\bf r}\cdot{{\bf r}\over a}\>{\rm d}\omega=a\int_{S_a}{\rm d}\omega=4\pi a^3\ .$$ On the other hand, ${\rm div}({\bf F})\equiv3$, and therefore $$\int_{B_a}{\rm div}({\bf F})\>{\rm dvol}=3\,{\rm vol}(B_a)=4\pi a^3\ .$$