Writing , the gradient is . Its divergence, equivalently the Laplacian of , is
On the unit sphere this scalar is the constant . The lower hemisphere has surface area , so
This is a scalar surface integral of the divergence, not the electric- or vector-field flux integral. There is no normal component to insert.
Integrate the normal component on each face directly, with outward normals. Each unlisted pair of coordinates ranges independently from zero to one:
For example, on the integral is . Adding all six contributions gives
This calculation uses the six explicit surface integrals, independently of the divergence theorem.
Separate the closed cylinder into its curved side and its two end disks, all with outward normal vectors. On the side, and , so
At the top, and , giving . At the bottom, both and the axial normal vector change sign, so the same positive value results. Each disk therefore contributes . Adding all three surface integrals,
This explicit cancellation is consistent with the fact that the divergence of a curl is zero. The two disk contributions add rather than cancel.
For the outward orientation of a spherical cap, its vector area element is
In the surface integral defining the vector area, the and components vanish by integration over a complete azimuth. The remaining component is
Consequently
This also equals the area of the cap's projection onto the horizontal plane, directed upwards.
Each of the three surface pieces is invariant under , while is an odd function under that reflection. Its surface integral therefore vanishes on each piece separately. Only contributes.
On the cylindrical side, use cylindrical coordinates , , with area element :
The upper disc has constant and area , giving . On the hemispherical indentation, use spherical coordinates with and :
Adding the three contributions yields
This is a scalar surface integral, so the indentation contributes positively through ; an inward or outward orientation does not change its sign.
Compute the flux directly using the outward vector area element, as required. Restrict the vector field to the surface parametric equation and take the dot product:
The terms quadratic in cancel. Therefore the surface integral is
This is a direct evaluation of the flux of the position vector through a cone.
On the sphere of radius , the outward unit normal is . Thus everywhere. Multiplying by the surface area gives
The same surface integral follows in spherical coordinates from .
On the disc , the upward normal selects only the third component, which equals . Hence the surface integral is the area of the unit disk:
For , the vector field is . On the cone,
The first term has zero integral by symmetry. Using polar coordinates for the remaining double integral gives
On the paraboloid ,
Again the term cancels by symmetry, giving
Therefore direct surface integral yields
No separate disk at is included: that rim joins the two surfaces and is not an additional face of the closed boundary.
Both patches project onto the unit disk in the -plane. Their outward oriented surface elements are
The cone's apex has zero area and does not affect the surface integral. For , the vector field is , so
The terms involving vanish by reflection symmetry of the disk. Thus the total outward flux is
This calculation evaluates the two surface integrals directly.
The cube is , , so throughout it. Evaluate the six outward surface integrals directly.
On the normal component is , giving flux ; on it is , giving flux . On the normal component is , giving ; on it is zero. On the normal component is and on it is , so those unit-area faces give and .
Adding all six contributions yields
Only direct surface integral was used, as requested.
The divergence of the position vector field is . At height , the horizontal cross-section is a disk of area . By the divergence theorem, the outward flux integral is three times the enclosed volume:
Therefore
A direct check separates the two pieces of the surface integral. On the unit sphere, the outward unit normal is , so and the curved contribution is . On the top disk, , giving . Their sum is the same flux.
Use the two pieces of the surface integral directly; this avoids introducing an unnecessary second derivative of . On the unit sphere, and . A spherical band between heights and has area , so the curved flux is
by the fundamental theorem of calculus. On the horizontal top disk, and the area is . Thus
As usual for these surface integrals, the first derivative is assumed sufficiently integrable for the displayed fundamental theorem of calculus evaluation; a continuous first derivative suffices. Mere pointwise differentiability without such an integrability assumption need not make an ordinary flux integral exist.
Using Cartesian coordinates, the Levi-Civita symbol and the Einstein summation convention, the constant-vector assumption gives
Recognizing the divergence and directional derivative proves
Here the contractions use the Kronecker delta.
For an oriented piecewise smooth surface with boundary , Stokes theorem states
where the orientations obey the right-hand rule and is continuously differentiable near . Apply it to . The scalar triple product gives
The last integrand is , as the component formula
shows. Since is arbitrary, the cross-product form of Stokes theorem follows:
The derivatives in the surface expression act on , not on the surface element.
For the specified square, the path is clockwise when viewed from positive , so the compatible unit normal is . On the first and fourth edges, and are parallel, giving zero cross product. On the second edge, and runs from to , so contributes . On the third edge, and runs from to , so the contribution is . Thus the line integral is .
For an independent surface integral, and for the position vector field. Its integrand is therefore . The square has unit area and downward orientation, giving
Direct differentiation gives
On the unit disk , polar coordinates give , and . Consequently the volume integral is
For an independent surface integral calculation, the relevant cross product is
The bottom face contributes and the top contributes . On the cylindrical side, put , , and . The flux density is . All terms except integrate to zero because they are odd functions of or , giving
Thus minus the total outward flux is , in agreement with the volume integral.
In cylindrical coordinates, the surface has radius . It is the lateral surface of a right circular cone, with vertex at the origin and axis along positive . Its height is and the limiting upper rim has radius ; the horizontal disk at that rim is absent. The half-angle from the vertical satisfies
The upper rim is excluded by , which does not affect any convergent surface integral. The vertex likewise contributes no area.
Figure 1.
The open lateral cone and its auxiliary closing cap
. Original sketch in units of . The dashed upper rim bounds an auxiliary disk used only to apply the divergence theorem. The arrow shows the outward lateral normal, which has a downward component. Details.
First compute the curl directly:
Reflection symmetry in makes the last component integrate to zero. The middle component gives the hemisphere's volume, so
For an independent surface integral, the closed boundary consists of the curved hemisphere and its flat base. The right-hand side in part (b) is .
On the curved part use spherical coordinates with and . There,
The last component has zero angular integral. The first two components give
On the base, and the outward normal vector is . Thus . In polar coordinates its integral is
The first components cancel, and therefore both required sides equal
Since , its divergence is the Laplacian of :
The divergence theorem changes the outward flux through the whole closed boundary into . Rotational symmetry makes the term vanish. With and the Jacobian determinant from part (c),
Both the curved face and the top disk are included in this surface integral through the divergence theorem.