Let . At the expansion point, the function and its first three derivatives have values , , and . Taylor's theorem therefore gives
For real , the magnitude of the omitted fourth-order remainder is at most , because the fourth derivative is another cosine and has magnitude at most one.
The gradient is , so . The supplied direction is not a unit vector; normalize it to . Its directional derivative is
The direction of greatest decrease is opposite to the gradient:
The Cauchy-Schwarz inequality shows that no other unit direction can give a more negative derivative.
Write the plane as . Its projection on the plane is the triangle , . The scalar surface area element is
Thus the weighted surface integral is
A geometric check uses the triangular face's area and mean coordinate . Multiplying them gives the same result, because is an affine function on this planar triangle. Its edges have zero surface measure, so strict or non-strict octant inequalities do not change the integral.
Substitute the path into the height before differentiating: , , so
The ordinary chain rule immediately yields
The multivariable calculation gives the same result: , , and with and . The real path has ; this chain-rule calculation applies for , and the simplified height has a finite right derivative at the endpoint even though there is singular.
Use the outward normal vector. The vector field is , with divergence . By the divergence theorem, its outward flux equals the integral of this divergence over the solid cylinder. Each horizontal slice has area , so
For an independent boundary check, the cylindrical side contributes , the top contributes , and the bottom contributes zero. Their sum is again . Reversing all normals changes its sign.
Near zero, the Taylor expansions are
The constant, linear and quadratic terms cancel in the numerator. Consequently
The square root and logarithm are both real in a sufficiently small neighborhood of zero, so the two-sided real limit is well defined.

There are unlisted articles, also show them or only show them.