The parametric curve runs from to , with . Substitution into the two line integrals gives
Hence
The first is unchanged because the field is conservative. The two different answers for the second exhibit its path dependence, consistent with its nonzero curl.
From the preceding gradient, . Summing the three Cartesian second partial derivatives gives
Thus the reciprocal radius is harmonic away from the origin. Its negative gradient is
The curl vanishes because is a gradient field and mixed second derivatives commute. The exclusion of the origin is essential: the potential and field are singular there.
The shorter circular arc lies in the - plane and can be written , . The first field is , whose dot product with is one. Hence
The second field is radial while the circular tangent is perpendicular to the radius, so . Thus the first field gives different values, and , along the two paths, whereas the conservative second field gives the same endpoint difference.
As a check using Stokes theorem, the arc followed by the reversed segment encloses area in the plane. The constant curl has upward component two, giving circulation , exactly the difference above.
Figure 1.
Straight and circular paths with the same endpoints, enclosing the area responsible for their circulation difference
. Details.
The first field is , so direct curl calculation gives
It is not conservative because its curl is nonzero. The second is a radial gradient field:
The scalar expression is a smooth function and single-valued on all of space, so is a conservative vector field. Its potential of a conservative vector field is . Parts (a) and (b) check path dependence directly.
Inside the sphere, the electric field has the form , including at the origin. Thus it is a conservative vector field. Outside, use the gradient of a radial function to obtain
This is also an explicit potential of a conservative vector field, single-valued throughout the exterior region. Equivalently, the curl vanishes in both regions: for a radial coefficient , because is radial. The interior formula avoids any apparent issue at the origin. The vector-field potentials here have the opposite sign from the electric potential convention used in (b).
In Cartesian coordinates, calculate the divergence by differentiating each component with respect to its matching coordinate:
For the curl, take the alternating cross-derivatives:
Assume the components of have continuous second partial derivatives. Expanding the divergence of its curl gives
Each positive term cancels a negative term because the corresponding mixed derivatives commute. Consequently
First calculate the curl:
By Stokes theorem, use the positively oriented equator , . Its tangent is , while the restricted field is . Thus
The first term integrates to zero over a full period and the second uses .
One can also calculate directly on the curved surface. With spherical coordinates , ,
Substitution gives the scalar integrand . Its azimuthal sine term vanishes, and the rest gives , confirming the orientation and the same result.
The first field has vanishing curl and is the gradient of a monomial:
For the second field, direct component differentiation gives
It is not identically zero. Thus is conservative and is not on . The conditional path-integral requests therefore apply to .
Take the Cartesian partial derivatives component by component. The divergence is
The constant third component has zero derivatives. The curl consequently has only two nonzero components:
The curl gives the vorticity:
Since , the requested form is
At the axis the radial unit vector is undefined, but its coefficient vanishes and the Cartesian expression remains smooth. The radial vorticity reflects the change in rotation rate with height.
For an oriented surface with compatible boundary direction, the Stokes theorem states
Let denote the removed patch and the remaining cylinder. Keep the outward orientation inherited from the closed cylinder. Everywhere on the removed curved patch, the normal curl component is , so its flux is , where is its actual curved area. Part (d) then gives
Consequently the circulation around a hole in an oriented surface is
The positive direction here is induced by the remaining outward-oriented surface; locally it runs clockwise around the hole when viewed from outside. If the edge is instead traversed positively around the removed patch, the direction reverses and the answer is . The question does not specify an edge direction, so the sign must be accompanied by this convention. The result depends only on the removed curved area, not on its shape. If the patch has several boundary components, use the sum of their induced line integrals. Since , the result has the units of a velocity line integral, length squared per time.
The curl of the first vector field is
which is not identically zero. Thus is not conservative on and cannot equal a negative gradient there.
For the second field, direct differentiation shows
Therefore is conservative, and the requested negative-gradient potential is
Its curl vanishes, consistently with the curl of a gradient identity.
Direct calculation of the curl gives
Since , the first vector field cannot be a gradient field: the curl of a gradient is zero. The second is a smooth polynomial field on all of the simply connected space , so its vanishing curl makes it a conservative vector field. A potential is also constructed explicitly in the next part. Thus is a conservative vector field and is not. A vanishing divergence alone, as for , is a different property and does not establish conservativity.
Take the curl component by component:
Its divergence is zero, as expected because the divergence of a curl is zero.
Yes. For any sufficiently smooth scalar , the gauge transformation
leaves its curl unchanged because . This freedom is much larger than adding a constant vector: for example, adds the nonconstant vector . Two vector potentials for the same field differ by a curl-free field; on a simply connected domain that difference is a gradient, while nontrivial topology may allow additional global freedom.
On a connected domain, a vector field is a conservative vector field if and only if it is the gradient of a single-valued scalar potential, . Equivalently, its line integral is path independent, or its integral around every closed curve is zero. For a continuously differentiable field on a simply connected domain, this is equivalent to . Without the domain hypothesis, vanishing curl alone is only a local test and is not the necessary-and-sufficient global statement.
The integrand field is exactly the curl computed in part (a), so use its polynomial vector potential . The upper cap meets the plane in an ellipse. Since the parameters are only assumed nonzero, set and to use positive semiaxes. Its correctly oriented boundary is
On that boundary, and , so only contributes. The Stokes theorem therefore gives
The last integral follows by expanding . Thus
The result is independent of . A sign check uses the divergence theorem: closing the cap with its base disk adds outward normal there. Since , the cap flux equals , consistent with the boxed expression and its absolute values.
For a twice continuously differentiable scalar potential, the curl of its gradient is
Equality of mixed partial derivatives makes every component zero. Thus
This is the curl of a gradient identity.
Differentiate the components directly:
Thus . The field is smooth on all of , a simply connected domain, so the zero-curl condition is sufficient for a conservative vector field. The domain condition matters: zero curl alone need not imply a global potential on a region with holes.