On the circular arc, and , so the line integral reduces to
This exact differential evaluation applies to the specified arc; for example its parametric equation is , . On the vertical segment , only contributes, giving . The whole path therefore gives
To answer the final conservativeness requirement, compute the curl:
It vanishes identically exactly when
On the simply connected whole space this condition is sufficient for a conservative vector field. Explicitly a vector-field potential is
Both path calculations then give , equal to by the fundamental theorem for line integrals. Equality of just these two path values would only force ; it is the curl calculation that establishes full path independence.
The relevant mixed partial derivatives agree:
The vector field is smooth on the entire simply connected plane, so this condition establishes that it is a conservative vector field. We can also construct its vector-field potential explicitly. From , take an antiderivative in :
Then requires . Hence
The fundamental theorem for line integrals checks the previous answer: .
A holomorphic primitive on the slit domain is , since the product rule and give . The line segment stays in that domain. The fundamental theorem for line integrals therefore gives
Hence
The value is fixed by the chosen branch.
Potential of a conservative vector field Created 2026-10-06 Updated 2026-10-07
A potential for a conservative vector field is a function with scalar values whose gradient is . Potentials differ by a constant on each connected component. The fundamental theorem for line integrals gives . In mechanics a conservative force is conventionally written , so its potential energy is . This spatial potential differs from the scalar potential that denotes the derivative-free energy density of a scalar field.
Vector calculus Created 2026-09-24 Updated 2026-10-14
Vector calculus studies differentiation and integration of scalar fields and vector fields. Three operators answer different local questions: the gradient describes change of a scalar value, the divergence describes net outward flow, and the curl describes local circulation. Their associated integral theorems turn local derivatives into measurements along paths and across boundaries.
The difference between divergence and curl is especially visible in two smooth vector fields on three-dimensional Euclidean space:
At each point they have the same Euclidean norm , but their directions differ. For , and . For , and . One expands radially in each horizontal plane; the other describes rigid rotation.
Figure 1.
Equal-magnitude fields can have different divergence and curl: radial expansion gives outward flux, while rotation gives circulation
. Details.
Around the counterclockwise unit circle in the plane , is normal to the boundary and has zero tangential component. Its outward planar flux integral is , while its line integral around the circle is zero. For the values are reversed: outward planar flux is zero, and circulation is . The divergence and curl predict exactly which boundary measurement survives.
Why is this useful? A velocity field can move material through a boundary or circulate it within a region. Conservation of mass connects its divergence with density changes through the continuity equation; its curl is vorticity. In electromagnetism, the Maxwell equations use the same operators to connect electric fields, magnetic fields, and their sources. The common mathematical language lets the same integral calculations work across different physical models. [ref].
The geometric framework behind these operators is developed in differential forms. The Generalized Stokes theorem unifies the fundamental theorem for line integrals, Green theorem, Stokes theorem, and divergence theorem. In coordinates their formulas look different, but each relates accumulation over a region to a measurement on its boundary.
Wilson's Vector Analysis, published in 1901, was based on J. Willard Gibbs's lectures at Yale. Wilson's preface explains that examples from geometry, mechanics, and physics are interspersed with the mathematical development, so readers encounter applications as soon as they have the tools to understand them. That is a useful way to approach vector calculus: learn each operation through a measurement it makes possible. [ref].
Velocity potential Created 2026-09-24 Updated 2026-10-13
Use a velocity potential to reconstruct an irrotational flow from one scalar field. A velocity potential satisfies
It has units and is unchanged as a description of the velocity field when any function of time alone is added. For twice continuously differentiable , the identity curl of a gradient proves zero vorticity. In incompressible flow, taking the divergence also gives , the Laplace equation. This turns a three-component velocity field into a single harmonic function with appropriate boundary conditions. [ref]
For uniform flow , take . With , the change from to is . By the fundamental theorem for line integrals, the line integral of velocity between these points equals that change along any path in the domain; a closed curve gives zero circulation.
For the potential line vortex, choose a local angle branch in polar coordinates and set . Then and . One counterclockwise turn changes the continued velocity potential by , although the velocity field returns to its original value. With , this change is , exactly the circulation. A full annulus therefore admits local angle branches and a multivalued velocity potential, but no global single-valued velocity potential when . Cutting the annulus along a radial line allows a single-valued angle branch on the remaining domain. The obstruction is path independence, not a failure of the local gradient formula.