Evaluate the integral $\iint_S\mathbf{F}\cdot\hat{\mathbf{n}}\;dS$, where $\mathbf{F}=(x,y,1)$ and $S$ is the surface $z=1-x^2-y^2$, for $x^2+y^2\le1$, by two methods.
$\qquad$(a) First, by direct computation of the surface integral.
$\qquad$(b) Second, by using the divergence theorem.
For this question, I can't quite grasp on how to find the unit normal $\hat{\mathbf{n}}$ to do the direct computation. I can see that $G(x,y,z) = 1 - x^2 - y^2 - z$ and thus calculate the $\nabla G$ and then $|\nabla G|$ to find that $\hat{\mathbf{n}} = \nabla G/|\nabla G|$. Is there an easier way to find $\hat{\mathbf{n}}$ without using calculation? Also, what do I integrate with respect to?
As the comment mentions, it's easy to find the normal to a surface given by the graph, it's just $$ \nabla g(x,y,z) $$ where $g(x,y,z)=z-f(x,y)$ and $f$ is the graph. Here we have $$ g(x,y,z)=z+x^2+y^2-1\implies \nabla g=(2x,2y,1) $$
With the first method, you are evaluating $$ \int\int_D (f_x,f_y,1)\cdot\vec{F}\mathrm d D $$ with $D$ the unit disc, a picture would be very helpful. We projected down (really they did this for us) to find the $(x,y)$ coordinates over which the relevant portion of the surface lies. This works out to be $$ \int\int_D2x^2+2y^2+1\mathrm dD $$ obviously polar coordinates are the play, where we have $$ \int\int_D2x^2+2y^2+1\mathrm dD=\int_0^{2\pi}\int_0^1 2r^3+r\;\mathrm dr\mathrm d\theta\\ =2\pi $$ Below we verify by the divergence theorem, don't look if you want to tackle this yourself
Now, for the divergence theorem, close up the net by adding in the disc cap (it is easy to see the contribution here is just $-\pi$, since the vector field is constant $1$ in the $z$ coordinate and the surface normal is $(0,0-1)$). Then the divergence theorem gives you the flux through this region as, using polar coordinates for the volume integral and noting that $\nabla\cdot F=2$, $$ \int_{V}\nabla\cdot F\mathrm d V=2\int\int_D 1-x^2-y^2\mathrm d D\\ =2\pi \int_0^1 r(1-r^2)\mathrm dr=\pi $$ subtracting the contribution of the cap, we have our result.