Solution

ID: past-exam-of-the-mathematical-methods-ii-course-of-the-university-of-oxford/2015/1/solution

For a continuously differentiable vector field on a volume with piecewise smooth boundary , the divergence theorem states
where is the outward unit normal. For the polynomial field here,
Therefore the outward flux through the unit cube is
As a direct boundary check, the face contributes , the face contributes , and the face contributes . All three opposite faces contribute zero, reproducing the result and fixing the orientation sign.

New to topics? Read the docs here!