This question is given in a (publicly shared) past exam at my university: Let S be the upper hemisphere of $x^2 + y^2 + z^2 = 4$ with normal vector pointing toward the origin, and $\vec F = z \vec x / |\vec x|$ where $\vec x = <x, y, z>$. Compute $\iint\vec F \cdot d\vec S $
The answer is given as $-8\pi$; I understand that it can be obtained by parameterizing the sphere and computing $\vec t_u \times \vec t_v = <x/z, y/z, 1>$ as the normal vector where $z = \sqrt{4 - x^2 - y^2}$, then computing the integral. However, I am confused by this as I have read that the flux across a sphere can be obtained using $\vec r / | \vec r |$ as the normal, where $\vec r = <x, y, z>$. This results in a different answer, albeit not far off from $-8\pi$. Which is the proper normal to use in a flux surface integral where S is a sphere?