Away from the origin, the product rule and give
The field is undefined at . It has outward flux through any sphere centred there, so its global distributional divergence is , not the zero distribution. The pointwise result must not be extended through the singularity when applying the divergence theorem.
Let be the disk . The upper boundary is the graph , with outward vector vector surface element . Thus its flux is
The lower disk has outward normal vector and zero flux, since . The total outward surface integral is therefore .
Independently, and the enclosed volume is
Consequently , agreeing with the divergence theorem. Both the orientation of the cap and inclusion of the closing disk have been accounted for.
This is a scalar surface integral, not an oriented flux. Split the whole closed surface into the bottom disc, curved side and tilted top; shared edge curves have zero surface area.
On the bottom, and the integrand is . Its integral over the symmetric disc vanishes by oddness:
On the top, , so . The graph has , , giving . Hence
For the side, let and parametrize by , with . The surface area element is . Thus
Adding all three pieces gives
The tilted top remains above the bottom everywhere because . The calculation is an instance of a scalar surface integral over a cylinder with one tilted cap; reversing a surface orientation would not change any of its terms.
Take the normal vector to point outward from the box. The divergence theorem changes the closed-surface flux into a volume integral. The divergence is
The first term integrates to zero in , since . Therefore
Hence
A direct face check gives zero from the two faces, from the pair of faces, and from the pair of faces. This also checks the outward-orientation signs.
For a bounded volume with outward-oriented piecewise smooth boundary , the divergence theorem states
Here is a continuously differentiable vector field on a neighborhood of , the outward unit normal vector, and the volume element. The left side is its outward flux.
For a twice continuously differentiable field , equality of mixed partial derivatives gives
Apply the divergence theorem to to obtain
The regularity hypotheses justify differentiating and integrating the curl; a field singularity cannot simply be ignored in a volume argument.
On an outward-oriented sphere of radius , the electric field is normal with constant magnitude . Thus its flux is
It is independent of . There is no contradiction with solution: the classical divergence theorem cannot be applied to a full ball while pretending that is smooth at its center. On a punctured ball the outer flux and the inward-normal inner flux cancel, in agreement with zero ordinary divergence there.
The three-dimensional Dirac delta distribution is supported at the origin and satisfies the sampling identity
for smooth compactly supported test functions . It is not an ordinary function with a finite value at zero; its total integral is one, and translating it moves the point at which the test function is sampled.
The globally valid source equation is
For a direct weak verification, excise a ball of radius and integrate outside it. Since the ordinary divergence vanishes there, the result is . This is precisely the displayed distributional divergence and restores the divergence theorem with the point charge included.
Use the outward normal on the spherical patch. It is the quarter of the spherical surface lying below both the horizontal plane and the plane , with both signs of included. Close it by the two half-discs in and in .
Figure 1.
The spherical patch of radius four with y and z nonpositive, shown with the two planar caps used to close the volume.
The colored curved part is the requested surface. The planar half-discs are auxiliary surfaces for the divergence theorem; their outward normals point in positive y and positive z. Details.
The divergence of the polynomial vector field is . Its volume integral over the enclosed quarter-ball vanishes by oddness in . Thus the divergence theorem gives .
On , the outward normal is and . On , it is and ; the odd term integrates to zero. The needed half-disc moments for radius are
and
At , the cap fluxes are and , respectively. Therefore the flux through a spherical quadrant by planar caps is
The source does not explicitly specify a normal for this part; the boxed answer adopts the usual outward spherical orientation. Choosing the inward normal reverses its sign.
For this vector field,
The divergence theorem and spherical coordinates therefore give the outward flux
The dependence also follows by combining the cubic field magnitude with the quadratic scaling of surface area.
Assume and choose the outward orientation. On the sphere, , so . In spherical coordinates, and . The direct surface integral is
Independently, . Its volume integral over the ball is
The two calculations agree exactly with the divergence theorem. The expression requested is a scalar flux of a vector field, namely the dot product with the directed surface area element.
Let be continuously differentiable near . Take a small axis-aligned rectangular volume around , with side lengths shrinking with bounded aspect ratios. The outward flux through its two faces is, to leading order,
where . The analogous face pairs give and . Dividing total flux by and taking the limit gives
The divergence is thus the local outward flux per unit volume; the symbols on the right are Cartesian partial derivatives.
For a bounded volume with piecewise smooth closed boundary , subdivide into small cells. Each internal face occurs twice with opposite normal vectors, so its flux cancels. The remaining sum is the exterior surface integral; the cell sums of converge to the volume integral. Assuming continuous first partial derivatives on a neighborhood of the closure of , this proves the divergence theorem:
The unit normal vector points out of . Multiple boundary components are allowed; at a cavity wall it points into the cavity.
Choose the outward normal vector on the side of the elliptic cylinder. Parametrize it by
Since points outward, the parameter rectangle has its bottom edge traversed with increasing , its right cut edge with increasing , its top edge with decreasing , and its left cut edge with decreasing . After identification, the two cut edges are the same physical curve with opposite directions. Their line integrals cancel for a single-valued vector field. Viewed from above, the bottom rim is counterclockwise and the top rim clockwise.
Figure 1.
An elliptic cylindrical side cut open into a parameter rectangle, with compatible outward boundary directions
. Details.
To apply Stokes theorem to a flux rather than a curl integral, first find a vector potential:
This vector potential is smooth everywhere. On either horizontal rim, is horizontal whereas is vertical, giving . For a cut at , , so the upward cut contribution is and the downward one is . Consequently
A direct check uses the oriented surface element above: , whose integral over a full turn vanishes. Reversing the chosen orientation still gives zero.
For a continuously differentiable vector field on a neighborhood of an oriented, piecewise smooth surface , Stokes theorem states
Here is the boundary curve, is its directed tangent element, is the chosen unit normal vector, is the surface area element, and is the curl. The right-hand rule relates the boundary direction to . Thus circulation around the edge equals the flux of curl through the spanning surface. Reversing both orientations changes both signs. One can replace a difficult line integral by an easier surface integral, or replace one spanning surface by another within the region of regularity.
For a bounded volume with piecewise smooth closed boundary and a continuously differentiable vector field on a neighborhood of its closure, the divergence theorem states
Here points out of , including into any holes, is the volume element, and is the divergence. It equates total outward flux to integrated source strength. It converts a closed surface integral into a volume integral, and explains why internal fluxes cancel in a subdivided region. Singularities cannot be included without checking the hypotheses.
For a conservative force, the work around every closed path is zero. Stokes theorem gives zero flux of curl through every sufficiently small patch. Dividing by its area and shrinking the patch shows that every component of the continuous curl vanishes:
Here is potential energy; conversely, zero curl implies a conservative vector field on a simply connected domain. The divergence theorem then gives the compatible relation . There is no general zero-divergence condition on a conservative force: is a concrete counterexample, with .
Take , so the shell excludes the possible singularity at the origin. The divergence and curl of a radial vector field formula in spherical coordinates gives
With volume element , direct integration gives
For the independent boundary calculation, the outer sphere has outward unit normal vector and the inner sphere has outward unit normal vector . Their fluxes are
Their sum equals the direct volume integral, verifying the divergence theorem. The restriction permits the displayed power-antiderivative step. At , treated separately, both the shell volume integral and net boundary flux are zero; the excluded origin must still not be filled in.
The divergence of is the Laplacian
Its area integral over the square is
For the boundary flux, . On , , giving ; on it is , giving . The corresponding horizontal sides give and . The total is again , verifying the divergence theorem with outward normals. With a counterclockwise boundary, this is the same orientation as .
Choose the normal pointing away from the origin, equivalently the outward normal of the first-octant tetrahedron. Parametrize the face by on . Its oriented area element is
Thus the surface integral is
The divergence theorem checks this result: , the tetrahedron's volume is , and each coordinate-plane face has zero flux. The opposite orientation gives ; a signed flux requires an orientation.
In this two-pool calcium model, is the cytosolic calcium ion concentration, and measures calcium in an intracellular store, such as the endoplasmic reticulum. The variables in these balances are expressed using compatible effective volumes, so internal transfers enter their two equations with equal and opposite signs. If actual compartment concentrations use different reference volumes, the corresponding volume ratio must first be included in their balances.
The flux pumps calcium from the cytosol into the store, releases it back, and is passive store leakage back to the cytosol. The external input supplies cytosolic calcium, while exports it from the biological cell. Thus have units of inverse time and all five fluxes have units of concentration per time. Their directions can be sketched as
Adding the two ordinary differential equations verifies the total calcium balance
Internal uptake, release and leakage redistribute calcium; only the exchanges across the cell membrane change this total. In particular any equilibrium must have when .
Choose positive reference concentrations and a reference flux , and define
Overdots now mean derivatives with respect to the dimensionless time . The store balance becomes
The total balance becomes . Therefore
and
The reference quantities are scale choices, not additional kinetic variables; typically the response functions supply natural saturation concentrations and a maximal uptake flux. The identity checks the nondimensionalization. A small means store exchange is fast compared with external cytosolic removal.
At equilibrium , so for an upstream boundary flux . Hence
Without a specified upstream condition this integration constant must be retained. On a region of positive area, the characteristic speed is , increasing downstream along the equilibrium. Small disturbances move downstream, spread in space as this speed increases, and decrease in area amplitude in the manner derived next. They are transported away from a fixed location; the model has no diffusion giving instantaneous smoothing. Finite-amplitude compressive disturbances can steepen into shocks because the flux is convex, , so the small-disturbance picture is not a global no-shock assertion.
Taylor expansion gives . Subtract the equilibrium equation and write to obtain . Set . Since is time independent, . The travel coordinate for a conservative transport perturbation transforms this into , and therefore
The conserved quantity along a characteristic is the flux perturbation , explaining the diminishing area amplitude as grows.
Differentiate the equilibrium relation to get . Thus the arrival time is explicitly
For zero upstream flux the integral remains finite, giving the limiting formula with its second term zero. However then makes the displayed amplitude formula singular at the head; a uniformly small arbitrary area disturbance imposed exactly there is outside this linearization. A positive upstream flux avoids that degeneracy.
For quasistatic bed stability with suspended sediment, in the leading approximation, and . For spatially varying perturbations at fixed unit water flux and fixed surface level, write , , , . The constraints give and . Linearizing the suspended and bed equations yields
For a Fourier mode , the first relation gives ; substitution into the second gives
Thus every nonzero spatial frequency has negative growth rate, independently of . The parameter changes propagation, not damping. The spatially uniform mode has and is neutral, representing a change among uniform reference states compatible with the leading constraints. Hence there is no growing linear mode in this approximation; the claim is stability, not strict decay of every homogeneous perturbation. Restoring the small discarded terms or changing boundary conditions requires a separate calculation.